I am developing on SAM3X8E, I am using the GCC C++ compiler and atmel studio 7. I am trying to include the stdio library and I keep getting the error:
"undefined reference to end" in sbrk
following this post:
https://community.atmel.com/forum/how-solve-linker-error-sbrkc11-error-undefined-reference-end
I explicitly added end to the heap section of the linker script in the heap section via,
end = sheap;
I'm not sure what's going on, sbrk should see the linker variable.