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

SES: SDK12.2.0: undefined reference to __SRAM_segment_end__

Earlier (couple of months) I was working on the examples/peripheral/ppi example in SDK12.2.0. I converted the Keil project inside pca10028/blank/arm5_no_packs to a Segger Embedded Studio project and made it run. Project file here. However now I try to compile, flash and debug the program. At first I had strange behaviour due to the default memory map for ARM (samples/MemoryMap_ARM.xml in the SES install directory) signifying Flash and RAM size both 0. I changed to this memory map.

Next, I get the error undefined reference to '__SRAM_segment_end__ in SDK12.2.0/components/toolchain/embedded_studio/ses_nrf51_startup.s (shown here), on line 108.

I didn't change anything in the project or in the SES install directory since the last time I tried to run it (couple of months), successfully.

Any idea how to fix this?

Related