kopia lustrzana https://github.com/micropython/micropython
nrf/boards/common.ld: Calculate unused flash region.
Calculate the unused flash area on the target device. The values will be exposed by _unused_flash_start and _unused_flash_length. The start address and the length are not aligned to either word or pages.pull/7619/head
rodzic
f834fef6bb
commit
3b594f7b27
|
@ -81,3 +81,5 @@ SECTIONS
|
|||
/* Define heap and stack areas */
|
||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||
_estack = ORIGIN(RAM) + LENGTH(RAM);
|
||||
_unused_flash_start = (_sidata + (_edata - _sdata));
|
||||
_unused_flash_len = (ORIGIN(FLASH_TEXT) + LENGTH(FLASH_TEXT)) - _unused_flash_start;
|
||||
|
|
Ładowanie…
Reference in New Issue