mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Workaround "warning: comparison between signed and unsigned integer expressions" in the Arduino core
This commit is contained in:
parent
10a17b4ae3
commit
4d20580b18
1 changed files with 4 additions and 1 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -33,13 +33,16 @@ jobs:
|
||||||
# See: https://travis-ci.org/github/felis/USB_Host_Shield_2.0/jobs/743787235
|
# See: https://travis-ci.org/github/felis/USB_Host_Shield_2.0/jobs/743787235
|
||||||
if [[ "${{ matrix.example }}" != *"bidirectional_converter" ]]; then TEENSY35="--board=teensy35"; TEENSY36="--board=teensy36"; TEENSY40="--board=teensy40"; TEENSY41="--board=teensy41"; fi
|
if [[ "${{ matrix.example }}" != *"bidirectional_converter" ]]; then TEENSY35="--board=teensy35"; TEENSY36="--board=teensy36"; TEENSY40="--board=teensy40"; TEENSY41="--board=teensy41"; fi
|
||||||
|
|
||||||
pio ci --lib="." $UNO --board=genuino101 --board=teensylc $TEENSY40 $TEENSY41 --board=esp12e --board=nodemcu --board=esp32dev --board=adafruit_feather_nrf52840
|
pio ci --lib="." $UNO --board=genuino101 --board=teensylc $TEENSY40 $TEENSY41 --board=esp12e --board=nodemcu --board=esp32dev
|
||||||
|
|
||||||
# Teensy 3.x depends on the SPI4Teensy3 library: https://platformio.org/lib/show/417/SPI4Teensy3
|
# Teensy 3.x depends on the SPI4Teensy3 library: https://platformio.org/lib/show/417/SPI4Teensy3
|
||||||
pio ci --lib="." --board=teensy30 --board=teensy31 $TEENSY35 $TEENSY36 --project-option="lib_deps=SPI4Teensy3"
|
pio ci --lib="." --board=teensy30 --board=teensy31 $TEENSY35 $TEENSY36 --project-option="lib_deps=SPI4Teensy3"
|
||||||
|
|
||||||
# Workaround https://github.com/arduino/ArduinoCore-sam/issues/69
|
# Workaround https://github.com/arduino/ArduinoCore-sam/issues/69
|
||||||
pio ci --lib="." --board=due --project-option="build_flags=-Wno-misleading-indentation"
|
pio ci --lib="." --board=due --project-option="build_flags=-Wno-misleading-indentation"
|
||||||
|
|
||||||
|
# Workaround "warning: comparison between signed and unsigned integer expressions" in the Arduino core
|
||||||
|
pio ci --lib="." --board=adafruit_feather_nrf52840 --project-option="build_flags=-Wno-sign-compare"
|
||||||
env:
|
env:
|
||||||
PLATFORMIO_CI_SRC: ${{ matrix.example }}
|
PLATFORMIO_CI_SRC: ${{ matrix.example }}
|
||||||
PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror
|
PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror
|
||||||
|
|
Loading…
Reference in a new issue