Open fabyte opened 4 years ago
More than 1 years since your post but noone replies or pay attention to it. How is it going at your end regarding this. I am also trying to get Attiny167 to work with Mysensors but failed. Even though attiny is small(16KB) but it's enough for many single sensor device.
Unfortunately there is not much support from the project. You can try and use my attiny branch. It contains changes to address number 1. and 3. of this issue.
thanks, your approach works. now I got my Attiny167+Sht30 working with Mysensors and Mysensor gateway. Next step will be formatting the data for Thingsboard cloud.
Hi, I want to contribute my changes to MySensors in order to support ATtiny MCUs (see the project page).
Three issues had to be addressed:
I want to discuss these issues:
The missing defines are:
Where should these definitions be places? Is there some kind of compatiblity.h header in the project for different MCUs?
The hwCPUFrequency() seems to dynamically measure the CPU frequency and for this all timers are suspended. Since ATtiny supports not that much timers, the more simple approach for a fix would be like for other hardware platforms:
What do you think?