File tree Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Original file line number Diff line number Diff line change @@ -48,18 +48,13 @@ endif()
4848# MCU_DEVICE_PATH: SOC name without core suffix. Must match the name of the
4949# folder in MCUX HAL. IE MIMXRT595S, or LPC55S36
5050
51- if (NOT HWMv2)
52- # Include HWMv1 logic for MCUX variables
53- include (${CMAKE_CURRENT_LIST_DIR} /hwmv1.cmake)
54- else ()
55- string (TOUPPER ${CONFIG_SOC} MCUX_DEVICE_PATH)
56- string (TOUPPER ${CONFIG_SOC} MCUX_DEVICE)
57- set (MCUX_CPU CPU_${CONFIG_SOC_PART_NUMBER} )
58-
59- if (DEFINED CONFIG_MCUX_CORE_SUFFIX)
60- string (APPEND MCUX_DEVICE ${CONFIG_MCUX_CORE_SUFFIX} )
61- string (APPEND MCUX_CPU ${CONFIG_MCUX_CORE_SUFFIX} )
62- endif ()
51+ string (TOUPPER ${CONFIG_SOC} MCUX_DEVICE_PATH)
52+ string (TOUPPER ${CONFIG_SOC} MCUX_DEVICE)
53+ set (MCUX_CPU CPU_${CONFIG_SOC_PART_NUMBER} )
54+
55+ if (DEFINED CONFIG_MCUX_CORE_SUFFIX)
56+ string (APPEND MCUX_DEVICE ${CONFIG_MCUX_CORE_SUFFIX} )
57+ string (APPEND MCUX_CPU ${CONFIG_MCUX_CORE_SUFFIX} )
6358endif ()
6459
6560if (DEFINED CONFIG_SOC_SDKNG_UNSUPPORTED)
Original file line number Diff line number Diff line change 11# Copyright 2022-2025 NXP
22
33# Set the SoC specific drivers and configuration to build
4- if (HWMv2)
5- set (SOC_BASE ${CONFIG_SOC} )
6- else ()
7- if (${CONFIG_SOC} STREQUAL "s32z27" )
8- set (SOC_BASE "s32z270" )
9- else ()
10- set (SOC_BASE ${CONFIG_SOC} )
11- endif ()
12- endif ()
4+ set (SOC_BASE ${CONFIG_SOC} )
135
146add_subdirectory (${ZEPHYR_CURRENT_MODULE_DIR} /s32/drivers/${SOC_SERIES} hal_nxp/s32/drivers)
157add_subdirectory (${ZEPHYR_CURRENT_MODULE_DIR} /s32/soc/${SOC_BASE} hal_nxp/s32/soc)
You can’t perform that action at this time.
0 commit comments