1# i.MX RT6XX series configuration options
2
3# Copyright 2020, 2024 NXP
4# SPDX-License-Identifier: Apache-2.0
5
6if SOC_SERIES_IMXRT6XX
7
8config CMSIS_CORE_HAS_SYSTEM_CORE_CLOCK
9	bool
10	default y
11
12# alias for hal
13config SOC_SERIES_IMX_RT6XX
14	bool
15	default y
16
17# another alias for hal
18config SOC_SERIES_IMXRT_6XX
19	bool
20	default y
21
22endif # SOC_SERIES_MIMXRT6XX
23
24if SOC_MIMXRT685S_CM33
25
26config FLEXSPI_CONFIG_BLOCK_OFFSET
27	default 0x400
28
29config CODE_DATA_RELOCATION_SRAM
30	default y if FLASH_MCUX_FLEXSPI_XIP
31
32config ROM_START_OFFSET
33	default 0x1200 if NXP_IMXRT_BOOT_HEADER
34
35config NUM_IRQS
36	default 60
37
38config ZTEST_NO_YIELD
39	default y if (ZTEST && PM)
40
41if MBEDTLS
42#
43# MBEDTLS CTR_DRBG code path needs extra stack space for initialization than
44# what the ztest_thread_stack defaults to.
45#
46config TEST_EXTRA_STACK_SIZE
47	default 1024
48endif # MBEDTLS
49
50config I2S_MCUX_FLEXCOMM
51	select INIT_AUDIO_PLL
52
53config AUDIO_DMIC_MCUX
54	select INIT_AUDIO_PLL
55
56if MCUX_OS_TIMER
57
58config SYS_CLOCK_HW_CYCLES_PER_SEC
59	default 1000000
60
61endif # MCUX_OS_TIMER
62
63if CORTEX_M_SYSTICK
64
65config SYS_CLOCK_HW_CYCLES_PER_SEC
66	default 250105263
67
68endif # CORTEX_M_SYSTICK
69
70endif # SOC_MIMXRT685S_CM33
71