Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stecman/stm8s-vqb71-clock
Firmware for a VQB-71 digital clock fed by GPS time, driven with MAX7219
https://github.com/stecman/stm8s-vqb71-clock
firmware stm8 stm8s
Last synced: about 1 month ago
JSON representation
Firmware for a VQB-71 digital clock fed by GPS time, driven with MAX7219
- Host: GitHub
- URL: https://github.com/stecman/stm8s-vqb71-clock
- Owner: stecman
- Created: 2020-12-12T23:23:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T00:02:48.000Z (8 months ago)
- Last Synced: 2024-10-13T02:14:15.635Z (2 months ago)
- Topics: firmware, stm8, stm8s
- Language: C
- Homepage: https://hackaday.io/project/170633-vqb-71-gps-clock
- Size: 73.2 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://hackaday.io/project/170633-vqb-71-gps-clock).
The base of this project was ported to STM8S from my [1KB AVR GPS Clock](https://github.com/stecman/avr-doomclock) project.
## Setup
Grab the code:
```sh
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:
```sh
# 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](http://sdcc.sourceforge.net/) 3.9 or newer.
### stm8flash (flashing tool)
[stm8flash](https://github.com/vdudouyt/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:
```sh
git clone https://github.com/vdudouyt/stm8flash
cd stm8flash
make
sudo make install
```