Skip to content

Commit 338aec9

Browse files
NeilChen93decsny
authored andcommitted
mcux: hal_nxp: add mcxa support
Update mcxa156 romapi path to mcxa_romapi Signed-off-by: Neil Chen <[email protected]>
1 parent f90b09d commit 338aec9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mcux/hal_nxp.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,11 @@ endif()
309309
if("${CONFIG_SOC_FAMILY}" STREQUAL "nxp_mcx")
310310
if(CONFIG_SOC_SERIES_MCXC)
311311
include_driver_ifdef(CONFIG_SOC_FLASH_MCUX flash driver_flash)
312+
include(${CMAKE_CURRENT_LIST_DIR}/mcux-sdk/drivers/port/driver_port.cmake)
313+
zephyr_include_directories(${CMAKE_CURRENT_LIST_DIR}/mcux-sdk/drivers/port)
314+
elseif(CONFIG_SOC_SERIES_MCXA)
315+
zephyr_include_directories(${CMAKE_CURRENT_LIST_DIR}/mcux-sdk/drivers/mcxa_romapi)
316+
312317
include(${CMAKE_CURRENT_LIST_DIR}/mcux-sdk/drivers/port/driver_port.cmake)
313318
zephyr_include_directories(${CMAKE_CURRENT_LIST_DIR}/mcux-sdk/drivers/port)
314319
else()

0 commit comments

Comments
 (0)