Skip to content

Commit 3eed1bc

Browse files
authored
Merge pull request #756 from adafruit/sparkle-motion-stick
Sparkle motion stick
2 parents d0463bf + 7c674fa commit 3eed1bc

File tree

8 files changed

+25
-6
lines changed

8 files changed

+25
-6
lines changed

.github/workflows/build-clang-doxy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
run: bash ci/actions_install.sh
4646
- name: Install extra Arduino libraries
4747
run: |
48+
git clone --quiet --branch 2.2.54 https://github.com/adafruit/SdFat.git /home/runner/Arduino/libraries/SdFat
4849
git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library
4950
git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg
5051
git clone --quiet https://github.com/adafruit/Adafruit_HX8357_Library.git /home/runner/Arduino/libraries/Adafruit_HX8357_Library
@@ -285,6 +286,7 @@ jobs:
285286
"wippersnapper_feather_esp32",
286287
"qtpy_esp32",
287288
"sparklemotionmini_esp32",
289+
"sparklemotionstick_esp32",
288290
"feather_esp32_v2",
289291
"itsybitsy_esp32",
290292
"wippersnapper_qtpy_esp32c3",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Adafruit WipperSnapper
2-
version=1.0.0-beta.101
2+
version=1.0.0-beta.102
33
author=Adafruit
44
maintainer=Adafruit <adafruitio@adafruit.com>
55
sentence=Arduino application for Adafruit.io WipperSnapper

platformio.ini

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ lib_deps =
1919
;;;;;;;;;;; FunHouse / LVGL Boards uncomment these ;;;;;;;;;;;;;;
2020
; https://github.com/adafruit/Adafruit_HX8357_Library.git
2121
; https://github.com/adafruit/Adafruit_ILI9341.git
22-
; https://github.com/adafruit/Adafruit_STMPE610.git
22+
; https://github.com/adafruit/Adafruit_STMPE610.git
2323
; https://github.com/adafruit/Adafruit-ST7735-Library.git
2424
; https://github.com/adafruit/Adafruit_TouchScreen.git
2525
; https://github.com/brentru/lvgl.git#wippersnapper
@@ -291,7 +291,7 @@ extra_scripts = pre:rename_usb_config.py
291291
[env:adafruit_funhouse_esp32s2_debug]
292292
extends = common:esp32
293293
board = adafruit_funhouse_esp32s2
294-
;lib_extra_dirs =
294+
;lib_extra_dirs =
295295
build_type = debug
296296
build_flags =
297297
-DARDUINO_FUNHOUSE
@@ -333,6 +333,14 @@ board_build.partitions = min_spiffs.csv
333333
board_build.filesystem = littlefs
334334
build_flags = -DARDUINO_SPARKLEMOTIONMINI_ESP32
335335

336+
; Adafruit Sparkle Motion Stick
337+
[env:adafruit_sparklemotionstick_esp32]
338+
extends = common:esp32
339+
board = adafruit_sparklemotionstick_esp32
340+
board_build.partitions = min_spiffs.csv
341+
board_build.filesystem = littlefs
342+
build_flags = -DARDUINO_SPARKLEMOTIONSTICK_ESP32
343+
336344
; Adafruit QT Py ESP32-C3
337345
[env:adafruit_qtpy_esp32c3]
338346
extends = common:esp32
@@ -506,7 +514,7 @@ extends = common:rp2040
506514

507515
[env:raspberypi_picow_debug_port_only]
508516
extends = common:rp2040
509-
build_flags =
517+
build_flags =
510518
-DUSE_TINYUSB
511519
-DDEBUG_RP2040_PORT=Serial
512520

@@ -558,7 +566,7 @@ platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
558566
platform_packages =
559567
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
560568
board = rpipico2w
561-
build_flags =
569+
build_flags =
562570
-DWIFICC=CYW43_COUNTRY_UK
563571
-DUSE_TINYUSB
564572
; -DARDUINO_ARCH_RP2040

src/Wippersnapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
#endif
143143

144144
#define WS_VERSION \
145-
"1.0.0-beta.101" ///< WipperSnapper app. version (semver-formatted)
145+
"1.0.0-beta.102" ///< WipperSnapper app. version (semver-formatted)
146146

147147
// Reserved Adafruit IO MQTT topics
148148
#define TOPIC_IO_THROTTLE "/throttle" ///< Adafruit IO Throttle MQTT Topic

src/Wippersnapper_Boards.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,12 @@
183183
#define USE_STATUS_NEOPIXEL
184184
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
185185
#define STATUS_NEOPIXEL_NUM 1
186+
#elif defined(ARDUINO_SPARKLEMOTIONSTICK_ESP32)
187+
#define BOARD_ID "sparklemotionstick-esp32"
188+
#define USE_LITTLEFS
189+
#define USE_STATUS_NEOPIXEL
190+
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
191+
#define STATUS_NEOPIXEL_NUM 1
186192
#elif defined(ARDUINO_RASPBERRY_PI_PICO_W)
187193
#define BOARD_ID "rpi-pico-w"
188194
#define USE_TINYUSB

src/provisioning/littlefs/WipperSnapper_LittleFS.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2) || \
1919
defined(ARDUINO_ADAFRUIT_QTPY_ESP32_PICO) || \
2020
defined(ARDUINO_SPARKLEMOTIONMINI_ESP32) || \
21+
defined(ARDUINO_SPARKLEMOTIONSTICK_ESP32) || \
2122
defined(ARDUINO_ADAFRUIT_QTPY_ESP32C3) || \
2223
defined(ARDUINO_ADAFRUIT_FEATHER_ESP32C6)
2324
#include "WipperSnapper_LittleFS.h"

0 commit comments

Comments
 (0)