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

undefined reference to `__RAM1_segment_end__'

Hi,

I'm using SDK 17.0.2 on NRF52832

I'm getting an error "undefined reference to `__RAM1_segment_end__'" in "Output/<name>_Debug/Obj/ses_startup_nrf_common.o: in function `InitializeUserMemorySections':

If I change "#define STACK_INIT_VAL __RAM1_segment_end__" to "#define STACK_INIT_VAL __RAM_segment_end__" then everything works fine but then I'm modifying the file "modules\nrfx\mdk\ses_startup_nrf_common.s" . 

Is there a way to resolve the issue without modifying the SDK files? Coz I may be missing some configuration in SDK or something else.

Thanks

Parents Reply Children
Related