[riot-notifications] [RIOT-OS/RIOT] Add Riotboot support for CC2538 (#11665)

brent7984 notifications at github.com
Wed Jun 19 07:56:39 CEST 2019


brent7984 commented on this pull request.



>  
 /* Memory Space Definitions: */
 MEMORY
 {
-    rom (rx)    : ORIGIN = 0x00200000, LENGTH = 512K - 44
+    rom (rx)    : ORIGIN = _rom_start_addr + _rom_offset, LENGTH = _fw_rom_length
     cca         : ORIGIN = 0x0027ffd4, LENGTH = 44

Hi, i just commented out "SECTIONS"
`
_rom_offset = DEFINED( _rom_offset ) ? _rom_offset : 0x0;
_fw_rom_length = DEFINED( _fw_rom_length ) ? _fw_rom_length : _rom_length - _rom_offset;
ASSERT((_fw_rom_length <= _rom_length - _rom_offset), "Specified firmware size does not fit in ROM");
MEMORY
{
    rom (rx)    : ORIGIN = _rom_start_addr + _rom_offset, LENGTH = _fw_rom_length
    cca         : ORIGIN = 0x0027ffd4, LENGTH = 44
    ram (w!rx)  : ORIGIN = _ram_start_addr,               LENGTH = _ram_length
}
/* MCU Specific Section Definitions */
**/*
SECTIONS
{
    .flashcca :
    {
        KEEP(*(.flashcca))
    } > cca
}
*/**
INCLUDE cortexm_base.ld`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11665#discussion_r295130971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190618/0928281b/attachment.html>


More information about the notifications mailing list