arch: arm: Add symbol for flash used
Add symbol which contains the number of bytes contained in the image. Using '_image_rom_end' will not work, as there are symbols loaded after its value. Signed-off-by: Håkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
This commit is contained in:
parent
35a95a9b2f
commit
d85efe0b10
2 changed files with 12 additions and 0 deletions
|
@ -233,6 +233,9 @@ extern char _image_rom_start[];
|
|||
extern char _image_rom_end[];
|
||||
extern char _image_rom_size[];
|
||||
|
||||
/* Includes all ROMable data, i.e. the size of the output image file. */
|
||||
extern char _flash_used[];
|
||||
|
||||
/* datas, bss, noinit */
|
||||
extern char _image_ram_start[];
|
||||
extern char _image_ram_end[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue