stm32/sdmmc: Implement proper clock configuration

This commit is contained in:
chemicstry
2023-02-23 16:57:21 +02:00
parent dda5a4cc9d
commit 42462681bd
3 changed files with 75 additions and 16 deletions

View File

@ -13,6 +13,7 @@ use {defmt_rtt as _, panic_probe as _};
async fn main(_spawner: Spawner) -> ! {
let mut config = Config::default();
config.rcc.sys_ck = Some(mhz(200));
config.rcc.pll48 = true;
let p = embassy_stm32::init(config);
info!("Hello World!");