-
Notifications
You must be signed in to change notification settings - Fork 184
Description
So, I have been using MightyCore for years and today I saw there was an update to 2.2.2 but I also saw there was an arduino cli update so I did both at once and everything broke. I realized that my arduino-cli upload command was trying to upload the with_bootloader.hex file which wasn't even being compiled out anymore.
So, I downgraded to my previous versions of both: arduino-cli Version: 0.32.2 && MightyCore:avr 2.1.3
So, it tried again and it worked but when I went through the logs it looks like it is uploading the with_bootloader.hex but at least the old version would compile out both.
I don't actually know where the error is because I think 2.2.2 introduced a new avrdude also.
Anyway my data:
programmer = usbtinyisp
compile: arduino-cli compile --fqbn $(fqbn) --output-dir $(output-dir) --verbose
upload: arduino-cli upload --fqbn $(fqbn) --input-dir $(output-dir) --programmer $(programmer) --verify --verbose
I see there is a flag for arduino-cli upload of --input-file
but I have never specified it before. And I don't know why after updating to 2.2.2 and the with_bootloader file wasn't being generated anymore that it wouldn't just pull the *.hex file in the build dir.