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/simple_platform/simple_platform.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/simple_platform/simple_platform.sct')
-rw-r--r-- | scripts/cmake/platforms/simple_platform/simple_platform.sct | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/scripts/cmake/platforms/simple_platform/simple_platform.sct b/scripts/cmake/platforms/simple_platform/simple_platform.sct index 5825d47..af639d6 100644 --- a/scripts/cmake/platforms/simple_platform/simple_platform.sct +++ b/scripts/cmake/platforms/simple_platform/simple_platform.sct @@ -16,11 +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. +; sections => activation buffers and the model should +; only be placed in those regions. ; ;--------------------------------------------------------- ; First load region (ITCM) @@ -41,28 +42,28 @@ 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 {} ;----------------------------------------------------- - ; SSE-300's internal SRAM of 2MiB - reserved for - ; activation buffers. + ; FPGA internal SRAM of 2MiB - reserved for activation + ; buffers. ; This region should have 3 cycle read latency from ; both Cortex-M55 and Ethos-U NPU ;----------------------------------------------------- |