diff --git a/.github/workflows/build-clang-doxy.yml b/.github/workflows/build-clang-doxy.yml index df931d7d..9461af29 100644 --- a/.github/workflows/build-clang-doxy.yml +++ b/.github/workflows/build-clang-doxy.yml @@ -284,6 +284,7 @@ jobs: [ "wippersnapper_feather_esp32", "qtpy_esp32", + "sparklemotionmini_esp32", "feather_esp32_v2", "itsybitsy_esp32", "wippersnapper_qtpy_esp32c3", diff --git a/examples/Wippersnapper_demo/.sparklemotionmini_esp32.generate b/examples/Wippersnapper_demo/.sparklemotionmini_esp32.generate new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/examples/Wippersnapper_demo/.sparklemotionmini_esp32.generate @@ -0,0 +1 @@ + diff --git a/examples/wippersnapper_debug/.sparklemotionmini_esp32.test.skip b/examples/wippersnapper_debug/.sparklemotionmini_esp32.test.skip new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/examples/wippersnapper_debug/.sparklemotionmini_esp32.test.skip @@ -0,0 +1 @@ + diff --git a/library.properties b/library.properties index 467cae1b..9a53c8dd 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Adafruit WipperSnapper -version=1.0.0-beta.95 +version=1.0.0-beta.96 author=Adafruit maintainer=Adafruit sentence=Arduino application for Adafruit.io WipperSnapper diff --git a/platformio.ini b/platformio.ini index f6b7f0e1..a9bc5e7e 100644 --- a/platformio.ini +++ b/platformio.ini @@ -323,6 +323,14 @@ board_build.filesystem = littlefs build_type = debug build_flags = -DARDUINO_ADAFRUIT_QTPY_ESP32 +; Adafruit Mini Sparkle Motion +[env:adafruit_sparklemotionmini_esp32] +extends = common:esp32 +board = adafruit_sparklemotionmini_esp32 +board_build.partitions = min_spiffs.csv +board_build.filesystem = littlefs +build_flags = -DARDUINO_SPARKLEMOTIONMINI_ESP32 + ; Adafruit QT Py ESP32-C3 [env:adafruit_qtpy_esp32c3] extends = common:esp32 diff --git a/src/Wippersnapper.h b/src/Wippersnapper.h index 8727cb71..427a8f03 100644 --- a/src/Wippersnapper.h +++ b/src/Wippersnapper.h @@ -142,7 +142,7 @@ #endif #define WS_VERSION \ - "1.0.0-beta.95" ///< WipperSnapper app. version (semver-formatted) + "1.0.0-beta.96" ///< WipperSnapper app. version (semver-formatted) // Reserved Adafruit IO MQTT topics #define TOPIC_IO_THROTTLE "/throttle" ///< Adafruit IO Throttle MQTT Topic diff --git a/src/Wippersnapper_Boards.h b/src/Wippersnapper_Boards.h index f70c7dbe..940a4b77 100644 --- a/src/Wippersnapper_Boards.h +++ b/src/Wippersnapper_Boards.h @@ -177,6 +177,12 @@ #define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL #define STATUS_NEOPIXEL_NUM 1 #define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation +#elif defined(ARDUINO_SPARKLEMOTIONMINI_ESP32) +#define BOARD_ID "sparklemotionmini-esp32" +#define USE_LITTLEFS +#define USE_STATUS_NEOPIXEL +#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL +#define STATUS_NEOPIXEL_NUM 1 #elif defined(ARDUINO_RASPBERRY_PI_PICO_W) #define BOARD_ID "rpi-pico-w" #define USE_TINYUSB diff --git a/src/provisioning/littlefs/WipperSnapper_LittleFS.cpp b/src/provisioning/littlefs/WipperSnapper_LittleFS.cpp index f564ef93..b8f56d1d 100644 --- a/src/provisioning/littlefs/WipperSnapper_LittleFS.cpp +++ b/src/provisioning/littlefs/WipperSnapper_LittleFS.cpp @@ -17,6 +17,7 @@ defined(ARDUINO_ADAFRUIT_ITSYBITSY_ESP32) || \ defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2) || \ defined(ARDUINO_ADAFRUIT_QTPY_ESP32_PICO) || \ + defined(ARDUINO_SPARKLEMOTIONMINI_ESP32) || \ defined(ARDUINO_ADAFRUIT_QTPY_ESP32C3) || \ defined(ARDUINO_ADAFRUIT_FEATHER_ESP32C6) #include "WipperSnapper_LittleFS.h"