发布于: 2024-2-18最后更新: 2024-9-12字数 00 分钟

type
status
date
slug
summary
tags
category
icon
password

软件下载

所需要的软件如下:
Visual Studio Code MinGW Keil5
Visual Studio Code安装 Visual Studio Code官网下载地址:https://code.visualstudio.com/
直接可以在腾讯电脑管家中的软件管家里搜索下载,速度也很快。
软件安装直接无脑下一步就可以了。
MinGW下载 这是一款编译器,Visual Studio Code中不自带编译器(在没有安装visual studio的前提下),如果没有的话会报错
下载完成后,直接解压就可以了,并记住解压路径,后期要用

汉化

软件配置 Visual Studio Code设置中文 使用快捷键
notion image
输入configure display language,选择install additional languages
notion image
选择简体中文安装
notion image
安装完成后重启软件,完成汉化
notion image

Visual Studio Code必要拓展(插件)安装

  1. Keil Assistant 在拓展搜索栏中输入Keil,找到 Keil Assistant 点击安装下载
notion image
安装完成后点击旁边的小齿轮,选择拓展设置,进入设置页面
notion image
因为我们是对STM32系列进行开发,使用的是Keil的MDK版本,因此需要在第二个文本框中输入Keil5程序的绝对路径,如下图所示 绝对路径查找方式:
Keil5软件-右键-打开文件所在的位置
复制地址并在后面加上\UV4.exe(一般情况下,以实际软件名称为准)
notion image
notion image
notion image
  1. C\C++ 同上安装 C\C++ 拓展(插件)无需配置
notion image

MinGW编译器环境配置

上文中我们已经解压好了 MinGW编译器 但此时其并不能被 VScode 所使用,需要配置环境变量
复制MinGW文件夹下 bin文件夹 的 路径 我将压缩包解压在了E盘,因此路径为 E:\mingw64\bin
notion image
右键选择我的电脑—属性—高级系统设置—环境变量
notion image
双击Path,点击新建,将复制的bin文件夹路径粘贴在其中,别忘了点击所有的确定!!
notion image

  • Giscus
  • Cusdis
  • Utterance
(1)STM32单片机快速入门课程导览
(1)STM32单片机快速入门课程导览
公告
type
status
date
slug
summary
tags
category
icon
password
🎉YOUNGQI的个人博客已经上线🎉
👏感谢您的拜访与交流学习👏
本站不收集任何信息,无安全隐患,请大家放心访问。