diff options
Diffstat (limited to 'tests/stm32')
| -rw-r--r-- | tests/stm32/src/common.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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 { | |||
| 394 | config.rcc.apb4_pre = APBPrescaler::DIV2; // 100 Mhz | 394 | config.rcc.apb4_pre = APBPrescaler::DIV2; // 100 Mhz |
| 395 | config.rcc.voltage_scale = VoltageScale::Scale1; | 395 | config.rcc.voltage_scale = VoltageScale::Scale1; |
| 396 | config.rcc.adc_clock_source = AdcClockSource::PLL2_P; | 396 | config.rcc.adc_clock_source = AdcClockSource::PLL2_P; |
| 397 | #[cfg(any(feature = "stm32h755zi"))] | ||
| 398 | { | ||
| 399 | config.rcc.supply_config = SupplyConfig::DirectSMPS; | ||
| 400 | } | ||
| 397 | } | 401 | } |
| 398 | 402 | ||
| 399 | #[cfg(any(feature = "stm32h7a3zi"))] | 403 | #[cfg(any(feature = "stm32h7a3zi"))] |
