/Arduino_Core_STM8

STM8 core support for Arduino

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Arduino core support for STM8 based boards

GitHub release

Introduction

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:

https://github.com/stm32duino/BoardManagerFiles/raw/master/STM8/package_stm8_index.json

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