Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions examples/generic_button_led/sdkconfig.esp32_c3_devkit
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was generated using idf.py save-defconfig. It can be edited manually.
# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration
#
CONFIG_IDF_TARGET="esp32c3"

# ESP32C3-DevKit Settings
# Buttons
CONFIG_BSP_BUTTONS_NUM=0
# LEDs
CONFIG_BSP_LEDS_NUM=1
CONFIG_BSP_LED_TYPE_RGB=y
CONFIG_BSP_LED_RGB_GPIO=8
CONFIG_BSP_LED_RGB_BACKEND_RMT=y
13 changes: 13 additions & 0 deletions examples/generic_button_led/sdkconfig.esp32_c6_devkitc_1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was generated using idf.py save-defconfig. It can be edited manually.
# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration
#
CONFIG_IDF_TARGET="esp32c6"

# ESP32C6-DevKitC-1 v1.2 Settings
# Buttons
CONFIG_BSP_BUTTONS_NUM=0
# LEDs
CONFIG_BSP_LEDS_NUM=1
CONFIG_BSP_LED_TYPE_RGB=y
CONFIG_BSP_LED_RGB_GPIO=8
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: ESP32-C6 LED GPIO Configuration Error

Both ESP32-C3-DevKit and ESP32-C6-DevKitC-1 are configured to use identical GPIO pin 8 for RGB LED (CONFIG_BSP_LED_RGB_GPIO=8). This is suspicious because different ESP32 devkit boards typically use different GPIO pins for their onboard LEDs. For comparison, existing configurations show ESP32-S2-DevKitC-1 uses GPIO 18 and ESP32-S3-DevKitC-1.1 uses GPIO 38. The identical configuration suggests a potential copy-paste error where the ESP32-C6 configuration may have incorrectly inherited the C3 configuration without verifying the actual hardware GPIO mapping for the C6 devkit.

Fix in Cursor Fix in Web

CONFIG_BSP_LED_RGB_BACKEND_RMT=y
Loading