zephyr/drivers/counter/Kconfig.stm32_timer
Patryk Duda 227ac76828 drivers: counter: Reset timer using RCC before initialization
In multi-image environment, after jump to the image we can have running
timer with interrupts enabled. If interrupt is triggered, the asserts
in the driver can cause a crash.

This patch also adds 'resets' property for all timer nodes.

Signed-off-by: Patryk Duda <pdk@semihalf.com>
2022-12-09 09:43:36 -08:00

12 lines
287 B
Plaintext

# Copyright (c) 2021 Kent Hall
# SPDX-License-Identifier: Apache-2.0
config COUNTER_TIMER_STM32
bool "STM32 counter driver"
default y
depends on DT_HAS_ST_STM32_COUNTER_ENABLED
select USE_STM32_LL_TIM
select RESET
help
Enable the counter driver for STM32 family of processors.