File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ pub enum Error {
319319 #[ error( "Invalid `address`({address}) and/or `size`({size}) argument(s)" ) ]
320320 #[ diagnostic(
321321 code( espflash:: erase_region:: invalid_argument) ,
322- help( "`address` and `size` must be multiples of 0x1000 (4096)" )
322+ help( "`address` ({address}) and `size` ({size}) must be multiples of 0x1000 (4096)" )
323323 ) ]
324324 InvalidEraseRegionArgument {
325325 /// Address argument
@@ -332,7 +332,9 @@ pub enum Error {
332332 #[ error( "The firmware was built for {elf}, but the detected chip is {detected}" ) ]
333333 #[ diagnostic(
334334 code( espflash:: chip_mismatch) ,
335- help( "Ensure that the device is connected and your host recognizes the serial adapter" )
335+ help(
336+ "Ensure that the device is connected and your host recognizes the serial adapter. (File {elf}, detected chip is {detected})"
337+ )
336338 ) ]
337339 FirmwareChipMismatch {
338340 /// Chip which the ELF file was built for
You can’t perform that action at this time.
0 commit comments