aboutsummaryrefslogtreecommitdiff
path: root/targets/corstone-300/platform.scatter
diff options
context:
space:
mode:
Diffstat (limited to 'targets/corstone-300/platform.scatter')
-rw-r--r--targets/corstone-300/platform.scatter10
1 files changed, 6 insertions, 4 deletions
diff --git a/targets/corstone-300/platform.scatter b/targets/corstone-300/platform.scatter
index 85c6549..06e1941 100644
--- a/targets/corstone-300/platform.scatter
+++ b/targets/corstone-300/platform.scatter
@@ -137,11 +137,11 @@ APP_IMAGE LR_START LR_SIZE
rom_exec ITCM_START ITCM_SIZE
{
*.o (RESET, +First)
- *(InRoot$$Sections)
+ * (InRoot$$Sections, .init_array*, .ARM*)
; Make sure reset_handler ends up in root segment, when split across
; ITCM and DTCM
startup_ARMCM55.o
- .ANY (+RO)
+ .ANY2 (+RO)
}
; DTCM 512kB
@@ -183,9 +183,11 @@ LOAD_REGION_BRAM BRAM_START BRAM_SIZE
}
#endif
- TFLM +0
+ TEXT1 +0
{
- lstm_eval.o
+ ; Code segment is placed with higher priority (.ANY2) in ITCM. If ITCM gets
+ ; full, then the remaining symbols may be placed here in BRAM.
+ .ANY1 (+RO)
}
}