{"id":16616743,"url":"https://github.com/stecman/stm8s-bttf-display-driver","last_synced_at":"2026-04-21T15:02:30.193Z","repository":{"id":66224505,"uuid":"179761547","full_name":"stecman/stm8s-bttf-display-driver","owner":"stecman","description":"16-segment display driver firmware for a STM8S microcontroller","archived":false,"fork":false,"pushed_at":"2019-04-06T09:58:46.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T19:43:18.573Z","etag":null,"topics":["firmware","sdcc","stm8","stm8s"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stecman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-05T22:16:07.000Z","updated_at":"2024-01-11T13:33:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e833aae-14b2-4054-bbcc-9a4182c2adf3","html_url":"https://github.com/stecman/stm8s-bttf-display-driver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stecman%2Fstm8s-bttf-display-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stecman%2Fstm8s-bttf-display-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stecman%2Fstm8s-bttf-display-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stecman%2Fstm8s-bttf-display-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stecman","download_url":"https://codeload.github.com/stecman/stm8s-bttf-display-driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242967741,"owners_count":20214281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firmware","sdcc","stm8","stm8s"],"created_at":"2024-10-12T02:14:06.357Z","updated_at":"2026-04-21T15:02:30.154Z","avatar_url":"https://github.com/stecman.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STM8S 16-segment display driver\n\nThis is firmware for an STM8SF003 microcontroller to drive a 16-segment display as an SPI slave device in the project *[Time Circuits Time Piece](https://hackaday.io/project/19865-time-circuits-timepiece)*.\n\nPre-compiled versions of the firmware are provided on the [releases page](https://github.com/stecman/stm8s-bttf-display-driver/releases) if you don't want to compile it yourself.\n\n## Setup\n\nGrab the code:\n\n```sh\ngit clone https://github.com/stecman/stm8s-bttf-display-driver.git\ncd stm8s-bttf-display-driver\n\n# Pull in SDCC compatible STM8S peripheral library\ngit submodule init\ngit submodule update\n```\n\nOnce the toolchain below is available:\n\n```sh\n# Build\nscons\n\n# Flash through STLinkV2\nscons flash\n```\n\n## Linux Toolchain\n\n### SCons (build tool)\n\nThis should be available in your distribution's pacakage manager. It can also be installed via Python's `pip` package manager.\n\n### SDCC (compiler)\n\n[SDCC](http://sdcc.sourceforge.net/) may be available in your distro's package manager. I recommend installing from source to get the most recent release, as the Debian and Ubuntu repos can be a few versions behind:\n\n```sh\n# with Git\ngit clone https://github.com/svn2github/sdcc\n\n# or with SVN\nsvn co http://svn.code.sf.net/p/sdcc/code/trunk sdcc\n\ncd sdcc/sdcc\n./configure\nmake\nsudo make install\n```\n\n### stm8flash (flashing tool)\n\n[stm8flash](https://github.com/vdudouyt/stm8flash) uses an STLink V1/V2 to program STM8 devices through their SWIM interface.\n\nThis needs to be compiled from source currently, which is simple:\n\n```sh\ngit clone https://github.com/vdudouyt/stm8flash\ncd stm8flash\nmake\nsudo make install\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstecman%2Fstm8s-bttf-display-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstecman%2Fstm8s-bttf-display-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstecman%2Fstm8s-bttf-display-driver/lists"}