Skip to content

Commit

Permalink
cpu/cc2538: adjust rom size to account for cca region
Browse files Browse the repository at this point in the history
  • Loading branch information
Ollrogge committed Oct 25, 2021
1 parent cdd9f30 commit be254d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpu/cc2538/ldscripts/cc2538.ld
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@

INCLUDE cortexm_rom_offset.ld

_cca_length = 44;

/* Memory Space Definitions: */
MEMORY
{
rom (rx) : ORIGIN = _rom_start_addr + _rom_offset, LENGTH = _fw_rom_length
cca : ORIGIN = 0x0027ffd4, LENGTH = 44
rom (rx) : ORIGIN = _rom_start_addr + _rom_offset, LENGTH = _fw_rom_length - _cca_length
cca : ORIGIN = 0x0027ffd4, LENGTH = _cca_length
sram0 : ORIGIN = 0x20000000, LENGTH = 16K /* Lost in PM2 and PM3 */
sram1 : ORIGIN = 0x20004000, LENGTH = 16K
ram (w!rx) : ORIGIN = _ram_start_addr, LENGTH = _ram_length
Expand Down

0 comments on commit be254d4

Please sign in to comment.