STM8 core support for Arduino
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Arduino core support for STM8 based boards

GitHub release


This repo adds the support of STM8 architecture in Arduino IDE.

This porting is based on several external components :

For now, the solution is running on Windows only.

Getting Started

This repo is available as a package usable with Arduino Boards Manager.

Use this link in the "Additional Boards Managers URLs" field:

For full instructions on using the "Boards Manager", see the Getting Started page.

For advanced user, you can use the repository: see the Using git repository page.

Boards available

Troubleshooting and known issues

Please note that this is a new core using a new compiler. You may face some issues with libraries compatibility.
We have several known issues :

  • Windows 10: Board binary may be corrupted when plugged on a Windows 10 machine. To ensure compatibility with Windows 10, please upgrade STLink with revision 2.32.22 or higher (estimated availability October 1st).
  • Endianness: STM8 microcontrollers are natively Big Endian whereas Arduino boards and STM32 microcontrollers are Little Endian. By default, some libraries don't handle endianess, therefore these won't be directly compatible with STM8 (this is the case of SD library for example).

If you have any issue, you could file an issue on Github.

If you have a question about compiler, you can also send a mail to Cosmic support : send a mail to Cosmic support