Made the docs a bit more clear

This commit is contained in:
2025-09-25 11:55:43 +02:00
parent 7ca0c605b8
commit 3cec3eacc6

View File

@@ -18,13 +18,15 @@ tulflash example
# Compile, flash and monitor the example program:
tulflash run example.c:
# note: `tulflash run example.c` is the thing as `tulflash write --cmd "sdcc example.c" --monitor example.ihx`
# note: `tulflash run example.c` is the thing as `mkdir t"ulflash/" && tulflash write --cmd "sdcc example.c" --cmd-path "tulflash/" --monitor example.ihx`
```
If the flash fails, try to add `--slow` before `run` (should not be needed though).
## Manually flashing Intel HEX binaries
If you use an external toolchain (such as MCU8051IDE with SDCC) and only want to use this program just for flashing the generated HEX file, just run the following:
```bash
# All OSes, automatically detects the correct serial port
tulflash write <path-to-hex>