1
0

Kconfig.projbuild 1.3 KB

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