分享
ARM Keil MDK6使用教程
输入“/”快速插入内容
👍
ARM Keil MDK6使用教程
用户5908
用户5908
用户697
用户697
2025年12月29日修改
🏝️
建议用更好用的
STM32CubeMX for VScode
截止2024年1月21日,MDK6已经完善到完全可以当主力IDE的状态,各项功能都比较完备。
但是由于ARM仍在更新完善MDK6,所以教程会有所出入,但是大体上的步骤不会有太大的变化,有太大的变化的地方本文可能会更新。
一、简介
https://www.keil.arm.com/
As flexible as you are: from cloud to desktop, from CLI to GUI, running on macOS, Linux, and Windows.
二、官方教程
https://developer.arm.com/documentation/108029/0000/Get-started-with-an-example-project
三、Linux配置MDK6环境教程
(本教程为2024年1月创建的,可能与以后的版本有些出入)
1.
需要准备的软件
1.
CubeMX最新版
2.
VScode最新版
3.
vcpkg包管理工具
4.
pyOcd(如何安装下方有教程)
5.
ST-Link驱动(如何安装下方有教程)
2.
vcpkg安装与环境配置
1.
下载依赖包
代码块
Bash
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential tar curl zip unzip
sudo apt-get install default-jre
2.
克隆vcpkg仓库
https://github.com/microsoft/vcpkg/tree/master
代码块
Bash
git clone https://github.com/microsoft/vcpkg.git
3.
生成vcpkg程序
代码块
Bash
cd vcpkg
sudo chmod a+x ./bootstrap-vcpkg.sh
sudo ./bootstrap-vcpkg.sh
4.
配置环境
代码块
Bash
vim ~/.bashrc