mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Use PLATFORMIO_BUILD_FLAGS to define WIICAMERA
This commit is contained in:
parent
30e399f276
commit
81ba812611
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,7 @@ env:
|
||||||
- PLATFORMIO_CI_SRC=examples/Bluetooth/SPPMulti
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/SPPMulti
|
||||||
- PLATFORMIO_CI_SRC=examples/Bluetooth/Wii
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/Wii
|
||||||
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiBalanceBoard
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiBalanceBoard
|
||||||
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiIRCamera
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiIRCamera PLATFORMIO_BUILD_FLAGS="-DWIICAMERA"
|
||||||
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiMulti
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiMulti
|
||||||
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiUProController
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiUProController
|
||||||
- PLATFORMIO_CI_SRC=examples/board_qc
|
- PLATFORMIO_CI_SRC=examples/board_qc
|
||||||
|
@ -60,5 +60,4 @@ install:
|
||||||
- platformio lib install 416 417
|
- platformio lib install 416 417
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [[ $PLATFORMIO_CI_SRC == *"WiiIRCamera"* ]]; then sed -i -- 's/#define ENABLE_WII_IR_CAMERA 0/#define ENABLE_WII_IR_CAMERA 1/g' ./settings.h; fi
|
|
||||||
- platformio ci --board=uno --board=teensy31 --board=due --lib="."
|
- platformio ci --board=uno --board=teensy31 --board=due --lib="."
|
||||||
|
|
Loading…
Reference in a new issue