Skip to content

Commit

Permalink
Merge pull request #552 from adafruit/add-itsybitsy32
Browse files Browse the repository at this point in the history
Add ItsyBitsy ESP32 Build
  • Loading branch information
tyeth authored Mar 7, 2024
2 parents 68ef76a + acc44a2 commit 21f820f
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-clang-doxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions examples/Wippersnapper_NoFS/.itsybitsy_esp32.test.skip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions examples/Wippersnapper_demo/.itsybitsy_esp32.generate
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@


1 change: 1 addition & 0 deletions examples/wippersnapper_debug/.itsybitsy_esp32.test.skip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

8 changes: 8 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions src/Wippersnapper_Boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/provisioning/littlefs/WipperSnapper_LittleFS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 21f820f

Please sign in to comment.