当前位置:   article > 正文

单片机开发,Keil打开旧工程,进行编译报错:error: #5: cannot open source input file “system_stm32f10x.h“: No such file_error: #5: cannot open source input file "stm32f10

error: #5: cannot open source input file "stm32f10x.h": no such file or dire

一、问题描述

单片机开发,Keil打开旧工程,进行编译报错如下:

  1. *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
  2. Rebuild target 'harmful_gas_detector'
  3. compiling stm32f10x_can.c...
  4. .\CMSIS\DeviceSupport\stm32f10x.h(479): error: #5: cannot open source input file "system_stm32f10x.h": No such file or directory
  5. #include "system_stm32f10x.h"
  6. STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c: 0 warnings, 1 error
  7. compiling misc.c...
  8. .\CMSIS\DeviceSupport\stm32f10x.h(479): error: #5: cannot open source input file "system_stm32f10x.h": No such file or directory
  9. #include "system_stm32f10x.h"
  10. STM32F10x_StdPeriph_Driver\src\misc.c: 0 warnings, 1 error
  11. assembling startup_stm32f10x_cl.s...
  12. compiling stm32f10x_adc.c...
  13. .\CMSIS\DeviceSupport\stm32f10x.h(479): error: #5: cannot open source input file "system_stm32f10x.h": No such file or directory
  14. #i
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/989022
推荐阅读
相关标签
  

闽ICP备14008679号