Skip to content

Commit 6fb2196

Browse files
Dat-NguyenDuymmahadevan108
authored andcommitted
s32ze: add eMIOS sources
Add eMIOS sources in order to support PWM driver Signed-off-by: Dat Nguyen Duy <[email protected]>
1 parent 05752da commit 6fb2196

30 files changed

+24135
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
* Copyright 2024 NXP
3+
*
4+
* SPDX-License-Identifier: BSD-3-Clause
5+
*/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
* Copyright 2024 NXP
3+
*
4+
* SPDX-License-Identifier: BSD-3-Clause
5+
*/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
* Copyright 2024 NXP
3+
*
4+
* SPDX-License-Identifier: BSD-3-Clause
5+
*/

s32/drivers/s32ze/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-License-Identifier: BSD-3-Clause
33

44
add_subdirectory(BaseNXP)
5+
add_subdirectory(Icu)
56
add_subdirectory(Mcu)
67
add_subdirectory(Rte)
78
add_subdirectory_ifdef(CONFIG_ADC_NXP_S32_ADC_SAR Adc)
@@ -13,3 +14,5 @@ if (CONFIG_ETH_NXP_S32_NETC)
1314
add_subdirectory(EthSwt_NETC)
1415
endif()
1516
add_subdirectory_ifdef(CONFIG_CAN_NXP_S32_CANXL Can_CANEXCEL)
17+
add_subdirectory_ifdef(CONFIG_NXP_S32_EMIOS Mcl)
18+
add_subdirectory_ifdef(CONFIG_PWM_NXP_S32_EMIOS Pwm)

s32/drivers/s32ze/Icu/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright 2024 NXP
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
4+
zephyr_include_directories(include)
5+
6+
if (CONFIG_PWM_NXP_S32_EMIOS AND CONFIG_PWM_CAPTURE)
7+
zephyr_library_sources(
8+
src/Emios_Icu_Ip.c
9+
src/Emios_Icu_Ip_Irq.c
10+
)
11+
endif()

0 commit comments

Comments
 (0)