Kconfig.rmt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. menu "RMT Configuration"
  2. depends on SOC_RMT_SUPPORTED
  3. config RMT_ISR_IRAM_SAFE
  4. bool "RMT ISR IRAM-Safe"
  5. default n
  6. select GDMA_ISR_IRAM_SAFE if SOC_RMT_SUPPORT_DMA # RMT basic functionality relies on GDMA callback
  7. select GDMA_CTRL_FUNC_IN_IRAM if SOC_RMT_SUPPORT_DMA # RMT needs to restart the GDMA in the interrupt
  8. help
  9. Ensure the RMT interrupt is IRAM-Safe by allowing the interrupt handler to be
  10. executable when the cache is disabled (e.g. SPI Flash write).
  11. config RMT_RECV_FUNC_IN_IRAM
  12. bool "Place RMT receive function into IRAM"
  13. default n
  14. select GDMA_CTRL_FUNC_IN_IRAM if SOC_RMT_SUPPORT_DMA # RMT needs to start the GDMA in the receive function
  15. help
  16. Place RMT receive function into IRAM,
  17. so that the receive function can be IRAM-safe and able to be called when the flash cache is disabled.
  18. Enabling this option can improve driver performance as well.
  19. config RMT_SUPPRESS_DEPRECATE_WARN
  20. bool "Suppress legacy driver deprecated warning"
  21. default n
  22. help
  23. Wether to suppress the deprecation warnings when using legacy rmt driver (driver/rmt.h).
  24. If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
  25. you can enable this option.
  26. config RMT_ENABLE_DEBUG_LOG
  27. bool "Enable debug log"
  28. default n
  29. help
  30. Wether to enable the debug log message for RMT driver.
  31. Note that, this option only controls the RMT driver log, won't affect other drivers.
  32. endmenu # RMT Configuration