Skip to content
Snippets Groups Projects
Commit 86c102e8 authored by Alexandre Abadie's avatar Alexandre Abadie Committed by Vincent Dupont
Browse files

cpu/stm32_common: move dma attribute at end of config

parent 3a5c9cb9
No related branches found
No related tags found
No related merge requests found
...@@ -384,10 +384,6 @@ typedef struct { ...@@ -384,10 +384,6 @@ typedef struct {
#endif #endif
uint8_t bus; /**< APB bus */ uint8_t bus; /**< APB bus */
uint8_t irqn; /**< IRQ channel */ uint8_t irqn; /**< IRQ channel */
#ifdef MODULE_PERIPH_DMA
dma_t dma; /**< Logical DMA stream used for TX */
uint8_t dma_chan; /**< DMA channel used for TX */
#endif
#ifdef MODULE_STM32_PERIPH_UART_HW_FC #ifdef MODULE_STM32_PERIPH_UART_HW_FC
gpio_t cts_pin; /**< CTS pin - set to GPIO_UNDEF when not using HW flow control */ gpio_t cts_pin; /**< CTS pin - set to GPIO_UNDEF when not using HW flow control */
gpio_t rts_pin; /**< RTS pin */ gpio_t rts_pin; /**< RTS pin */
...@@ -400,6 +396,10 @@ typedef struct { ...@@ -400,6 +396,10 @@ typedef struct {
uart_type_t type; /**< hardware module type (USART or LPUART) */ uart_type_t type; /**< hardware module type (USART or LPUART) */
uint32_t clk_src; /**< clock source used for UART */ uint32_t clk_src; /**< clock source used for UART */
#endif #endif
#ifdef MODULE_PERIPH_DMA
dma_t dma; /**< Logical DMA stream used for TX */
uint8_t dma_chan; /**< DMA channel used for TX */
#endif
} uart_conf_t; } uart_conf_t;
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment