We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b50f90a commit 6d52193Copy full SHA for 6d52193
espflash/src/error.rs
@@ -44,6 +44,11 @@ pub enum Error {
44
#[error(
45
"Supplied ELF image of {0}B is too big, and doesn't fit configured app partition of {1}B"
46
)]
47
+ #[diagnostic(
48
+ code(espflash::image_too_big),
49
+ help("Reduce the size of the binary or increase the size of the partition."),
50
+ url("https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html#built-in-partition-tables")
51
+ )]
52
ElfTooBig(u32, u32),
53
54
#[error("Failed to connect to on-device flash")]
0 commit comments