This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 49627f89ae7 arch/arm/stm32f0: Select STM32_HAVE_SYSCFG
49627f89ae7 is described below
commit 49627f89ae74f3f4d7cfd96f1519ce0b282d35ce
Author: Jakob Jungreuthmayer <[email protected]>
AuthorDate: Mon Nov 2 23:36:36 2026 +0100
arch/arm/stm32f0: Select STM32_HAVE_SYSCFG
The STM32F0 never selected STM32_HAVE_SYSCFG, so STM32_SYSCFG could
not be enabled and stm32_rcc left the SYSCFG clock off. With the
clock off, writes to SYSCFG_EXTICR are ignored and every EXTI line
stays on port A: a GPIO interrupt on any other port never fires.
Tested on an STM32F072VB with buttons on PD0 and PD1. Without this
change, SYSCFG_EXTICR1 reads 0x0000 after the buttons are configured;
with it, the SYSCFG clock is on and SYSCFG_EXTICR1 reads 0x0033.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jakob Jungreuthmayer
<[email protected]>
---
arch/arm/src/stm32f0/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/src/stm32f0/Kconfig b/arch/arm/src/stm32f0/Kconfig
index edb580dfc9c..08dded5caaf 100644
--- a/arch/arm/src/stm32f0/Kconfig
+++ b/arch/arm/src/stm32f0/Kconfig
@@ -459,6 +459,7 @@ config STM32_STM32F0
select STM32_HAVE_DMA1
select STM32_HAVE_I2C1
select STM32_HAVE_SPI1
+ select STM32_HAVE_SYSCFG
select STM32_HAVE_USART1
select STM32_HAVE_USART2
select STM32_HAVE_USART3