AnsweredAssumed Answered

probably a BUG found in Serial Manager

Question asked by Chekhov Mark on Jul 30, 2020
Latest reply on Jul 31, 2020 by Alexis Andalon

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.

Outcomes