Code Monkey home page Code Monkey logo

stm8s-vqb71-clock's Introduction

GPS Clock (STM8S)

Firmware for an STM8SF003 microcontroller to show HH:MM:SS time on six VQB-71 segment displays, with accurate time from a GPS module. More project write-up, schematics, etc is available on Hackaday: VQB 71 GPS Clock.

The base of this project was ported to STM8S from my 1KB AVR GPS Clock project.

Setup

Grab the code:

git clone https://github.com/stecman/stm8s-vqb71-clock.git
cd stm8s-vqb71-clock

# Pull in SDCC compatible STM8S peripheral library
git submodule init
git submodule update

Once the toolchain below is available:

# Build
scons

# Flash through STLinkV2
scons flash

Linux Toolchain

SCons (build tool)

This should be available in your distribution's pacakage manager. It can also be installed via Python's pip package manager.

SDCC (compiler)

This project requires SDCC 3.9 or newer.

stm8flash (flashing tool)

stm8flash uses an STLink V1/V2 to program STM8 devices through their SWIM interface.

This needs to be compiled from source currently, which is simple:

git clone https://github.com/vdudouyt/stm8flash
cd stm8flash
make
sudo make install

stm8s-vqb71-clock's People

Contributors

stecman avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

atochukwu0

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.