STM32CUBE+KEIL+Compiler V6使用方法

可以参考:https://blog.csdn.net/PeterSun01/article/details/90445439
https://www.jianshu.com/p/18a58fee94ce

添加编译器 -D参数,并修改c/cpp编译方式

-D__weak="__attribute__((weak))" -D__packed="__attribute__((__packed__))" -D__NOINLINE="__attribute__ ( (noinline) )"

猜你喜欢

转载自www.cnblogs.com/CodeWorkerLiMing/p/11118418.html