cannot open source input file “core_cm3.h“: No such file or directory
开发环境keil5.14开发环境keil5.14板子LPC1850。
·
项目场景:
开发环境:keil5.14 开发环境:keil5.14 板子:LPC1850问题描述:
第一次导入工程,报错,找不到core_cm3.h文件:
src\target\LPC18xx.h(165): error: #5: cannot open source input file "core_cm3.h": No such file or directory
#include <core_cm3.h> /*!< Cortex-M3 processor and core peripherals */
src\target\lpc18xx_gpio.c: 0 warnings, 1 error
compiling lpc18xx_scu.c...
src\target\LPC18xx.h(165): error: #5: cannot open source input file "core_cm3.h": No such file or directory
#include <core_cm3.h> /*!< Cortex-M3 processor and core peripherals */
src\target\lpc18xx_scu.c: 0 warnings, 1 error
compiling led.c...
.\src\target\LPC18xx.h(165): error: #5: cannot open source input file "core_cm3.h": No such file or directory
解决方案:
按照以下步骤,添加你的keil中的include路径就行了
更多推荐
已为社区贡献1条内容
所有评论(0)