diff --git a/ravedude/src/config.rs b/ravedude/src/config.rs index 94a795ba74..d83403ac50 100644 --- a/ravedude/src/config.rs +++ b/ravedude/src/config.rs @@ -134,6 +134,8 @@ pub struct BoardAvrdudeOptions { serialize_with = "serialize_baudrate", deserialize_with = "deserialize_baudrate" )] + // Inner option to represent whether the baudrate exists, outer option to allow for overriding. + // Option pub baudrate: Option>, pub do_chip_erase: Option, } diff --git a/ravedude/src/main.rs b/ravedude/src/main.rs index 1f082b36a5..e6f7d3de35 100644 --- a/ravedude/src/main.rs +++ b/ravedude/src/main.rs @@ -79,6 +79,8 @@ struct Args { /// * nano168 /// * duemilanove #[structopt(name = "BOARD", verbatim_doc_comment)] + // When Ravedude.toml exists, the binary is placed where the board should be. This is an OsString to not lose + // informaton when we have to take the board as the binary. board: Option, /// The binary to be flashed.