Giter Site home page Giter Site logo

lhoyosm / stm8-bare-min Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lujji/stm8-bare-min

0.0 0.0 0.0 85 KB

Tiny peripheral library for STM8 microcontrolles

License: MIT License

C 96.83% Shell 0.13% Python 1.01% Makefile 0.39% Assembly 0.41% C++ 1.23%

stm8-bare-min's Introduction

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 microcontrollers. Tested with SDCC compiler only.

Code Structure

  • stm8l and stm8s contain libraries and examples for corresponding microcontroller families
  • lib contains stm8s.h or stm8l.h header with register definitions and very basic peripheral drivers
  • examples contains directories with example code

Building

Dependencies:

  1. sdcc
  2. stm8flash

Building and flashing example project:

cd ./stm8s/examples/<example>
make flash

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

SDCC Bugs

To avoid Bug #2673 it is recommended to use a recent (>=3.8) version of SDCC or to compile with --nolospre flag.

stm8-bare-min's People

Contributors

lujji avatar johschmitz avatar gicking avatar lhoyosm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.