It should be BSS section not to output data to .hex.
This commit is contained in:
2
entry.c
2
entry.c
@@ -420,7 +420,7 @@ static void none (void)
|
|||||||
#define COMPOSE_STATEMENT(arg0,arg1,arg2) C_S_SUB (arg0, arg1, arg2)
|
#define COMPOSE_STATEMENT(arg0,arg1,arg2) C_S_SUB (arg0, arg1, arg2)
|
||||||
|
|
||||||
#if MCU_STM32F0
|
#if MCU_STM32F0
|
||||||
__attribute__ ((used,section(".data.startup.0")))
|
__attribute__ ((used,section(".bss.startup.0")))
|
||||||
uint32_t vectors_in_ram[48];
|
uint32_t vectors_in_ram[48];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
__vector_ram_addr__ = .;
|
__vector_ram_addr__ = .;
|
||||||
KEEP(*(.data.startup.*))
|
KEEP(*(.bss.startup.*))
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
.process_stack :
|
.process_stack :
|
||||||
|
|||||||
Reference in New Issue
Block a user