zephyr/drivers/timer/Kconfig.mcux_gpt
Daniel DeGrasse 4be1fb81ce soc: arm: nxp: switch imxrt boards to use systick timer unless CONFIG_PM=y
Switch all imxrt boards to use the systick timer by default, and only
enable the GPT timer when using low power modes. This is desirable
because the systick has a higher resolution, but the GPT can run
while the core clock is gated, making it useful for low power modes.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-12-16 09:31:48 +01:00

15 lines
469 B
Plaintext

# Copyright (c) 2021 NXP
# SPDX-License-Identifier: Apache-2.0
config MCUX_GPT_TIMER
bool "MCUX GPT Event timer"
default y
depends on PM
depends on DT_HAS_NXP_GPT_HW_TIMER_ENABLED
select TICKLESS_CAPABLE
help
This module implements a kernel device driver for the NXP GPT timer,
and provides the standard "system clock driver" interfaces. It uses the
first GPT peripheral defined in the system, which can no longer be used
for the GPT counter driver.