summaryrefslogtreecommitdiff
path: root/components/drivers/hwtimer/Kconfig
blob: 9e21131731d6444de3e307358951ad8f39bcbd5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
menuconfig RT_USING_HWTIMER
    bool "Using Hardware Timer device drivers"
    default n
    help
      Enable the generic hardware-timer framework so SoC timer blocks can
      register themselves, expose capture/compare features, and provide high
      resolution timing services beyond the system tick. Select this for chips
      with general-purpose timers or watchdog-timer reuse; disable on systems
      that only rely on the software tick.

config RT_HWTIMER_ARM_ARCH
    bool "ARM ARCH Timer"
    depends on RT_USING_DM
    depends on RT_USING_HWTIMER
    depends on ARCH_ARM_CORTEX_A || ARCH_ARMV8
    default n
    help
      Enable the driver for the ARM architectural timer (ARMv7-A/v8 system
      counter). This maps CNTFRQ/CNTV registers into the driver-model so the
      kernel can expose a precise clocksource/clockevent. Only useful on Cortex-
      A/R platforms that implement the generic timer block.

if RT_USING_DM && RT_USING_HWTIMER
    osource "$(SOC_DM_HWTIMER_DIR)/Kconfig"
endif