mdk5缺少头文件_用keil 5编译工程时,每次打开一个新工程都会提示缺少某某头文件,请问原子哥是什么原因?...

在使用Keil 5编译工程时,用户遇到每个新工程都会提示缺少stm32f10x_map.h等头文件的问题。尝试在工程目录中查找并添加头文件,或者用Keil 3或4打开工程后拷贝头文件到Keil 5工程中以解决。尽管已安装STM32F1XX和STM32F4XX包,问题依然存在。疑问在于是否Keil 5缺少特定的安装包导致此问题。
摘要由CSDN通过智能技术生成

Build target 'Target 1'

assembling startup_stm32f10x_hd.s...

compiling test.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

test.c: 0 warnings, 1 error

compiling delay.c...

..\SYSTEM\delay\delay.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\SYSTEM\delay\delay.c: 0 warnings, 1 error

compiling sys.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\SYSTEM\sys\sys.c: 0 warnings, 1 error

compiling usart.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\SYSTEM\usart\usart.c: 0 warnings, 1 error

compiling led.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\HARDWARE\LED\led.c: 0 warnings, 1 error

compiling beep.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\HARDWARE\BEEP\beep.c: 0 warnings, 1 error

compiling key.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\HARDWARE\KEY\key.c: 0 warnings, 1 error

compiling exti.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\HARDWARE\EXTI\exti.c: 0 warnings, 1 error

compiling wdg.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\HARDWARE\WDG\wdg.c: 0 warnings, 1 error

compiling timer.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

#include

..\HARDWARE\TIMER\timer.c: 0 warnings, 1 error

compiling tpad.c...

..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_map.h": No such file or directory

<
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值