From 7696b1c0b8f409fdcd9e171b7e8a51c29661a2da Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 20 Jan 2024 01:47:56 +0100 Subject: [PATCH] tests/stm32: fix h7 wrong smps config. --- tests/stm32/src/common.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/stm32/src/common.rs b/tests/stm32/src/common.rs index 313380b35..fefe72c86 100644 --- a/tests/stm32/src/common.rs +++ b/tests/stm32/src/common.rs @@ -394,6 +394,10 @@ pub fn config() -> Config { config.rcc.apb4_pre = APBPrescaler::DIV2; // 100 Mhz config.rcc.voltage_scale = VoltageScale::Scale1; config.rcc.adc_clock_source = AdcClockSource::PLL2_P; + #[cfg(any(feature = "stm32h755zi"))] + { + config.rcc.supply_config = SupplyConfig::DirectSMPS; + } } #[cfg(any(feature = "stm32h7a3zi"))]