From fa80408a06f94b6062a9c4126d6681bedc1ca6b0 Mon Sep 17 00:00:00 2001 From: "Daniel P. Carvalho" Date: Wed, 26 Jun 2024 10:30:08 -0300 Subject: [PATCH] arch/stm32: PLL clock is not available for HRTIM clock source on STM32G47XX devices (STM32F3XXX only). --- arch/arm/src/stm32/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index acd4bcbce3..d467ed69c3 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -1536,6 +1536,7 @@ config STM32_STM32F33XX select ARCH_CORTEXM4 select ARCH_HAVE_FPU select STM32_HAVE_HRTIM1 + select STM32_HAVE_HRTIM1_PLLCLK select STM32_HAVE_COMP2 select STM32_HAVE_COMP4 select STM32_HAVE_COMP6 @@ -8104,9 +8105,14 @@ config STM32_HRTIM_FAULT4 endif # STM32_HRTIM_FAULTS +config STM32_HAVE_HRTIM1_PLLCLK + bool + default n + config STM32_HRTIM_CLK_FROM_PLL bool "HRTIM Clock from PLL" default n + depends on STM32_HAVE_HRTIM1_PLLCLK ---help--- Set PLL as the clock source for HRTIM. This configuration requires the following conditions: