这边软件使用的是Keil5,主要介绍一下使用的一些注意事项。
创建工程部分:
创建工程方式有两种:使用Keil创建工程模板、 使用STM32CubeMX
新建一个工程
1.新建一个文件,添加文件:
DOC工程说明
doc说明文档

Libraries固件库
cmsis内核文件
FWLIB外设文件
start_up启动文件



Project工程文件
keil工程

User应用程序
应用程序

2.Keil里面新建文件
START_UP 启动文件
USER 应用程序
CMSIS 内核配置相关文件
DOC 说明文档
FWLIB 外设相关配置

烧录部分:
1.使用串口烧录
必须安装CH340驱动

在文件管理器中查看,如下图即为安装成功

我们可以使用Flymcu进行串口烧录

注意事项:

2.使用STlink烧录



如果出现ST-LINK USB communication error可使用下面链接的方法解决