-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWM Timer Options must be explicitly set for ATTiny826 #1149
Comments
What the heck!? How has this gone unnoticed so long |
How was this not detected ages ago? This is fucking gross. Everything gated by USE_TCD_PWM should also be enabled only if TCD0 is defined. So how did I miss something? Of course, I need to get the development system working again. Can't compile anything right now. |
Perhaps this is just in the one (few) CPU definition not the entire core configuration. I know I've used the 1626 brother part without needing to set these options on previous versions of the core. Not for a while so a ninja bug may have crept in. P.S. Not possessing God-like all-knowing powers IS a tough blow to face. I've had to deal with it a few times over the years. I've mostly recovered. :-) |
No i 100% a novel bug that should neer have snuck in, i m,erged something I dhouldnt hjave |
Same situation for ATTiny1626. Not a surprise but thought I would let you know. |
After I fixed a few PWM bugs, I am unable to reproduce this bug. Is it still happening for you with current github? |
I just pulled your commits until "Update dirty _tricks.h and when I then compile an empty sketch for the 826, 1626 or 3226 I get this:
816 etc no error |
Seems to be pretty much fixed In 2.6.10. I changed my options to the default for 1626 and got the error. Then compiled again and didn't get it. Then tried a bunch of stuff with new sketches. Different chip groups and even changed to Teensy and back and it continues to work. So your theory about the GUI somehow caching the incorrect menu options seems to be plausible. I think this one can be closed. If it keeps popping up perhaps just a note in the documentation. |
More PWM fixes going in, keep eyes on this |
I know this issue is closed but I just ran into the same "This part doesn't have TCD0" error. Here are the details: chip: Attiny1626 Been compiling with the same settings for weeks on this chip. No issues. Sounds like some kind of initialization error when the setting is changed. |
Using an Tiny826 chip and the latest core version on Arduino 2.3.3
In order to compile the PWM Pins option "No TCD PWM Even on 1-series" must be manually selected. The core doesn't recognize the Tiny826 as not having TCD by default. Core tries to compile with references to TCD
Work Around:
Manually select "No TDC PWM" from PWM pin option menu
The text was updated successfully, but these errors were encountered: