https://github.com/geomatsi/stm8-tests
stm8 examples
https://github.com/geomatsi/stm8-tests
bare-metal c sdcc stm8s
Last synced: 8 months ago
JSON representation
stm8 examples
- Host: GitHub
- URL: https://github.com/geomatsi/stm8-tests
- Owner: geomatsi
- Created: 2018-01-14T13:22:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-16T20:42:19.000Z (over 8 years ago)
- Last Synced: 2025-03-30T22:46:53.595Z (about 1 year ago)
- Topics: bare-metal, c, sdcc, stm8s
- Language: Meson
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# STM8 examples
## Meson build
Example workflow:
```bash
# configure meson build
$ mkdir build
$ meson build
# list ninja targets
$ ninja -C build -t targets
stm8flash_blink.ihx: phony
openocd_blink.ihx: phony
debug_blink.ihx: phony
...
# flash stm8 chip using OpenOCD and then attach to debug
$ ninja -C build openocd_blink.ihx
$ ninja -C build debug_blink.ihx
```