From 101740a6268d6e29406a8eb7441b17aefbbc2cf7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 20 Dec 2018 10:56:42 -0600 Subject: [PATCH] arch/arm/src/stm32/chip/stm32_dma_v1.h: Add missing DMA channel configuration. arch/arm/src/stm32/stm32_adc.c: Fixes a typo. --- arch/arm/src/stm32/chip/stm32_dma_v1.h | 1 + arch/arm/src/stm32/stm32_adc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/stm32/chip/stm32_dma_v1.h b/arch/arm/src/stm32/chip/stm32_dma_v1.h index 0a2ddeb80b..bcc0060f58 100644 --- a/arch/arm/src/stm32/chip/stm32_dma_v1.h +++ b/arch/arm/src/stm32/chip/stm32_dma_v1.h @@ -475,6 +475,7 @@ # define DMACHAN_TIM1_CH2_1 STM32_DMA1_CHAN3 # define DMACHAN_TIM3_CH4 STM32_DMA1_CHAN3 # define DMACHAN_TIM3_UP_2 STM32_DMA1_CHAN3 +# define DMACHAN_DAC_CH1 STM32_DMA1_CHAN3 # define DMACHAN_SPI2_RX STM32_DMA1_CHAN4 # define DMACHAN_I2S2_RX STM32_DMA1_CHAN4 diff --git a/arch/arm/src/stm32/stm32_adc.c b/arch/arm/src/stm32/stm32_adc.c index 2bcdbda7dd..37acc70899 100644 --- a/arch/arm/src/stm32/stm32_adc.c +++ b/arch/arm/src/stm32/stm32_adc.c @@ -121,7 +121,7 @@ #endif /* At the moment there is no proper implementation for timers external - * trigger in STM32L15XX May be added latter + * trigger in STM32L15XX may be added later */ #if defined(ADC_HAVE_TIMER) && defined(CONFIG_STM32_STM32L15XX)