diff options
| author | Matous Hybl <[email protected]> | 2022-02-08 14:32:18 +0100 |
|---|---|---|
| committer | Matous Hybl <[email protected]> | 2022-02-08 17:30:20 +0100 |
| commit | d37d714314093747c9042faefcc3a22e2bfee59d (patch) | |
| tree | 16f9b8ce5d8e58f7b6cf32f8071f394795f8300b /examples/stm32h7/src/example_common.rs | |
| parent | fee1de109dc5a81ee4e2a74403faec0923e0369e (diff) | |
stm32: Add support for FMC
Diffstat (limited to 'examples/stm32h7/src/example_common.rs')
| -rw-r--r-- | examples/stm32h7/src/example_common.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/stm32h7/src/example_common.rs b/examples/stm32h7/src/example_common.rs index 524bee6d9..b8acc2790 100644 --- a/examples/stm32h7/src/example_common.rs +++ b/examples/stm32h7/src/example_common.rs | |||
| @@ -22,6 +22,7 @@ defmt::timestamp! {"{=u64}", { | |||
| 22 | pub fn config() -> Config { | 22 | pub fn config() -> Config { |
| 23 | let mut config = Config::default(); | 23 | let mut config = Config::default(); |
| 24 | config.rcc.sys_ck = Some(400.mhz().into()); | 24 | config.rcc.sys_ck = Some(400.mhz().into()); |
| 25 | config.rcc.hclk = Some(200.mhz().into()); | ||
| 25 | config.rcc.pll1.q_ck = Some(100.mhz().into()); | 26 | config.rcc.pll1.q_ck = Some(100.mhz().into()); |
| 26 | config | 27 | config |
| 27 | } | 28 | } |
