File: chibios3/hal/ports/STM32/STM32F0xx/stm32_registry.h
Code: Select all
813: /* USART attributes.*/
814: #define STM32_HAS_USART1 TRUE
815: #define STM32_UART_USART1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
816: #define STM32_UART_USART1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
817:
818: #define STM32_HAS_USART2 TRUE
819: #define STM32_UART_USART2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
820: #define STM32_UART_USART1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
Line 820 should be:
#define STM32_UART_USART2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
Perhaps this is solved in the latest release, just wanted to put it up here if someone else try to google the problem.