arch/arm/src/stm32/stm32_adc.c: Allow multiple channels without DMA on STM32L15XX

This commit is contained in:
Juha Niskanen 2018-08-16 08:03:25 -06:00 committed by Gregory Nutt
parent aeda17318d
commit abf251f2a9

View File

@ -186,6 +186,8 @@
#else
# if defined(CONFIG_STM32_STM32F30XX)
# define ADC_MAX_SAMPLES ADC_MAX_CHANNELS_DMA /* Works without DMA should sampling frequency be reduced */
# elif defined(CONFIG_STM32_STM32L15XX)
# define ADC_MAX_SAMPLES ADC_MAX_CHANNELS_DMA /* Works without DMA as IO_START_CONV can switch channels on the fly */
# else
# define ADC_MAX_SAMPLES ADC_MAX_CHANNELS_NODMA
# endif