platform = ststm8
The STM8 is an 8-bit microcontroller family by STMicroelectronics an extended variant of the ST7 microcontroller architecture. STM8 microcontrollers are particularly low cost for a full-featured 8-bit microcontroller.
For more detailed information please visit vendor site.
Examples are listed from ST STM8 development platform repository:
Debugging - “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 |
---|---|---|---|---|
STM8S105C6T6 |
16MHz |
32KB |
2KB |
You can switch between stable releases of ST STM8 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 = ststm8
board = ...
; Custom stable version
[env:custom_stable]
platform = ststm8@x.y.z
board = ...
[env:upstream_develop]
platform = https://github.com/platformio/platform-ststm8.git
board = ...
Name |
Description |
---|---|
An Arduino-like programming API for the STM8 microcontrollers |
|
Standard peripheral library for ST STM8S/A microcontrollers |
|
Open On-Chip Debugger. Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing |
|
STM8 toolchain with GDB debugger |
|
Upload tools for ST STM8 microcontrollers |
|
Small Device C compiler suite |
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 ST Standard Peripheral Library provides a set of functions for handling the peripherals on the STM32 family of microcontrollers. |
Note
You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer
For more detailed board
information please scroll the tables below by
horizontally.
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
On-board |
STM8S105C6T6 |
16MHz |
32KB |
2KB |
|
No |
STM8S103F3P6 |
16MHz |
8KB |
1KB |
|
No |
STM8S105K4T6 |
16MHz |
16KB |
2KB |
Name |
Debug |
MCU |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|
No |
STM8S208MBT6 |
16MHz |
128KB |
6KB |
|
No |
STM8S105K6T6 |
16MHz |
32KB |
2KB |