Skip to content

Commit cfae9e5

Browse files
fengming-yemmahadevan108
authored andcommitted
mcux: hal_nxp: include mflash component for conn_fwloader
Add cmake module path of mflash and flexspi, cache64 dependent for component conn_fwloader. Signed-off-by: Fengming Ye <[email protected]>
1 parent 10944a2 commit cfae9e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mcux/hal_nxp.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,13 @@ endif()
408408

409409
if(${MCUX_DEVICE} MATCHES "RW61")
410410
set(CONFIG_USE_component_osa_zephyr true)
411+
if(CONFIG_NXP_FW_LOADER)
412+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk/components/flash/mflash)
413+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk/components/flash/mflash/rdrw612bga)
414+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk/drivers/cache/cache64)
415+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk/drivers/flexspi)
416+
include(component_mflash_rdrw610)
417+
endif()
411418
endif()
412419

413420
include_ifdef(CONFIG_USE_component_osa_zephyr set_component_osa)

0 commit comments

Comments
 (0)