diff options
Diffstat (limited to 'nuttx/configs/pic32-starterkit')
-rw-r--r-- | nuttx/configs/pic32-starterkit/ostest/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/pic32-starterkit/ostest/ld.script | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/nuttx/configs/pic32-starterkit/ostest/defconfig b/nuttx/configs/pic32-starterkit/ostest/defconfig index 7ba611559..33e0d703d 100644 --- a/nuttx/configs/pic32-starterkit/ostest/defconfig +++ b/nuttx/configs/pic32-starterkit/ostest/defconfig @@ -91,6 +91,11 @@ CONFIG_ARCH_CALIBRATION=n CONFIG_ARCH_DMA=n # +# Enable support for RAM-based functions +# +CONFIG_PIC32MX_RAMFUNCS=y + +# # Identify toolchain and linker options # CONFIG_PIC32MX_MICROCHIPW=n diff --git a/nuttx/configs/pic32-starterkit/ostest/ld.script b/nuttx/configs/pic32-starterkit/ostest/ld.script index 35131d9d7..c9e85d059 100644 --- a/nuttx/configs/pic32-starterkit/ostest/ld.script +++ b/nuttx/configs/pic32-starterkit/ostest/ld.script @@ -189,7 +189,7 @@ SECTIONS /* RAM functions are positioned at the beginning of RAM so that * they can be guaranteed to satisfy the 2Kb alignment requirement. */ -/* + .ramfunc ALIGN(2K) : { _sramfunc = ABSOLUTE(.); @@ -202,7 +202,7 @@ SECTIONS _bmxdkpba_address = _sramfunc - ORIGIN(kseg1_datamem) ; _bmxdudba_address = LENGTH(kseg1_datamem) ; _bmxdupba_address = LENGTH(kseg1_datamem) ; -*/ + .dbg_data (NOLOAD) : { . += (DEFINED (_DEBUGGER) ? 0x200 : 0x0); |