-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Description
Board
ESP32-C5-DevKitC-1 V1.2
Device Description
LED RGB Built in ESP32-C5-DevKitC-1 V1.2
Hardware Configuration
No
Version
v3.3.0
Type
Bug
IDE Name
Arduino IDE 1.8.19
Operating System
Windows
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
921600
Description
The BlinkRGB example fails to work with the v3.3.0 ESP32 core, even though the compilation process completes successfully with no errors.
Sketch
#define RGB_BRIGHTNESS 255 // Change white brightness (max 255)
// the setup function runs once when you press reset or power the board
//const int led_builtin_pin= 27;
const int led_builtin_pin= RGB_BUILTIN;
void setup() {
// No need to initialize the RGB LED
}
// the loop function runs over and over again forever
void loop() {
#ifdef RGB_BUILTIN
digitalWrite(led_builtin_pin, HIGH); // Turn the RGB LED white
delay(1000);
digitalWrite(led_builtin_pin, LOW); // Turn the RGB LED off
delay(1000);
rgbLedWrite(led_builtin_pin, RGB_BRIGHTNESS, 0, 0); // Red
delay(1000);
rgbLedWrite(led_builtin_pin, 0, RGB_BRIGHTNESS, 0); // Green
delay(1000);
rgbLedWrite(led_builtin_pin, 0, 0, RGB_BRIGHTNESS); // Blue
delay(1000);
rgbLedWrite(led_builtin_pin, 0, 0, 0); // Off / black
delay(1000);
#endif
}
Debug Message
10:30:26.771 -> ESP-ROM:esp32c5-eco2-20250121
10:30:26.771 -> Build:Jan 21 2025
10:30:26.771 -> rst:0x1 (POWERON),boot:0x18 (SPI_FAST_FLASH_BOOT)
10:30:26.771 -> SPI mode:DIO, clock div:1
10:30:26.771 -> load:0x408556b0,len:0x12bc
10:30:26.771 -> load:0x4084bba0,len:0xc4c
10:30:26.771 -> load:0x4084e5a0,len:0x3094
10:30:26.771 -> entry 0x4084bba0
10:30:26.863 -> =========== Before Setup Start ===========
10:30:26.863 -> Chip Info:
10:30:26.863 -> ------------------------------------------
10:30:26.863 -> Model : ESP32-C5
10:30:26.863 -> Package : 0
10:30:26.863 -> Revision : 1.00
10:30:26.863 -> Cores : 1
10:30:26.863 -> CPU Frequency : 240 MHz
10:30:26.863 -> XTAL Frequency : 48 MHz
10:30:26.863 -> Features Bitfield : 0x00000052
10:30:26.863 -> Embedded Flash : No
10:30:26.913 -> Embedded PSRAM : No
10:30:26.913 -> 2.4GHz WiFi : Yes
10:30:26.913 -> Classic BT : No
10:30:26.913 -> BT Low Energy : Yes
10:30:26.913 -> IEEE 802.15.4 : Yes
10:30:26.913 -> ------------------------------------------
10:30:26.913 -> INTERNAL Memory Info:
10:30:26.913 -> ------------------------------------------
10:30:26.913 -> Total Size : 341552 B ( 333.5 KB)
10:30:26.913 -> Free Bytes : 305640 B ( 298.5 KB)
10:30:26.913 -> Allocated Bytes : 32088 B ( 31.3 KB)
10:30:26.913 -> Minimum Free Bytes: 305616 B ( 298.5 KB)
10:30:26.913 -> Largest Free Block: 286708 B ( 280.0 KB)
10:30:26.913 -> ------------------------------------------
10:30:26.913 -> Flash Info:
10:30:26.913 -> ------------------------------------------
10:30:26.957 -> Chip Size : 8388608 B (8 MB)
10:30:26.957 -> Block Size : 65536 B ( 64.0 KB)
10:30:26.957 -> Sector Size : 4096 B ( 4.0 KB)
10:30:26.957 -> Page Size : 256 B ( 0.2 KB)
10:30:26.957 -> Bus Mode : QIO
10:30:26.957 -> ------------------------------------------
10:30:26.957 -> Partitions Info:
10:30:26.957 -> ------------------------------------------
10:30:26.957 -> nvs : addr: 0x00009000, size: 20.0 KB, type: DATA, subtype: NVS
10:30:26.957 -> otadata : addr: 0x0000E000, size: 8.0 KB, type: DATA, subtype: OTA
10:30:26.957 -> app0 : addr: 0x00010000, size: 1280.0 KB, type: APP, subtype: OTA_0
10:30:27.004 -> app1 : addr: 0x00150000, size: 1280.0 KB, type: APP, subtype: OTA_1
10:30:27.004 -> spiffs : addr: 0x00290000, size: 1408.0 KB, type: DATA, subtype: SPIFFS
10:30:27.004 -> coredump : addr: 0x003F0000, size: 64.0 KB, type: DATA, subtype: COREDUMP
10:30:27.004 -> ------------------------------------------
10:30:27.004 -> Software Info:
10:30:27.004 -> ------------------------------------------
10:30:27.004 -> Compile Date/Time : Aug 25 2025 10:30:10
10:30:27.004 -> Compile Host OS : windows
10:30:27.004 -> ESP-IDF Version : v5.5-1-gb66b5448e0
10:30:27.051 -> Arduino Version : 3.3.0
10:30:27.051 -> ------------------------------------------
10:30:27.051 -> Board Info:
10:30:27.051 -> ------------------------------------------
10:30:27.051 -> Arduino Board : ESP32C5_DEV
10:30:27.051 -> Arduino Variant : esp32c5
10:30:27.051 -> Arduino FQBN : esp32:esp32:esp32c5:JTAGAdapter=default,PSRAM=disabled,CDCOnBoot=default,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=debug,EraseFlash=none,ZigbeeMode=default
10:30:27.051 -> ============ Before Setup End ============
10:30:27.190 -> =========== After Setup Start ============
10:30:27.190 -> INTERNAL Memory Info:
10:30:27.190 -> ------------------------------------------
10:30:27.190 -> Total Size : 341552 B ( 333.5 KB)
10:30:27.190 -> Free Bytes : 310540 B ( 303.3 KB)
10:30:27.190 -> Allocated Bytes : 27188 B ( 26.6 KB)
10:30:27.190 -> Minimum Free Bytes: 305268 B ( 298.1 KB)
10:30:27.190 -> Largest Free Block: 286708 B ( 280.0 KB)
10:30:27.190 -> ------------------------------------------
10:30:27.190 -> GPIO Info:
10:30:27.190 -> ------------------------------------------
10:30:27.190 -> GPIO : BUS_TYPE[bus/unit][chan]
10:30:27.190 -> --------------------------------------
10:30:27.238 -> 11 : UART_TX[0]
10:30:27.238 -> 12 : UART_RX[0]
10:30:27.238 -> ============ After Setup End =============
Other Steps to Reproduce
With 'Core debug level: Verbose' enabled, the Blink messages are:
10:31:44.299 -> ============ After Setup End =============
10:31:44.345 -> [ 562][V][esp32-hal-rmt.c:457] rmtInit(): GPIO 27 - TX MODE - MemSize[48] - Freq=10000000Hz
10:31:44.345 -> [ 571][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type RMT_TX (10) successfully set to 0x42001482
10:31:44.345 -> [ 582][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type RMT_RX (11) successfully set to 0x42001482
10:31:44.392 -> [ 594][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 27 successfully set to type RMT_TX (10) with bus 0x4085f28c
10:31:44.392 -> [ 604][V][esp32-hal-rmt.c:306] _rmtWrite(): GPIO: 27 - Request: 24 RMT Symbols - Blocking - Timeout: -1
10:31:44.392 -> [ 614][V][esp32-hal-rmt.c:307] _rmtWrite(): GPIO: 27 - Currently in Loop Mode: [NO] | Asked to Loop: NO, LoopCancel: NO
10:31:45.411 -> [ 1624][V][esp32-hal-rmt.c:457] rmtInit(): GPIO 27 - TX MODE - MemSize[48] - Freq=10000000Hz
10:31:45.411 -> [ 1633][V][esp32-hal-rmt.c:306] _rmtWrite(): GPIO: 27 - Request: 24 RMT Symbols - Blocking - Timeout: -1
10:31:45.411 -> [ 1642][V][esp32-hal-rmt.c:307] _rmtWrite(): GPIO: 27 - Currently in Loop Mode: [NO] | Asked to Loop: NO, LoopCancel: NO
10:31:46.433 -> [ 2652][V][esp32-hal-rmt.c:457] rmtInit(): GPIO 27 - TX MODE - MemSize[48] - Freq=10000000Hz
10:31:46.433 -> [ 2661][V][esp32-hal-rmt.c:306] _rmtWrite(): GPIO: 27 - Request: 24 RMT Symbols - Blocking - Timeout: -1
10:31:46.433 -> [ 2670][V][esp32-hal-rmt.c:307] _rmtWrite(): GPIO: 27 - Currently in Loop Mode: [NO] | Asked to Loop: NO, LoopCancel: NO
10:31:47.456 -> [ 3680][V][esp32-hal-rmt.c:457] rmtInit(): GPIO 27 - TX MODE - MemSize[48] - Freq=10000000Hz
...
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.