From 18e72e023de58ad2ca5757157eab5fa93ca0977a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 16 Sep 2018 16:24:14 +0000 Subject: Adapted ADCv3 to STM32L4+. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12267 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testhal') diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h index e02d41c7e..8376b0103 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h @@ -124,6 +124,12 @@ /* * ADC driver system settings. */ +#define STM32_ADC_COMPACT_SAMPLES FALSE +#define STM32_ADC_USE_ADC1 FALSE +#define STM32_ADC_ADC1_DMA_CHANNEL 10 +#define STM32_ADC_ADC1_DMA_PRIORITY 2 +#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 5 +#define STM32_ADC_ADC123_CLOCK_MODE ADC_CCR_CKMODE_AHB_DIV2 /* * CAN driver system settings. -- cgit v1.2.3