Content originally posted in LPCWare by lpcxpresso-support on Wed Jul 02 08:59:24 MST 2014
jdowd,
If you are using mbed, then you are programming in C++. Unless you tell it otherwise, C++ will 'mangle' the names. If you want it to have "C" naming, you must surround the definition with
extern "C" {
your_function_definition
}
This is standard C++...