Uno Wifi Rev2 Support
The Arduino uno wifi rev2 uses the ATMega4809 architecture which had timer support disabled in 1.9.3, according to the documentation on the board timer support should be present.
Is it possible to get it enabled?
Comments (5)
-
repo owner -
repo owner -
repo owner @Peter Barnes According to the documentation (http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega4808-4809-Data-Sheet-DS40002173A.pdf) the timer functions are totally different on the 4809 and therefore not compatible without someone writing code specific to that microprocessor. This is probably why it was removed in 1.9.3, someone said it worked, but it clearly does not.
-
reporter What are your thoughts on introducing TimerInterupt Library as a dependency for this? The library supports a wide range of different devices including all currently supported.
-
reporter @Tim Eckel I raised a PR for this. There is a question about what to do with the
timer_ms
method - Log in to comment
@Peter Barnes
It’s not a matter of enabling it (that’s easy). The problem was probably that the timer functions were not compatible with the 4809.
Since I don’t have a 4809, the way to do this is for you to enable the timer functions, test, and submit a pull request with the changes. There’s no way I can add support for the 4809 on my own as I don’t have that microcontroller.