Development Environment
STM32 Development Environment Setup Guide
Categories:
less than a minute
Install XWOS Build Environment
Refer to XWTC Installation Guide
STM32CubeIDE
- URL: STM32CubeIDE
- On Ubuntu, JRE needs to be installed:
sudo apt install openjdk-11-jdk - Install additional debugger plugins:
- Menu:
"Help" -> "Install New Software..." -> "Add..." - Repository:
http://mirrors.ustc.edu.cn/eclipse/embed-cdt/updates/v6/ - Plugins:
J-Link Debugging: JLink + Segger’s JLinkGDBServerOpenOCD Debugging: DAPLink/JLink + OpenOCDPyOCD Debugging: DAPLink/JLink/STLink + PyOCD
- Menu:
STM32CubeMX
The .ioc files in STM32 projects need to be opened and configured using STM32CubeMX.
STM32CubeIDE is only used as a build and debug environment, not for driver configuration or source code generation.
- URL: STM32CubeMX
Rust Development Environment
STM32 supports development using the Rust language. Refer to Rust Development Environment Guide.
Rust Plugin for STM32CubeIDE
Be careful not to select the latest version of the plugin:
- Menu:
"Help" -> "Install New Software..." -> "Add..." - Repository:
http://mirrors.ustc.edu.cn/eclipse/corrosion/releases/1.2.3/ - Plugin:
Corrosion: Rust edition in Eclipse IDE