I would like to implement the mbed uVisor on the NRF52832 SoC with the softdevice s132. So I created the configuration files and wrote some code.
Now I have problems with the linker:
Link: uvisor_example2
./BUILD/NRF52_DK/GCC_ARM/.link_script.ld:178 cannot move location counter backwards (from 000000002001a260 to 000000002000f800)
collect2: error: ld returned 1 exit status
[ERROR] ./BUILD/NRF52_DK/GCC_ARM/.link_script.ld:178 cannot move location counter backwards (from 000000002001a260 to 000000002000f800)
collect2: error: ld returned 1 exit status
in "link_script.ld" ln177 ff:
(177) ASSERT(. <= (ORIGIN(RAM) + LENGTH(RAM) - 0x800), "heap region overflowed into stack");
(178) . += (ORIGIN(RAM) + LENGTH(RAM) - 0x800) - .;
Can anybody help, to solve this problem?