初级会员

- 积分
- 156
- 金钱
- 156
- 注册时间
- 2017-9-7
- 在线时间
- 15 小时
|
10金钱
本帖最后由 Asien 于 2018-8-13 17:08 编辑
*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Asiens'
assembling startup_stm32f40_41xxx.s...
compiling main.c...
USER\main.c(1): error: #77-D: this declaration has no storage class or type specifier
手册中讲解到步骤15的时候的main.c源码如下:
USER\main.c(1): error: #65: expected a ";"
手册中讲解到步骤15的时候的main.c源码如下:
USER\main.c(1): error: #7: unrecognized token
手册中讲解到步骤15的时候的main.c源码如下:
USER\stm32f4xx.h(464): warning: #12-D: parsing restarts here after previous syntax error
} IRQn_Type;
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
USER\main.c: 1 warning, 4 errors
compiling stm32f4xx_it.c...
compiling system_stm32f4xx.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
USER\system_stm32f4xx.c: 0 warnings, 1 error
compiling stm32f4xx_adc.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_adc.c: 0 warnings, 1 error
compiling misc.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\misc.c: 0 warnings, 1 error
compiling stm32f4xx_crc.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_crc.c: 0 warnings, 1 error
compiling stm32f4xx_can.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_can.c: 0 warnings, 1 error
compiling stm32f4xx_cryp_aes.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_cryp_aes.c: 0 warnings, 1 error
compiling stm32f4xx_cryp.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_cryp.c: 0 warnings, 1 error
compiling stm32f4xx_cryp_des.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_cryp_des.c: 0 warnings, 1 error
compiling stm32f4xx_cryp_tdes.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_cryp_tdes.c: 0 warnings, 1 error
compiling stm32f4xx_dbgmcu.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_dbgmcu.c: 0 warnings, 1 error
compiling stm32f4xx_dac.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_dac.c: 0 warnings, 1 error
compiling stm32f4xx_dcmi.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_dcmi.c: 0 warnings, 1 error
compiling stm32f4xx_dma.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_dma.c: 0 warnings, 1 error
compiling stm32f4xx_exti.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_exti.c: 0 warnings, 1 error
compiling stm32f4xx_dma2d.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_dma2d.c: 0 warnings, 1 error
compiling stm32f4xx_flash.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_flash.c: 0 warnings, 1 error
compiling stm32f4xx_flash_ramfunc.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_flash_ramfunc.c: 0 warnings, 1 error
compiling stm32f4xx_gpio.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_gpio.c: 0 warnings, 1 error
compiling stm32f4xx_hash.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_hash.c: 0 warnings, 1 error
compiling stm32f4xx_hash_md5.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_hash_md5.c: 0 warnings, 1 error
compiling stm32f4xx_hash_sha1.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_hash_sha1.c: 0 warnings, 1 error
compiling stm32f4xx_i2c.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_i2c.c: 0 warnings, 1 error
compiling stm32f4xx_iwdg.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_iwdg.c: 0 warnings, 1 error
compiling stm32f4xx_ltdc.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_ltdc.c: 0 warnings, 1 error
compiling stm32f4xx_pwr.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_pwr.c: 0 warnings, 1 error
compiling stm32f4xx_rcc.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_rcc.c: 0 warnings, 1 error
compiling stm32f4xx_rtc.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_rtc.c: 0 warnings, 1 error
compiling stm32f4xx_rng.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_rng.c: 0 warnings, 1 error
compiling stm32f4xx_sdio.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_sdio.c: 0 warnings, 1 error
compiling stm32f4xx_sai.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_sai.c: 0 warnings, 1 error
compiling stm32f4xx_syscfg.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_syscfg.c: 0 warnings, 1 error
compiling stm32f4xx_spi.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_spi.c: 0 warnings, 1 error
compiling stm32f4xx_tim.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_tim.c: 0 warnings, 1 error
compiling stm32f4xx_usart.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_usart.c: 0 warnings, 1 error
compiling stm32f4xx_fsmc.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_fsmc.c: 0 warnings, 1 error
compiling stm32f4xx_wwdg.c...
.\CORE\core_cm4.h(169): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
FWLIB\src\stm32f4xx_wwdg.c: 0 warnings, 1 error
assembling stm32f4xx_fsmc.s...
.\objects\stm32f4xx_fsmc.s(1): warning: A1313W: Missing END directive at end of file
".\Objects\Asiens.axf" - 40 Error(s), 2 Warning(s).
Target not created.
Build Time Elapsed: 00:00:09
|
|