platform = ststm32
The STM32 family of 32-bit Flash MCUs based on the ARM Cortex-M processor is designed to offer new degrees of freedom to MCU users. It offers a 32-bit product range that combines very high performance, real-time capabilities, digital signal processing, and low-power, low-voltage operation, while maintaining full integration and ease of development.
For more detailed information please visit vendor site.
Examples are listed from ST STM32 development platform repository:
PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.
Supported debugging tools are listed in “Debug” column. For more detailed information, please scroll table by horizontal. You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).
Warning
You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions.
Boards listed below have on-board debug probe and ARE READY for debugging! You do not need to use/buy external debug probe.
Name |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|
STM32F446VET6 |
168MHz |
512KB |
128KB |
|
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
|
STM32F412ZGT6 |
100MHz |
1MB |
256KB |
|
STM32F401RET6 |
84MHz |
512KB |
96KB |
|
STM32L476RGT6 |
80MHz |
1MB |
128KB |
|
STM32F334C8T6 |
72MHz |
64KB |
12KB |
|
STM32F401VCT6 |
84MHz |
256KB |
64KB |
|
STM32F411VET6 |
100MHz |
512KB |
128KB |
|
STM32F413ZHT6 |
100MHz |
512KB |
128KB |
|
STM32F429ZIT6 |
180MHz |
2MB |
256KB |
|
STM32F469NIH6 |
180MHz |
1MB |
384KB |
|
STM32F746NGH6 |
216MHz |
1MB |
320KB |
|
STM32F769NIH6 |
80MHz |
1MB |
512KB |
|
STM32L053C8T6 |
32MHz |
64KB |
8KB |
|
STM32L100RCT6 |
32MHz |
256KB |
16KB |
|
STM32L476VGT6 |
80MHz |
1MB |
128KB |
|
STM32L496AGI6 |
80MHz |
1MB |
320KB |
|
STM32L072CZ |
32MHz |
192KB |
20KB |
|
STM32L475VGT6 |
80MHz |
1MB |
128KB |
|
STM32F030R8T6 |
48MHz |
64KB |
8KB |
|
STM32F031K6T6 |
48MHz |
32KB |
4KB |
|
STM32F042K6T6 |
48MHz |
32KB |
6KB |
|
STM32F070RBT6 |
48MHz |
128KB |
16KB |
|
STM32F072RBT6 |
48MHz |
128KB |
16KB |
|
STM32F091RCT6 |
48MHz |
256KB |
32KB |
|
STM32F103RBT6 |
72MHz |
128KB |
20KB |
|
STM32F207ZGT6 |
120MHz |
1MB |
128KB |
|
STM32F302R8T6 |
72MHz |
64KB |
16KB |
|
STM32F303K8T6 |
72MHz |
64KB |
16KB |
|
STM32F303RET6 |
72MHz |
512KB |
64KB |
|
STM32F303ZET6 |
72MHz |
512KB |
64KB |
|
STM32F334R8T6 |
72MHz |
64KB |
16KB |
|
STM32F401RET6 |
84MHz |
512KB |
96KB |
|
STM32F410RBT6 |
100MHz |
128KB |
32KB |
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
STM32F412ZGT6 |
100MHz |
1MB |
256KB |
|
STM32F413ZHT6 |
100MHz |
512KB |
128KB |
|
STM32F429ZIT6 |
180MHz |
2MB |
256KB |
|
STM32F439ZIT6 |
180MHz |
2MB |
256KB |
|
STM32F446RET6 |
180MHz |
512KB |
128KB |
|
STM32F446ZET6 |
180MHz |
512KB |
128KB |
|
STM32F746ZGT6 |
216MHz |
1MB |
320KB |
|
STM32F756ZG |
216MHz |
1MB |
320KB |
|
STM32F767ZIT6 |
216MHz |
2MB |
512KB |
|
STM32L011K4T6 |
32MHz |
16KB |
2KB |
|
STM32L031K6T6 |
32MHz |
32KB |
8KB |
|
STM32L053R8T6 |
32MHz |
64KB |
8KB |
|
STM32L073RZ |
32MHz |
192KB |
20KB |
|
STM32L152RET6 |
32MHz |
512KB |
80KB |
|
STM32L432KCU6 |
80MHz |
256KB |
64KB |
|
STM32L433RC |
80MHz |
256KB |
64KB |
|
STM32L476RGT6 |
80MHz |
1MB |
128KB |
|
STM32L476RGT6 |
80MHz |
1MB |
128KB |
|
STM32L496ZGT6 |
80MHz |
1MB |
128KB |
|
STM32L496ZGT6P |
80MHz |
1MB |
320KB |
|
STM32L4R5ZIT6 |
120MHz |
2MB |
640KB |
|
STM32F030R8T6 |
48MHz |
64KB |
8KB |
|
STM32F051R8T6 |
48MHz |
64KB |
8KB |
|
STM32F303VCT6 |
72MHz |
256KB |
48KB |
|
STM32F407VGT6 |
168MHz |
1MB |
192KB |
|
STM32L073VZT6 |
32MHz |
192KB |
20KB |
|
STM32L152RBT6 |
32MHz |
128KB |
16KB |
|
STM32F100RBT6 |
24MHz |
128KB |
8KB |
|
STM32L476JG |
80MHz |
1MB |
128KB |
|
STM32F407VET6 |
168MHz |
512KB |
192KB |
|
STM32F439VI |
180MHz |
2MB |
256KB |
|
STM32F437VG |
180MHz |
1MB |
256KB |
Boards listed below are compatible with PIO Unified Debugger but DEPEND ON external debug probe. They ARE NOT READY for debugging. Please click on board name for the further details.
Name |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|
STM32F415RGT |
168MHz |
1MB |
128KB |
|
STM32F417VGT6 |
168MHz |
1MB |
192KB |
|
STM32F427VIT6 |
168MHz |
1.99MB |
256KB |
|
STM32F407VET6 |
168MHz |
512KB |
192KB |
|
STM32F103C8T6 |
72MHz |
64KB |
20KB |
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
STM32F103RBT6 |
72MHz |
108KB |
17KB |
|
STM32F103RET6 |
72MHz |
256KB |
48KB |
|
STM32F103CBT6 |
72MHz |
120KB |
20KB |
|
STM32F103CBT6 |
72MHz |
108KB |
17KB |
|
STM32F103CBT6 |
72MHz |
105.47KB |
16.60KB |
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
STM32L151CCU6 |
32MHz |
256KB |
32KB |
|
STM32L152RC |
32MHz |
256KB |
32KB |
|
STM32F103C8T6 |
72MHz |
64KB |
20KB |
|
STM32F103CBT6 |
72MHz |
128KB |
20KB |
|
STM32F103R8T6 |
72MHz |
64KB |
20KB |
|
STM32F103RBT6 |
72MHz |
128KB |
20KB |
|
STM32F103RCT6 |
72MHz |
256KB |
48KB |
|
STM32F103RET6 |
72MHz |
512KB |
64KB |
|
STM32F103T8T6 |
72MHz |
20KB |
64KB |
|
STM32F103TBT6 |
72MHz |
128KB |
20KB |
|
STM32F103VBT6 |
72MHz |
128KB |
20KB |
|
STM32F103VCT6 |
72MHz |
256KB |
48KB |
|
STM32F103VDT6 |
72MHz |
384KB |
64KB |
|
STM32F103VET6 |
72MHz |
512KB |
64KB |
|
STM32F103ZCT6 |
72MHz |
256KB |
48KB |
|
STM32F103ZDT6 |
72MHz |
384KB |
64KB |
|
STM32F103ZET6 |
72MHz |
512KB |
64KB |
|
STM32F407VET6 |
168MHz |
502.23KB |
128KB |
|
STM32F407VGT6 |
168MHz |
1MB |
192KB |
|
STM32F437VG |
180MHz |
1MB |
256KB |
|
STM32F437VG |
180MHz |
1MB |
256KB |
|
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
|
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
You can switch between stable releases of ST STM32 development platform and the latest upstream version using platform option in “platformio.ini” (Project Configuration File) as described below.
; Latest stable version
[env:latest_stable]
platform = ststm32
board = ...
; Custom stable version
[env:custom_stable]
platform = ststm32@x.y.z
board = ...
[env:upstream_develop]
platform = https://github.com/platformio/platform-ststm32.git
board = ...
Name |
Description |
---|---|
Arduino Wiring-based Framework (ST STM32 MXChip Core) |
|
Arduino Wiring-based Framework (STM32 Core) |
|
Vendor-independent hardware abstraction layer for the Cortex-M processor series |
|
libOpenCM3 Framework |
|
mbed Framework |
|
Standard Peripheral Library for STM32 MCUs |
|
STM32Cube embedded software libraries |
|
OpenOCD |
|
ST-Link |
|
STM32Duino Tools |
|
gcc-arm-embedded |
Warning
Linux Users:
Install “udev” rules 99-platformio-udev.rules
Raspberry Pi users, please read this article Enable serial port on Raspberry Pi.
Windows Users:
Please check that you have a correctly installed USB driver from board manufacturer
Name |
Description |
---|---|
Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences. |
|
The ARM Cortex Microcontroller Software Interface Standard (CMSIS) is a vendor-independent hardware abstraction layer for the Cortex-M processor series and specifies debugger interfaces. The CMSIS enables consistent and simple software interfaces to the processor for interface peripherals, real-time operating systems, and middleware. It simplifies software re-use, reducing the learning curve for new microcontroller developers and cutting the time-to-market for devices. |
|
The libOpenCM3 framework aims to create a free/libre/open-source firmware library for various ARM Cortex-M0(+)/M3/M4 microcontrollers, including ST STM32, Ti Tiva and Stellaris, NXP LPC 11xx, 13xx, 15xx, 17xx parts, Atmel SAM3, Energy Micro EFM32 and others. |
|
The mbed framework The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community. |
|
The ST Standard Peripheral Library provides a set of functions for handling the peripherals on the STM32 Cortex-M3 family. The idea is to save the user (the new user, in particular) having to deal directly with the registers. |
|
STM32Cube embedded software libraries, including: The HAL hardware abstraction layer, enabling portability between different STM32 devices via standardized API calls; The Low-Layer (LL) APIs, a light-weight, optimized, expert oriented set of APIs designed for both performance and runtime efficiency. |
Note
You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer
For more detailed board
information please scroll tables below by
horizontal.
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
STM32F415RGT |
168MHz |
1MB |
128KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
STM32F446VET6 |
168MHz |
512KB |
128KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
STM32F417VGT6 |
168MHz |
1MB |
192KB |
|
External |
STM32F427VIT6 |
168MHz |
1.99MB |
256KB |
|
External |
STM32F407VET6 |
168MHz |
512KB |
192KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
STM32L476JG |
80MHz |
1MB |
128KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
STM32F411RET6 |
100MHz |
512KB |
128KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
STM32F103C8T6 |
72MHz |
64KB |
20KB |
|
External |
STM32F103C8T6 |
72MHz |
64KB |
20KB |
|
External |
STM32F103CBT6 |
72MHz |
128KB |
20KB |
|
External |
STM32F103R8T6 |
72MHz |
64KB |
20KB |
|
External |
STM32F103RBT6 |
72MHz |
128KB |
20KB |
|
External |
STM32F103RCT6 |
72MHz |
256KB |
48KB |
|
External |
STM32F103RET6 |
72MHz |
512KB |
64KB |
|
External |
STM32F103T8T6 |
72MHz |
20KB |
64KB |
|
External |
STM32F103TBT6 |
72MHz |
128KB |
20KB |
|
External |
STM32F103VBT6 |
72MHz |
128KB |
20KB |
|
External |
STM32F103VCT6 |
72MHz |
256KB |
48KB |
|
External |
STM32F103VDT6 |
72MHz |
384KB |
64KB |
|
External |
STM32F103VET6 |
72MHz |
512KB |
64KB |
|
External |
STM32F103ZCT6 |
72MHz |
256KB |
48KB |
|
External |
STM32F103ZDT6 |
72MHz |
384KB |
64KB |
|
External |
STM32F103ZET6 |
72MHz |
512KB |
64KB |
|
External |
STM32F407VET6 |
168MHz |
502.23KB |
128KB |
|
External |
STM32F407VGT6 |
168MHz |
1MB |
192KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
STM32F103RBT6 |
72MHz |
108KB |
17KB |
|
External |
STM32F103RET6 |
72MHz |
256KB |
48KB |
|
External |
STM32F103CBT6 |
72MHz |
120KB |
20KB |
|
External |
STM32F103CBT6 |
72MHz |
108KB |
17KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
STM32F412ZGT6 |
100MHz |
1MB |
256KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
STM32F103CBT6 |
72MHz |
105.47KB |
16.60KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
External |
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
External |
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
External |
STM32L151CCU6 |
32MHz |
256KB |
32KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
STM32F401RET6 |
84MHz |
512KB |
96KB |
|
On-board |
STM32L476RGT6 |
80MHz |
1MB |
128KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
STM32F334C8T6 |
72MHz |
64KB |
12KB |
|
On-board |
STM32F401VCT6 |
84MHz |
256KB |
64KB |
|
On-board |
STM32F411VET6 |
100MHz |
512KB |
128KB |
|
On-board |
STM32F413ZHT6 |
100MHz |
512KB |
128KB |
|
On-board |
STM32F429ZIT6 |
180MHz |
2MB |
256KB |
|
On-board |
STM32F469NIH6 |
180MHz |
1MB |
384KB |
|
On-board |
STM32F746NGH6 |
216MHz |
1MB |
320KB |
|
On-board |
STM32F769NIH6 |
80MHz |
1MB |
512KB |
|
On-board |
STM32L053C8T6 |
32MHz |
64KB |
8KB |
|
On-board |
STM32L100RCT6 |
32MHz |
256KB |
16KB |
|
On-board |
STM32L476VGT6 |
80MHz |
1MB |
128KB |
|
On-board |
STM32L496AGI6 |
80MHz |
1MB |
320KB |
|
On-board |
STM32L072CZ |
32MHz |
192KB |
20KB |
|
On-board |
STM32L475VGT6 |
80MHz |
1MB |
128KB |
|
On-board |
STM32F030R8T6 |
48MHz |
64KB |
8KB |
|
On-board |
STM32F031K6T6 |
48MHz |
32KB |
4KB |
|
On-board |
STM32F042K6T6 |
48MHz |
32KB |
6KB |
|
On-board |
STM32F070RBT6 |
48MHz |
128KB |
16KB |
|
On-board |
STM32F072RBT6 |
48MHz |
128KB |
16KB |
|
On-board |
STM32F091RCT6 |
48MHz |
256KB |
32KB |
|
On-board |
STM32F103RBT6 |
72MHz |
128KB |
20KB |
|
On-board |
STM32F207ZGT6 |
120MHz |
1MB |
128KB |
|
On-board |
STM32F302R8T6 |
72MHz |
64KB |
16KB |
|
On-board |
STM32F303K8T6 |
72MHz |
64KB |
16KB |
|
On-board |
STM32F303RET6 |
72MHz |
512KB |
64KB |
|
On-board |
STM32F303ZET6 |
72MHz |
512KB |
64KB |
|
On-board |
STM32F334R8T6 |
72MHz |
64KB |
16KB |
|
On-board |
STM32F401RET6 |
84MHz |
512KB |
96KB |
|
On-board |
STM32F410RBT6 |
100MHz |
128KB |
32KB |
|
On-board |
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
On-board |
STM32F412ZGT6 |
100MHz |
1MB |
256KB |
|
On-board |
STM32F413ZHT6 |
100MHz |
512KB |
128KB |
|
On-board |
STM32F429ZIT6 |
180MHz |
2MB |
256KB |
|
On-board |
STM32F439ZIT6 |
180MHz |
2MB |
256KB |
|
On-board |
STM32F446RET6 |
180MHz |
512KB |
128KB |
|
On-board |
STM32F446ZET6 |
180MHz |
512KB |
128KB |
|
On-board |
STM32F746ZGT6 |
216MHz |
1MB |
320KB |
|
On-board |
STM32F756ZG |
216MHz |
1MB |
320KB |
|
On-board |
STM32F767ZIT6 |
216MHz |
2MB |
512KB |
|
On-board |
STM32L011K4T6 |
32MHz |
16KB |
2KB |
|
On-board |
STM32L031K6T6 |
32MHz |
32KB |
8KB |
|
On-board |
STM32L053R8T6 |
32MHz |
64KB |
8KB |
|
On-board |
STM32L073RZ |
32MHz |
192KB |
20KB |
|
On-board |
STM32L152RET6 |
32MHz |
512KB |
80KB |
|
On-board |
STM32L432KCU6 |
80MHz |
256KB |
64KB |
|
On-board |
STM32L433RC |
80MHz |
256KB |
64KB |
|
On-board |
STM32L476RGT6 |
80MHz |
1MB |
128KB |
|
On-board |
STM32L476RGT6 |
80MHz |
1MB |
128KB |
|
On-board |
STM32L496ZGT6 |
80MHz |
1MB |
128KB |
|
On-board |
STM32L496ZGT6P |
80MHz |
1MB |
320KB |
|
On-board |
STM32L4R5ZIT6 |
120MHz |
2MB |
640KB |
|
On-board |
STM32F030R8T6 |
48MHz |
64KB |
8KB |
|
On-board |
STM32F051R8T6 |
48MHz |
64KB |
8KB |
|
On-board |
STM32F303VCT6 |
72MHz |
256KB |
48KB |
|
On-board |
STM32F407VGT6 |
168MHz |
1MB |
192KB |
|
On-board |
STM32L073VZT6 |
32MHz |
192KB |
20KB |
|
On-board |
STM32L152RBT6 |
32MHz |
128KB |
16KB |
|
On-board |
STM32F100RBT6 |
24MHz |
128KB |
8KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
STM32F407VET6 |
168MHz |
512KB |
192KB |
|
On-board |
STM32F439VI |
180MHz |
2MB |
256KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
External |
STM32L152RC |
32MHz |
256KB |
32KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
|
External |
STM32F437VG |
180MHz |
1MB |
256KB |
|
On-board |
STM32F437VG |
180MHz |
1MB |
256KB |
|
External |
STM32F437VG |
180MHz |
1MB |
256KB |
|
External |
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
|
External |
STM32F439ZIY6 |
168MHz |
2MB |
256KB |