diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-04-11 10:34:29 +0100 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-04-11 10:34:54 +0100 |
commit | 7e56d8f55c770204deaa2de644990828b9ff083b (patch) | |
tree | 7bcac9034d86d8d4205ed6ca42907b884e6849a4 /scripts/cmake/platforms/mps3/mps3-sse-300.sct | |
parent | 4cc4021d356c174f780be2b7ef96910e36c8dd7b (diff) | |
download | ml-embedded-evaluation-kit-7e56d8f55c770204deaa2de644990828b9ff083b.tar.gz |
MLECO-3071: Reducing stack sizes
After evaluating stack sizes (after HAL refactoring) we can
safely reduce the stack allocation for all the applications.
Change-Id: I7d9cd4edd28753fe3f8a668d8c557c2788f4c823
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'scripts/cmake/platforms/mps3/mps3-sse-300.sct')
-rw-r--r-- | scripts/cmake/platforms/mps3/mps3-sse-300.sct | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/scripts/cmake/platforms/mps3/mps3-sse-300.sct b/scripts/cmake/platforms/mps3/mps3-sse-300.sct index f78dc25..0a38778 100644 --- a/scripts/cmake/platforms/mps3/mps3-sse-300.sct +++ b/scripts/cmake/platforms/mps3/mps3-sse-300.sct @@ -16,10 +16,12 @@ ; ************************************************************* ; *** Scatter-Loading Description File *** ; ************************************************************* -; Please see docs/sections/appendix.md for memory mapping information. +; Please see docs/sections/appendix.md for memory mapping +; information. ; -; Note: Ethos-U NPU can access BRAM, internal SRAM and the DDR sections => activation buffers and -; the model should only be placed in those regions. +; Note: Ethos-U NPU can access BRAM, internal SRAM and the DDR +; sections => activation buffers and the model should +; only be placed in those regions. ; ;--------------------------------------------------------- ; First load region (ITCM) @@ -40,23 +42,23 @@ LOAD_REGION_0 0x00000000 0x00080000 } ;----------------------------------------------------- - ; 128kiB of 512kiB DTCM is used for any other RW or ZI + ; 384kiB of 512kiB DTCM is used for any other RW or ZI ; data. Note: this region is internal to the Cortex-M ; CPU. ;----------------------------------------------------- - dtcm.bin 0x20000000 0x00020000 + dtcm.bin 0x20000000 0x00060000 { ; Any R/W and/or zero initialised data .ANY(+RW +ZI) } ;----------------------------------------------------- - ; 384kiB of stack space within the DTCM region. See + ; 32 kiB of stack space within the DTCM region. See ; `dtcm.bin` for the first section. Note: by virtue of ; being part of DTCM, this region is only accessible - ; from Cortex-M55. + ; from Cortex-M55. We use the last DTCM bank ;----------------------------------------------------- - ARM_LIB_STACK 0x20020000 EMPTY ALIGN 8 0x00060000 + ARM_LIB_STACK 0x20060000 EMPTY ALIGN 8 0x00008000 {} ;----------------------------------------------------- |