1# Copyright 2023 NXP 2# All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5 6config MCUX_USE_SOC_LPC54S018 7 bool 8 select MCUX_CPU_ARCH_ARM_CM4F 9 select MCUX_CPU_HAS_SP_FPU 10if MCUX_USE_SOC_LPC54S018 11 12# Part Number 13config MCUX_SOC_PART_LPC54S018 14 bool 15 16config MCUX_DEVICE 17 default "LPC54S018" 18 19config MCUX_DEVICE_ID 20 default "LPC54S018" if MCUX_SOC_PART_LPC54S018 21 22 23# Select supported components 24config MCUX_USE_SOC_LPC54S018 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_ctimer_adapter 48 select MCUX_HAS_component_flexcomm_i2c_adapter 49 select MCUX_HAS_component_flexcomm_spi_adapter 50 select MCUX_HAS_component_gint_adapter 51 select MCUX_HAS_component_lists 52 select MCUX_HAS_component_lpc_gpio_adapter 53 select MCUX_HAS_component_mrt_adapter 54 select MCUX_HAS_component_serial_manager 55 select MCUX_HAS_component_serial_manager_spi 56 select MCUX_HAS_component_serial_manager_swo if (MCUX_CPU_ARCH_ARM_CM4F) 57 select MCUX_HAS_component_serial_manager_uart 58 select MCUX_HAS_component_usart_adapter 59 select MCUX_HAS_component_usart_dma_adapter 60 select MCUX_HAS_driver_aes 61 select MCUX_HAS_driver_cmsis_flexcomm_i2c 62 select MCUX_HAS_driver_cmsis_flexcomm_spi 63 select MCUX_HAS_driver_cmsis_flexcomm_usart 64 select MCUX_HAS_driver_common 65 select MCUX_HAS_driver_ctimer 66 select MCUX_HAS_driver_dmic 67 select MCUX_HAS_driver_dmic_dma 68 select MCUX_HAS_driver_dmic_hwvad 69 select MCUX_HAS_driver_emc 70 select MCUX_HAS_driver_flexcomm 71 select MCUX_HAS_driver_flexcomm_i2c 72 select MCUX_HAS_driver_flexcomm_i2c_dma 73 select MCUX_HAS_driver_flexcomm_i2c_freertos 74 select MCUX_HAS_driver_flexcomm_i2s 75 select MCUX_HAS_driver_flexcomm_i2s_dma 76 select MCUX_HAS_driver_flexcomm_spi 77 select MCUX_HAS_driver_flexcomm_spi_dma 78 select MCUX_HAS_driver_flexcomm_spi_freertos 79 select MCUX_HAS_driver_flexcomm_usart 80 select MCUX_HAS_driver_flexcomm_usart_dma 81 select MCUX_HAS_driver_flexcomm_usart_freertos 82 select MCUX_HAS_driver_fmeas 83 select MCUX_HAS_driver_gint 84 select MCUX_HAS_driver_iap 85 select MCUX_HAS_driver_inputmux 86 select MCUX_HAS_driver_lpc_adc 87 select MCUX_HAS_driver_lpc_crc 88 select MCUX_HAS_driver_lpc_dma 89 select MCUX_HAS_driver_lpc_enet 90 select MCUX_HAS_driver_lpc_gpio 91 select MCUX_HAS_driver_lpc_iocon 92 select MCUX_HAS_driver_lpc_lcdc 93 select MCUX_HAS_driver_lpc_rtc 94 select MCUX_HAS_driver_mcan 95 select MCUX_HAS_driver_mrt 96 select MCUX_HAS_driver_otp 97 select MCUX_HAS_driver_pint 98 select MCUX_HAS_driver_puf 99 select MCUX_HAS_driver_rit 100 select MCUX_HAS_driver_rng 101 select MCUX_HAS_driver_sctimer 102 select MCUX_HAS_driver_sdif 103 select MCUX_HAS_driver_sha 104 select MCUX_HAS_driver_spifi 105 select MCUX_HAS_driver_spifi_dma 106 select MCUX_HAS_driver_utick 107 select MCUX_HAS_driver_wwdt 108 select MCUX_HAS_utilities_misc_utilities 109 select MCUX_HAS_utility_assert 110 select MCUX_HAS_utility_assert_lite 111 select MCUX_HAS_utility_debug_console 112 select MCUX_HAS_utility_debug_console_lite 113 select MCUX_HAS_utility_notifier 114 select MCUX_HAS_utility_shell 115 select MCUX_HAS_utility_str 116 117#### SOC specific dependency #### 118config MCUX_USE_RTE_Device 119 bool 120 select MCUX_USE_driver_lpc_dma 121 122config MCUX_USE_component_serial_manager_uart 123 bool 124 select MCUX_USE_component_usart_adapter 125 126config MCUX_USE_driver_dmic_dma 127 bool 128 select MCUX_USE_driver_lpc_dma 129 130config MCUX_USE_driver_flexcomm_i2c_dma 131 bool 132 select MCUX_USE_driver_lpc_dma 133 134config MCUX_USE_driver_flexcomm_i2s_dma 135 bool 136 select MCUX_USE_driver_lpc_dma 137 138config MCUX_USE_driver_flexcomm_spi_dma 139 bool 140 select MCUX_USE_driver_lpc_dma 141 142config MCUX_USE_driver_flexcomm_usart_dma 143 bool 144 select MCUX_USE_driver_lpc_dma 145 146config MCUX_USE_driver_spifi_dma 147 bool 148 select MCUX_USE_driver_lpc_dma 149 150config MCUX_USE_utility_debug_console_lite 151 bool 152 select MCUX_USE_component_usart_adapter 153 154 155#### SOC level drivers #### 156# device_LPC54S018_CMSIS 157config MCUX_USE_device_LPC54S018_CMSIS 158 bool "Device LPC54S018_cmsis" 159 select MCUX_USE_CMSIS_Include_core_cm 160 help 161 Device LPC54S018_cmsis 162 163# device_LPC54S018_startup 164config MCUX_USE_device_LPC54S018_startup 165 bool "Device LPC54S018_startup" 166 help 167 Device LPC54S018_startup 168 169# device_LPC54S018_system 170config MCUX_USE_device_LPC54S018_system 171 bool "Device LPC54S018_system" 172 help 173 Device LPC54S018_system 174 175# driver_fro_calib 176config MCUX_USE_driver_fro_calib 177 bool "Driver fro_calib" 178 select MCUX_USE_driver_common 179 help 180 FRO calibration Lib 181 182# driver_power 183config MCUX_USE_driver_power 184 bool "power" 185 select MCUX_USE_driver_common 186 help 187 Power driver 188 189rsource "drivers/Kconfig" 190 191endif # MCUX_USE_SOC_LPC54S018