今天在整华大hc32芯片keil工程的搭建,遇到了这个问题
..\..\..\..\mcu\common\interrupts_hc32l13x.c(76): error: #77-D: this declaration has no storage class or type specifier
..\..\..\..\mcu\common\interrupts_hc32l13x.c(76): error: #65: expected a ";"
最后发现#define __WEAK __weak就可以解决
一些 .h .c文件都可以在包里面找的到的,选好对应的路径手动添加下就OK了