forked from apache/mynewt-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boot/startup/cortexm-m4: Add separate memory region for MCU stack
Stack was always placed at the end of region RAM. This adds separate memory region for MCU stack. For some MCUs it is more convenient to place stack in separate memory space and that was not possible without custom linker script. __HeapLimit and __HeapBase assignments are simpler to read __StackTop and __StackLimi as well. dumplicate .bssnz section is removed (NOLOAD) attributes added to .bssnz and .bss .mtb section removed for now Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
- Loading branch information
Showing
2 changed files
with
24 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters