mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 07:21:18 +01:00
cortexm_common/ldscript: add _fw_rom_length variable
It will help testing if it is taken into account and for defining for outside after.
This commit is contained in:
parent
bbb1fbe0e3
commit
83a617261a
@ -21,10 +21,11 @@
|
||||
*/
|
||||
|
||||
_rom_offset = DEFINED( _rom_offset ) ? _rom_offset : 0x0;
|
||||
_fw_rom_length = _rom_length - _rom_offset;
|
||||
|
||||
MEMORY
|
||||
{
|
||||
rom (rx) : ORIGIN = _rom_start_addr + _rom_offset, LENGTH = _rom_length - _rom_offset
|
||||
rom (rx) : ORIGIN = _rom_start_addr + _rom_offset, LENGTH = _fw_rom_length
|
||||
ram (w!rx) : ORIGIN = _ram_start_addr, LENGTH = _ram_length
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user