mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #1183 from openmv/stack_fix
Fix linker script stack alignment for boards with SRAM stack.
This commit is contained in:
commit
c04b519e38
@ -208,11 +208,11 @@ SECTIONS
|
||||
/* Make sure there is enough ram for the stack */
|
||||
._stack (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
. = ALIGN(8);
|
||||
_sstack = .;
|
||||
. = . + _stack_size;
|
||||
|
||||
. = ALIGN(4);
|
||||
. = ALIGN(8);
|
||||
_estack = .;
|
||||
} >OMV_STACK_MEMORY
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user