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

Added support for avrTiny 1 series attiny[24]1[246] #167

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

innermatrix
Copy link
Contributor

@innermatrix innermatrix commented Dec 11, 2024

The differences between tinyAVR 1-Series 21x/41x (which are added in this PR) and tinyAVR 0-series 21x/41x (which are already supported by this crate) are documented in https://ww1.microchip.com/downloads/en/AppNotes/Microchip%20AN2636%20Migration%20Between%20tinyAVR%201-Series%20and%20tinyAVR%200-Series%2000002636A.pdf. Summary:

  • DAC: none in 0-Series; 1 in 1-Series
  • TCD: none in 0-Series; 1 in in 1-Series
  • AC: Low-Power mode only in 0-Series; Fast mode or Low-Power mode in 1-Series
  • EVSYS: 1/2 sync/async channeles in 0-Series; 2/4 sync/async channels in 1-Series
  • TWI: default pin assignment only in 0-Series; default or alternate pin assignment in 1-Series
  • CLKCTRL: 0-series can't drive an external oscillator; 1-series can

As a result, all of the 0-Series patch file applies to the 1-Series. The additional features in the 1-Series are handled as follows:

  • DAC: no patch needed
  • TCD: no patch needed
  • AC: no patch needed
  • EVSYS system: no patch needed
  • TWI: no patch needed
  • CLKCTRL: no patch needed

Overall, the 0-Series patch file applies to the 1-Series, and no additional patches are needed at this time to support the 1-Series

Copy link
Owner

@Rahix Rahix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks a lot!

@Rahix Rahix merged commit f4fc588 into Rahix:main Jan 4, 2025
2 checks passed
@Rahix Rahix mentioned this pull request Jan 12, 2025
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

Successfully merging this pull request may close these issues.

2 participants