Arduino core support for STM8 based boards
This repo adds the support of STM8 architecture in Arduino IDE.
This porting is based on several external components :
- STMicroelectronics Standard Peripheral Libraries (SPL)
- Cosmic compiler, allowing to compile c++ source code on stm8 family (http://www.cosmic-software.com/)
For now, the solution is running on Windows only.
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.
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