This is a bug report. I am using SDK_2.16.000 for the MCXA153. When I use the "Create a new C/C++ project" wizard in MCUXpresso and create a new C++ project, the generated code fails to build because of
undefined reference to `BOARD_InitDebugConsole()'
This is because board.h is missing the extern C guard, which can be fixed as follows:
#ifdef __cplusplus
extern "C" {
#endif
void BOARD_InitDebugConsole(void);
#ifdef __cplusplus
}
#endif
Dear @aberger ,
Based on your feedback, we have reproduced the issue and have indeed identified the corresponding problem.
Thank you for your contribution to the NXP Community with your answer! We have submitted the bug to the relevant team and hope to update the corresponding patch as soon as possible.
Best Regard
Liu