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.
stm8containsstm8s.hheader with register definitions and very basic peripheral driversexamplescontains 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.