esp-web-flash/README.md

43 lines
822 B
Markdown
Raw Normal View History

2023-06-20 20:06:25 +00:00
# web-flash
2022-05-20 13:41:24 +00:00
Starts a local server serving a web page to flash a given ELF file.
2023-06-20 20:06:25 +00:00
## Installation
2022-05-20 13:41:24 +00:00
```
2023-06-20 20:07:39 +00:00
cargo install web-flash
2023-06-20 20:06:25 +00:00
```
## Usage
```
Usage: web-flash [OPTIONS] --chip <CHIP> <ELF>
Arguments:
<ELF>
Path to the ELF file
Options:
-c, --chip <CHIP>
Chip name
Possible values:
- 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
2022-05-20 13:41:24 +00:00
2023-06-20 20:06:25 +00:00
-p, --partition-table <PARTITION_TABLE>
Path to partition table CSV
2022-05-20 13:41:24 +00:00
2023-06-20 20:06:25 +00:00
-h, --help
Print help (see a summary with '-h')
2022-05-20 13:41:24 +00:00
2023-06-20 20:06:25 +00:00
-V, --version
Print version
2022-05-20 13:41:24 +00:00
```