Tiny peripheral library for STM8. This library was developed as a supplement to a series of blog posts while I was experimenting with STM8. Tested with SDCC compiler only.
stm8
containsstm8s.h
header with register definitions and very basic peripheral driversexamples
contains directories with example code
Dependencies:
Building example project:
cd ./examples/<example>
make flash
Uncomment --peep-file $(LIBDIR)/util/extra.def
option in the Makefile to enable additional optimizer rules.