We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
My program compiles great when I include arm std libs but on using --no_scanlib linker flag, it generates the __aeabi_uldivmod,__aeabi_memcpy & __main undefined at link time arrors.
Where can I find the header files with these definitions so I may create my own definitions to use with the --no_scanlib flag.
I am already using my own filetypes.h for bool,etc (the aim is to isolate the compiler from everything else I am not using).
Also, what creates __scatterload and why?
__scatterload is called by code the linker adds to unpack the load regions from ROM into RAM, usually called from __main The linker creates tables, basically describing areas which copy from ROM, or are zeroed as part of the C runtime statics initialization. Probably similar stuff for C++ constructors.