1# MCUXpresso SDK
2
3# Copyright (c) 2016, Freescale Semiconductor, Inc.
4# Copyright 2024 NXP
5# SPDX-License-Identifier: Apache-2.0
6
7config HAS_MCUX
8	bool
9	depends on SOC_FAMILY_KINETIS || SOC_FAMILY_NXP_IMX || SOC_FAMILY_LPC || \
10		SOC_FAMILY_NXP_S32 || SOC_FAMILY_NXP_IMXRT || SOC_FAMILY_NXP_RW || \
11		SOC_FAMILY_NXP_MCX
12
13if HAS_MCUX
14
15config MCUX_CORE_SUFFIX
16	string
17	help
18	  String describing the core identifer used by MCUX SDK when using
19	  dual core parts
20
21config HAS_MCUX_ADC12
22	bool
23	help
24	  Set if the 12-bit ADC (ADC12) module is present in the SoC.
25
26config HAS_MCUX_ADC16
27	bool
28	help
29	  Set if the 16-bit ADC (ADC16) module is present in the SoC.
30
31config HAS_MCUX_LPADC
32	bool
33	help
34	  Set if the LPADC module is present in the SoC.
35
36config HAS_MCUX_CACHE
37	bool
38	help
39	  Set if the L1 or L2 cache is present in the SoC.
40
41config HAS_MCUX_CCM
42	bool
43	help
44	  Set if the clock control module (CCM) module is present in the SoC.
45
46config HAS_MCUX_CCM_REV2
47	bool
48	help
49	  Set if the revision 2 of clock control module (CCM) module is present in the SoC.
50	  This is present in SoC's such as RT1170
51
52config HAS_MCUX_SYSCON
53	bool
54	help
55	  Set if the syscon module is present in the SoC.
56
57config HAS_MCUX_PCC
58	bool
59	help
60	  Set if the peripheral clock controller module (PCC) module is
61	  present in the SoC.
62
63config HAS_MCUX_ELCDIF
64	bool
65	help
66	  Set if the enhanced LCD interface (eLCDIF) module is present in the
67	  SoC.
68
69config HAS_MCUX_MIPI_DSI
70	bool
71	help
72	  Set if the MIPI DSI module is present in the SoC.
73
74config HAS_MCUX_ENET
75	bool
76	help
77	  Set if the ethernet (ENET) module is present in the SoC.
78
79config HAS_MCUX_FLEXCAN
80	bool
81	help
82	  Set if the FlexCAN module is presents in the SoC.
83
84config HAS_MCUX_FLEXCOMM
85	bool
86	help
87	  Set if the flexcomm (FLEXCOMM) module is present in the SoC.
88
89config HAS_MCUX_FLEXSPI
90	bool
91	help
92	  Set if the flexible SPI (FlexSPI) module is present in the SoC.
93
94config HAS_MCUX_FTFX
95	bool
96	help
97	  Set if the flash memory (FTFA, FTFE, or FTFL) module is present in
98	  the SoC.
99
100config HAS_MCUX_FTM
101	bool
102	help
103	  Set if the FlexTimer (FTM) module is present in the SoC.
104
105config HAS_MCUX_IAP
106	bool
107	help
108	  Set if the flash memory In Application Programming is present in
109	  the LPC55xxx family SoCs.
110
111config HAS_MCUX_IAP_LEGACY
112	bool
113	help
114	  Set if the flash memory In Application Programming is present in
115	  the older LPC family SoCs (LPC54xxx, LPC11xxx).
116
117config HAS_MCUX_IGPIO
118	bool
119	help
120	  Set if the iMX GPIO (IGPIO) module is present in the SoC.
121
122config HAS_MCUX_IOMUXC
123	bool
124	help
125	  Set if the iMX I/O mux controller (IOMUXC) is present in the SoC.
126
127config HAS_MCUX_LPI2C
128	bool
129	help
130	  Set if the low power I2C (LPI2C) module is present in the SoC.
131
132config HAS_MCUX_LPSCI
133	bool
134	help
135	  Set if the low power uart (LPSCI) module is present in the SoC.
136
137config HAS_MCUX_LPSPI
138	bool
139	help
140	  Set if the low power SPI (LPSPI) module is present in the SoC.
141
142config HAS_MCUX_LPUART
143	bool
144	help
145	  Set if the low power uart (LPUART) module is present in the SoC.
146
147config HAS_MCUX_GPT
148	bool
149	help
150	  Set if the general purpose timer (GPT) module is present in the SoC.
151
152config HAS_MCUX_QTMR
153	bool
154	help
155	  Set if the quad timer (QTMR) module is present in the SoC.
156
157config HAS_MCUX_GPC
158	bool
159	help
160	  Set if the general power controller (GPC) module is present in the SoC.
161
162config HAS_MCUX_PMU
163	bool
164	help
165	  Set if the power management unit (PMU) module is present in the SoC.
166
167config HAS_MCUX_DCDC
168	bool
169	help
170	  Set if the DCDC converter module is present in the SoC.
171
172config HAS_MCUX_SNVS
173	bool
174	help
175	  Set if the SNVS module is present on the SoC.
176
177config HAS_MCUX_RNG
178	bool
179	help
180	  Set if the LPC specific random number generator (RNG) module is
181	  present in the SoC.
182
183config HAS_MCUX_RNGA
184	bool
185	help
186	  Set if the random number generator accelerator (RNGA) module is
187	  present in the SoC.
188
189config HAS_MCUX_RTC
190	bool
191	help
192	  Set if the real time clock (RTC) modules is present in the SoC.
193
194config HAS_MCUX_LPC_RTC
195	bool
196	help
197	  Set if the LPC real time clock (RTC) modules is present in the SoC.
198
199config HAS_MCUX_SCG
200	bool
201	help
202	  Set if the system clock generator (SCG) module is present in the
203	  SoC.
204
205config HAS_MCUX_SEMC
206	bool
207	help
208	  Set if the smart external memory controller (SEMC) module is present
209	  in the SoC.
210
211config HAS_MCUX_SIM
212	bool
213	help
214	  Set if the system integration module (SIM) module is present in the
215	  SoC.
216
217config HAS_MCUX_SRC
218	bool
219	help
220	  Set if the system reset controller (SRC) module is present in the
221	  SoC.
222
223config HAS_MCUX_SRC_V2
224	bool
225	help
226	  Set if version 2 of the system reset controller (SRC) module is
227	  present in the SoC.
228
229config HAS_MCUX_TRNG
230	bool
231	help
232	  Set if the true random number generator (TRNG) module is present in
233	  the SoC.
234
235config HAS_MCUX_USB_EHCI
236	bool
237	help
238	  Set if the USB controller EHCI module is present in the SoC.
239
240config HAS_MCUX_USB_LPCIP3511
241	bool
242	help
243	  Set if the USB controller LPCIP3511 module is present in the SoC.
244
245config HAS_MCUX_USDHC1
246	bool
247	help
248	  Set if the USDHC instance 1 module is present in the SoC.
249
250config HAS_MCUX_USDHC2
251	bool
252	help
253	  Set if the USDHC2 instance 2 module is present in the SoC.
254
255config HAS_MCUX_WDOG32
256	bool
257	help
258	  Set if the watchdog (WDOG32) module is present in the SoC.
259
260config HAS_MCUX_WWDT
261	bool
262	help
263	  Set if the watchdog (WWDT) module is present in the SoC.
264
265config HAS_MCUX_PWM
266	bool
267	help
268	  Set if the PWM  module is present in the SoC.
269
270config HAS_MCUX_SCTIMER
271	bool
272	help
273	  Set if the sctimer module is present in the SoC.
274
275config HAS_MCUX_SMC
276	bool
277	help
278	  Set if the SMC  module is present in the SoC.
279
280config HAS_MCUX_LPTMR
281	bool
282	help
283	  Set if the Low Power Timer (LPTMR) module is present in the SoC.
284
285config HAS_MCUX_DAC
286	bool
287	help
288	  Set if the Digital-to-Analog (DAC) module is present in the SoC.
289
290config HAS_MCUX_DAC32
291	bool
292	help
293	  Set if the Digital-to-Analog (DAC32) module is present in the SoC.
294
295config HAS_MCUX_TPM
296	bool
297	help
298	  Set if the Timer/PWM Module is present in the SoC
299
300config HAS_MCUX_EDMA
301	bool
302	help
303	  Set if the EDMA module is present on the SoC.
304
305config HAS_MCUX_LPC_DMA
306	bool
307	help
308	  Set if the DMA module is present on the SoC.
309
310config HAS_MCUX_RDC
311	bool
312	help
313	  Set if the RDC module is present in the SoC.
314
315config HAS_MCUX_PIT
316	bool
317	help
318	  Set if the PIT module is present on the SoC.
319
320config HAS_MCUX_OS_TIMER
321	bool
322	help
323	  Set if the OS timer is used as a kernel timer on the SoC.
324
325config HAS_MCUX_PWT
326	bool
327	help
328	  Set if the PWT module is present on the SoC.
329
330config HAS_MCUX_RCM
331	bool
332	help
333	  Set if the Reset Control Module (RCM) module is present in
334	  the SoC.
335
336config HAS_MCUX_CTIMER
337	bool
338	help
339	  Set if the CTIMER module is present in the SoC.
340
341config HAS_MCUX_I2S
342	bool
343	help
344	  Set if the I2S/SAI module is present on the Soc
345
346config HAS_MCUX_MCAN
347	bool
348	help
349	  Set if the MCAN module is present on the SoC.
350
351config HAS_MCUX_ADC_ETC
352	bool
353	help
354	  Set if the ADC External Trigger Control module is present
355	  on the SoC.
356
357config HAS_MCUX_XCACHE
358	bool
359	help
360	  Set if the XCACHE module is present on the SoC.
361
362config HAS_NXP_MONOLITHIC_NBU
363	bool
364	help
365	  Set if the platform supports the monolithic build for BT/15.4 applications.
366
367config NXP_FW_LOADER
368	bool "Include firmware loader component"
369	help
370	   The firmware loader is used to load firmwares to embedded tranceivers.
371	   It is needed to enable connectivity features.
372
373config NXP_MONOLITHIC_WIFI
374	bool "WiFi firmware monolithic build"
375	help
376	   If enabled, the WiFi firmware used by the device will be linked with the
377	   application directly.
378
379config NXP_MONOLITHIC_NBU
380	bool "Narrowband Unit (BT/15.4) firmware monolithic build"
381	depends on HAS_NXP_MONOLITHIC_NBU
382	help
383	   If enabled, the NBU firmware used by the device will be linked with the
384	   application directly.
385
386config NXP_RF_IMU
387	bool "Include RF_IMU adapter for intercore messaging"
388	select EVENTS
389	help
390	   RF_IMU adapter is needed for intercore messaging.
391
392endif # HAS_MCUX
393