diff options
Diffstat (limited to 'nuttx/configs/pic32mz-starterkit/scripts/c32-release.ld')
-rw-r--r-- | nuttx/configs/pic32mz-starterkit/scripts/c32-release.ld | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nuttx/configs/pic32mz-starterkit/scripts/c32-release.ld b/nuttx/configs/pic32mz-starterkit/scripts/c32-release.ld index b385bc21a..e19fc073f 100644 --- a/nuttx/configs/pic32mz-starterkit/scripts/c32-release.ld +++ b/nuttx/configs/pic32mz-starterkit/scripts/c32-release.ld @@ -59,7 +59,8 @@ MEMORY * JTAG 0x1fc00480 KSEG1 16 1168 * Exceptions 0x1fc00490 KSEG0 8192-1168 8192 (4Kb) * Debug code 0x1fc02000 KSEG1 4096-16 12272 - * DEVCFG3-0 0x1fc0ff40 KSEG1 16 12288 (12Kb) + * ADEVCFG3-0 0x1fc0ff40 KSEG1 16 12288 (12Kb) + * DEVCFG3-0 0x1fc0ffc0 KSEG1 16 12288 (12Kb) * * Exceptions assume: * @@ -77,7 +78,8 @@ MEMORY kseg1_dbgexcpt (rx) : ORIGIN = 0xbfc00480, LENGTH = 16 kseg0_bootmem (rx) : ORIGIN = 0x9fc00490, LENGTH = 8192-1168 kseg1_dbgcode (rx) : ORIGIN = 0xbfc02000, LENGTH = 4096-16 - kseg1_devcfg (r) : ORIGIN = 0x1fc0ff40, LENGTH = 192 + kseg1_adevcfg (r) : ORIGIN = 0x1fc0ff40, LENGTH = 128 + kseg1_devcfg (r) : ORIGIN = 0x1fc0ffc0, LENGTH = 128 /* The The PIC32MZ2048ECH144 and PIC32MZ2048ECM144 chips have has 512Kb * of data memory at physical address 0x00000000. Since the PIC32MZ @@ -159,6 +161,11 @@ SECTIONS .dbg_code = ORIGIN(kseg1_dbgcode); + .adevcfg : + { + KEEP (*(.adevcfg)) + } > kseg1_adevcfg + .devcfg : { KEEP (*(.devcfg)) |