1menu "Example Configuration"
2
3    choice BLINK_LED
4        prompt "Blink LED type"
5        default BLINK_LED_GPIO if IDF_TARGET_ESP32
6        default BLINK_LED_RMT
7        help
8            Defines the default peripheral for blink example
9
10        config BLINK_LED_GPIO
11            bool "GPIO"
12        config BLINK_LED_RMT
13            bool "RMT - Addressable LED"
14    endchoice
15
16    config BLINK_LED_RMT_CHANNEL
17        depends on BLINK_LED_RMT
18        int "RMT Channel"
19        range 0 7
20        default 0
21        help
22            Set the RMT peripheral channel.
23            ESP32 RMT channel from 0 to 7
24            ESP32-S2 RMT channel from 0 to 3
25            ESP32-S3 RMT channel from 0 to 3
26            ESP32-C3 RMT channel from 0 to 1
27
28    config BLINK_GPIO
29        int "Blink GPIO number"
30        range 0 48
31        default 8 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32H2
32        default 18 if IDF_TARGET_ESP32S2
33        default 48 if IDF_TARGET_ESP32S3
34        default 5
35        help
36            GPIO number (IOxx) to blink on and off or the RMT signal for the addressable LED.
37            Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used to blink.
38
39    config BLINK_PERIOD
40        int "Blink period in ms"
41        range 10 3600000
42        default 1000
43        help
44            Define the blinking period in milliseconds.
45
46endmenu
47