Kconfig.projbuild 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. menu "Example Configuration"
  2. choice EXAMPLE_IR_PROTOCOL
  3. prompt "Infrared Protocol"
  4. default EXAMPLE_IR_PROTOCOL_NEC
  5. help
  6. Choose the IR protocol used in the example.
  7. config EXAMPLE_IR_PROTOCOL_NEC
  8. bool "NEC"
  9. help
  10. NEC is a kind of Pulse Distance Protocol.
  11. It uses ASK modulation and pulse distance encoding with a carrier frequency of 38 kHz.
  12. config EXAMPLE_IR_PROTOCOL_RC5
  13. bool "RC5"
  14. help
  15. The RC5 protocol was introduced by Philips.
  16. It uses ASK modulation and Manchester encoding with carrier frequency fixed at 36 kHz.
  17. endchoice
  18. config EXAMPLE_RMT_TX_GPIO
  19. int "RMT TX GPIO"
  20. default 18
  21. help
  22. Set the GPIO number used for transmitting the RMT signal.
  23. config EXAMPLE_RMT_RX_GPIO
  24. int "RMT RX GPIO"
  25. default 19
  26. help
  27. Set the GPIO number used for receiving the RMT signal.
  28. endmenu