新手上路
- 积分
- 39
- 金钱
- 39
- 注册时间
- 2018-5-17
- 在线时间
- 10 小时
|
老师您好,给的压缩包是不是缺少文件了。编译报错:如下所示
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Target 1'
compiling test.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
test.c: 0 warnings, 1 error
assembling startup_stm32f10x_hd.s...
compiling delay.c...
..\SYSTEM\delay\delay.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\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 <stm32f10x_map.h>
..\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 <stm32f10x_map.h>
..\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 <stm32f10x_map.h>
..\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 <stm32f10x_map.h>
..\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 <stm32f10x_map.h>
..\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 <stm32f10x_map.h>
..\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 <stm32f10x_map.h>
..\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 <stm32f10x_map.h>
..\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
#include <stm32f10x_map.h>
..\HARDWARE\TPAD\tpad.c: 0 warnings, 1 error
compiling oled.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\OLED\oled.c: 0 warnings, 1 error
compiling ILI93xx.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\LCD\ILI93xx.c: 0 warnings, 1 error
compiling rtc.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\RTC\rtc.c: 0 warnings, 1 error
compiling wkup.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\WKUP\wkup.c: 0 warnings, 1 error
compiling adc.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\ADC\adc.c: 0 warnings, 1 error
compiling dac.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\DAC\dac.c: 0 warnings, 1 error
compiling audiosel.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\AUDIOSEL\audiosel.c: 0 warnings, 1 error
compiling usmart.c...
..\SYSTEM\usart\usart.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\USMART\usmart.c: 0 warnings, 1 error
compiling usmart_config.c...
..\SYSTEM\delay\delay.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\USMART\usmart_config.c: 0 warnings, 1 error
compiling usmart_str.c...
compiling usb_core.c...
compiling usb_init.c...
compiling usb_int.c...
compiling usb_mem.c...
compiling usb_regs.c...
compiling hw_config.c...
C:\Keil_v5\ARM\Inc\ST\STM32F10x\stm32f10x.h(96): error: #35: #error directive: "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
#error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
..\USB\CONFIG\hw_config.c: 0 warnings, 1 error
compiling stm32f10x_it.c...
C:\Keil_v5\ARM\Inc\ST\STM32F10x\stm32f10x.h(96): error: #35: #error directive: "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
#error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
..\USB\CONFIG\stm32f10x_it.c: 0 warnings, 1 error
compiling usb_desc.c...
compiling usb_endp.c...
compiling usb_istr.c...
compiling usb_prop.c...
compiling usb_pwr.c...
..\USB\CONFIG\usb_pwr.c(17): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include "stm32f10x_lib.h"
..\USB\CONFIG\usb_pwr.c: 0 warnings, 1 error
"..\OBJ\test.axf" - 23 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:02
|
|