Skip to content

1nd1g0/stm8-bare-min

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

stm8-bare-min

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.

Code Structure

  • stm8 contains stm8s.h header with register definitions and very basic peripheral drivers
  • examples contains directories with example code

Building

Dependencies:

  1. sdcc
  2. stm8flash

Building example project:

cd ./examples/<example>
make flash

Uncomment --peep-file $(LIBDIR)/util/extra.def option in the Makefile to enable additional optimizer rules.

About

Tiny peripheral library for STM8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.5%
  • Python 7.1%
  • Shell 0.4%