s32: introduce support for NXP S32 SoCs
This patch introduces the initial structure to enable Zephyr support on NXP S32 SoCs. The "drivers" directory contains device header files and bare metal peripheral drivers for S32 SoCs, based on a sub-set of NXP Real-Time Drivers (RTD). The "soc" directory contains SoC-specific default configuration for these drivers, used at driver initialization time. The configuration is generated with NXP S32 Design Studio for S32 Platform. Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
f3632589e8
commit
b48f739ea2
|
@ -1,4 +1,4 @@
|
|||
if(CONFIG_HAS_MCUX OR CONFIG_HAS_IMX_HAL)
|
||||
if(CONFIG_HAS_MCUX OR CONFIG_HAS_IMX_HAL OR CONFIG_HAS_S32_HAL)
|
||||
zephyr_library()
|
||||
endif()
|
||||
|
||||
|
@ -11,3 +11,8 @@ add_subdirectory_ifdef(
|
|||
CONFIG_HAS_IMX_HAL
|
||||
imx
|
||||
)
|
||||
|
||||
add_subdirectory_ifdef(
|
||||
CONFIG_HAS_S32_HAL
|
||||
s32
|
||||
)
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright 2022 NXP
|
||||
|
||||
# Set the SoC specific drivers and configuration to build
|
||||
message(FATAL_ERROR "SoC ${CONFIG_SOC} not supported")
|
||||
|
||||
add_subdirectory(drivers/${DRIVERS_BASE})
|
||||
add_subdirectory(soc/${SOC_BASE})
|
|
@ -0,0 +1,41 @@
|
|||
NXP S32 HAL
|
||||
###########
|
||||
|
||||
Origin:
|
||||
NXP Real-Time Drivers (RTD)
|
||||
https://www.nxp.com/design/automotive-software-and-tools/real-time-drivers-rtd:AUTOMOTIVE-RTD
|
||||
|
||||
Purpose:
|
||||
Provides device header files and bare metal peripheral drivers for NXP S32 SoCs.
|
||||
Zephyr shim drivers are built on top of these imported drivers to adapt the S32
|
||||
drivers APIs to Zephyr APIs.
|
||||
|
||||
Description:
|
||||
The "drivers" directory contains a sub-set of NXP S32 Real-Time Drivers used to enable
|
||||
Zephyr support on NXP S32 SoCs. The "soc" directory contains SoC-specific default
|
||||
configuration for these drivers, used at driver initialization time. The configuration
|
||||
was generated with NXP S32 Design Studio for S32 Platform.
|
||||
Care should be taken to retain local changes to the driver files that are documented
|
||||
in Patch List section of this document.
|
||||
|
||||
Dependencies:
|
||||
CMSIS header files
|
||||
|
||||
URL:
|
||||
https://www.nxp.com/design/automotive-software-and-tools/real-time-drivers-rtd:AUTOMOTIVE-RTD
|
||||
https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-s32-platform:S32DS-S32PLATFORM
|
||||
|
||||
Commit:
|
||||
N/A
|
||||
|
||||
Maintained-by:
|
||||
External
|
||||
|
||||
License:
|
||||
BSD-3-Clause
|
||||
|
||||
License Link:
|
||||
https://spdx.org/licenses/BSD-3-Clause.html
|
||||
|
||||
Patch List:
|
||||
N/A
|
Loading…
Reference in New Issue