Hello
This is due to the C++ name mangling.
Device Initialization is generating ANSI C source code and you are trying to call an ANSI C function from a C++ module.
You have to let the compiler know that the function MCU_init is an ANSI C function.
Just enclose the MCU_init function prototype between
#ifdef __cplusplus
extern "C" {
#endif
and
#ifdef __cplusplus
}
#endif
Example
#ifdef __cplusplus
extern "C" {
#endif
void MCU_init(void);
#ifdef __cplusplus
}
#endif
I hope this helps.
CrasyCat