zephyr/soc/nxp/mcx/mcxa/Kconfig.defconfig
Declan Snyder f013e20bc5 soc: nxp: Add missing resolve of system timer cfg
These socs were missing a config line to disable SYSTICK if the LPTMR is
configured for the system timer, similar to how other SOCs do this for
alternative system timers than systick.

This fixes build errors in the case where that lptmr kconfig is enabled.

Also, the LPTMR kconfig should be default no because it is a secondary
option for the system timer, being lower resolution than systick. This
also resolves build errors.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-03-20 17:14:28 +01:00

21 lines
432 B
Text

# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
if SOC_SERIES_MCXA
config CORTEX_M_SYSTICK
default n if MCUX_LPTMR_TIMER
config NUM_IRQS
default 88
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000 if MCUX_OS_TIMER
default 16000 if MCUX_LPTMR_TIMER
default 96000000 if CORTEX_M_SYSTICK
# Set to the minimal size of data which can be written.
config FLASH_FILL_BUFFER_SIZE
default 128
endif # SOC_SERIES_MCXA