创建固件库工程模板时出现的问题

2019-07-21 01:03发布

*** Using Compiler 'V5.06 (build 20)', folder: 'D:MyProgramKeil_v5ARMARMCCBin'
Build target 'Template'
compiling stm32f4xx_it.c...
stm32f4xx.h(470): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
stm32f4xx_it.c: 0 warnings, 1 error
compiling system_stm32f4xx.c...
stm32f4xx.h(470): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
system_stm32f4xx.c: 0 warnings, 1 error
compiling main.c...
stm32f4xx.h(470): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
main.c: 0 warnings, 1 error
compiling stm32f4xx_can.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_can.c: 0 warnings, 1 error
compiling misc.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcmisc.c: 0 warnings, 1 error
compiling stm32f4xx_adc.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_adc.c: 0 warnings, 1 error
compiling stm32f4xx_cryp.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_cryp.c: 0 warnings, 1 error
compiling stm32f4xx_crc.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_crc.c: 0 warnings, 1 error
compiling stm32f4xx_cryp_aes.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_cryp_aes.c: 0 warnings, 1 error
compiling stm32f4xx_cryp_tdes.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_cryp_tdes.c: 0 warnings, 1 error
compiling stm32f4xx_cryp_des.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_cryp_des.c: 0 warnings, 1 error
compiling stm32f4xx_dac.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_dac.c: 0 warnings, 1 error
compiling stm32f4xx_dcmi.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_dcmi.c: 0 warnings, 1 error
compiling stm32f4xx_dbgmcu.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_dbgmcu.c: 0 warnings, 1 error
compiling stm32f4xx_dma.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_dma.c: 0 warnings, 1 error
compiling stm32f4xx_exti.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_exti.c: 0 warnings, 1 error
compiling stm32f4xx_dma2d.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_dma2d.c: 0 warnings, 1 error
compiling stm32f4xx_flash.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_flash.c: 0 warnings, 1 error
compiling stm32f4xx_fsmc.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_fsmc.c: 0 warnings, 1 error
compiling stm32f4xx_flash_ramfunc.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_flash_ramfunc.c: 0 warnings, 1 error
compiling stm32f4xx_gpio.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_gpio.c: 0 warnings, 1 error
compiling stm32f4xx_hash_md5.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_hash_md5.c: 0 warnings, 1 error
compiling stm32f4xx_hash.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_hash.c: 0 warnings, 1 error
compiling stm32f4xx_hash_sha1.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_hash_sha1.c: 0 warnings, 1 error
compiling stm32f4xx_i2c.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_i2c.c: 0 warnings, 1 error
compiling stm32f4xx_iwdg.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_iwdg.c: 0 warnings, 1 error
compiling stm32f4xx_ltdc.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_ltdc.c: 0 warnings, 1 error
compiling stm32f4xx_rcc.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_rcc.c: 0 warnings, 1 error
compiling stm32f4xx_pwr.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_pwr.c: 0 warnings, 1 error
compiling stm32f4xx_rng.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_rng.c: 0 warnings, 1 error
compiling stm32f4xx_rtc.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_rtc.c: 0 warnings, 1 error
compiling stm32f4xx_sdio.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_sdio.c: 0 warnings, 1 error
compiling stm32f4xx_sai.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_sai.c: 0 warnings, 1 error
compiling stm32f4xx_spi.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_spi.c: 0 warnings, 1 error
compiling stm32f4xx_tim.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_tim.c: 0 warnings, 1 error
compiling stm32f4xx_syscfg.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_syscfg.c: 0 warnings, 1 error
compiling stm32f4xx_usart.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_usart.c: 0 warnings, 1 error
compiling stm32f4xx_wwdg.c...
D:MyProgramKeil_v5ARMPACKKeilSTM32F4xx_DFP1.0.8DeviceIncludestm32f4xx.h(468): error:  #5: cannot open source input file "core_cm4.h": No such file or directory
  #include "core_cm4.h"             /* Cortex-M4 processor and core peripherals */
..FWLIBsrcstm32f4xx_wwdg.c: 0 warnings, 1 error
"..OBJTemplate.axf" - 38 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:06


友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。