HI
I get this error upon compiling : Error: L6218E: Undefined symbol abort (referred from abort_message.cpp.o).
This is the only error I get.
How can I define it in my code?
Tried #include <signal.h> to set the SIGABRT handler. But got an error: file not found!
SIGABRT
How should I proceed?
Never called it, was called for me by you guys
You likely need to reimplement this (along with any other semihosting functions in your code).
It could be as simple as:
void __attribute__((noreturn)) abort(void){ while(1); }
This helped, Any idea why is this happening when I add 'static ' ?
I finally added this in .h file and it removed the linker error:
extern "C" void __attribute__((noreturn)) abort(void) { while(1); }