1# Copy variable into project config.cmake to use software component
2#set.board.frdmmcxc041
3#  # description: Board_project_template frdmmcxc041
4#  set(CONFIG_USE_BOARD_Project_Template_frdmmcxc041 true)
5
6#set.device.MCXC041
7#  # description: Middleware baremetal
8#  set(CONFIG_USE_middleware_baremetal true)
9
10#  # description: Utilities which is needed for particular toolchain like the SBRK function required to address limitation between HEAP and STACK in GCC toolchain library.
11#  set(CONFIG_USE_utilities_misc_utilities true)
12
13#  # description: Driver mx25r_flash
14#  set(CONFIG_USE_driver_mx25r_flash true)
15
16#  # description: Driver pf1550
17#  set(CONFIG_USE_driver_pf1550 true)
18
19#  # description: Driver pf3000
20#  set(CONFIG_USE_driver_pf3000 true)
21
22#  # description: Devices_project_template MCXC041
23#  set(CONFIG_USE_DEVICES_Project_Template_MCXC041 true)
24
25#  # description: Device MCXC041_cmsis
26#  set(CONFIG_USE_device_MCXC041_CMSIS true)
27
28#  # description: Rte_device
29#  set(CONFIG_USE_RTE_Device true)
30
31#  # description: Clock Driver
32#  set(CONFIG_USE_driver_clock true)
33
34#  # description: Component serial_manager_uart
35#  set(CONFIG_USE_component_serial_manager_uart true)
36
37#  # description: Utility debug_console_lite
38#  set(CONFIG_USE_utility_debug_console_lite true)
39
40#  # description: Utility notifier
41#  set(CONFIG_USE_utility_notifier true)
42
43#  # description: Device MCXC041_system
44#  set(CONFIG_USE_device_MCXC041_system true)
45
46#  # description: Device MCXC041_startup
47#  set(CONFIG_USE_device_MCXC041_startup true)
48
49#  # description: Utility assert
50#  set(CONFIG_USE_utility_assert true)
51
52#  # description: Utility assert_lite
53#  set(CONFIG_USE_utility_assert_lite true)
54
55#  # description: Utility str
56#  set(CONFIG_USE_utility_str true)
57
58#  # description: Utility debug_console
59#  set(CONFIG_USE_utility_debug_console true)
60
61#  # description: I2C CMSIS Driver
62#  set(CONFIG_USE_driver_cmsis_i2c true)
63
64#  # description: LPUART CMSIS Driver
65#  set(CONFIG_USE_driver_cmsis_lpuart true)
66
67#  # description: SPI CMSIS Driver
68#  set(CONFIG_USE_driver_cmsis_spi true)
69
70#  # description: Driver fxls8974cf
71#  set(CONFIG_USE_driver_fxls8974cf true)
72
73#  # description: Component button
74#  set(CONFIG_USE_component_button true)
75
76#  # description: Component software_crc_adapter
77#  set(CONFIG_USE_component_software_crc_adapter true)
78
79#  # description: Component eeprom_at45dbxxxx
80#  set(CONFIG_USE_component_eeprom_AT45DBxxxx true)
81
82#  # description: Component eeprom_internalflash
83#  set(CONFIG_USE_component_eeprom_InternalFlash true)
84
85#  # description: Component eeprom_at25fxxxx
86#  set(CONFIG_USE_component_eeprom_AT25Fxxxx true)
87
88#  # description: Driver ft5406
89#  set(CONFIG_USE_driver_ft5406 true)
90
91#  # description: Driver ft6x06
92#  set(CONFIG_USE_driver_ft6x06 true)
93
94#  # description: Driver fxos8700cq
95#  set(CONFIG_USE_driver_fxos8700cq true)
96
97#  # description: Component gpio_adapter
98#  set(CONFIG_USE_component_gpio_adapter true)
99
100#  # description: Component i2c_adapter
101#  set(CONFIG_USE_component_i2c_adapter true)
102
103#  # description: Driver ili9341
104#  set(CONFIG_USE_driver_ili9341 true)
105
106#  # description: Component flash_adapter
107#  set(CONFIG_USE_component_flash_adapter true)
108
109#  # description: Component led
110#  set(CONFIG_USE_component_led true)
111
112#  # description: Component lists
113#  set(CONFIG_USE_component_lists true)
114
115#  # description: Component log
116#  set(CONFIG_USE_component_log true)
117
118#  # description: Component log backend debug console
119#  set(CONFIG_USE_component_log_backend_debugconsole true)
120
121#  # description: Component log backend debug console lite
122#  set(CONFIG_USE_component_log_backend_debugconsole_lite true)
123
124#  # description: Component log backend ring buffer
125#  set(CONFIG_USE_component_log_backend_ringbuffer true)
126
127#  # description: Component mem_manager
128#  set(CONFIG_USE_component_mem_manager true)
129
130#  # description: Component mem_manager_light
131#  set(CONFIG_USE_component_mem_manager_light true)
132
133#  # description: Component mem_manager_freertos
134#  set(CONFIG_USE_component_mem_manager_freertos true)
135
136#  # description: Component panic
137#  set(CONFIG_USE_component_panic true)
138
139#  # description: Component pwm_tpm_adapter
140#  set(CONFIG_USE_component_pwm_tpm_adapter true)
141
142#  # description: Component reset_adapter
143#  set(CONFIG_USE_component_reset_adapter true)
144
145#  # description: Component software_rng_adapter
146#  set(CONFIG_USE_component_software_rng_adapter true)
147
148#  # description: Component rtc
149#  set(CONFIG_USE_component_rtc true)
150
151#  # description: Component serial_manager
152#  set(CONFIG_USE_component_serial_manager true)
153
154#  # description: Component serial_manager_spi
155#  set(CONFIG_USE_component_serial_manager_spi true)
156
157#  # description: Utility shell
158#  set(CONFIG_USE_utility_shell true)
159
160#  # description: Component spi_adapter
161#  set(CONFIG_USE_component_spi_adapter true)
162
163#  # description: Component lptmr_adapter
164#  set(CONFIG_USE_component_lptmr_adapter true)
165
166#  # description: Component tpm_adapter
167#  set(CONFIG_USE_component_tpm_adapter true)
168
169#  # description: Component timer_manager
170#  set(CONFIG_USE_component_timer_manager true)
171
172#  # description: Component lpuart_adapter
173#  set(CONFIG_USE_component_lpuart_adapter true)
174
175#  # description: COMMON Driver
176#  set(CONFIG_USE_driver_common true)
177
178#  # description: ADC16 Driver
179#  set(CONFIG_USE_driver_adc16 true)
180
181#  # description: CMP Driver
182#  set(CONFIG_USE_driver_cmp true)
183
184#  # description: COP Driver
185#  set(CONFIG_USE_driver_cop true)
186
187#  # description: Flash Driver
188#  set(CONFIG_USE_driver_flash true)
189
190#  # description: GPIO Driver
191#  set(CONFIG_USE_driver_gpio true)
192
193#  # description: I2C Driver
194#  set(CONFIG_USE_driver_i2c true)
195
196#  # description: I2C FreeRTOS Driver
197#  set(CONFIG_USE_driver_i2c_freertos true)
198
199#  # description: LLWU Driver
200#  set(CONFIG_USE_driver_llwu true)
201
202#  # description: LPTMR Driver
203#  set(CONFIG_USE_driver_lptmr true)
204
205#  # description: LPUART Driver
206#  set(CONFIG_USE_driver_lpuart true)
207
208#  # description: LPUART Freertos Driver
209#  set(CONFIG_USE_driver_lpuart_freertos true)
210
211#  # description: PMC Driver
212#  set(CONFIG_USE_driver_pmc true)
213
214#  # description: PORT Driver
215#  set(CONFIG_USE_driver_port true)
216
217#  # description: RCM Driver
218#  set(CONFIG_USE_driver_rcm true)
219
220#  # description: RTC Driver
221#  set(CONFIG_USE_driver_rtc true)
222
223#  # description: SIM Driver
224#  set(CONFIG_USE_driver_sim true)
225
226#  # description: SMC Driver
227#  set(CONFIG_USE_driver_smc true)
228
229#  # description: SPI Driver
230#  set(CONFIG_USE_driver_spi true)
231
232#  # description: SPI FreeRTOS Driver
233#  set(CONFIG_USE_driver_spi_freertos true)
234
235#  # description: TPM Driver
236#  set(CONFIG_USE_driver_tpm true)
237
238#  # description: VREF Driver
239#  set(CONFIG_USE_driver_vref true)
240
241#set.CMSIS
242#  # description: CMSIS-CORE for Cortex-M, ARMv8-M, ARMv8.1-M
243#  set(CONFIG_USE_CMSIS_Include_core_cm true)
244
245#  # description: Access to #include Driver_USART.h file for custom implementation
246#  set(CONFIG_USE_CMSIS_Driver_Include_USART true)
247
248#  # description: Access to #include Driver_CAN.h file for custom implementation
249#  set(CONFIG_USE_CMSIS_Driver_Include_CAN true)
250
251#  # description: Access to #include Driver_ETH.h file for custom implementation
252#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet true)
253
254#  # description: Access to #include Driver_ETH_MAC.h file for custom implementation
255#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_MAC true)
256
257#  # description: Access to #include Driver_ETH_PHY.h file for custom implementation
258#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_PHY true)
259
260#  # description: Access to #include Driver_Flash.h file for custom implementation
261#  set(CONFIG_USE_CMSIS_Driver_Include_Flash true)
262
263#  # description: Access to #include Driver_I2C.h file for custom implementation
264#  set(CONFIG_USE_CMSIS_Driver_Include_I2C true)
265
266#  # description: Access to #include Driver_MCI.h file for custom implementation
267#  set(CONFIG_USE_CMSIS_Driver_Include_MCI true)
268
269#  # description: Access to #include Driver_NAND.h file for custom implementation
270#  set(CONFIG_USE_CMSIS_Driver_Include_NAND true)
271
272#  # description: Access to #include Driver_SAI.h file for custom implementation
273#  set(CONFIG_USE_CMSIS_Driver_Include_SAI true)
274
275#  # description: Access to #include Driver_SPI.h file for custom implementation
276#  set(CONFIG_USE_CMSIS_Driver_Include_SPI true)
277
278#  # description: Access to #include Driver_USBD.h file for custom implementation
279#  set(CONFIG_USE_CMSIS_Driver_Include_USB_Device true)
280
281#  # description: Access to #include Driver_USBH.h file for custom implementation
282#  set(CONFIG_USE_CMSIS_Driver_Include_USB_Host true)
283
284#  # description: Access to #include Driver_WiFi.h file
285#  set(CONFIG_USE_CMSIS_Driver_Include_WiFi true)
286
287#  # description: Device interrupt controller interface
288#  set(CONFIG_USE_CMSIS_Device_API_OSTick true)
289
290#  # description: CMSIS-RTOS API for Cortex-M, SC000, and SC300
291#  set(CONFIG_USE_CMSIS_Device_API_RTOS2 true)
292
293#  # description: CMSIS-RTOS2 RTX5 for Cortex-M, SC000, C300 and Armv8-M (Library)
294#  set(CONFIG_USE_CMSIS_RTOS2_Secure true)
295
296#  # description: CMSIS-RTOS2 RTX5 for Armv8-M Non-Secure Domain (Library)
297#  set(CONFIG_USE_CMSIS_RTOS2_NonSecure true)
298
299#set.CMSIS_DSP_Lib
300#  # description: CMSIS-DSP Library Header
301#  set(CONFIG_USE_CMSIS_DSP_Include true)
302
303#  # description: CMSIS-DSP Library
304#  set(CONFIG_USE_CMSIS_DSP_Source true)
305
306#  # description: CMSIS-NN Library
307#  set(CONFIG_USE_CMSIS_NN_Source true)
308
309#set.middleware.freertos-kernel
310#  # description: FreeRTOS NXP extension
311#  set(CONFIG_USE_middleware_freertos-kernel_extension true)
312
313#  # description: Template configuration file to be edited by user. Provides also memory allocator (heap_x), change variant if needed.
314#  set(CONFIG_USE_middleware_freertos-kernel_template true)
315
316#  # description: FreeRTOS kernel
317#  set(CONFIG_USE_middleware_freertos-kernel true)
318
319#  # description: FreeRTOS heap 1
320#  set(CONFIG_USE_middleware_freertos-kernel_heap_1 true)
321
322#  # description: FreeRTOS heap 2
323#  set(CONFIG_USE_middleware_freertos-kernel_heap_2 true)
324
325#  # description: FreeRTOS heap 3
326#  set(CONFIG_USE_middleware_freertos-kernel_heap_3 true)
327
328#  # description: FreeRTOS heap 4
329#  set(CONFIG_USE_middleware_freertos-kernel_heap_4 true)
330
331#  # description: FreeRTOS heap 5
332#  set(CONFIG_USE_middleware_freertos-kernel_heap_5 true)
333
334#  # description: new V2 FreeRTOS MPU wrappers introduced in V10.6.0
335#  set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers_v2 true)
336
337#  # description: old FreeRTOS MPU wrappers used before V10.6.0
338#  set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers true)
339
340#set.middleware.sdmmc
341#  # description: Middleware sdmmc common
342#  set(CONFIG_USE_middleware_sdmmc_common true)
343
344#  # description: Template configuration file to be edited by user.
345#  set(CONFIG_USE_middleware_sdmmc_sdhc_template true)
346
347#  # description: Template configuration file to be edited by user.
348#  set(CONFIG_USE_middleware_sdmmc_sdif_template true)
349
350#  # description: Template configuration file to be edited by user.
351#  set(CONFIG_USE_middleware_sdmmc_usdhc_template true)
352
353#  # description: Middleware sdmmc sdspi
354#  set(CONFIG_USE_middleware_sdmmc_sdspi true)
355
356#  # description: SDMMC host controller cache dependency
357#  set(CONFIG_USE_middleware_sdmmc_host_usdhc_cache true)
358
359#set.component.osa
360#  # description: Component osa_zephyr
361#  set(CONFIG_USE_component_osa_zephyr true)
362
363#  # description: Component common_task
364#  set(CONFIG_USE_component_common_task true)
365
366#  # description: Component osa_bm
367#  set(CONFIG_USE_component_osa_bm true)
368
369#  # description: Component osa_free_rtos
370#  set(CONFIG_USE_component_osa_free_rtos true)
371
372#  # description: Component osa
373#  set(CONFIG_USE_component_osa true)
374
375#  # description: Component osa interface
376#  set(CONFIG_USE_component_osa_interface true)
377
378#set.middleware.fatfs
379#  # description: FatFs
380#  set(CONFIG_USE_middleware_fatfs true)
381
382#  # description: FatFs_RAM
383#  set(CONFIG_USE_middleware_fatfs_ram true)
384
385#  # description: FatFs template RAM
386#  set(CONFIG_USE_middleware_fatfs_template_ram true)
387
388list(APPEND CMAKE_MODULE_PATH
389  ${CMAKE_CURRENT_LIST_DIR}/.
390  ${CMAKE_CURRENT_LIST_DIR}/../../components/osa
391  ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/fatfs
392  ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/sdmmc
393  ${CMAKE_CURRENT_LIST_DIR}/../../../rtos/freertos/freertos-kernel
394  ${CMAKE_CURRENT_LIST_DIR}/drivers
395  ${CMAKE_CURRENT_LIST_DIR}/project_template
396  ${CMAKE_CURRENT_LIST_DIR}/template
397  ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS
398  ${CMAKE_CURRENT_LIST_DIR}/../../boards/frdmmcxc041
399)
400
401include(set_board_frdmmcxc041 OPTIONAL)
402include(set_CMSIS_DSP_Lib OPTIONAL)
403include(set_CMSIS OPTIONAL)
404include(set_device_MCXC041 OPTIONAL)
405include(set_component_osa OPTIONAL)
406include(set_middleware_fatfs OPTIONAL)
407include(set_middleware_freertos-kernel OPTIONAL)
408include(set_middleware_sdmmc OPTIONAL)
409