Skip to content

Commit 94130b1

Browse files
committed
Correct BOARD_ID for ESP32-C5 DevKitC-1 N8R4
1 parent f3ecc12 commit 94130b1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Wippersnapper_Boards.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,14 @@
172172
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
173173
#define STATUS_NEOPIXEL_NUM 1
174174
#elif defined(ARDUINO_ESP32C5_DEV)
175-
#define BOARD_ID "esp32c5"
175+
#define BOARD_ID "esp32c5-devkitc-1-n8r4"
176176
#define USE_LITTLEFS
177177
#define USE_STATUS_NEOPIXEL
178-
#define STATUS_NEOPIXEL_PIN PIN_RGB_LED
178+
#define STATUS_NEOPIXEL_PIN PIN_RGB_LED // 27, or GPIO_NUM+27 if using RGBwrite()
179179
#define STATUS_NEOPIXEL_NUM 1
180+
#ifdef BOARD_HAS_PSRAM
181+
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
182+
#endif
180183
#elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2)
181184
#define BOARD_ID "feather-esp32-v2"
182185
#define USE_LITTLEFS

0 commit comments

Comments
 (0)