soc: nxp: imxrt118x: add NonCacheable section for M33 linker

The NonCacheable section is required by HAL driver.
Added it with using DTCM.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
This commit is contained in:
Yangbo Lu 2024-09-25 07:09:01 +02:00 committed by Henrik Brix Andersen
commit 4d248fda87
2 changed files with 10 additions and 0 deletions

View file

@ -6,6 +6,10 @@
zephyr_sources(soc.c)
if(CONFIG_SOC_MIMXRT1189_CM33)
zephyr_linker_sources(DTCM_SECTION m33/dtcm.ld)
endif()
zephyr_include_directories(.)
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")

View file

@ -0,0 +1,6 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
*(NonCacheable)