This commit is contained in:
2025-01-29 02:03:00 +01:00
parent 3f63b3ed98
commit 1741bb0b53
42 changed files with 278 additions and 194 deletions

View File

@@ -3,13 +3,26 @@ title: "Firmware Upload"
date: 2025-01-27
draft: false
description: "a description"
tags: ["example", "tag"]
tags: ["firmeware", "upload"]
---
an example to get you started
# This is a heading
## This is a subheading
### This is a subsubheading
#### This is a subsubsubheading
This is a paragraph with **bold** and *italic* text.
Check more at [Blowfish documentation](https://blowfish.page/)
undefined
# 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.