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

arm-none-eabi/bin/ld: region RAM overflowed with stack

I'm getting this error, but oddly it's coming up somewhere in the MIDDLE of my build, and not always the same point.

I have modified the HEAP size to be 0 as I don't do any malloc-ing. But, I did that in gcc_startup_nrf51.s, which isn't compiled yet at this point in the build (nor is main.c).

I've started this particular project from the HRM example, which I am able to build under eclipse when the wind is blowing in the right direction.

I've attached my build output, showing the error coming up early in the build, and my .map file, which I am under-qualified to interpret properly.

Anyone got an idea?

10:30:50 **** Incremental Build of configuration D.txt

fizzy_s110_xxaa.map.txt

Related