stm32: Add support for a bootloader on stm32f0
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -19,7 +19,9 @@ SECTIONS
|
||||
{
|
||||
.text : {
|
||||
. = ALIGN(4);
|
||||
_text_vectortable_start = .;
|
||||
KEEP(*(.vector_table))
|
||||
_text_vectortable_end = .;
|
||||
*(.text .text.*)
|
||||
*(.rodata .rodata*)
|
||||
} > rom
|
||||
@@ -27,6 +29,14 @@ SECTIONS
|
||||
. = ALIGN(4);
|
||||
_data_flash = .;
|
||||
|
||||
#if CONFIG_ARMCM_RAM_VECTORTABLE
|
||||
.ram_vectortable (NOLOAD) : {
|
||||
_ram_vectortable_start = .;
|
||||
. = . + ( _text_vectortable_end - _text_vectortable_start ) ;
|
||||
_ram_vectortable_end = .;
|
||||
} > ram
|
||||
#endif
|
||||
|
||||
.data : AT (_data_flash)
|
||||
{
|
||||
. = ALIGN(4);
|
||||
|
||||
Reference in New Issue
Block a user