Skip to content

Commit

Permalink
mcux: hal_nxp: include mflash component for conn_fwloader
Browse files Browse the repository at this point in the history
Add cmake module path of mflash and flexspi, cache64 dependent for
component conn_fwloader.

Signed-off-by: Fengming Ye <[email protected]>
  • Loading branch information
fengming-ye authored and dleach02 committed Aug 12, 2024
1 parent 7bf0a8e commit 2be46c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mcux/hal_nxp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,13 @@ endif()

if(${MCUX_DEVICE} MATCHES "RW61")
set(CONFIG_USE_component_osa_zephyr true)
if(CONFIG_NXP_FW_LOADER)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk/components/flash/mflash)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk/components/flash/mflash/rdrw612bga)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk/drivers/cache/cache64)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mcux-sdk/drivers/flexspi)
include(component_mflash_rdrw610)
endif()
endif()

include_ifdef(CONFIG_USE_component_osa_zephyr set_component_osa)
Expand Down

0 comments on commit 2be46c6

Please sign in to comment.