MATLAB2025-安装Embedded Code Support Pacjage for STM32 Processors
MATLAB2025-安装Embedded Code Support Pacjage for STM32 Processors
软件版本
MATLAB R2025a
Windows 10 专业版
安装步骤
- 确认选择, 启动安装

- 接受软件许可协议

- 下载安装

- 额外的硬件设置

- 选择STM32 MCUs Family
- 这里我选择
STM32F1xx
、STM32F4xx

- 安装第三方工具
- 安装过程中网速起
- 等待安装完成


- 第三方工具安装完成

- 安装 Armclang编译器
- 找到我之前安装
Keil
时的路径 D:\Keil_v5\ARM\ARMCLANG\bin
- 版本查看
-

- 提示工具链兼容问题
- 继续点击下一步

STM32Cube Tools version 6.16 selected hasn't been tested with this support package. Use it at your own risk or switch to version 6.14.1 tested with the product.
- 安装STM32CubeMX
- 找到我的本机安装路径

"STM32CubeMX" version 6.14.1 is detected instead of the recommended version 6.12.0. "STM32CubeMX" versions other than 6.12.0 may introduce incompatibilities. Download and install "STM32CubeMX" version 6.12.0 to avoid incompatibilities or use "STM32CubeMX" version 6.14.1 at your own risk.
- 安装STM32CubeProgrammer
- 找到我的本机安装路径

"STM32CubeProgrammer" version 2.20.0 is detected instead of the recommended version 2.17.0. "STM32CubeProgrammer" versions other than 2.17.0 may introduce incompatibilities. Download and install "STM32CubeProgrammer" version 2.17.0 to avoid incompatibilities or use "STM32CubeProgrammer" version 2.20.0 at your own risk.
- 选择固件库存放位置
D:\Users\bushuo\STM32Cube\Repository\

- 安装固件库
- 等待安装完成

- 保持网络通畅
-
- 固件包安装过程中的确认

- 固件库安装完成

- 安装完成界面

- 刚才安装好的固件库

相关资源学习链接
STMicroelectronics STM32 处理器
参考链接
初学者一次性成功搭建STM32-Simulink开发环境_哔哩哔哩_bilibili