Entry point (0x08000000) points to a Thumb instruction but is not a valid Thumb code pointer.

1、菜单 project-options-linker-misc controls加入

--entry Reset_Handler --first __Vectors

2、导入startup_stm32f10x_hd.s启动文件

原文地址:https://www.cnblogs.com/zhaogaojian/p/8424358.html