811 B
811 B
title | date | draft | description | tags | ||
---|---|---|---|---|---|---|
Firmware Upload | 2025-01-27 | false | a description |
|
Prebuild
- Download image from
- todo something espflash tool here
From source
Preconditions
- rustup with current version
- espup with current version
- npm /npx
- Connect the board via usb to the computer
- Ensure the esp is running (eg not in deepsleep if prior version was installed)
Compiling and uploading
- Clone the gitea
- go to the rust/src_webroot
- npm -i
- cd ..
- cargo run
Depending on the setup of the cargo runner, either a OTA image is build or the firmware is directly flashed to the esp.
Note: If the bootloader is currently booting from ota_2, flashing ota_1 via usb will not make it switch. You might need to manually erase it in this case prior.