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:
parent
f83a695f25
commit
4d248fda87
2 changed files with 10 additions and 0 deletions
|
@ -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 "")
|
||||
|
|
6
soc/nxp/imxrt/imxrt118x/m33/dtcm.ld
Normal file
6
soc/nxp/imxrt/imxrt118x/m33/dtcm.ld
Normal file
|
@ -0,0 +1,6 @@
|
|||
/*
|
||||
* Copyright 2024 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
*(NonCacheable)
|
Loading…
Add table
Add a link
Reference in a new issue