aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32L0xx/SPI
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32L0xx/SPI')
-rw-r--r--testhal/STM32/STM32L0xx/SPI/mcuconf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/testhal/STM32/STM32L0xx/SPI/mcuconf.h b/testhal/STM32/STM32L0xx/SPI/mcuconf.h
index 4932a7bae..2c2ac568f 100644
--- a/testhal/STM32/STM32L0xx/SPI/mcuconf.h
+++ b/testhal/STM32/STM32L0xx/SPI/mcuconf.h
@@ -68,11 +68,13 @@
/*
* ADC driver system settings.
*/
-#define STM32_ADC_USE_ADC1 FALSE
+#define STM32_ADC_USE_ADC1 TRUE
+#define STM32_ADC_ADC1_CKMODE STM32_ADC_CKMODE_ADCCLK
#define STM32_ADC_ADC1_DMA_PRIORITY 2
-#define STM32_ADC_IRQ_PRIORITY 2
+#define STM32_ADC_ADC1_IRQ_PRIORITY 2
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 2
#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
+#define STM32_ADC_PRESCALER_VALUE 1
/*
* EXT driver system settings.