Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


### Added

- Add serial number to `list-ports` output for easier device identification (#998)
- eFuse write support (#962)
- esp32p4rc1 support for esp32p4 chips with revision < 3.0 (#922)
- Support for binaries with INIT_ARRAY sections, which is needed for esp32p4 support. (#991)
Expand Down
3 changes: 2 additions & 1 deletion espflash/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,12 +546,13 @@ pub fn list_ports(args: &ListPortsArgs, config: &PortConfig) -> Result<()> {
}
SerialPortType::UsbPort(p) => {
println!(
"{0: <name_width$}{3:04X}:{4:04X} {1: <manufacturer_width$}{2}",
"{0: <name_width$}{4:04X}:{3:04X}:{5: <25} {1: <manufacturer_width$}{2}",
port.port_name,
p.manufacturer.unwrap_or_default(),
p.product.unwrap_or_default(),
p.pid,
p.vid,
p.serial_number.unwrap_or_else(|| "N/A".to_string()),
name_width = name_width,
manufacturer_width = manufacturer_width,
)
Expand Down