This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52832 mbed uVisor: How to specify address space?

I would like to implement the mbed-os uVisor on a NRF52832. Therefore I need to specify some addresses in the provided linker file. Now the file: mbed-os/targets/TARGET_NORDIC/TARGETS_NRF5/TARGET_MCU_NRF52832/device/TOOLCHAIN_GCC_ARM/NRF52832.ld provides the following address space:

FLASH (rx) : ORIGIN = 0x1C000, LENGTH = 0x64000 RAM (rwx) : ORIGIN = 0x20002ef8, LENGTH = 0xd108

But the datasheet says FLASH (rx) : ORIGIN = 0x00000, LENGTH = 0x80000 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x10000

Now the question is, what do I have to use for uVisor? Has anybody already implemented uVisor on the NRF52832?