File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -376,6 +376,7 @@ jobs:
376
376
[
377
377
" wippersnapper_feather_esp32" ,
378
378
" qtpy_esp32" ,
379
+ " sparklemotion_esp32" ,
379
380
" sparklemotionmini_esp32" ,
380
381
" sparklemotionstick_esp32" ,
381
382
" feather_esp32_v2" ,
Original file line number Diff line number Diff line change @@ -344,6 +344,14 @@ board_build.filesystem = littlefs
344
344
build_type = debug
345
345
build_flags = -DARDUINO_ADAFRUIT_QTPY_ESP32
346
346
347
+ ; Adafruit Sparkle Motion
348
+ [env:adafruit_sparklemotion_esp32]
349
+ extends = common:esp32
350
+ board = adafruit_sparklemotion_esp32
351
+ board_build.partitions = min_spiffs.csv
352
+ board_build.filesystem = littlefs
353
+ build_flags = -DARDUINO_SPARKLEMOTION_ESP32
354
+
347
355
; Adafruit Mini Sparkle Motion
348
356
[env:adafruit_sparklemotionmini_esp32]
349
357
extends = common:esp32
Original file line number Diff line number Diff line change 194
194
#define USE_LITTLEFS
195
195
#define USE_STATUS_LED
196
196
#define STATUS_LED_PIN LED_BUILTIN
197
+ #elif defined(ARDUINO_SPARKLEMOTION_ESP32 )
198
+ #define BOARD_ID "sparklemotion-esp32"
199
+ #define USE_LITTLEFS
200
+ #define USE_STATUS_NEOPIXEL
201
+ #define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
202
+ #define STATUS_NEOPIXEL_NUM 1
197
203
#elif defined(ARDUINO_SPARKLEMOTIONMINI_ESP32 )
198
204
#define BOARD_ID "sparklemotionmini-esp32"
199
205
#define USE_LITTLEFS
Original file line number Diff line number Diff line change 17
17
defined(ARDUINO_ADAFRUIT_ITSYBITSY_ESP32) || \
18
18
defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2) || \
19
19
defined(ARDUINO_ADAFRUIT_QTPY_ESP32_PICO) || \
20
- defined(ARDUINO_ESP32C3_DEV) || \
20
+ defined(ARDUINO_ESP32C3_DEV) || defined(ARDUINO_SPARKLEMOTION_ESP32) || \
21
21
defined(ARDUINO_SPARKLEMOTIONMINI_ESP32) || \
22
22
defined(ARDUINO_SPARKLEMOTIONSTICK_ESP32) || \
23
23
defined(ARDUINO_ADAFRUIT_QTPY_ESP32C3) || \
@@ -89,7 +89,6 @@ void WipperSnapper_LittleFS::parseSecrets() {
89
89
90
90
} else if (doc[" network_type_wifi" ][" alternative_networks" ]
91
91
.is <JsonArray>()) {
92
-
93
92
WS_DEBUG_PRINTLN (" Found multiple wifi networks in secrets.json" );
94
93
// Parse network credentials from array in secrets
95
94
JsonArray altnetworks = doc[" network_type_wifi" ][" alternative_networks" ];
You can’t perform that action at this time.
0 commit comments