Merge pull request #1183 from openmv/stack_fix

Fix linker script stack alignment for boards with SRAM stack.
This commit is contained in:
Ibrahim Abd Elkader 2021-02-23 20:05:57 +02:00 committed by GitHub
commit c04b519e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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