[riot-notifications] [RIOT-OS/RIOT] cpu/saml21: Make Low-Power SRAM available to programs (#11486)
Juan I Carrano
notifications at github.com
Wed May 8 16:19:27 CEST 2019
jcarrano commented on this pull request.
> ASSERT((_fw_rom_length <= _rom_length - _rom_offset), "Specified firmware size does not fit in ROM");
rom (rx) : ORIGIN = _rom_start_addr + _rom_offset, LENGTH = _fw_rom_length
ram (w!rx) : ORIGIN = _ram_start_addr, LENGTH = _ram_length
+ bkup-ram : ORIGIN = _backup_ram_start_addr, LENGTH = _backup_ram_len
bkup-ram (w!rx) : ORIGIN = _backup_ram_start_addr, LENGTH = _backup_ram_len
Also, I think this new approach is better than having a separate ldscript. With a default length of 0, any attemt to use ".backup" where it is not supported will cause a link failure.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications