This is an automated email from the ASF dual-hosted git repository.

michallenc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 39e48cb95bfbae73de004a49a235fe8ac3d5b417
Author: raiden00pl <[email protected]>
AuthorDate: Wed Aug 26 15:52:16 2026 +0200

    arch/arm/stm32: Remove unused STM32_LPDMA1 Kconfig symbols
    
    STM32U5 LPDMA1 is not supported by the common GPDMA driver. Remove the
    dead STM32_LPDMA1 and STM32_HAVE_LPDMA1 symbols. The U5 LPDMA1 clock
    gate follows the unified instance naming and is now controlled by
    STM32_DMA2.
    
    Signed-off-by: raiden00pl <[email protected]>
    Assisted-by: Claude Code
---
 arch/arm/src/common/stm32/Kconfig.have   | 3 ---
 arch/arm/src/common/stm32/Kconfig.periph | 5 -----
 arch/arm/src/stm32u5/Kconfig             | 1 -
 arch/arm/src/stm32u5/stm32u5xx_rcc.c     | 2 +-
 4 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/arch/arm/src/common/stm32/Kconfig.have 
b/arch/arm/src/common/stm32/Kconfig.have
index 4a15643c194..80b4e183772 100644
--- a/arch/arm/src/common/stm32/Kconfig.have
+++ b/arch/arm/src/common/stm32/Kconfig.have
@@ -287,9 +287,6 @@ config STM32_HAVE_MDMA
 config STM32_HAVE_BDMA
        bool
 
-config STM32_HAVE_LPDMA1
-       bool
-
 config STM32_HAVE_DMA1
        bool
 
diff --git a/arch/arm/src/common/stm32/Kconfig.periph 
b/arch/arm/src/common/stm32/Kconfig.periph
index 2f314613c6d..f840e0731bd 100644
--- a/arch/arm/src/common/stm32/Kconfig.periph
+++ b/arch/arm/src/common/stm32/Kconfig.periph
@@ -101,11 +101,6 @@ config STM32_BDMA
        select STM32_DMA
        select ARCH_DMA
 
-config STM32_LPDMA1
-       depends on STM32_HAVE_LPDMA1
-       bool "LPDMA1"
-       default n
-
 config STM32_DMA1
        bool "DMA1"
        depends on STM32_HAVE_DMA1
diff --git a/arch/arm/src/stm32u5/Kconfig b/arch/arm/src/stm32u5/Kconfig
index dc70099dba0..747a7a3beb5 100644
--- a/arch/arm/src/stm32u5/Kconfig
+++ b/arch/arm/src/stm32u5/Kconfig
@@ -66,7 +66,6 @@ config STM32_U5_PERIPHERALS
        select STM32_HAVE_OCTOSPI1
        select STM32_HAVE_OCTOSPI2
        select STM32_HAVE_LPGPIO1
-       select STM32_HAVE_LPDMA1
        select STM32_HAVE_ADF1
        select STM32_HAVE_UCPD1
        select STM32_HAVE_VREF
diff --git a/arch/arm/src/stm32u5/stm32u5xx_rcc.c 
b/arch/arm/src/stm32u5/stm32u5xx_rcc.c
index 7fc868febd0..f54fbb952a9 100644
--- a/arch/arm/src/stm32u5/stm32u5xx_rcc.c
+++ b/arch/arm/src/stm32u5/stm32u5xx_rcc.c
@@ -315,7 +315,7 @@ static inline void rcc_enableahb3(void)
   regval |= RCC_AHB3ENR_DAC1EN;
 #endif
 
-#ifdef CONFIG_STM32_LPDMA1
+#ifdef CONFIG_STM32_DMA2
   regval |= RCC_AHB3ENR_LPDMA1EN;
 #endif
 

Reply via email to