mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-423: Replace hardcoded value and get value from memory section (change from code review)
This commit is contained in:
parent
fc62f6e522
commit
fbf0b021c7
@ -12,7 +12,7 @@ PROVIDE(pios_board_info_blob = ORIGIN(BD_INFO));
|
||||
|
||||
_estack = 0x20004FF0;
|
||||
/* there is probably a way to get that from the MEMORY section */
|
||||
_eram = 0x20005000;
|
||||
_eram = ORIGIN(SRAM) + LENGTH(SRAM);
|
||||
|
||||
/* Section Definitions */
|
||||
SECTIONS
|
||||
|
@ -3,7 +3,7 @@ _irq_stack_size = 0x400;
|
||||
/* This is the size of the stack for early init: life span is until scheduler starts */
|
||||
_init_stack_size = 0x400;
|
||||
/* there is probably a way to get that from the MEMORY section */
|
||||
_eram = 0x20010000;
|
||||
_eram = ORIGIN(RAM) + LENGTH(RAM);
|
||||
|
||||
/* Check valid alignment for VTOR */
|
||||
ASSERT(ORIGIN(FLASH) == ALIGN(ORIGIN(FLASH), 0x80), "Start of memory region flash not aligned for startup vector table");
|
||||
|
Loading…
Reference in New Issue
Block a user