There is a question how to deal with incompatible avrdude and MK3 firmware being used.
Use separate "AVR Programmer Type" ? Try to detect that somehow (just check avrdude path?)
2022-08-17 11:24:00,393 - octoprint.plugins.firmwareupdater - INFO - Firmware update profile index: 0
2022-08-17 11:24:00,405 - octoprint.plugins.firmwareupdater - INFO - Firmware update profile name: Default
2022-08-17 11:24:00,406 - octoprint.plugins.firmwareupdater - INFO - Printer port: /dev/ttyACM0
2022-08-17 11:24:00,420 - octoprint.plugins.firmwareupdater - INFO - Flash method: avrdude
2022-08-17 11:24:00,464 - octoprint.plugins.firmwareupdater - INFO - Firmware update started
2022-08-17 11:24:00,563 - octoprint.plugins.firmwareupdater - INFO - Found Prusa MK3 device: /dev/ttyACM0. Checking firmware file.
2022-08-17 11:24:00,609 - octoprint.plugins.firmwareupdater - INFO - Looks to be Prusa MK3 firmware file.
2022-08-17 11:24:00,668 - octoprint.plugins.firmwareupdater - INFO - Running '/usr/bin/avrdude-prusa -v -q -p m2560 -c wiring -P /dev/ttyACM0 -D -U flash:w:/tmp/tmpo35tb1v7:i' in /usr/bin
2022-08-17 11:24:02,305 - octoprint.plugins.firmwareupdater - INFO - Writing memory...
2022-08-17 11:24:45,243 - octoprint.plugins.firmwareupdater - INFO - Verifying memory...
2022-08-17 11:25:16,485 - octoprint.plugins.firmwareupdater - INFO - Running '/usr/bin/avrdude-prusa -v -q -p m2560 -c arduino -P /dev/ttyACM0 -D -U flash:w:/tmp/tmp5ipknjf_:i -u' in /usr/bin
2022-08-17 11:25:19,076 - octoprint.plugins.firmwareupdater - INFO - Writing memory...
2022-08-17 11:25:37,460 - octoprint.plugins.firmwareupdater - INFO - Verifying memory...
2022-08-17 11:25:52,713 - octoprint.plugins.firmwareupdater - INFO - Flashing successful.
2022-08-17 11:25:52,742 - octoprint.plugins.firmwareupdater - INFO - No postflash gcode or postflash is disabled, setting run_postflash_gcode to false
@arekm can you change the target of the PR to the devel branch? Can you also include documentation updates to explain what is needed to use this (the special version of avrdude)?
Adds support for flashing not only firmware but also firmware language pack on Prusa MK3 (and newer printer variants).
Needs special avrdude: https://github.com/arekm/avrdude-prusa-mk3
There is a question how to deal with incompatible avrdude and MK3 firmware being used. Use separate "AVR Programmer Type" ? Try to detect that somehow (just check avrdude path?)
plugin log