1# Copyright 2023 NXP 2# All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5 6config MCUX_USE_SOC_MIMXRT1166_CM4 7 bool 8 select MCUX_USE_SOC_MIMXRT1166 9 select MCUX_CPU_ARCH_ARM_CM4F 10 select MCUX_CPU_HAS_SP_FPU 11 12config MCUX_USE_SOC_MIMXRT1166_CM7 13 bool 14 select MCUX_USE_SOC_MIMXRT1166 15 select MCUX_CPU_ARCH_ARM_CM7F 16 select MCUX_CPU_HAS_DP_FPU 17 18config MCUX_USE_SOC_MIMXRT1166 19 bool 20 21if MCUX_USE_SOC_MIMXRT1166 22 23# Part Number 24config MCUX_SOC_PART_MIMXRT1166xxxxx 25 bool 26 27config MCUX_DEVICE 28 default "MIMXRT1166" 29 30config MCUX_DEVICE_ID 31 default "MIMXRT1166xxxxx" if MCUX_SOC_PART_MIMXRT1166xxxxx 32 33config MCUX_CORE_ID 34 default "cm4" if MCUX_USE_SOC_MIMXRT1166_CM4 35 default "cm7" if MCUX_USE_SOC_MIMXRT1166_CM7 36 37# Select supported components 38config MCUX_USE_SOC_MIMXRT1166 39 select MCUX_HAS_CMSIS_DSP_Include 40 select MCUX_HAS_CMSIS_DSP_Source 41 select MCUX_HAS_CMSIS_Device_API_OSTick 42 select MCUX_HAS_CMSIS_Device_API_RTOS2 43 select MCUX_HAS_CMSIS_Driver_Include_CAN 44 select MCUX_HAS_CMSIS_Driver_Include_Ethernet 45 select MCUX_HAS_CMSIS_Driver_Include_Ethernet_MAC 46 select MCUX_HAS_CMSIS_Driver_Include_Ethernet_PHY 47 select MCUX_HAS_CMSIS_Driver_Include_Flash 48 select MCUX_HAS_CMSIS_Driver_Include_I2C 49 select MCUX_HAS_CMSIS_Driver_Include_MCI 50 select MCUX_HAS_CMSIS_Driver_Include_NAND 51 select MCUX_HAS_CMSIS_Driver_Include_SAI 52 select MCUX_HAS_CMSIS_Driver_Include_SPI 53 select MCUX_HAS_CMSIS_Driver_Include_USART 54 select MCUX_HAS_CMSIS_Driver_Include_USB_Device 55 select MCUX_HAS_CMSIS_Driver_Include_USB_Host 56 select MCUX_HAS_CMSIS_Driver_Include_WiFi 57 select MCUX_HAS_CMSIS_Include_core_cm 58 select MCUX_HAS_CMSIS_NN_Source 59 select MCUX_HAS_CMSIS_RTOS2_NonSecure 60 select MCUX_HAS_CMSIS_RTOS2_Secure 61 select MCUX_HAS_component_gpt_adapter 62 select MCUX_HAS_component_igpio_adapter 63 select MCUX_HAS_component_lists 64 select MCUX_HAS_component_lpi2c_adapter 65 select MCUX_HAS_component_lpspi_adapter 66 select MCUX_HAS_component_lpuart_adapter 67 select MCUX_HAS_component_lpuart_dma_adapter 68 select MCUX_HAS_component_pit_adapter 69 select MCUX_HAS_component_serial_manager 70 select MCUX_HAS_component_serial_manager_spi 71 select MCUX_HAS_component_serial_manager_swo if (MCUX_CPU_ARCH_ARM_CM4F || MCUX_CPU_ARCH_ARM_CM7F) 72 select MCUX_HAS_component_serial_manager_uart 73 select MCUX_HAS_driver_acmp 74 select MCUX_HAS_driver_adc_etc 75 select MCUX_HAS_driver_aoi 76 select MCUX_HAS_driver_asrc 77 select MCUX_HAS_driver_asrc_edma 78 select MCUX_HAS_driver_caam 79 select MCUX_HAS_driver_cache_armv7_m7 if (MCUX_CPU_ARCH_ARM_CM7F) 80 select MCUX_HAS_driver_cache_lmem if (MCUX_CPU_ARCH_ARM_CM4F) 81 select MCUX_HAS_driver_cdog 82 select MCUX_HAS_driver_cmsis_enet 83 select MCUX_HAS_driver_cmsis_lpi2c 84 select MCUX_HAS_driver_cmsis_lpspi 85 select MCUX_HAS_driver_cmsis_lpuart 86 select MCUX_HAS_driver_common 87 select MCUX_HAS_driver_csi 88 select MCUX_HAS_driver_dac12 89 select MCUX_HAS_driver_dcic 90 select MCUX_HAS_driver_dmamux 91 select MCUX_HAS_driver_edma 92 select MCUX_HAS_driver_elcdif 93 select MCUX_HAS_driver_enc 94 select MCUX_HAS_driver_enet 95 select MCUX_HAS_driver_ewm 96 select MCUX_HAS_driver_flexcan 97 select MCUX_HAS_driver_flexio 98 select MCUX_HAS_driver_flexio_camera 99 select MCUX_HAS_driver_flexio_camera_edma 100 select MCUX_HAS_driver_flexio_i2c_master 101 select MCUX_HAS_driver_flexio_i2s 102 select MCUX_HAS_driver_flexio_i2s_edma 103 select MCUX_HAS_driver_flexio_mculcd 104 select MCUX_HAS_driver_flexio_mculcd_edma 105 select MCUX_HAS_driver_flexio_spi 106 select MCUX_HAS_driver_flexio_spi_edma 107 select MCUX_HAS_driver_flexio_uart 108 select MCUX_HAS_driver_flexio_uart_edma 109 select MCUX_HAS_driver_flexram 110 select MCUX_HAS_driver_flexspi 111 select MCUX_HAS_driver_flexspi_edma 112 select MCUX_HAS_driver_gpt 113 select MCUX_HAS_driver_iee 114 select MCUX_HAS_driver_iee_apc 115 select MCUX_HAS_driver_igpio 116 select MCUX_HAS_driver_key_manager 117 select MCUX_HAS_driver_kpp 118 select MCUX_HAS_driver_lcdifv2 119 select MCUX_HAS_driver_lpadc 120 select MCUX_HAS_driver_lpi2c 121 select MCUX_HAS_driver_lpi2c_edma 122 select MCUX_HAS_driver_lpi2c_freertos 123 select MCUX_HAS_driver_lpspi 124 select MCUX_HAS_driver_lpspi_edma 125 select MCUX_HAS_driver_lpspi_freertos 126 select MCUX_HAS_driver_lpuart 127 select MCUX_HAS_driver_lpuart_edma 128 select MCUX_HAS_driver_lpuart_freertos 129 select MCUX_HAS_driver_mecc 130 select MCUX_HAS_driver_mipi_csi2rx 131 select MCUX_HAS_driver_mipi_dsi_split 132 select MCUX_HAS_driver_mu 133 select MCUX_HAS_driver_ocotp 134 select MCUX_HAS_driver_pdm 135 select MCUX_HAS_driver_pdm_edma 136 select MCUX_HAS_driver_pit 137 select MCUX_HAS_driver_puf 138 select MCUX_HAS_driver_pwm 139 select MCUX_HAS_driver_pxp 140 select MCUX_HAS_driver_qtmr_1 141 select MCUX_HAS_driver_rdc 142 select MCUX_HAS_driver_rdc_sema42 143 select MCUX_HAS_driver_rtwdog 144 select MCUX_HAS_driver_sai 145 select MCUX_HAS_driver_sai_edma 146 select MCUX_HAS_driver_sema4 147 select MCUX_HAS_driver_semc 148 select MCUX_HAS_driver_smartcard_emvsim 149 select MCUX_HAS_driver_smartcard_phy_emvsim 150 select MCUX_HAS_driver_snvs_hp 151 select MCUX_HAS_driver_snvs_lp 152 select MCUX_HAS_driver_spdif 153 select MCUX_HAS_driver_spdif_edma 154 select MCUX_HAS_driver_ssarc 155 select MCUX_HAS_driver_tempsensor 156 select MCUX_HAS_driver_usdhc 157 select MCUX_HAS_driver_wdog01 158 select MCUX_HAS_driver_xbara 159 select MCUX_HAS_driver_xbarb 160 select MCUX_HAS_driver_xecc 161 select MCUX_HAS_driver_xrdc2 162 select MCUX_HAS_utilities_misc_utilities 163 select MCUX_HAS_utility_assert 164 select MCUX_HAS_utility_assert_lite 165 select MCUX_HAS_utility_debug_console 166 select MCUX_HAS_utility_debug_console_lite 167 select MCUX_HAS_utility_incbin 168 select MCUX_HAS_utility_notifier 169 select MCUX_HAS_utility_shell 170 select MCUX_HAS_utility_str 171 172#### SOC specific dependency #### 173config MCUX_USE_RTE_Device 174 bool 175 select MCUX_USE_driver_edma 176 177config MCUX_USE_component_serial_manager_uart 178 bool 179 select MCUX_USE_component_lpuart_adapter 180 181config MCUX_USE_driver_asrc_edma 182 bool 183 select MCUX_USE_driver_edma 184 185config MCUX_USE_driver_caam 186 bool 187 select MCUX_USE_driver_memory 188 189config MCUX_USE_driver_cmsis_lpi2c 190 bool 191 select MCUX_USE_driver_lpi2c_edma 192 193config MCUX_USE_driver_cmsis_lpspi 194 bool 195 select MCUX_USE_driver_lpspi_edma 196 197config MCUX_USE_driver_cmsis_lpuart 198 bool 199 select MCUX_USE_driver_lpuart_edma 200 201config MCUX_USE_driver_csi 202 bool 203 select MCUX_USE_driver_memory 204 205config MCUX_USE_driver_edma 206 bool 207 select MCUX_USE_driver_memory 208 209config MCUX_USE_driver_elcdif 210 bool 211 select MCUX_USE_driver_memory 212 213config MCUX_USE_driver_enet 214 bool 215 select MCUX_USE_driver_memory 216 217config MCUX_USE_driver_enet_qos 218 bool 219 select MCUX_USE_driver_memory 220 221config MCUX_USE_driver_flexio_camera_edma 222 bool 223 select MCUX_USE_driver_edma 224 225config MCUX_USE_driver_flexio_i2s_edma 226 bool 227 select MCUX_USE_driver_edma 228 229config MCUX_USE_driver_flexio_mculcd_edma 230 bool 231 select MCUX_USE_driver_edma 232 233config MCUX_USE_driver_flexio_spi_edma 234 bool 235 select MCUX_USE_driver_edma 236 237config MCUX_USE_driver_flexio_uart_edma 238 bool 239 select MCUX_USE_driver_edma 240 241config MCUX_USE_driver_flexspi_edma 242 bool 243 select MCUX_USE_driver_edma 244 245config MCUX_USE_driver_lcdifv2 246 bool 247 select MCUX_USE_driver_memory 248 249config MCUX_USE_driver_lpi2c_edma 250 bool 251 select MCUX_USE_driver_edma 252 253config MCUX_USE_driver_lpspi_edma 254 bool 255 select MCUX_USE_driver_edma 256 257config MCUX_USE_driver_lpuart_edma 258 bool 259 select MCUX_USE_driver_edma 260 261config MCUX_USE_driver_pdm_edma 262 bool 263 select MCUX_USE_driver_edma 264 265config MCUX_USE_driver_pxp 266 bool 267 select MCUX_USE_driver_memory 268 269config MCUX_USE_driver_sai_edma 270 bool 271 select MCUX_USE_driver_edma 272 273config MCUX_USE_driver_spdif_edma 274 bool 275 select MCUX_USE_driver_edma 276 277config MCUX_USE_driver_usdhc 278 bool 279 select MCUX_USE_driver_memory 280 281config MCUX_USE_utility_debug_console_lite 282 bool 283 select MCUX_USE_component_lpuart_adapter 284 285 286#### SOC level drivers #### 287# device_MIMXRT1166_CMSIS 288config MCUX_USE_device_MIMXRT1166_CMSIS 289 bool "Device MIMXRT1166_cmsis" 290 select MCUX_USE_CMSIS_Include_core_cm 291 help 292 Device MIMXRT1166_cmsis 293 294# device_MIMXRT1166_startup 295config MCUX_USE_device_MIMXRT1166_startup 296 bool "Device MIMXRT1166_startup" 297 help 298 Device MIMXRT1166_startup 299 300# device_MIMXRT1166_system 301config MCUX_USE_device_MIMXRT1166_system 302 bool "Device MIMXRT1166_system" 303 help 304 Device MIMXRT1166_system 305 306rsource "drivers/Kconfig" 307rsource "drivers/cm7/Kconfig" 308rsource "drivers/cm4/Kconfig" 309rsource "xip/Kconfig" 310 311endif # MCUX_USE_SOC_MIMXRT1166