diff --git a/.github/workflows/build-clang-doxy.yml b/.github/workflows/build-clang-doxy.yml index 8c16aa67e..aaac75d21 100644 --- a/.github/workflows/build-clang-doxy.yml +++ b/.github/workflows/build-clang-doxy.yml @@ -90,7 +90,7 @@ jobs: strategy: fail-fast: false matrix: - arduino-platform: ["feather_esp32", "qtpy_esp32", "feather_esp32_v2", "qtpy_esp32c3"] + arduino-platform: ["feather_esp32", "qtpy_esp32", "feather_esp32_v2", "itsybitsy_esp32", "qtpy_esp32c3"] include: - offset: "0x1000" - offset: "0x0" diff --git a/examples/Wippersnapper_NoFS/.itsybitsy_esp32.test.skip b/examples/Wippersnapper_NoFS/.itsybitsy_esp32.test.skip new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/examples/Wippersnapper_NoFS/.itsybitsy_esp32.test.skip @@ -0,0 +1 @@ + diff --git a/examples/Wippersnapper_demo/.itsybitsy_esp32.generate b/examples/Wippersnapper_demo/.itsybitsy_esp32.generate new file mode 100644 index 000000000..139597f9c --- /dev/null +++ b/examples/Wippersnapper_demo/.itsybitsy_esp32.generate @@ -0,0 +1,2 @@ + + diff --git a/examples/wippersnapper_debug/.itsybitsy_esp32.test.skip b/examples/wippersnapper_debug/.itsybitsy_esp32.test.skip new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/examples/wippersnapper_debug/.itsybitsy_esp32.test.skip @@ -0,0 +1 @@ + diff --git a/platformio.ini b/platformio.ini index 450086e0e..af1339592 100644 --- a/platformio.ini +++ b/platformio.ini @@ -121,6 +121,14 @@ board_build.partitions = default_8MB.csv build_flags = -DARDUINO_ADAFRUIT_FEATHER_ESP32_V2 board_build.filesystem = littlefs +; Adafruit ItsyBitsy ESP32 +[env:itsybitsyesp32] +extends = common:esp32 +board = adafruit_itsybitsy_esp32 +build_flags = -DARDUINO_ADAFRUIT_ITSYBITSY_ESP32 +board_build.filesystem = littlefs + + ; Adafruit Feather ESP32-S2 [env:featheresp32s2] extends = common:esp32 diff --git a/src/Wippersnapper_Boards.h b/src/Wippersnapper_Boards.h index 98ec0b3a9..bd3c263a6 100644 --- a/src/Wippersnapper_Boards.h +++ b/src/Wippersnapper_Boards.h @@ -138,6 +138,13 @@ #define USE_LITTLEFS #define USE_STATUS_LED #define STATUS_LED_PIN 0 +#elif defined(ARDUINO_ADAFRUIT_ITSYBITSY_ESP32) +#define BOARD_ID "itsybitsy-esp32" +#define USE_LITTLEFS +#define USE_STATUS_NEOPIXEL +#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_FEATHER_ESP32) #define BOARD_ID "feather-esp32" #define USE_LITTLEFS diff --git a/src/provisioning/littlefs/WipperSnapper_LittleFS.cpp b/src/provisioning/littlefs/WipperSnapper_LittleFS.cpp index 34bcd0767..662f63d6d 100644 --- a/src/provisioning/littlefs/WipperSnapper_LittleFS.cpp +++ b/src/provisioning/littlefs/WipperSnapper_LittleFS.cpp @@ -14,6 +14,7 @@ */ #if defined(ARDUINO_FEATHER_ESP32) || \ defined(ARDUINO_ESP8266_ADAFRUIT_HUZZAH) || \ + defined(ARDUINO_ADAFRUIT_ITSYBITSY_ESP32) || \ defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2) || \ defined(ARDUINO_ADAFRUIT_QTPY_ESP32_PICO) || \ defined(ARDUINO_ADAFRUIT_QTPY_ESP32C3)