This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 6b564ec123050caedb4e8498a7fd5c3687737933 Author: raiden00pl <[email protected]> AuthorDate: Sat Oct 10 17:48:54 2026 +0200 arch/arm/src/stm32g0: select TIM2 TIM2 was never selected on STM32G0, so it could not be enabled. Select it on the devices that have it. Signed-off-by: raiden00pl <[email protected]> Assisted-by: Claude Code --- arch/arm/src/stm32g0/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/src/stm32g0/Kconfig b/arch/arm/src/stm32g0/Kconfig index a9174b291c3..132a20385f6 100644 --- a/arch/arm/src/stm32g0/Kconfig +++ b/arch/arm/src/stm32g0/Kconfig @@ -260,6 +260,7 @@ config STM32_STM32G031 bool default n select STM32_STM32G0 + select STM32_HAVE_TIM2 select STM32_STM32G03X select STM32_HAVE_LPUART1 @@ -271,6 +272,7 @@ config STM32_STM32G041 bool default n select STM32_STM32G0 + select STM32_HAVE_TIM2 select STM32_HAVE_RNG select STM32_HAVE_AES select STM32_HAVE_LPUART1 @@ -285,6 +287,7 @@ config STM32_STM32G051 bool default n select STM32_STM32G0 + select STM32_HAVE_TIM2 select STM32_STM32G05X select STM32_HAVE_DAC1 select STM32_HAVE_COMP1 @@ -302,6 +305,7 @@ config STM32_STM32G061 bool default n select STM32_STM32G0 + select STM32_HAVE_TIM2 select STM32_HAVE_RNG select STM32_HAVE_AES select STM32_HAVE_DAC1 @@ -322,6 +326,7 @@ config STM32_STM32G071 bool default n select STM32_STM32G0 + select STM32_HAVE_TIM2 select STM32_STM32G07X select STM32_HAVE_DAC1 select STM32_HAVE_COMP1 @@ -344,6 +349,7 @@ config STM32_STM32G081 bool default n select STM32_STM32G0 + select STM32_HAVE_TIM2 select STM32_HAVE_USART3 select STM32_HAVE_USART4 select STM32_HAVE_RNG @@ -369,6 +375,7 @@ config STM32_STM32G0B1 bool default n select STM32_STM32G0 + select STM32_HAVE_TIM2 select STM32_STM32G0BX select STM32_HAVE_SPI2 select STM32_HAVE_DAC1
