1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/pwm.h)
4
5zephyr_library()
6
7zephyr_library_sources_ifdef(CONFIG_PWM_TELINK_B91	pwm_b91.c)
8zephyr_library_sources_ifdef(CONFIG_PWM_CC13XX_CC26XX_TIMER pwm_cc13xx_cc26xx_timer.c)
9zephyr_library_sources_ifdef(CONFIG_PWM_STM32		pwm_stm32.c)
10zephyr_library_sources_ifdef(CONFIG_PWM_SIFIVE		pwm_sifive.c)
11zephyr_library_sources_ifdef(CONFIG_PWM_NRF_SW		pwm_nrf_sw.c)
12zephyr_library_sources_ifdef(CONFIG_PWM_NRFX		pwm_nrfx.c)
13zephyr_library_sources_ifdef(CONFIG_PWM_MCUX_FTM 	pwm_mcux_ftm.c)
14zephyr_library_sources_ifdef(CONFIG_PWM_IMX		pwm_imx.c)
15zephyr_library_sources_ifdef(CONFIG_PWM_ITE_IT8XXX2	pwm_ite_it8xxx2.c)
16zephyr_library_sources_ifdef(CONFIG_PWM_LED_ESP32	pwm_led_esp32.c)
17zephyr_library_sources_ifdef(CONFIG_MCPWM_ESP32		pwm_mc_esp32.c)
18zephyr_library_sources_ifdef(CONFIG_PWM_SAM		pwm_sam.c)
19zephyr_library_sources_ifdef(CONFIG_PWM_MCUX		pwm_mcux.c)
20zephyr_library_sources_ifdef(CONFIG_PWM_MCUX_SCTIMER	pwm_mcux_sctimer.c)
21zephyr_library_sources_ifdef(CONFIG_PWM_XEC		pwm_mchp_xec.c)
22zephyr_library_sources_ifdef(CONFIG_PWM_LITEX		pwm_litex.c)
23zephyr_library_sources_ifdef(CONFIG_PWM_RV32M1_TPM	pwm_rv32m1_tpm.c)
24zephyr_library_sources_ifdef(CONFIG_PWM_MCUX_TPM	pwm_mcux_tpm.c)
25zephyr_library_sources_ifdef(CONFIG_PWM_SAM0_TCC	pwm_sam0_tcc.c)
26zephyr_library_sources_ifdef(CONFIG_PWM_NPCX		pwm_npcx.c)
27zephyr_library_sources_ifdef(CONFIG_PWM_XLNX_AXI_TIMER	pwm_xlnx_axi_timer.c)
28zephyr_library_sources_ifdef(CONFIG_PWM_MCUX_PWT 	pwm_mcux_pwt.c)
29zephyr_library_sources_ifdef(CONFIG_PWM_GECKO		pwm_gecko.c)
30zephyr_library_sources_ifdef(CONFIG_PWM_GD32		pwm_gd32.c)
31zephyr_library_sources_ifdef(CONFIG_PWM_RCAR		pwm_rcar.c)
32zephyr_library_sources_ifdef(CONFIG_PWM_PCA9685 	pwm_pca9685.c)
33zephyr_library_sources_ifdef(CONFIG_PWM_MAX31790 	pwm_max31790.c)
34zephyr_library_sources_ifdef(CONFIG_PWM_TEST		pwm_test.c)
35zephyr_library_sources_ifdef(CONFIG_PWM_RPI_PICO	pwm_rpi_pico.c)
36zephyr_library_sources_ifdef(CONFIG_PWM_BBLED_XEC	pwm_mchp_xec_bbled.c)
37zephyr_library_sources_ifdef(CONFIG_PWM_INTEL_BLINKY	pwm_intel_blinky.c)
38zephyr_library_sources_ifdef(CONFIG_PWM_XMC4XXX_CCU4	pwm_xmc4xxx_ccu4.c)
39zephyr_library_sources_ifdef(CONFIG_PWM_XMC4XXX_CCU8	pwm_xmc4xxx_ccu8.c)
40zephyr_library_sources_ifdef(CONFIG_PWM_MCUX_CTIMER	pwm_mcux_ctimer.c)
41zephyr_library_sources_ifdef(CONFIG_PWM_NUMAKER		pwm_numaker.c)
42zephyr_library_sources_ifdef(CONFIG_PWM_NXP_S32_EMIOS pwm_nxp_s32_emios.c)
43
44zephyr_library_sources_ifdef(CONFIG_USERSPACE   pwm_handlers.c)
45zephyr_library_sources_ifdef(CONFIG_PWM_CAPTURE pwm_capture.c)
46zephyr_library_sources_ifdef(CONFIG_PWM_SHELL   pwm_shell.c)
47