Skip to content

Commit

Permalink
docs: Update readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Feb 6, 2025
1 parent 5a13afd commit ee2c2be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cargo-espflash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Supports the **ESP32**, **ESP32-C2/C3/C6**, **ESP32-H2**, **ESP32-P4**, and **ES
- [Windows Subsystem for Linux](#windows-subsystem-for-linux)
- [Bootloader and Partition Table](#bootloader-and-partition-table)
- [Configuration File](#configuration-file)
- [Configuration precedence](#configuration-precedence)
- [Configuration Precedence](#configuration-precedence)
- [Logging Format](#logging-format)
- [License](#license)
- [Contribution](#contribution)
Expand Down Expand Up @@ -143,9 +143,9 @@ You can have a local and/or a global configuration file:
- macOS: `$HOME/Library/Application Support/rs.esp.espflash/espflash.toml`
- Windows: `%APPDATA%\esp\espflash\espflash.toml`

### Configuration precedence
### Configuration Precedence

1. Environment variables: If `ESPFLASH_PORT` or `ESPFLASH_BAUD` are set, the will be used instead of the config file value.
1. Environment variables: If `ESPFLASH_PORT`, `MONITOR_BAUD` or `ESPFLASH_BAUD` are set, the will be used instead of the config file value.
2. Local configuration file
3. Global configuration file

Expand Down
6 changes: 3 additions & 3 deletions espflash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Supports the **ESP32**, **ESP32-C2/C3/C6**, **ESP32-H2**, **ESP32-P4**, and **ES
- [Cargo Runner](#cargo-runner)
- [Using `espflash` as a Library](#using-espflash-as-a-library)
- [Configuration File](#configuration-file)
- [Configuration precedence](#configuration-precedence)
- [Configuration Precedence](#configuration-precedence)
- [Logging Format](#logging-format)
- [License](#license)
- [Contribution](#contribution)
Expand Down Expand Up @@ -157,9 +157,9 @@ You can have a local and/or a global configuration file:
- macOS: `$HOME/Library/Application Support/rs.esp.espflash/espflash.toml`
- Windows: `%APPDATA%\esp\espflash\espflash.toml`

### Configuration precedence
### Configuration Precedence

1. Environment variables: If `ESPFLASH_PORT` or `ESPFLASH_BAUD` are set, the will be used instead of the config file value.
1. Environment variables: If `ESPFLASH_PORT`, `MONITOR_BAUD` or `ESPFLASH_BAUD` are set, the will be used instead of the config file value.
2. Local configuration file
3. Global configuration file

Expand Down

0 comments on commit ee2c2be

Please sign in to comment.