Index: nut/arch/cm3/dev/stm/stm32_uart5.c
===================================================================
--- nut/arch/cm3/dev/stm/stm32_uart5.c	(revision 4955)
+++ nut/arch/cm3/dev/stm/stm32_uart5.c	(working copy)
@@ -197,7 +197,7 @@
 #undef USART_HARDWARE_HDX
 #endif
 
-#ifdef USART1_SUPPORT_DMA
+#ifdef UART5_SUPPORT_DMA
  #if defined(MCU_STM32F2)||defined(MCU_STM32F4)
   #define UART_DMA_TXCHANNEL  DMA_CONTROL0 | DMA_STREAM7 | DMA_CHANNEL4
   #define UART_DMA_RXCHANNEL  DMA_CONTROL0 | DMA_STREAM0 | DMA_CHANNEL4
