Open timwalls opened 4 years ago
I'm getting a similar error trying to compile for the atmega32u4, did you figure out what's going on?
Hey, hi.
To be honest, I gave up with ruduino - I was making no progress. I switched to @rahix's Rahix/avr-hal, which seems to be under more active development, at least for devices other than the standard '189.
In the case of the 4809, smarter people than I are already working on it, but even without that being ready yet I found it much easier to adapt the underlying Rahix/avr-device package to get something working.
If anyone comes to this wondering about the ATmega4809/Nano Every in particular - you can find a fork of avr-device/avr-hal which at least gives you basic working pin access at timwalls/avr-device:ATmega4809 and timwalls/avr-hal:arduino-nano-every respectively. I've not done anything about getting things like UARTs working yet because, as I say, other smarter people are working on that and eventually I expect to go back to the mainline once 4809 support is rolled in. But even if that doesn't happen, I'm confident this is a much easier place to start getting those things to work than ruduino.
For your specific needs @harpekar, it looks like avr-device/avr-hal already has ATmega32u4 support in there - so I'd definitely suggest taking a look there :).
Hiya,
First of all, thanks all for all the work on Rust/AVR, it's awesome :).
Secondly though, I'm trying to get Rust working with the Arduino Nano Every board (electrically (and cost-wise) it's perfect for my project), which uses the ATmega4809 chip...
It turns out this is quite tricky and I've been going round in a few loops, but right now I'm stuck at getting ruduino to build. avr-mcu seems to load the packfile OK, but ruduino doesn't like what it sees:
Before I start digging too deep attempting to work out the problem myself, does this seem to have an obvious cause to anyone (and thus an obvious solution? :-D.)
Thanks in advance, Tim