2025-01-29 02:03:00 +01:00

811 B

title date draft description tags
Firmware Upload 2025-01-27 false a description
firmeware
upload

Prebuild

  1. Download image from
  2. 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

  1. Clone the gitea
  2. go to the rust/src_webroot
  3. npm -i
  4. cd ..
  5. 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.