File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
mcux-sdk/drivers/mcx_romapi Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ endif()
269
269
270
270
if ("${CONFIG_SOC_FAMILY} " STREQUAL "nxp_mcx" )
271
271
272
+ include_driver_ifdef (CONFIG_SOC_FLASH_MCUX mcx_romapi driver_flashiap )
273
+ zephyr_include_directories (${CMAKE_CURRENT_LIST_DIR} /mcux-sdk/drivers/mcx_romapi/flash )
274
+
272
275
include (${CMAKE_CURRENT_LIST_DIR} /mcux-sdk/drivers/port/driver_port.cmake )
273
276
zephyr_include_directories (${CMAKE_CURRENT_LIST_DIR} /mcux-sdk/drivers/port )
274
277
Original file line number Diff line number Diff line change
1
+ #Description: ROMAPI FLASHIAP Driver; user_visible: True
2
+ include_guard (GLOBAL )
3
+ message ("driver_flashiap component is included." )
4
+
5
+ target_sources (${MCUX_SDK_PROJECT_NAME} PRIVATE
6
+ ${CMAKE_CURRENT_LIST_DIR} /flash/src/fsl_flash.c
7
+ )
8
+
9
+ target_include_directories (${MCUX_SDK_PROJECT_NAME} PUBLIC
10
+ ${CMAKE_CURRENT_LIST_DIR} /flash
11
+ )
12
+
13
+
14
+ include (driver_common )
You can’t perform that action at this time.
0 commit comments