-
Notifications
You must be signed in to change notification settings - Fork 7.5k
ext: hal: atmel: sam: update to version 2.3.98 #12750
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
ext: hal: atmel: sam: update to version 2.3.98 #12750
Conversation
can this be an actual commit? |
Codecov Report
@@ Coverage Diff @@
## master #12750 +/- ##
=======================================
Coverage 53.51% 53.51%
=======================================
Files 239 239
Lines 26983 26983
Branches 6518 6518
=======================================
Hits 14440 14440
Misses 9879 9879
Partials 2664 2664 Continue to review full report at Codecov.
|
I can indeed split that into a separate commit, however that means the intermediate commits won't build. Is it acceptable? |
This is an import of Atmel SAM E70 HAL version 2.3.98, and only for the revision A of the chip. The files have been passed through dos2unix to minimize the differences with the previous version which seems to also have been imported that way. All the patches that have been applied on the previous version have been removed. Signed-off-by: Aurelien Jarno <[email protected]>
a6d8182
to
326f441
Compare
@galak I have just pushed a new version that split out the HAL update from the other patches. Note that these commits are not bisectable anymore, ie the ethernet driver won't compile with intermediate commits. |
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.
This looks good with a minor remark regarding commit title. "ext: hal: atmel: sam: re-add missing header files following HAL import" should be better changed to "ext: hal: atmel: sam: re-add missing header symbols" since we are adding symbols not files.
Following the HAL import, reapply the part of commit 1333061 ("Add missing header files symbols for Atmel SAM E70") which hasn't been fixed upstream yet. From this commit, only the DACC alternate pin functions have been fixed. Signed-off-by: Aurelien Jarno <[email protected]>
Previous SAM E70 HAL version was patched by commit 4dcfc87 ("Add missing interrupt number definitions") to add missing interrupt definitions for SAM GMAC Priority Queues. This has been fixed in the latest HAL by using a slightly different name. This patch updates the driver accordingly. Signed-off-by: Aurelien Jarno <[email protected]>
326f441
to
94e35c3
Compare
@mnkp Thanks for the review. That is a good point, I have just fixed that. |
The new rev A headers move the GMAC ISRPQ, TBQBAPQ, RBQBAPQ, and RBSRPQ registers by 4 bytes. Can anyone confirm that this is correct for revision A? The 2.3.98 headers for revision B also put the registers at the new addresses. This contradicts the data sheet. Ok, this is already mentioned in #12945. |
This is an import of Atmel SAM E70 HAL version 2.3.98, and only for the
revision A of the chip. The files have been passed through dos2unix to
minimize the differences with the previous version which seems to also
have been imported that way.
On top of that the following commit has been reapplied:
=> except the DACC alternate pin functions which has been fixed in the
same way in the new version.
The following commits have not been reapplied, and the README file has
been updated accordingly:
=> The macros have been changed from the _U to U style and thus are
less likely to break compilation with some toolchains.
=> This has been fixed with a slightly different way in the new
version. This commit also adjusts the names in the ethernet driver.
=> This has been fixed the same way in the new version.
Signed-off-by: Aurelien Jarno [email protected]