1# Copyright 2023 NXP
2# All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6config MCUX_USE_SOC_MIMXRT685S_CM33
7    bool
8    select MCUX_USE_SOC_MIMXRT685S
9    select MCUX_CPU_ARCH_ARM_CM33
10    select MCUX_CPU_HAS_SP_FPU
11    select MCUX_CPU_ARM_HAS_DSP
12
13config MCUX_USE_SOC_MIMXRT685S
14    bool
15
16if MCUX_USE_SOC_MIMXRT685S
17
18# Part Number
19config MCUX_SOC_PART_MIMXRT685S
20    bool
21
22config MCUX_DEVICE
23    default "MIMXRT685S"
24
25config MCUX_DEVICE_ID
26    default "MIMXRT685S" if MCUX_SOC_PART_MIMXRT685S
27
28config MCUX_CORE_ID
29    default "cm33" if MCUX_USE_SOC_MIMXRT685S_CM33
30
31# Select supported components
32config MCUX_USE_SOC_MIMXRT685S
33    select MCUX_HAS_CMSIS_DSP_Include
34    select MCUX_HAS_CMSIS_DSP_Source
35    select MCUX_HAS_CMSIS_Device_API_OSTick
36    select MCUX_HAS_CMSIS_Device_API_RTOS2
37    select MCUX_HAS_CMSIS_Driver_Include_CAN
38    select MCUX_HAS_CMSIS_Driver_Include_Ethernet
39    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_MAC
40    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_PHY
41    select MCUX_HAS_CMSIS_Driver_Include_Flash
42    select MCUX_HAS_CMSIS_Driver_Include_I2C
43    select MCUX_HAS_CMSIS_Driver_Include_MCI
44    select MCUX_HAS_CMSIS_Driver_Include_NAND
45    select MCUX_HAS_CMSIS_Driver_Include_SAI
46    select MCUX_HAS_CMSIS_Driver_Include_SPI
47    select MCUX_HAS_CMSIS_Driver_Include_USART
48    select MCUX_HAS_CMSIS_Driver_Include_USB_Device
49    select MCUX_HAS_CMSIS_Driver_Include_USB_Host
50    select MCUX_HAS_CMSIS_Driver_Include_WiFi
51    select MCUX_HAS_CMSIS_Include_core_cm
52    select MCUX_HAS_CMSIS_NN_Source
53    select MCUX_HAS_CMSIS_RTOS2_NonSecure
54    select MCUX_HAS_CMSIS_RTOS2_Secure
55    select MCUX_HAS_component_ctimer_adapter
56    select MCUX_HAS_component_flexcomm_i2c_adapter
57    select MCUX_HAS_component_flexcomm_spi_adapter
58    select MCUX_HAS_component_i3c_adapter
59    select MCUX_HAS_component_lists
60    select MCUX_HAS_component_lpc_gpio_adapter
61    select MCUX_HAS_component_mrt_adapter
62    select MCUX_HAS_component_ostimer_adapter
63    select MCUX_HAS_component_rt_gpio_adapter
64    select MCUX_HAS_component_serial_manager
65    select MCUX_HAS_component_serial_manager_spi
66    select MCUX_HAS_component_serial_manager_swo if (MCUX_CPU_ARCH_ARM_CM33)
67    select MCUX_HAS_component_serial_manager_uart
68    select MCUX_HAS_component_usart_adapter
69    select MCUX_HAS_component_usart_dma_adapter
70    select MCUX_HAS_driver_acmp
71    select MCUX_HAS_driver_cache_cache64
72    select MCUX_HAS_driver_casper
73    select MCUX_HAS_driver_cmsis_flexcomm_i2c
74    select MCUX_HAS_driver_cmsis_flexcomm_spi
75    select MCUX_HAS_driver_cmsis_flexcomm_usart
76    select MCUX_HAS_driver_common
77    select MCUX_HAS_driver_ctimer
78    select MCUX_HAS_driver_dmic
79    select MCUX_HAS_driver_dmic_dma
80    select MCUX_HAS_driver_flexcomm
81    select MCUX_HAS_driver_flexcomm_i2c
82    select MCUX_HAS_driver_flexcomm_i2c_dma
83    select MCUX_HAS_driver_flexcomm_i2c_freertos
84    select MCUX_HAS_driver_flexcomm_i2s
85    select MCUX_HAS_driver_flexcomm_i2s_dma
86    select MCUX_HAS_driver_flexcomm_spi
87    select MCUX_HAS_driver_flexcomm_spi_dma
88    select MCUX_HAS_driver_flexcomm_spi_freertos
89    select MCUX_HAS_driver_flexcomm_usart
90    select MCUX_HAS_driver_flexcomm_usart_dma
91    select MCUX_HAS_driver_flexcomm_usart_freertos
92    select MCUX_HAS_driver_flexspi
93    select MCUX_HAS_driver_flexspi_dma
94    select MCUX_HAS_driver_fmeas
95    select MCUX_HAS_driver_hashcrypt
96    select MCUX_HAS_driver_i3c
97    select MCUX_HAS_driver_iap
98    select MCUX_HAS_driver_inputmux
99    select MCUX_HAS_driver_lpadc
100    select MCUX_HAS_driver_lpc_crc
101    select MCUX_HAS_driver_lpc_dma
102    select MCUX_HAS_driver_lpc_gpio
103    select MCUX_HAS_driver_lpc_iopctl
104    select MCUX_HAS_driver_lpc_rtc
105    select MCUX_HAS_driver_mrt
106    select MCUX_HAS_driver_mu
107    select MCUX_HAS_driver_ostimer
108    select MCUX_HAS_driver_otfad
109    select MCUX_HAS_driver_pint
110    select MCUX_HAS_driver_powerquad
111    select MCUX_HAS_driver_powerquad_cmsis
112    select MCUX_HAS_driver_puf
113    select MCUX_HAS_driver_sctimer
114    select MCUX_HAS_driver_sema42
115    select MCUX_HAS_driver_trng
116    select MCUX_HAS_driver_usdhc
117    select MCUX_HAS_driver_utick
118    select MCUX_HAS_driver_wwdt
119    select MCUX_HAS_utilities_misc_utilities
120    select MCUX_HAS_utility_assert
121    select MCUX_HAS_utility_assert_lite
122    select MCUX_HAS_utility_debug_console
123    select MCUX_HAS_utility_debug_console_lite
124    select MCUX_HAS_utility_shell
125    select MCUX_HAS_utility_str
126
127#### SOC specific dependency ####
128config MCUX_USE_component_serial_manager_uart
129    bool
130    select MCUX_USE_component_usart_adapter
131
132config MCUX_USE_driver_dmic_dma
133    bool
134    select MCUX_USE_driver_lpc_dma
135
136config MCUX_USE_driver_dsp
137    bool
138    select MCUX_USE_driver_power
139
140config MCUX_USE_driver_flexcomm_i2c_dma
141    bool
142    select MCUX_USE_driver_lpc_dma
143
144config MCUX_USE_driver_flexcomm_i2s_dma
145    bool
146    select MCUX_USE_driver_lpc_dma
147
148config MCUX_USE_driver_flexcomm_spi_dma
149    bool
150    select MCUX_USE_driver_lpc_dma
151
152config MCUX_USE_driver_flexcomm_usart_dma
153    bool
154    select MCUX_USE_driver_lpc_dma
155
156config MCUX_USE_driver_flexspi_dma
157    bool
158    select MCUX_USE_driver_lpc_dma
159
160config MCUX_USE_driver_iap
161    bool
162    select MCUX_USE_driver_common
163
164config MCUX_USE_driver_pca9420
165    bool
166    select MCUX_USE_driver_power
167
168config MCUX_USE_driver_utick
169    bool
170    select MCUX_USE_driver_power
171
172config MCUX_USE_utility_debug_console_lite
173    bool
174    select MCUX_USE_component_usart_adapter
175
176
177#### SOC level drivers ####
178# device_MIMXRT685S_CMSIS
179config MCUX_USE_device_MIMXRT685S_CMSIS
180    bool "Device MIMXRT685S_cmsis"
181    select MCUX_USE_CMSIS_Include_core_cm
182    help
183      Device MIMXRT685S_cmsis
184
185# device_MIMXRT685S_startup
186config MCUX_USE_device_MIMXRT685S_startup
187    bool "Device MIMXRT685S_startup"
188    help
189      Device MIMXRT685S_startup
190
191rsource "drivers/Kconfig"
192
193endif # MCUX_USE_SOC_MIMXRT685S