probably a BUG found in Serial Manager

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

probably a BUG found in Serial Manager

673 次查看
ChekhovMark
Contributor II

I'm using MUCXpresso IDE with SDK version of 2.8.0 of chip KV58F1M0VLL24. I'm using C++, and both my C & C++ compiler is set to arm-none-eabi-c++ with -std=c++17. When compiling "serial_manager.c", it reported an linking error of cannot find function "Serial_SwoWrite(...)". I found that it is because in file "serial_port_internal.h", the definitions are guarded with " extern "C"' ", but in file "serial_port_swo.c", they are not. The same happens to other files such as "serial_port_uart.c",etc. adding back the " extern "C" " solves the problem.

标签 (1)
标记 (2)
0 项奖励
1 回复

634 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Chekhov,

Thanks a lot for your comments, I will report this issue.

Best Regards,

Alexis Andalon

0 项奖励