Files
Martin JägerandClaude Opus 5.5 0adc9edb7a drivers: move STM32 timer helpers to common library
The functions for timer clock, reset and pinctrl setup are not specific
to half bridges and will also be used by the PWM power switch driver.
They are moved to a separate library enabled by the hidden Kconfig
symbol LIBRESOLAR_STM32_TIM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 13:48:56 +01:00

12 lines
496 B
CMake

# Copyright (c) The Libre Solar Project Contributors
# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_include_directories(../stm32_tim)
zephyr_library_sources_ifdef(CONFIG_HALF_BRIDGE_STM32_ADVTIM half_bridge_stm32_advtim.c)
zephyr_library_sources_ifdef(CONFIG_HALF_BRIDGE_STM32_GPTIM half_bridge_stm32_gptim.c)
zephyr_library_sources_ifdef(CONFIG_HALF_BRIDGE_STM32_HRTIM half_bridge_stm32_hrtim.c)
zephyr_library_sources_ifdef(CONFIG_HALF_BRIDGE_EMUL half_bridge_emul.c)