Skip to content

Commit 21f820f

Browse files
authored
Merge pull request #552 from adafruit/add-itsybitsy32
Add ItsyBitsy ESP32 Build
2 parents 68ef76a + acc44a2 commit 21f820f

File tree

7 files changed

+21
-1
lines changed

7 files changed

+21
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
strategy:
9191
fail-fast: false
9292
matrix:
93-
arduino-platform: ["feather_esp32", "qtpy_esp32", "feather_esp32_v2", "qtpy_esp32c3"]
93+
arduino-platform: ["feather_esp32", "qtpy_esp32", "feather_esp32_v2", "itsybitsy_esp32", "qtpy_esp32c3"]
9494
include:
9595
- offset: "0x1000"
9696
- offset: "0x0"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

platformio.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ board_build.partitions = default_8MB.csv
121121
build_flags = -DARDUINO_ADAFRUIT_FEATHER_ESP32_V2
122122
board_build.filesystem = littlefs
123123

124+
; Adafruit ItsyBitsy ESP32
125+
[env:itsybitsyesp32]
126+
extends = common:esp32
127+
board = adafruit_itsybitsy_esp32
128+
build_flags = -DARDUINO_ADAFRUIT_ITSYBITSY_ESP32
129+
board_build.filesystem = littlefs
130+
131+
124132
; Adafruit Feather ESP32-S2
125133
[env:featheresp32s2]
126134
extends = common:esp32

src/Wippersnapper_Boards.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@
138138
#define USE_LITTLEFS
139139
#define USE_STATUS_LED
140140
#define STATUS_LED_PIN 0
141+
#elif defined(ARDUINO_ADAFRUIT_ITSYBITSY_ESP32)
142+
#define BOARD_ID "itsybitsy-esp32"
143+
#define USE_LITTLEFS
144+
#define USE_STATUS_NEOPIXEL
145+
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
146+
#define STATUS_NEOPIXEL_NUM 1
147+
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
141148
#elif defined(ARDUINO_FEATHER_ESP32)
142149
#define BOARD_ID "feather-esp32"
143150
#define USE_LITTLEFS

src/provisioning/littlefs/WipperSnapper_LittleFS.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*/
1515
#if defined(ARDUINO_FEATHER_ESP32) || \
1616
defined(ARDUINO_ESP8266_ADAFRUIT_HUZZAH) || \
17+
defined(ARDUINO_ADAFRUIT_ITSYBITSY_ESP32) || \
1718
defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2) || \
1819
defined(ARDUINO_ADAFRUIT_QTPY_ESP32_PICO) || \
1920
defined(ARDUINO_ADAFRUIT_QTPY_ESP32C3)

0 commit comments

Comments
 (0)