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


The following commit(s) were added to refs/heads/master by this push:
     new bfad05b9faa arch/arm/stm32h5/serial: fix UART8 buffer guard typo
bfad05b9faa is described below

commit bfad05b9faac233ad4f38f4511c131e3939d1e23
Author: Joao Mario Lago <[email protected]>
AuthorDate: Fri Jun 26 07:54:07 2026 -0300

    arch/arm/stm32h5/serial: fix UART8 buffer guard typo
    
    Use CONFIG_STM32_UART8_SERIALDRIVER so g_uart8rxbuffer and
    g_uart8txbuffer are compiled when UART8 is enabled.
    
    Signed-off-by: Joao Mario Lago <[email protected]>
---
 arch/arm/src/stm32h5/stm32_serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32h5/stm32_serial.c 
b/arch/arm/src/stm32h5/stm32_serial.c
index c3ac82cfad2..c7de84c7054 100644
--- a/arch/arm/src/stm32h5/stm32_serial.c
+++ b/arch/arm/src/stm32h5/stm32_serial.c
@@ -395,7 +395,7 @@ static char g_uart7rxfifo[RXDMA_BUFFER_SIZE];
 #  endif
 #endif
 
-#ifdef CONFIG_STM32H8_UART8_SERIALDRIVER
+#ifdef CONFIG_STM32_UART8_SERIALDRIVER
 static char g_uart8rxbuffer[CONFIG_UART8_RXBUFSIZE];
 static char g_uart8txbuffer[CONFIG_UART8_TXBUFSIZE];
 #  ifdef CONFIG_UART8_RXDMA

Reply via email to