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 options.
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 tool and ARE READY for debugging! You do not need to use/buy external debug tool.
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F446VET6 |
168MHz |
512KB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F401RET6 |
84MHz |
512KB |
96KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L476RGT6 |
80MHz |
1MB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F030R8T6 |
48MHz |
64KB |
8KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F051R8T6 |
48MHz |
64KB |
8KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F100RBT6 |
24MHz |
128KB |
8KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F303VCT6 |
72MHz |
256KB |
48KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F334C8T6 |
72MHz |
64KB |
12KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F401VCT6 |
84MHz |
256KB |
64KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F407VGT6 |
168MHz |
1MB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F411VET6 |
100MHz |
512KB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F413ZHT6 |
100MHz |
512KB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F429ZIT6 |
180MHz |
2MB |
256KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F469NIH6 |
180MHz |
1MB |
384KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F746NGH6 |
216MHz |
1MB |
320KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F769NIH6 |
80MHz |
1MB |
512KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L053C8T6 |
32MHz |
64KB |
8KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L072CZ |
32MHz |
192KB |
20KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L152RBT6 |
32MHz |
128KB |
16KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L475VGT6 |
80MHz |
1MB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L476VGT6 |
80MHz |
1MB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L073VZT6 |
32MHz |
192KB |
20KB |
|
|
CMSIS-DAP (on-board), Black Magic Probe, J-LINK, ST-LINK |
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F412ZGT6 |
100MHz |
1MB |
256KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F030R8T6 |
48MHz |
64KB |
8KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F031K6T6 |
48MHz |
32KB |
4KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F042K6T6 |
48MHz |
32KB |
6KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F070RBT6 |
48MHz |
128KB |
16KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F072RBT6 |
48MHz |
128KB |
16KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F091RCT6 |
48MHz |
256KB |
32KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F103RBT6 |
72MHz |
128KB |
20KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F207ZGT6 |
120MHz |
1MB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F302R8T6 |
72MHz |
64KB |
16KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F303K8T6 |
72MHz |
64KB |
16KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F303RET6 |
72MHz |
512KB |
64KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F303ZET6 |
72MHz |
512KB |
64KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F334R8T6 |
72MHz |
64KB |
16KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F401RET6 |
84MHz |
512KB |
96KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F410RBT6 |
100MHz |
128KB |
32KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F412ZGT6 |
100MHz |
1MB |
256KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F413ZHT6 |
100MHz |
512KB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F429ZIT6 |
180MHz |
2MB |
256KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F446RET6 |
180MHz |
512KB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F446ZET6 |
180MHz |
512KB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F746ZGT6 |
216MHz |
1MB |
320KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F767ZIT6 |
216MHz |
2MB |
512KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L011K4T6 |
32MHz |
16KB |
2KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L031K6T6 |
32MHz |
32KB |
8KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L053R8T6 |
32MHz |
64KB |
8KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L073RZ |
32MHz |
192KB |
20KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L152RET6 |
32MHz |
512KB |
80KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L432KCU6 |
80MHz |
256KB |
64KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L476RGT6 |
80MHz |
1MB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32L496ZGT6 |
80MHz |
1MB |
128KB |
|
|
ST-LINK (default, on-board), Black Magic Probe, J-LINK |
STM32F407VET6 |
168MHz |
512KB |
192KB |
Boards listed below are compatible with PIO Unified Debugger but DEPEND ON external debug tool. See “Debug” column for compatible debug tools.
ID |
Name |
Debug |
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 |
||
|
Black Magic Probe, J-LINK, ST-LINK (default) |
STM32F411RET6 |
100MHz |
512KB |
128KB |
|
|
STM32F103C8T6 |
72MHz |
64KB |
20KB |
||
|
STM32F103CBT6 |
72MHz |
128KB |
20KB |
||
|
STM32F103R8T6 |
72MHz |
64KB |
20KB |
||
|
STM32F103RBT6 |
72MHz |
128KB |
20KB |
||
|
STM32F103RCT6 |
72MHz |
256KB |
48KB |
||
|
STM32F103RET6 |
72MHz |
512KB |
64KB |
||
|
STM32F103VCT6 |
72MHz |
256KB |
48KB |
||
|
STM32F103VET6 |
72MHz |
512KB |
64KB |
||
|
STM32F407VET6 |
168MHz |
502.23KB |
128KB |
||
|
STM32F103RBT6 |
72MHz |
108KB |
17KB |
||
|
STM32F103CBT6 |
72MHz |
120KB |
20KB |
||
|
STM32F103CBT6 |
72MHz |
108KB |
17KB |
||
|
STM32L152RC |
32MHz |
256KB |
32KB |
||
|
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
||
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
||
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
||
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
||
|
STM32F437VG |
180MHz |
1MB |
256KB |
||
|
STM32F437VG |
180MHz |
1MB |
256KB |
||
|
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
||
|
STM32L151CCU6 |
32MHz |
256KB |
32KB |
You can switch between stable releases of ST STM32 development platform and the latest upstream version using platform option in Project Configuration File platformio.ini 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.
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F415RGT |
168MHz |
1MB |
128KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F446VET6 |
168MHz |
512KB |
128KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F417VGT6 |
168MHz |
1MB |
192KB |
||
|
STM32F427VIT6 |
168MHz |
1.99MB |
256KB |
||
|
STM32F407VET6 |
168MHz |
512KB |
192KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F103C8T6 |
72MHz |
64KB |
20KB |
||
|
STM32F103C8T6 |
72MHz |
64KB |
20KB |
||
|
STM32F103CBT6 |
72MHz |
128KB |
20KB |
||
|
STM32F103R8T6 |
72MHz |
64KB |
20KB |
||
|
STM32F103RBT6 |
72MHz |
128KB |
20KB |
||
|
STM32F103RCT6 |
72MHz |
256KB |
48KB |
||
|
STM32F103RET6 |
72MHz |
512KB |
64KB |
||
|
STM32F103VCT6 |
72MHz |
256KB |
48KB |
||
|
STM32F103VET6 |
72MHz |
512KB |
64KB |
||
|
STM32F407VET6 |
168MHz |
502.23KB |
128KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F103RBT6 |
72MHz |
108KB |
17KB |
||
|
STM32F103CBT6 |
72MHz |
120KB |
20KB |
||
|
STM32F103CBT6 |
72MHz |
108KB |
17KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F412ZGT6 |
100MHz |
1MB |
256KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
||
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
||
|
STM32F411RET6 |
100MHz |
512KB |
128KB |
||
|
STM32L151CCU6 |
32MHz |
256KB |
32KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F401RET6 |
84MHz |
512KB |
96KB |
||
|
STM32L476RGT6 |
80MHz |
1MB |
128KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F030R8T6 |
48MHz |
64KB |
8KB |
||
|
STM32F051R8T6 |
48MHz |
64KB |
8KB |
||
|
STM32F100RBT6 |
24MHz |
128KB |
8KB |
||
|
STM32F303VCT6 |
72MHz |
256KB |
48KB |
||
|
STM32F334C8T6 |
72MHz |
64KB |
12KB |
||
|
STM32F401VCT6 |
84MHz |
256KB |
64KB |
||
|
STM32F407VGT6 |
168MHz |
1MB |
128KB |
||
|
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 |
||
|
STM32L072CZ |
32MHz |
192KB |
20KB |
||
|
STM32L152RBT6 |
32MHz |
128KB |
16KB |
||
|
STM32L475VGT6 |
80MHz |
1MB |
128KB |
||
|
STM32L476VGT6 |
80MHz |
1MB |
128KB |
||
|
STM32L073VZT6 |
32MHz |
192KB |
20KB |
||
|
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 |
||
|
STM32F446RET6 |
180MHz |
512KB |
128KB |
||
|
STM32F446ZET6 |
180MHz |
512KB |
128KB |
||
|
STM32F746ZGT6 |
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 |
||
|
STM32L476RGT6 |
80MHz |
1MB |
128KB |
||
|
STM32L496ZGT6 |
80MHz |
1MB |
128KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F407VET6 |
168MHz |
512KB |
192KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32L152RC |
32MHz |
256KB |
32KB |
ID |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|
|
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
||
|
STM32F439ZIY6 |
168MHz |
2MB |
256KB |
||
|
STM32F437VG |
180MHz |
1MB |
256KB |
||
|
STM32F437VG |
180MHz |
1MB |
256KB |
||
|
STM32F439ZIY6 |
168MHz |
2MB |
256KB |