From 4ed36bf87137a2f07bcc9cde21803dd9ce6f70e6 Mon Sep 17 00:00:00 2001 From: Joshua DeWeese Date: Fri, 19 May 2023 13:19:03 -0400 Subject: [PATCH] boards/nucleo-f767zi: increase ADC clock speed This patch increases the board's ADC clock speed to the MCU's maximum speed. --- boards/nucleo-f767zi/include/periph_conf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/nucleo-f767zi/include/periph_conf.h b/boards/nucleo-f767zi/include/periph_conf.h index d6608c3240..8fc36657fa 100644 --- a/boards/nucleo-f767zi/include/periph_conf.h +++ b/boards/nucleo-f767zi/include/periph_conf.h @@ -208,6 +208,7 @@ static const adc_conf_t adc_config[] = { }; #define VBAT_ADC ADC_LINE(6) /**< VBAT ADC line */ +#define ADC_CLK_MAX MHZ(36) /**< Use a faster than default ADC clock */ #define ADC_NUMOF ARRAY_SIZE(adc_config) /** @} */