1# Copyright 2023 NXP
2# All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6config MCUX_USE_SOC_LPC824
7    bool
8    select MCUX_CPU_ARCH_ARM_CM0P
9if MCUX_USE_SOC_LPC824
10
11# Part Number
12config MCUX_SOC_PART_LPC824
13    bool
14
15config MCUX_DEVICE
16    default "LPC824"
17
18config MCUX_DEVICE_ID
19    default "LPC824" if MCUX_SOC_PART_LPC824
20
21
22# Select supported components
23config MCUX_USE_SOC_LPC824
24    select MCUX_HAS_CMSIS_DSP_Include
25    select MCUX_HAS_CMSIS_DSP_Source
26    select MCUX_HAS_CMSIS_Device_API_OSTick
27    select MCUX_HAS_CMSIS_Device_API_RTOS2
28    select MCUX_HAS_CMSIS_Driver_Include_CAN
29    select MCUX_HAS_CMSIS_Driver_Include_Ethernet
30    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_MAC
31    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_PHY
32    select MCUX_HAS_CMSIS_Driver_Include_Flash
33    select MCUX_HAS_CMSIS_Driver_Include_I2C
34    select MCUX_HAS_CMSIS_Driver_Include_MCI
35    select MCUX_HAS_CMSIS_Driver_Include_NAND
36    select MCUX_HAS_CMSIS_Driver_Include_SAI
37    select MCUX_HAS_CMSIS_Driver_Include_SPI
38    select MCUX_HAS_CMSIS_Driver_Include_USART
39    select MCUX_HAS_CMSIS_Driver_Include_USB_Device
40    select MCUX_HAS_CMSIS_Driver_Include_USB_Host
41    select MCUX_HAS_CMSIS_Driver_Include_WiFi
42    select MCUX_HAS_CMSIS_Include_core_cm
43    select MCUX_HAS_CMSIS_NN_Source
44    select MCUX_HAS_CMSIS_RTOS2_NonSecure
45    select MCUX_HAS_CMSIS_RTOS2_Secure
46    select MCUX_HAS_component_lists
47    select MCUX_HAS_component_lpc_gpio_adapter
48    select MCUX_HAS_component_lpc_i2c_adapter
49    select MCUX_HAS_component_miniusart_adapter
50    select MCUX_HAS_component_mrt_adapter
51    select MCUX_HAS_driver_common
52    select MCUX_HAS_driver_iap
53    select MCUX_HAS_driver_inputmux
54    select MCUX_HAS_driver_lpc_acomp
55    select MCUX_HAS_driver_lpc_adc
56    select MCUX_HAS_driver_lpc_crc
57    select MCUX_HAS_driver_lpc_dma
58    select MCUX_HAS_driver_lpc_gpio
59    select MCUX_HAS_driver_lpc_i2c
60    select MCUX_HAS_driver_lpc_iocon_lite
61    select MCUX_HAS_driver_lpc_minispi
62    select MCUX_HAS_driver_lpc_miniusart
63    select MCUX_HAS_driver_mrt
64    select MCUX_HAS_driver_pint
65    select MCUX_HAS_driver_sctimer
66    select MCUX_HAS_driver_swm
67    select MCUX_HAS_driver_syscon
68    select MCUX_HAS_driver_wkt
69    select MCUX_HAS_driver_wwdt
70    select MCUX_HAS_utilities_misc_utilities
71    select MCUX_HAS_utility_assert_lite
72    select MCUX_HAS_utility_debug_console_lite
73
74#### SOC specific dependency ####
75config MCUX_USE_component_lpc_gpio_adapter
76    bool
77    select MCUX_USE_driver_syscon
78
79config MCUX_USE_driver_flexcomm_i2c_dma
80    bool
81    select MCUX_USE_driver_lpc_dma
82
83config MCUX_USE_driver_flexcomm_usart_dma
84    bool
85    select MCUX_USE_driver_lpc_dma
86
87config MCUX_USE_utility_assert_lite
88    bool
89    select MCUX_USE_component_miniusart_adapter
90
91config MCUX_USE_utility_debug_console_lite
92    bool
93    select MCUX_USE_component_miniusart_adapter
94
95
96#### SOC level drivers ####
97# device_LPC824_CMSIS
98config MCUX_USE_device_LPC824_CMSIS
99    bool "Device LPC824_cmsis"
100    select MCUX_USE_CMSIS_Include_core_cm
101    help
102      Device LPC824_cmsis
103
104# device_LPC824_startup
105config MCUX_USE_device_LPC824_startup
106    bool "Device LPC824_startup"
107    help
108      Device LPC824_startup
109
110# device_LPC824_system
111config MCUX_USE_device_LPC824_system
112    bool "Device LPC824_system"
113    help
114      Device LPC824_system
115
116rsource "drivers/Kconfig"
117
118endif # MCUX_USE_SOC_LPC824