hal: ambiq: apollo510: add CRC boundary-safe HAL extensions
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
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号