You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: idf_component_examples/esp_matter_light/main/Kconfig.projbuild
+18-78
Original file line number
Diff line number
Diff line change
@@ -3,100 +3,40 @@ menu "Light Matter Accessory"
3
3
config BUTTON_PIN
4
4
int
5
5
prompt "Button 1 GPIO"
6
-
default ENV_GPIO_BOOT_BUTTON
6
+
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6
7
+
default 0
7
8
range -1 ENV_GPIO_IN_RANGE_MAX
8
9
help
9
10
The GPIO pin for button that will be used to turn on/off the Matter Light. It shall be connected to a push button. It can use the BOOT button of the development board.
10
11
endmenu
11
12
12
-
13
13
menu "LEDs"
14
14
config WS2812_PIN
15
15
int
16
16
prompt "WS2812 RGB LED GPIO"
17
-
default ENV_GPIO_RGB_LED
17
+
default 8 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6
18
+
default 48
18
19
range -1 ENV_GPIO_OUT_RANGE_MAX
19
20
help
20
21
The GPIO pin for the Matter Light that will be driven by RMT. It shall be connected to one single WS2812 RGB LED.
0 commit comments