Skip to content

Commit 7cefcf3

Browse files
committed
Add ESP32-C5, bump ESP32 to 3.3.3
1 parent 3e921e7 commit 7cefcf3

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

platformio.ini

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ lib_deps =
101101

102102
; Common build environment for ESP32 platform
103103
[common:esp32]
104-
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.30-alpha1/platform-espressif32.zip
104+
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.32/platform-espressif32.zip
105105
; This is needed for occasional new features and bug fixes
106106
; platform = https://github.com/pioarduino/platform-espressif32#develop
107107
lib_ignore = WiFiNINA, WiFiNINA_-_Adafruit_Fork, WiFi101, OneWire
@@ -185,23 +185,18 @@ build_type = debug
185185
; debug_init_break = tbreak setup
186186
board_build.f_flash = 80000000L
187187
build_flags =
188-
-DARDUINO_ESPRESSIF_ESP32C5_DEVKITC_1
188+
-DWS_ESPRESSIF_ESP32C5_DEVKITC_1_N8R4
189189
-DARDUINO_ESP32C5_DEV
190-
;-DBOARD_HAS_PSRAM
191190
-DDEBUG=1
191+
-DARDUINO_USB_MODE=1
192192
-DARDUINO_USB_CDC_ON_BOOT=1
193-
-DARDUINO_USB_MODE=1 ; 0 for CDC + TinyUSB, 1 for Hardware CDC + JTAG
194193
-DESP_LOG_LEVEL=5
195-
-DARDUINO_CORE_DEBUG_LEVEL=5
196-
-DARDUINO_DEBUG_LEVEL=5
197194
-DARDUINO_LOG_LEVEL=5
198195
-DCORE_DEBUG_LEVEL=5
199-
-DARDUHAL_LOG_LEVEL=5
196+
-DBOARD_HAS_PSRAM
200197
board_build.filesystem = littlefs
201198
board_build.partitions = min_spiffs.csv
202199

203-
204-
205200
; Espressif ESP32-C6 4MB NO PSRAM esp32-c6-devkitm-1
206201
[env:espressif_esp32-c6-devkitm-1]
207202
extends = common:esp32

src/Wippersnapper_Boards.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@
172172
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
173173
#define STATUS_NEOPIXEL_NUM 1
174174
#elif defined(ARDUINO_ESP32C5_DEV)
175-
#define BOARD_ID "feather-esp32c6"
175+
#define BOARD_ID "esp32c5"
176176
#define USE_LITTLEFS
177177
#define USE_STATUS_NEOPIXEL
178-
#define STATUS_NEOPIXEL_PIN LED_BUILTIN
178+
#define STATUS_NEOPIXEL_PIN PIN_RGB_LED
179179
#define STATUS_NEOPIXEL_NUM 1
180180
#elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2)
181181
#define BOARD_ID "feather-esp32-v2"

0 commit comments

Comments
 (0)