新手入门
- 积分
- 4
- 金钱
- 4
- 注册时间
- 2023-6-15
- 在线时间
- 0 小时
|
1金钱
按照原子哥的步骤来的,也检测了文件里面的文件正确性,但是编译出现了十四个错误,不知道怎么解决。
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'D:\keil5\ARM\ARMCC\Bin'
Rebuild target 'template'
assembling startup_stm32f103xe.s...
compiling stm32f1xx_it.c...
..\..\user\stm32f1xx_it.c(141): warning: #223-D: function "HAL_IncTick" declared implicitly
HAL_IncTick();
..\..\user\stm32f1xx_it.c: 1 warning, 0 errors
compiling system_stm32f1xx.c...
..\..\divers\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c(59): error: #5: cannot open source input file "stm32f1xx.h": No such file or directory
#include "stm32f1xx.h"
..\..\divers\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c: 0 warnings, 1 error
compiling delay.c...
..\..\divers\SYSTEM\delay\delay.c(26): error: #5: cannot open source input file "./SYSTEM/sys/sys.h": No such file or directory
#include "./SYSTEM/sys/sys.h"
..\..\divers\SYSTEM\delay\delay.c: 0 warnings, 1 error
compiling main.c...
..\..\user\main.c(20): error: #5: cannot open source input file "./SYSTEM/sys/sys.h": No such file or directory
#include "./SYSTEM/sys/sys.h"
..\..\user\main.c: 0 warnings, 1 error
compiling sys.c...
..\..\divers\SYSTEM\sys\sys.c(25): error: #5: cannot open source input file "./SYSTEM/sys/sys.h": No such file or directory
#include "./SYSTEM/sys/sys.h"
..\..\divers\SYSTEM\sys\sys.c: 0 warnings, 1 error
compiling stm32f1xx_hal.c...
..\..\divers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c(36): error: #5: cannot open source input file "stm32f1xx_hal.h": No such file or directory
#include "stm32f1xx_hal.h"
..\..\divers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c: 0 warnings, 1 error
compiling stm32f1xx_hal_cortex.c...
..\..\divers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c(83): error: #5: cannot open source input file "stm32f1xx_hal.h": No such file or directory
#include "stm32f1xx_hal.h"
..\..\divers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c: 0 warnings, 1 error
compiling stm32f1xx_hal_dma.c...
..\..\divers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c(85): error: #5: cannot open source input file "stm32f1xx_hal.h": No such file or directory
#include "stm32f1xx_hal.h"
..\..\divers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c: 0 warnings, 1 error
|
|