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 df8538608e1 arch/arm/stm32: allow UART7/8 serial driver on H5
df8538608e1 is described below

commit df8538608e138c12f398685ae641583a6550b475
Author: Joao Mario Lago <[email protected]>
AuthorDate: Wed Aug 5 11:03:40 2026 -0300

    arch/arm/stm32: allow UART7/8 serial driver on H5
    
    Include STM32_HAVE_USART_H5 in the UART7/UART8 driver choice
    depends so CONFIG_STM32_UART*_SERIALDRIVER can be selected on
    STM32H5.
    
    Signed-off-by: Joao Mario Lago <[email protected]>
---
 arch/arm/src/common/stm32/Kconfig.uart | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/src/common/stm32/Kconfig.uart 
b/arch/arm/src/common/stm32/Kconfig.uart
index 05836690894..78ee35c0e34 100644
--- a/arch/arm/src/common/stm32/Kconfig.uart
+++ b/arch/arm/src/common/stm32/Kconfig.uart
@@ -538,7 +538,7 @@ endchoice # USART8 Driver Configuration
 
 choice
        prompt "UART7 Driver Configuration"
-       depends on STM32_HAVE_IP_USART && STM32_UART7
+       depends on (STM32_HAVE_IP_USART || STM32_HAVE_USART_H5) && STM32_UART7
        default STM32_UART7_SERIALDRIVER
 
 config STM32_UART7_SERIALDRIVER
@@ -560,7 +560,7 @@ endchoice # UART7 Driver Configuration
 
 choice
        prompt "UART8 Driver Configuration"
-       depends on STM32_HAVE_IP_USART && STM32_UART8
+       depends on (STM32_HAVE_IP_USART || STM32_HAVE_USART_H5) && STM32_UART8
        default STM32_UART8_SERIALDRIVER
 
 config STM32_UART8_SERIALDRIVER

Reply via email to