hal: microchip: samd5xe5x: Update mapping file for spi
Update mapping files to declare common macro name definitions for samd5xe5x to be used in sercom spi g1 driver.
Signed-off-by: Mohamed Azhar mohamed.azhar@microchip.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
Introduction
The hal_microchip is a set of register definitions for Microchip SoC’s. The HAL directory structure detailed below.
Directory Structure
zephyr).How to submit code
Any contribution should follow the
How to submit codeusing as premisses the Zephyr Contribution Guidelines. For more information about External Modules see Modules Section in special Submitting Changes to ModulesMEC5 HAL
The MEC5 HAL currently support Microchip MEC172x (named MECH172x in Zephyr SoC), MEC174x, and MEC175x.
On the Zephyr side the SoC layer build rules set CONFIG_HAS_MEC5_HAL=y.
The top level CMakeLists.txt then processes the hal_microchip/mec5 subfolder.
The MEC5 HAL device is chosen using Zephyr CONFIG_SOC_SERIES and CONFIG_SOC.
Zephyr SoC layer soc.h for MECH172x, MEC174x, and MEC175x include device_mec5.h from the MEC5 HAL.
Zephyr drivres and applications should include individual HAL API headers to access specific peripherals.
MPFS PolarFile HAL
The Microchip Polarfire SOC HAL was downloaded from:
https://github.com/polarfire-soc/platform
Addditionally, the bare metal samples from https://github.com/polarfire-soc/polarfire-soc-bare-metal-examples are required to extract the Icicle Kit bopard configuration files.
Both are from Tag 21.08
The following changes were made: