espflash icon indicating copy to clipboard operation
espflash copied to clipboard

can't specify partition table in a workspace

Open liebman opened this issue 3 years ago • 1 comments
trafficstars

In a cargo workspace like:

[workspace]
resolver = "2"
members = [
    "thing",
    "some-other-thing",
]

Where thing has

[package.metadata.espflash]
partition_table = "partitions.csv"

The default partition table is used instead of the specified one. Looks like only the workspace Cargo.toml is parsed leaving no place to declare a custom partition file. Ideally this should detect the workspace and load the Cargo.toml from the specific crate being processed.

liebman avatar Nov 12 '22 14:11 liebman

Thanks for opening this issue, I'll fix this some time this week.

jessebraham avatar Nov 14 '22 16:11 jessebraham