Skip to content
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

Open
EclipseBoom opened this issue Oct 4, 2024 · 4 comments
Open

PWM Timer Options must be explicitly set for ATTiny826 #1149

EclipseBoom opened this issue Oct 4, 2024 · 4 comments

Comments

@EclipseBoom
Copy link

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

@SpenceKonde
Copy link
Owner

What the heck!? How has this gone unnoticed so long

@SpenceKonde
Copy link
Owner

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.

@EclipseBoom
Copy link
Author

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. :-)

@SpenceKonde
Copy link
Owner

No i 100% a novel bug that should neer have snuck in, i m,erged something I dhouldnt hjave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants