Giter Site home page Giter Site logo

stm8_samples's Introduction

Some my projects based on STM8

Developed for SDCC compiler. Here you can find some more heades under MIT license.

Directory listing

  • 1-wire
    1-wire for DS18x20 based on timer and interrupts.
  • 220controlled_socket
    Simple two-channel power socket manager with current measurement at one channel.
  • blinky
    Just blink LED.
  • client-term-8bit
    Simplest terminal client.
  • distance_meter
    Ultrasonic distance meter.
  • DRUM
    (not even started at all) Approach to toy drum.
  • led
    Work with 4-digit LED indicator.
  • LEDS_BT
    Bluetooth-management 7/8-channel LED "stars".
  • microdrill
    Microdrill management (pre-pre-alpha).
  • Noice_generator
    Waveform generator.
  • si7005
    Work with SI7005 sensor.
  • si7005_softi2c
    si7005 with soft I2C.
  • SNIPPETS
    Some snippets.
  • stepper, stepper_independent, stepper_independent_bin
    Different approaches to implementation of stepper motor control.
  • stepper_ULN2003
    Unipolar stepper control.
  • stm8l.h, stm8s.h (all the same) - header file for all projects.
  • Thermostat
    Schematic of STM8-based chinese thermostat.
  • uart_lcd5110
    Work with Nokia5110 LCD with PCD8544 controller.
  • uart_sample
    USART snippet for futher use.
  • uart_SPI
    USART/SPI gateway.
  • voltmeters
    3-,4- and 5-digit chinese "voltmeters" based on STM8: schematic and some my code for them.
  • zakwire
    Use 3-digit "voltmeter" as display for Zakwire temperature sensor.

stm8_samples's People

Contributors

eddyem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stm8_samples's Issues

port STM8 examples to "standard" headers

Hello Edward,

I stumbed accross your nice STM8 examples on Github and would like to bring a related project to your attention.

Unfortunately SDCC does not provide STM8 device headers, IAR and Cosmic each use a different syntax, and STM's SPL is not open-source. So quite often people create their own headers which are often incomplete and/or only fit a specific device - or use non-free headers from STM, IAR or Cosmic...

To overcome this and support the STM8 FOSS community, I am currently trying to establish "standard" FOSS STM8 device headers. You can find these, together with some examples, under https://github.com/gicking/STM8_headers. Current status is that the SDCC developer team is checking whether the headers should be bundled with SDCC.

These headers offer some gimmicks like optional bitfield access, but the main purpose is to establish a FOSS standard for STM8 which facilitates re-use of examples from different sources, as is common e.g. for AVR or PIC. To increase acceptance, I also provide some examples with Makefile (SDCC) and projects for Cosmic & IAR, respectively in that repository.

If you would like to support the idea of standard FOSS STM8 device headers, please consider porting your tutorials to these new headers - and spread the word. You will see from the examples in the repo that this is rather straightforward.

For your support thanks a lot in advance! Have a great day :-)

Regards,
Georg Icking-Konert (gicking)

PS: I didn't know how to contact you other than opening an issue. Sorry!

PPS: nice examples you have there :-)

Папка build

Помогите,как сделать ,что-бы многофайловый проект компилировался в папку build ?Что прописать в Makefile? На примере переменной OUTPUT_DIR=build/ .

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.