From 4d6fab1cfa4c16831cbd9727efddec654ca0460e Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 5 Oct 2022 11:36:20 +1100 Subject: onekey: Enable ADC for STM32F072 Discovery (#18592) --- platforms/chibios/boards/GENERIC_STM32_F072XB/configs/mcuconf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'platforms/chibios/boards/GENERIC_STM32_F072XB') diff --git a/platforms/chibios/boards/GENERIC_STM32_F072XB/configs/mcuconf.h b/platforms/chibios/boards/GENERIC_STM32_F072XB/configs/mcuconf.h index 32b2777a81..9d26849dff 100644 --- a/platforms/chibios/boards/GENERIC_STM32_F072XB/configs/mcuconf.h +++ b/platforms/chibios/boards/GENERIC_STM32_F072XB/configs/mcuconf.h @@ -80,6 +80,7 @@ #define STM32_ADC_ADC1_DMA_PRIORITY 2 #define STM32_ADC_IRQ_PRIORITY 2 #define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 2 +#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1) /* * GPT driver system settings. -- cgit v1.2.3