Kconfig 1011 B

12345678910111213141516171819202122232425
  1. menuconfig RT_USING_HWTIMER
  2. bool "Using Hardware Timer device drivers"
  3. default n
  4. help
  5. Enable the generic hardware-timer framework so SoC timer blocks can
  6. register themselves, expose capture/compare features, and provide high
  7. resolution timing services beyond the system tick. Select this for chips
  8. with general-purpose timers or watchdog-timer reuse; disable on systems
  9. that only rely on the software tick.
  10. config RT_HWTIMER_ARM_ARCH
  11. bool "ARM ARCH Timer"
  12. depends on RT_USING_DM
  13. depends on RT_USING_HWTIMER
  14. depends on ARCH_ARM_CORTEX_A || ARCH_ARMV8
  15. default n
  16. help
  17. Enable the driver for the ARM architectural timer (ARMv7-A/v8 system
  18. counter). This maps CNTFRQ/CNTV registers into the driver-model so the
  19. kernel can expose a precise clocksource/clockevent. Only useful on Cortex-
  20. A/R platforms that implement the generic timer block.
  21. if RT_USING_DM && RT_USING_HWTIMER
  22. osource "$(SOC_DM_HWTIMER_DIR)/Kconfig"
  23. endif