File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ jobs:
395395 - uses : actions/checkout@v4
396396 with :
397397 repository : adafruit/ci-arduino
398- ref : ci-wippersnapper
398+ ref : ci-wippersnapper-boards-local-txt
399399 path : ci
400400 - name : Checkout Board Definitions
401401 uses : actions/checkout@v4
@@ -441,7 +441,7 @@ jobs:
441441 run : |
442442 pip install esptool
443443 - name : build ESP32 platforms
444- run : python3 ci/build_platform.py ${{ matrix.arduino-platform }} --build_timeout 48000
444+ run : python3 ci/build_platform.py ${{ matrix.arduino-platform }} --build_timeout 48000 --boards-local-txt
445445 - name : Check artifacts
446446 run : |
447447 ls examples/Wippersnapper_demo/build/*
Original file line number Diff line number Diff line change 1+ # This is to allow providing extra defines like WS_MY_BOARD_NAME for any boards using generic module board definitions.
2+ # e.g. See if the board.txt already has extra defines anywhere, or only the basic empty board.defines=
3+ # so for example this existing one dfrobot_romeo_esp32s3.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
4+ # then add a replacement entry with the existing plus new -DWS_MY_BOARD_NAME define.
5+
6+ dfrobot_beetle_esp32c3.build.defines=-DWS_DFROBOT_BEETLE_ESP32C3
Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ board = dfrobot_beetle_esp32c3
539539; Note: this board reuses a generic preprocessor define
540540; espressif/arduino-esp32@fcd4799c6de6eb5a5a8eba94818adf770238ecc0
541541; rather than creating one unique to the device.
542- build_flags = -DARDUINO_ESP32C3_DEV
542+ build_flags = -DARDUINO_ESP32C3_DEV -DWS_DFROBOT_BEETLE_ESP32C3
543543board_build.filesystem = littlefs
544544board_build.partitions = min_spiffs.csv
545545
Original file line number Diff line number Diff line change 186186#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
187187#define STATUS_NEOPIXEL_NUM 1
188188#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
189- #elif defined(ARDUINO_ESP32C3_DEV )
189+ #elif defined(WS_DFROBOT_BEETLE_ESP32C3 )
190190// Note: this board reuses a generic preprocessor define
191191// espressif/arduino-esp32@fcd4799c6de6eb5a5a8eba94818adf770238ecc0
192192// rather than creating one unique to the device.
193193#define BOARD_ID "dfrobot-beetle-esp32c3"
194194#define USE_LITTLEFS
195195#define USE_STATUS_LED
196196#define STATUS_LED_PIN LED_BUILTIN
197+ #elif defined(ARDUINO_ESP32C3_DEV )
198+ #define BOARD_ID "dfrobot-beetle-esp32c3"
199+ #define USE_LITTLEFS
200+ #define USE_STATUS_LED
201+ #define STATUS_LED_PIN LED_BUILTIN
197202#elif defined(ARDUINO_SPARKLEMOTIONMINI_ESP32 )
198203#define BOARD_ID "sparklemotionmini-esp32"
199204#define USE_LITTLEFS
You can’t perform that action at this time.
0 commit comments