-
Notifications
You must be signed in to change notification settings - Fork 1
Initial Tools
Cristian Cruz edited this page Nov 23, 2023
·
1 revision
- Download the installer on stm32CubeProgrammer.
- This also includes the stm32CubeCLT (Command Line Tool) internally.
- Run the installer (the file ending with
.linux) and accept all default options. - To use the executable icon to launch the program, right-click it and select
Allow Launching. - Running the executable should successfully yield the following window:

Add the CLT to your environment paths. Open the file that runs everytime a Linux terminal is booted.
nano .bashrc
At the bottom of the file, add the following line to add the binaries to your paths. Then, save and close the file.
- When using
nanoto edit the file, pressctrl+ofollowed byenterto write to the file, thenctrl+xto exit.
export PATH=$HOME/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin:$PATH
Test that the following command works in a new terminal session:
STM32_Programmer_CLI --h
If successful, you should expect the following output:

(c) 2022 Dallas Formula Racing - Embedded Firmware Team • Home • Formula SAE International Collegiate Chapter
Developer's Guide
- Install Dependencies
- Running the Starter Package
- Running the Developer Package
- Microprocessor (Arm Cortex-A7)
- Microcontroller (Arm Cortex-M4)
- Build, Flash, and Debug
- Viewing Serial Output
- Branch Naming Convention
- Style Guide
- Unit Testing
- Environment Troubleshooting
Firmware Design
Components