summaryrefslogtreecommitdiffstats
path: root/bsps/arm/imxrt/include/imxrt/memory.h
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2021-05-11 13:46:56 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2021-05-17 09:06:41 +0200
commit691fec407a0faae379cab23679ec8456ace9fb06 (patch)
treed557e4a15157126bcb2e8c6fb54c33f7769b4218 /bsps/arm/imxrt/include/imxrt/memory.h
parentbsps/imxrt: Add addresses and interrupts to dts (diff)
downloadrtems-691fec407a0faae379cab23679ec8456ace9fb06.tar.bz2
bsps/imxrt: Fix OCRAM, ITCM and DTCM sizes
The sizes are configurable via fuses or per software via some registers. At the moment the registers are not changed. Changing the registers destroys data stored in the RAM areas (like application code or data). So either the fuses or some bootloader should be used to set them before the application starts. This also adds an OCRAM only linker command file. Update #4180
Diffstat (limited to '')
-rw-r--r--bsps/arm/imxrt/include/imxrt/memory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsps/arm/imxrt/include/imxrt/memory.h b/bsps/arm/imxrt/include/imxrt/memory.h
index 5a6b457aa6..8185f713cc 100644
--- a/bsps/arm/imxrt/include/imxrt/memory.h
+++ b/bsps/arm/imxrt/include/imxrt/memory.h
@@ -48,6 +48,10 @@ extern char imxrt_memory_ocram_begin[];
extern char imxrt_memory_ocram_end[];
extern char imxrt_memory_ocram_size[];
+extern char imxrt_memory_ocram_nocache_begin[];
+extern char imxrt_memory_ocram_nocache_end[];
+extern char imxrt_memory_ocram_nocache_size[];
+
extern char imxrt_memory_peripheral_begin[];
extern char imxrt_memory_peripheral_end[];
extern char imxrt_memory_peripheral_size[];