docs: 📝 Update docs
This commit is contained in:
parent
47e06dff6c
commit
94396b8e9c
@ -2,6 +2,7 @@
|
|||||||
name = "web-flash"
|
name = "web-flash"
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
description = "A web server to flash Espressif devices given an ELF file."
|
||||||
rust-version = "1.65"
|
rust-version = "1.65"
|
||||||
authors = [
|
authors = [
|
||||||
"Björn Quentin <bjoern.quentin@mobile-j.de>",
|
"Björn Quentin <bjoern.quentin@mobile-j.de>",
|
||||||
|
46
README.md
46
README.md
@ -1,20 +1,42 @@
|
|||||||
# esp-web-flash-server
|
# web-flash
|
||||||
|
|
||||||
Starts a local server serving a web page to flash a given ELF file.
|
Starts a local server serving a web page to flash a given ELF file.
|
||||||
|
|
||||||
|
## Installation
|
||||||
```
|
```
|
||||||
web-flash 0.1.0
|
cargo install espup
|
||||||
|
```
|
||||||
|
## Usage
|
||||||
|
```
|
||||||
|
Usage: web-flash [OPTIONS] --chip <CHIP> <ELF>
|
||||||
|
|
||||||
USAGE:
|
Arguments:
|
||||||
web-flash.exe [OPTIONS] --chip <CHIP> <ELF>
|
|
||||||
|
|
||||||
ARGS:
|
|
||||||
<ELF>
|
<ELF>
|
||||||
|
Path to the ELF file
|
||||||
|
|
||||||
OPTIONS:
|
Options:
|
||||||
-b, --bootloader <BOOTLOADER> path to bootloader
|
-c, --chip <CHIP>
|
||||||
-c, --chip <CHIP> chip name
|
Chip name
|
||||||
-h, --help Print help information
|
|
||||||
-p, --partition-table <PARTITION_TABLE> path to partition table csv
|
Possible values:
|
||||||
-V, --version Print version information
|
- esp32: ESP32
|
||||||
|
- esp32c2: ESP32-C2, ESP8684
|
||||||
|
- esp32c3: ESP32-C3, ESP8685
|
||||||
|
- esp32c6: ESP32-C6
|
||||||
|
- esp32s2: ESP32-S2
|
||||||
|
- esp32s3: ESP32-S3
|
||||||
|
- esp32h2: ESP32-H2
|
||||||
|
- esp8266: ESP8266
|
||||||
|
|
||||||
|
-b, --bootloader <BOOTLOADER>
|
||||||
|
Path to bootloader
|
||||||
|
|
||||||
|
-p, --partition-table <PARTITION_TABLE>
|
||||||
|
Path to partition table CSV
|
||||||
|
|
||||||
|
-h, --help
|
||||||
|
Print help (see a summary with '-h')
|
||||||
|
|
||||||
|
-V, --version
|
||||||
|
Print version
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user