Added example program

This commit is contained in:
2025-09-18 14:03:44 +02:00
parent 3410a9a95b
commit f6b63b2da9
2 changed files with 373 additions and 0 deletions

View File

@@ -26,3 +26,12 @@ If the flash fails, try to add `--slow` before the `--port` argument (should not
The tool also allows reading and erasing the chip, figure that out on your own if you need that (although `tulflash --help` might guide you if you ask it nicely).
## Example program
You'll need to clone this repo (or just [download the file](example.c)) and install SDCC:
```
sdcc example.c
tulflash --port ... write example.ihx
```