1# Copyright 2023 NXP
2# All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6config MCUX_USE_SOC_MIMXRT1011
7    bool
8    select MCUX_CPU_ARCH_ARM_CM7F
9    select MCUX_CPU_HAS_SP_FPU
10if MCUX_USE_SOC_MIMXRT1011
11
12# Part Number
13config MCUX_SOC_PART_MIMXRT1011xxxxx
14    bool
15
16config MCUX_DEVICE
17    default "MIMXRT1011"
18
19config MCUX_DEVICE_ID
20    default "MIMXRT1011xxxxx" if MCUX_SOC_PART_MIMXRT1011xxxxx
21
22
23# Select supported components
24config MCUX_USE_SOC_MIMXRT1011
25    select MCUX_HAS_CMSIS_DSP_Include
26    select MCUX_HAS_CMSIS_DSP_Source
27    select MCUX_HAS_CMSIS_Device_API_OSTick
28    select MCUX_HAS_CMSIS_Device_API_RTOS2
29    select MCUX_HAS_CMSIS_Driver_Include_CAN
30    select MCUX_HAS_CMSIS_Driver_Include_Ethernet
31    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_MAC
32    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_PHY
33    select MCUX_HAS_CMSIS_Driver_Include_Flash
34    select MCUX_HAS_CMSIS_Driver_Include_I2C
35    select MCUX_HAS_CMSIS_Driver_Include_MCI
36    select MCUX_HAS_CMSIS_Driver_Include_NAND
37    select MCUX_HAS_CMSIS_Driver_Include_SAI
38    select MCUX_HAS_CMSIS_Driver_Include_SPI
39    select MCUX_HAS_CMSIS_Driver_Include_USART
40    select MCUX_HAS_CMSIS_Driver_Include_USB_Device
41    select MCUX_HAS_CMSIS_Driver_Include_USB_Host
42    select MCUX_HAS_CMSIS_Driver_Include_WiFi
43    select MCUX_HAS_CMSIS_Include_core_cm
44    select MCUX_HAS_CMSIS_NN_Source
45    select MCUX_HAS_CMSIS_RTOS2_NonSecure
46    select MCUX_HAS_CMSIS_RTOS2_Secure
47    select MCUX_HAS_component_gpt_adapter
48    select MCUX_HAS_component_igpio_adapter
49    select MCUX_HAS_component_lists
50    select MCUX_HAS_component_lpi2c_adapter
51    select MCUX_HAS_component_lpspi_adapter
52    select MCUX_HAS_component_lpuart_adapter
53    select MCUX_HAS_component_lpuart_dma_adapter
54    select MCUX_HAS_component_pit_adapter
55    select MCUX_HAS_component_serial_manager
56    select MCUX_HAS_component_serial_manager_spi
57    select MCUX_HAS_component_serial_manager_swo if (MCUX_CPU_ARCH_ARM_CM7F)
58    select MCUX_HAS_component_serial_manager_uart
59    select MCUX_HAS_driver_adc_12b1msps_sar
60    select MCUX_HAS_driver_adc_etc
61    select MCUX_HAS_driver_aipstz
62    select MCUX_HAS_driver_aoi
63    select MCUX_HAS_driver_cache_armv7_m7
64    select MCUX_HAS_driver_cmsis_lpi2c
65    select MCUX_HAS_driver_cmsis_lpspi
66    select MCUX_HAS_driver_cmsis_lpuart
67    select MCUX_HAS_driver_common
68    select MCUX_HAS_driver_dcdc_1
69    select MCUX_HAS_driver_dcp
70    select MCUX_HAS_driver_dmamux
71    select MCUX_HAS_driver_edma
72    select MCUX_HAS_driver_ewm
73    select MCUX_HAS_driver_flexio
74    select MCUX_HAS_driver_flexio_camera
75    select MCUX_HAS_driver_flexio_camera_edma
76    select MCUX_HAS_driver_flexio_i2c_master
77    select MCUX_HAS_driver_flexio_i2s
78    select MCUX_HAS_driver_flexio_i2s_edma
79    select MCUX_HAS_driver_flexio_mculcd
80    select MCUX_HAS_driver_flexio_mculcd_edma
81    select MCUX_HAS_driver_flexio_spi
82    select MCUX_HAS_driver_flexio_spi_edma
83    select MCUX_HAS_driver_flexio_uart
84    select MCUX_HAS_driver_flexio_uart_edma
85    select MCUX_HAS_driver_flexram
86    select MCUX_HAS_driver_flexspi
87    select MCUX_HAS_driver_flexspi_edma
88    select MCUX_HAS_driver_gpc_1
89    select MCUX_HAS_driver_gpt
90    select MCUX_HAS_driver_igpio
91    select MCUX_HAS_driver_kpp
92    select MCUX_HAS_driver_lpi2c
93    select MCUX_HAS_driver_lpi2c_edma
94    select MCUX_HAS_driver_lpi2c_freertos
95    select MCUX_HAS_driver_lpspi
96    select MCUX_HAS_driver_lpspi_edma
97    select MCUX_HAS_driver_lpspi_freertos
98    select MCUX_HAS_driver_lpuart
99    select MCUX_HAS_driver_lpuart_edma
100    select MCUX_HAS_driver_lpuart_freertos
101    select MCUX_HAS_driver_ocotp
102    select MCUX_HAS_driver_otfad
103    select MCUX_HAS_driver_pit
104    select MCUX_HAS_driver_pmu
105    select MCUX_HAS_driver_pwm
106    select MCUX_HAS_driver_rtwdog
107    select MCUX_HAS_driver_sai
108    select MCUX_HAS_driver_sai_edma
109    select MCUX_HAS_driver_snvs_hp
110    select MCUX_HAS_driver_snvs_lp
111    select MCUX_HAS_driver_spdif
112    select MCUX_HAS_driver_spdif_edma
113    select MCUX_HAS_driver_src
114    select MCUX_HAS_driver_tempmon
115    select MCUX_HAS_driver_trng
116    select MCUX_HAS_driver_wdog01
117    select MCUX_HAS_driver_xbara
118    select MCUX_HAS_utilities_misc_utilities
119    select MCUX_HAS_utility_assert
120    select MCUX_HAS_utility_assert_lite
121    select MCUX_HAS_utility_debug_console
122    select MCUX_HAS_utility_debug_console_lite
123    select MCUX_HAS_utility_notifier
124    select MCUX_HAS_utility_shell
125    select MCUX_HAS_utility_str
126
127#### SOC specific dependency ####
128config MCUX_USE_RTE_Device
129    bool
130    select MCUX_USE_driver_dmamux
131    select MCUX_USE_driver_edma
132
133config MCUX_USE_component_serial_manager_uart
134    bool
135    select MCUX_USE_component_lpuart_adapter
136
137config MCUX_USE_driver_cmsis_lpi2c
138    bool
139    select MCUX_USE_driver_lpi2c_edma
140
141config MCUX_USE_driver_cmsis_lpspi
142    bool
143    select MCUX_USE_driver_lpspi_edma
144
145config MCUX_USE_driver_cmsis_lpuart
146    bool
147    select MCUX_USE_driver_lpuart_edma
148
149config MCUX_USE_driver_dcp
150    bool
151    select MCUX_USE_driver_cache_armv7_m7
152
153config MCUX_USE_driver_flexio_camera_edma
154    bool
155    select MCUX_USE_driver_edma
156
157config MCUX_USE_driver_flexio_i2s_edma
158    bool
159    select MCUX_USE_driver_edma
160
161config MCUX_USE_driver_flexio_mculcd_edma
162    bool
163    select MCUX_USE_driver_edma
164
165config MCUX_USE_driver_flexio_spi_edma
166    bool
167    select MCUX_USE_driver_edma
168
169config MCUX_USE_driver_flexio_uart_edma
170    bool
171    select MCUX_USE_driver_edma
172
173config MCUX_USE_driver_flexspi_edma
174    bool
175    select MCUX_USE_driver_edma
176
177config MCUX_USE_driver_lpi2c_edma
178    bool
179    select MCUX_USE_driver_edma
180
181config MCUX_USE_driver_lpspi_edma
182    bool
183    select MCUX_USE_driver_edma
184
185config MCUX_USE_driver_lpuart_edma
186    bool
187    select MCUX_USE_driver_edma
188
189config MCUX_USE_driver_sai_edma
190    bool
191    select MCUX_USE_driver_edma
192
193config MCUX_USE_driver_spdif_edma
194    bool
195    select MCUX_USE_driver_edma
196
197config MCUX_USE_utility_debug_console_lite
198    bool
199    select MCUX_USE_component_lpuart_adapter
200
201
202#### SOC level drivers ####
203# device_MIMXRT1011_CMSIS
204config MCUX_USE_device_MIMXRT1011_CMSIS
205    bool "Device MIMXRT1011_cmsis"
206    select MCUX_USE_CMSIS_Include_core_cm
207    help
208      Device MIMXRT1011_cmsis
209
210# device_MIMXRT1011_startup
211config MCUX_USE_device_MIMXRT1011_startup
212    bool "Device MIMXRT1011_startup"
213    help
214      Device MIMXRT1011_startup
215
216# device_MIMXRT1011_system
217config MCUX_USE_device_MIMXRT1011_system
218    bool "Device MIMXRT1011_system"
219    help
220      Device MIMXRT1011_system
221
222rsource "drivers/Kconfig"
223rsource "xip/Kconfig"
224
225endif # MCUX_USE_SOC_MIMXRT1011