diff options
| author | Emilie Burgun <[email protected]> | 2024-03-26 17:27:02 +0100 |
|---|---|---|
| committer | Emilie Burgun <[email protected]> | 2024-03-26 17:27:02 +0100 |
| commit | 402def86ee6a1d8695fc0a4cf157d1ffca7550d9 (patch) | |
| tree | 116aa9a8b9c756dc3dcf634ab3c1d86354436c4e /tests/stm32 | |
| parent | ca998c170f18c252e0d4c5a6aed1085113c27dd0 (diff) | |
Remove ad-hoc fixes for setting the IOSV bit to true
Diffstat (limited to 'tests/stm32')
| -rw-r--r-- | tests/stm32/src/common.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/stm32/src/common.rs b/tests/stm32/src/common.rs index c379863a8..0e555efc8 100644 --- a/tests/stm32/src/common.rs +++ b/tests/stm32/src/common.rs | |||
| @@ -251,13 +251,6 @@ define_peris!( | |||
| 251 | ); | 251 | ); |
| 252 | 252 | ||
| 253 | pub fn config() -> Config { | 253 | pub fn config() -> Config { |
| 254 | // Setting this bit is mandatory to use PG[15:2]. | ||
| 255 | #[cfg(feature = "stm32u5a5zj")] | ||
| 256 | embassy_stm32::pac::PWR.svmcr().modify(|w| { | ||
| 257 | w.set_io2sv(true); | ||
| 258 | w.set_io2vmen(true); | ||
| 259 | }); | ||
| 260 | |||
| 261 | #[allow(unused_mut)] | 254 | #[allow(unused_mut)] |
| 262 | let mut config = Config::default(); | 255 | let mut config = Config::default(); |
| 263 | 256 | ||
