Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. menu "ESP-Driver:GPTimer Configurations"
  2. depends on SOC_GPTIMER_SUPPORTED
  3. config GPTIMER_ISR_HANDLER_IN_IRAM
  4. bool "Place GPTimer ISR handler into IRAM"
  5. default y
  6. help
  7. Place GPTimer ISR handler into IRAM for better performance and fewer cache misses.
  8. config GPTIMER_CTRL_FUNC_IN_IRAM
  9. bool "Place GPTimer control functions into IRAM"
  10. default n
  11. help
  12. Place GPTimer control functions (like start/stop) into IRAM,
  13. so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context.
  14. Enabling this option can improve driver performance as well.
  15. config GPTIMER_ISR_IRAM_SAFE
  16. bool "GPTimer ISR IRAM-Safe"
  17. select GPTIMER_ISR_HANDLER_IN_IRAM
  18. default n
  19. help
  20. Ensure the GPTimer interrupt is IRAM-Safe by allowing the interrupt handler to be
  21. executable when the cache is disabled (e.g. SPI Flash write).
  22. config GPTIMER_SUPPRESS_DEPRECATE_WARN
  23. bool "Suppress legacy driver deprecated warning"
  24. default n
  25. help
  26. Wether to suppress the deprecation warnings when using legacy timer group driver (driver/timer.h).
  27. If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
  28. you can enable this option.
  29. config GPTIMER_ENABLE_DEBUG_LOG
  30. bool "Enable debug log"
  31. default n
  32. help
  33. Wether to enable the debug log message for GPTimer driver.
  34. Note that, this option only controls the GPTimer driver log, won't affect other drivers.
  35. endmenu