diff options
author | px4dev <px4@purgatory.org> | 2013-09-01 19:43:04 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-09-01 19:43:04 -0700 |
commit | 514a5a12acbfcf6a5f7f31eaa871fe88ae16b06c (patch) | |
tree | c24673aee305705d1963a5f84c4ae3b887eb442c /nuttx/arch/arm/src/stm32/chip/stm32f40xxx_dma.h | |
parent | bf6dd9072dec4d07f77323f5d2807f452da1720a (diff) | |
download | px4-nuttx-514a5a12acbfcf6a5f7f31eaa871fe88ae16b06c.tar.gz px4-nuttx-514a5a12acbfcf6a5f7f31eaa871fe88ae16b06c.tar.bz2 px4-nuttx-514a5a12acbfcf6a5f7f31eaa871fe88ae16b06c.zip |
Fix DMA channel definitions for UART7/8
Diffstat (limited to 'nuttx/arch/arm/src/stm32/chip/stm32f40xxx_dma.h')
-rw-r--r-- | nuttx/arch/arm/src/stm32/chip/stm32f40xxx_dma.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/stm32/chip/stm32f40xxx_dma.h b/nuttx/arch/arm/src/stm32/chip/stm32f40xxx_dma.h index ddd0413a5..b7d8cf08c 100644 --- a/nuttx/arch/arm/src/stm32/chip/stm32f40xxx_dma.h +++ b/nuttx/arch/arm/src/stm32/chip/stm32f40xxx_dma.h @@ -439,19 +439,19 @@ #define DMAMAP_UART5_TX STM32_DMA_MAP(DMA1,DMA_STREAM7,DMA_CHAN4) #ifdef CONFIG_STM32_STM32F427 -# define DMAMAP_UART8_TX STM32_DMA_MAP(CMA1,DMA_STREAM0,DMA_CHAN5) -# define DMAMAP_UART7_TX STM32_DMA_MAP(CMA1,DMA_STREAM1,DMA_CHAN5) +# define DMAMAP_UART8_TX STM32_DMA_MAP(DMA1,DMA_STREAM0,DMA_CHAN5) +# define DMAMAP_UART7_TX STM32_DMA_MAP(DMA1,DMA_STREAM1,DMA_CHAN5) #endif #define DMAMAP_TIM3_CH4 STM32_DMA_MAP(DMA1,DMA_STREAM2,DMA_CHAN5) #define DMAMAP_TIM3_UP STM32_DMA_MAP(DMA1,DMA_STREAM2,DMA_CHAN5) #ifdef CONFIG_STM32_STM32F427 -# define DMAMAP_UART7_RX STM32_DMA_MAP(CMA1,DMA_STREAM3,DMA_CHAN5) +# define DMAMAP_UART7_RX STM32_DMA_MAP(DMA1,DMA_STREAM3,DMA_CHAN5) #endif #define DMAMAP_TIM3_CH1 STM32_DMA_MAP(DMA1,DMA_STREAM4,DMA_CHAN5) #define DMAMAP_TIM3_TRIG STM32_DMA_MAP(DMA1,DMA_STREAM4,DMA_CHAN5) #define DMAMAP_TIM3_CH2 STM32_DMA_MAP(DMA1,DMA_STREAM5,DMA_CHAN5) #ifdef CONFIG_STM32_STM32F427 -# define DMAMAP_UART8_RX STM32_DMA_MAP(CMA1,DMA_STREAM6,DMA_CHAN5) +# define DMAMAP_UART8_RX STM32_DMA_MAP(DMA1,DMA_STREAM6,DMA_CHAN5) #endif #define DMAMAP_TIM3_CH3 STM32_DMA_MAP(DMA1,DMA_STREAM7,DMA_CHAN5) |