diff options
Diffstat (limited to 'core/cortex-m0')
-rw-r--r-- | core/cortex-m0/ec.lds.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S index e9cd726d7a..98840266e4 100644 --- a/core/cortex-m0/ec.lds.S +++ b/core/cortex-m0/ec.lds.S @@ -41,7 +41,7 @@ SECTIONS .text : { STRINGIFY(OUTDIR/core/CORE/init.o) (.text.vecttable) . = ALIGN(4); - __version_struct_offset = .; + __image_data_offset = .; KEEP(*(.rodata.ver)) . = ALIGN(4); @@ -240,6 +240,8 @@ SECTIONS ) >= (LOADADDR(.data) + SIZEOF(.data) - FW_OFF(SECTION)), "No room left in the flash") + __image_size = __hey_flash_used; + #ifdef CONFIG_USB_RAM_SIZE .usb_ram (NOLOAD) : { __usb_ram_start = .; |