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:
395
395
- uses : actions/checkout@v4
396
396
with :
397
397
repository : adafruit/ci-arduino
398
- ref : ci-wippersnapper
398
+ ref : ci-wippersnapper-boards-local-txt
399
399
path : ci
400
400
- name : Checkout Board Definitions
401
401
uses : actions/checkout@v4
@@ -441,7 +441,7 @@ jobs:
441
441
run : |
442
442
pip install esptool
443
443
- 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
445
445
- name : Check artifacts
446
446
run : |
447
447
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
539
539
; Note: this board reuses a generic preprocessor define
540
540
; espressif/arduino-esp32@fcd4799c6de6eb5a5a8eba94818adf770238ecc0
541
541
; rather than creating one unique to the device.
542
- build_flags = -DARDUINO_ESP32C3_DEV
542
+ build_flags = -DARDUINO_ESP32C3_DEV -DWS_DFROBOT_BEETLE_ESP32C3
543
543
board_build.filesystem = littlefs
544
544
board_build.partitions = min_spiffs.csv
545
545
Original file line number Diff line number Diff line change 186
186
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
187
187
#define STATUS_NEOPIXEL_NUM 1
188
188
#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 )
190
190
// Note: this board reuses a generic preprocessor define
191
191
// espressif/arduino-esp32@fcd4799c6de6eb5a5a8eba94818adf770238ecc0
192
192
// rather than creating one unique to the device.
193
193
#define BOARD_ID "dfrobot-beetle-esp32c3"
194
194
#define USE_LITTLEFS
195
195
#define USE_STATUS_LED
196
196
#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
197
202
#elif defined(ARDUINO_SPARKLEMOTIONMINI_ESP32 )
198
203
#define BOARD_ID "sparklemotionmini-esp32"
199
204
#define USE_LITTLEFS
You can’t perform that action at this time.
0 commit comments