Skip to content
gicking edited this page Jan 13, 2018 · 18 revisions

Welcome to the STM8_Templates Wiki!

This repository provides "Arduino-like" C-libraries & -templates for the STM8 8-bit microcontroller family by STMicro.

Due to its low cost and comprehensive feature set, the STM8 is quite popular as an entry point for embedded computing, as well as for cheap, simple gadgets (mainly from China). An incomplete list of STM8-based boards can be found here or here. Features range from simple breakout boards with or without debugger, to boards with Wifi, power relays or DC/DC converters. Just take your pick...

This project provides

  • function libraries for free SDCC and commercial Cosmic compilers for easy access of the STM8 peripherals
  • many example projects to show
  • Python based build-process for SDCC with automatic dependency detection. Just #include required headers (as Arduino)
  • this reference Wiki None of the above are complete yet, but work in (slow) progress. Where sensible, compatibility with Arduino has been kept in this project. However, due to focus on easy porting to new STM8 boards, and some additional software features, 100% Arduino-compatibility was not always maintained. If you seek this, please check out the sduino project.

This project does not (yet) include:

  • IDE integration for SDCC

Have fun! Georg Icking-Konert

Clone this wiki locally