![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Keil
HawaiiHello
THIS IS BIG MISTAKE
展开
-
Keil5报错:error: more than one instance overload function “xx“ has C linkage
用Keil编写C、C++混编程序碰到了这个问题#ifdef __cplusplusextern "C"{#endif /*__cplusplus*///overloadvoid foo(int ,int );void foo(float );#ifdef __cplusplus}#endif /*__cplusplus*/编译之后报错: more than one ins...原创 2020-02-22 02:26:37 · 2093 阅读 · 0 评论 -
ITM调试:printf、scanf功能实现
主要是使用printf进行调试,可以打印局部变量(当然Call Stack-Locals窗口和Watch窗口也可以,不过需要打断点)、打印程序运行记录等,跟串口重定向的printf功能一样,相比较优势是:利用Keil自带调试窗口,无需串口助手;利用仿真器下载线,不占用串口资源。ITM硬件与软件配置硬件上,四线制下载线基础上增加一路,将J-Link/ST-Link的SWO/JTO/PA10(是同...原创 2020-02-18 14:28:55 · 964 阅读 · 0 评论