mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
avrdude: add file offset to update operation spec, refactoring
This commit is contained in:
parent
7863412687
commit
15f943938b
6 changed files with 118 additions and 83 deletions
|
@ -182,8 +182,8 @@ void FirmwareDialog::priv::perform_upload()
|
|||
"-b", "115200", // XXX: is this ok to hardcode?
|
||||
"-D",
|
||||
"-u", // disable safe mode
|
||||
"-U", (boost::format("flash:w:%1%:i") % filename_utf8.data()).str()
|
||||
// "-v", "-v", "-v", "-v", "-v", // enable super verbose mode, logging each serial line exchange
|
||||
"-U", (boost::format("flash:w:0:%1%:i") % filename_utf8.data()).str(), // FIXME
|
||||
// "-vvvvv", //"-v", "-v", "-v", "-v", // enable super verbose mode, logging each serial line exchange
|
||||
}};
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << "Invoking avrdude, arguments: "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue