[docs] Add remaining config options, add warning about latest version

This commit is contained in:
Kuba Szczodrzyński
2022-09-15 11:47:25 +02:00
parent 7fe9a114b7
commit b8eee999e2
10 changed files with 45 additions and 14 deletions

View File

@@ -1,5 +1,4 @@
It is possible to upload firmware binaries manually, using the provided command-line tool `uf2upload`. For this, you need the `.uf2` file generated after compilation (usually found in `.pio/build/my_board/`).
It is possible to upload firmware binaries manually, using the command-line tool `ltchiptool`. For this, you need the `.uf2` file generated after compilation (usually found in `.pio/build/my_board/`).
1. Open a command prompt/terminal and `cd` into your home directory (`c:\Users\username` on Windows, `/home/username` on Linux).
2. `cd .platformio/platforms/libretuya/tools/upload`
3. `python uf2upload.py my_firmware.uf2 uart COM96` (replace `my_firmware.uf2` with your file name and `COM96` with your upload port).
1. Install Python. Afterwards, run `pip install ltchiptool`.
2. `ltchiptool uf2 upload my_firmware.uf2 uart COM96` (replace `my_firmware.uf2` with your file name and `COM96` with your upload port).