一、问题描述
单片机开发,Keil打开旧工程,进行编译报错如下:
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'harmful_gas_detector'
compiling stm32f10x_can.c...
.\CMSIS\DeviceSupport\stm32f10x.h(479): error: #5: cannot open source input file "system_stm32f10x.h": No such file or directory
#include "system_stm32f10x.h"
STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c: 0 warnings, 1 error
compiling misc.c...
.\CMSIS\DeviceSupport\stm32f10x.h(479): error: #5: cannot open source input file "system_stm32f10x.h": No such file or directory
#include "system_stm32f10x.h"
STM32F10x_StdPeriph_Driver\src\misc.c: 0 warnings, 1 error
assembling startup_stm32f10x_cl.s...
compiling stm32f10x_adc.c...
.\CMSIS\DeviceSuppo