Add a route to upload update to the platform
This commit is contained in:
@ -1,3 +1,17 @@
|
||||
# ESP32 device
|
||||
|
||||
ESP32 client device, using `W32-ETH01` device
|
||||
|
||||
## Some commands
|
||||
|
||||
Create a new firmware build:
|
||||
|
||||
```bash
|
||||
idf.py build
|
||||
```
|
||||
|
||||
Upload firmware to central backend, in dev mode:
|
||||
|
||||
```bash
|
||||
curl -k -X POST https://localhost:8443/web_api/ota/Wt32-Eth01/$(cat version.txt) --form firmware="@build/main.bin"
|
||||
```
|
Reference in New Issue
Block a user