hal: ambiq: apollo510: add CRC boundary-safe HAL extensions#65
Open
RichardSWheatley wants to merge 1 commit into
Open
hal: ambiq: apollo510: add CRC boundary-safe HAL extensions#65RichardSWheatley wants to merge 1 commit into
RichardSWheatley wants to merge 1 commit into
Conversation
Update AmbiqSuite SDK HAL for Apollo510 to SDK revision release_sdk5p2p0 and add CRC32 helper APIs required by the Zephyr hardware CRC driver: - am_hal_crc(): boundary-aware CRC32 with automatic transfer splitting at DTCM/SSRAM0/SSRAM1/SSRAM2 and TCM 4 KB (ERR014) boundaries - am_hal_crc_find_next_boundary(): returns the next problematic DMA boundary address for a given start/size - am_hal_crc_set_init() / am_hal_crc_finalize(): control re-seeding of the SECURITY->RESULT accumulator to allow streaming/chunked CRC sessions - Add explicit extern to all am_hal_security and am_hal_crc32 declarations in am_hal_security.h - Add DTCM_END, ITCM_END, SSRAM0/1/2 base/end address macros to am_reg_base_addresses.h for boundary calculations - Move arm_cmse.h include before apollo510.h in am_mcu_apollo.h; add MVE intrinsics guard block; update SDK revision string - Add am_hal_security.c to apollo510 CMakeLists.txt Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
swift-tk
reviewed
Jun 3, 2026
Contributor
swift-tk
left a comment
There was a problem hiding this comment.
The revision ids are different for each file. Are you sure these are from the same release?
Collaborator
Author
Since this is not Ambiqsuite, we only update the release IDs when the functionality of that file is changed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update AmbiqSuite SDK HAL for Apollo510 to SDK revision release_sdk5p2p0 and add CRC32 helper APIs required by the Zephyr hardware CRC driver: