目录
- NO1. stm32f10x.h(383): error: #67: expected a "}"
- NO2. stm32f10x.h(478): error: #5: cannot open source input file "core_cm3.h"
- NO3. error: #5:cannot open source input file "DHT.h": No such file or directory
- NO4. 串口调试接收数据总为0
- NO5. Error: L6218E: Undefined symbol assert_param (referred from misc.o).
- NO6. Keil自带逻辑分析仿真器的使用(Logic Analyzer)
NO1. stm32f10x.h(383): error: #67: expected a “}”
将STM32F10X_XL改为STM32F103_XL
根据自己的flash改(我用的stm32f103zet6 所以要用XL)
NO2. stm32f10x.h(478): error: #5: cannot open source input file “core_cm3.h”
先检查一下,最好不要把项目放在桌面,不支持路径含有中文。(笔者重新创建不在桌面的项目就不报错了)