OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2866|回复: 2

uvision4编译时找不到core_cm3.h

[复制链接]

1

主题

1

帖子

0

精华

新手入门

积分
3
金钱
3
注册时间
2020-10-31
在线时间
0 小时
发表于 2020-10-31 19:39:17 | 显示全部楼层 |阅读模式
1金钱
新手编译时找不到.h文件,求大神解惑
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Target 1'
compiling KEY.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Hardwave\KEY.c: 0 warnings, 1 error
compiling TIMER.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Hardwave\TIMER.c: 0 warnings, 1 error
assembling startup_stm32f10x_md.s...
compiling Delay.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Delay\Delay.c: 0 warnings, 1 error
compiling system_stm32f10x.c...
compiling OLED.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Hardwave\OLED.c: 0 warnings, 1 error
compiling USART_1.c...
Hardwave\USART_1.c(1): error:  #5: cannot open source input file "sys.h": No such file or directory
  #include "sys.h"
Hardwave\USART_1.c: 0 warnings, 1 error
compiling core_cm3.c...
compiling hc05.c...
Hardwave\hc05.c(1): error:  #5: cannot open source input file "delay.h": No such file or directory
  #include "delay.h"
Hardwave\hc05.c: 0 warnings, 1 error
compiling misc.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\misc.c: 0 warnings, 1 error
compiling stm32f10x_bkp.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_bkp.c: 0 warnings, 1 error
compiling USART_2.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Hardwave\USART_2.c: 0 warnings, 1 error
compiling stm32f10x_can.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_can.c: 0 warnings, 1 error
compiling stm32f10x_cec.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_cec.c: 0 warnings, 1 error
compiling stm32f10x_crc.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_crc.c: 0 warnings, 1 error
compiling stm32f10x_dbgmcu.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_dbgmcu.c: 0 warnings, 1 error
compiling stm32f10x_dac.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_dac.c: 0 warnings, 1 error
compiling stm32f10x_dma.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_dma.c: 0 warnings, 1 error
compiling stm32f10x_exti.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_exti.c: 0 warnings, 1 error
compiling stm32f10x_flash.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_flash.c: 0 warnings, 1 error
compiling stm32f10x_fsmc.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_fsmc.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_gpio.c: 0 warnings, 1 error
compiling stm32f10x_i2c.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_i2c.c: 0 warnings, 1 error
compiling stm32f10x_iwdg.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_iwdg.c: 0 warnings, 1 error
compiling stm32f10x_pwr.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_pwr.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_rcc.c: 0 warnings, 1 error
compiling stm32f10x_sdio.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_sdio.c: 0 warnings, 1 error
compiling stm32f10x_rtc.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_rtc.c: 0 warnings, 1 error
compiling stm32f10x_spi.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_spi.c: 0 warnings, 1 error
compiling stm32f10x_tim.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_tim.c: 0 warnings, 1 error
compiling stm32f10x_wwdg.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_wwdg.c: 0 warnings, 1 error
compiling stm32f10x_usart.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
Fwlib\src\stm32f10x_usart.c: 0 warnings, 1 error
compiling main.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
main.c: 0 warnings, 1 error
compiling stm32f10x_it.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(483): error:  #5: cannot open source input file "core_cm3.h": No such file or directory
  #include "core_cm3.h"
USER\stm32f10x_it.c: 0 warnings, 1 error
".\Objects\newhadmet.axf" - 31 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:11

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

0

主题

11

帖子

0

精华

初级会员

Rank: 2

积分
53
金钱
53
注册时间
2020-5-7
在线时间
12 小时
发表于 2020-11-2 10:12:43 | 显示全部楼层
想必小哥没有按照教程来做吧,你这是没有添加头文件路径,
回复

使用道具 举报

16

主题

77

帖子

0

精华

高级会员

Rank: 4

积分
509
金钱
509
注册时间
2020-6-6
在线时间
230 小时
发表于 2020-12-4 21:40:24 | 显示全部楼层
安装资料包里的MDK软件
上达日月,下至山川;泱泱吾土,与你何干?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-23 11:30

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表