-
Notifications
You must be signed in to change notification settings - Fork 223
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
Add atmega164pa support #452
Conversation
Commit 1a0040d bumped |
64b1a7e
to
16191b1
Compare
Thanks Rahix! I've fixed the first commit of this series to use the changed definition of I'd say this is now ready for review and, if you have no comments, to be merged. |
Hi @tronje, I'll take this opportunity to ask about |
I like it, it's a lot more concise than before. Based on existing usage of the macro, it was easy to figure out what I needed to do. Maybe a short explanatory doc comment with an example would be nice to have, anyway. I should point out that I may not be the best person to quiz about this. We just needed support for the atmega164pa, I don't have particularly good knowledge of avr-hal. In any case, thanks for your work 🙂 |
Signed-off-by: Tronje Krabbe <tkrabbe@jusst.de>
The smart logic that replaces a write of 0xff with an erase is removed, and any erase operation is replaced by a write of 0xff. This is done because the erase function is borked, as documented here: Rahix#406
16191b1
to
4d49b2c
Compare
@Rahix friendly ping 🙂 I've rebased this onto the latest main branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the ping and sorry for my slow responses...
Code looks good, thanks a lot!
I do see your EEPROM fix. I think we should merge it to ensure the EEPROM code is not completely wrong but I'd like to understand why the current implementation is broken... Do you have any insight into this?
No worries!
Thanks 🙂
Unfortunately, not really. All that I do know, I know from #406. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, not really. All that I do know, I know from #406.
Fair enough, then let's merge as is and look more into the EEPROM topic another time.
Thanks @Rahix! Really appreciate your work 🙂 |
This requires a bump of the avr-device dependency, which is not included here. Also specifically depends on Rahix/avr-device#139