I am having a similar problem to the one described in this post:
Why isn't my SysTick_Handler() being called in my LPCxpresso C++ Project?
I have a couple of .cpp files, but the rest are .c files. Everything builds just file except when I try to reference a stand-alone function in a .cpp file from a .c file. Even though I have the entire function in the .cpp file enclosed in:
extern "C" {
void function( void ) {
.
.
.
}
}
I still get an undefined reference to 'function' in the calling .c file. Any ideas? It really has me stumped and I'm trying to add some elegance to some very procedural code by using class objects that make total sense in this application.