Skip to content

Commit

Permalink
mcux-sdk: add rt1180 build support
Browse files Browse the repository at this point in the history
selected from commit by Lucien-Zhao.

Signed-off-by: David Leach <[email protected]>
Signed-off-by: Lucien-Zhao <[email protected]>
  • Loading branch information
dleach02 committed Aug 5, 2024
1 parent f75b0aa commit ff0b450
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mcux/hal_nxp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ elseif (CONFIG_SOC_MIMXRT1176_CM4)
include(device_system_MIMXRT1176_cm4)
elseif (CONFIG_SOC_MIMXRT1176_CM7)
include(device_system_MIMXRT1176_cm7)
elseif (CONFIG_SOC_MIMXRT1189_CM33)
include(device_system_MIMXRT1189_cm33)
elseif (CONFIG_SOC_MIMXRT1189_CM7)
include(device_system_MIMXRT1189_cm7)
elseif (CONFIG_SOC_LPC55S69_CPU0)
include(device_system_LPC55S69_cm33_core0)
elseif (CONFIG_SOC_LPC55S69_CPU1)
Expand Down Expand Up @@ -255,12 +259,14 @@ include_driver_ifdef(CONFIG_NXP_RF_IMU imu driver_imu)
include_driver_ifdef(CONFIG_TRDC_MCUX_TRDC trdc driver_trdc)
include_driver_ifdef(CONFIG_S3MU_MCUX_S3MU s3mu driver_s3mu)

if ((${MCUX_DEVICE} MATCHES "MIMXRT1[0-9][0-9][0-9]") AND (NOT (CONFIG_SOC_MIMXRT1166_CM4 OR CONFIG_SOC_MIMXRT1176_CM4)))
if ((${MCUX_DEVICE} MATCHES "MIMXRT1[0-9][0-9][0-9]") AND (NOT (CONFIG_SOC_MIMXRT1166_CM4 OR CONFIG_SOC_MIMXRT1176_CM4 OR CONFIG_SOC_MIMXRT1189_CM33)))
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/armv7-m7 driver_cache_armv7_m7)
elseif((${MCUX_DEVICE} MATCHES "MIMXRT(5|6)") OR (${MCUX_DEVICE} MATCHES "RW61") OR (${MCUX_DEVICE} MATCHES "MCXN.4."))
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/cache64 driver_cache_cache64)
elseif((${MCUX_DEVICE} MATCHES "MK(28|66)") OR (${MCUX_DEVICE} MATCHES "MKE(14|16|18)") OR (CONFIG_SOC_MIMXRT1166_CM4) OR (CONFIG_SOC_MIMXRT1176_CM4))
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/lmem driver_cache_lmem)
elseif(CONFIG_SOC_MIMXRT1189_CM33)
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/xcache driver_cache_xcache)
endif()

if(CONFIG_CPU_CORTEX_A)
Expand Down

0 comments on commit ff0b450

Please sign in to comment.