527 B
527 B
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/).
- Open a command prompt/terminal and
cdinto your home directory (c:\Users\usernameon Windows,/home/usernameon Linux). cd .platformio/platforms/libretuya/tools/uploadpython uf2upload.py my_firmware.uf2 uart COM96(replacemy_firmware.uf2with your file name andCOM96with your upload port).