Open bverhagen opened 1 year ago
Have you found a solution for this? I have the exact same problem.
No, I switched to the standard tools using C++, which so far have worked flawlessly.
The ARDUINO UNO WiFi REV2 uses the ATmega4809
microcontroller which is not yet supported by avr-hal
unfortunately. See #97.
In that case I will close this issue in favour of #97 as a duplicate.
Actually, let's keep this issue open to track addition of support for this particular board once #97 is resolved.
Hello,
I followed your guide on generating a new project with avr-hal-template and chose 'Arduino Uno' in the template menu.
When I execute
cargo run
, I get:The Arduino IDE gives exactly the same error.
However, after some investigation with arduino-cli, I found out I need the megaAVR core rather than the (I think) non-mega avr core that is used by ravedude:
Using the listed FQBN with arduino-cli on the 'blink' example sketch, the sketch gets successfully uploaded and starts running on the target:
It seems the warning can be ignored in this case, although I can't say what other process is actually using the device while doing this.
My questions for you: