编译报错
core_cm3.c(445): error: non-ASM statement in naked function is not supported
core_cm3.c(465): error: parameter references not allowed in naked functions
core_cm3.c(479): error: non-ASM statement in naked function is not supported
core_cm3.c(499): error: parameter references not allowed in naked functions
解决办法如下
把源文件的Target项目下的Code Generation ARM Compiler选项–>>选择Use default Compiler version 5 这个版本。