mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
fix: fmt code
Signed-off-by: Haobo Gu <haobogu@outlook.com>
This commit is contained in:
parent
04c9130d32
commit
3b5284d99d
@ -4,18 +4,17 @@
|
|||||||
// Tested on weact stm32h7b0 board + w25q64 spi flash
|
// Tested on weact stm32h7b0 board + w25q64 spi flash
|
||||||
|
|
||||||
use defmt::info;
|
use defmt::info;
|
||||||
use defmt_rtt as _;
|
|
||||||
use embassy_executor::Spawner;
|
use embassy_executor::Spawner;
|
||||||
use embassy_stm32::{
|
use embassy_stm32::gpio::{Level, Output, Speed};
|
||||||
gpio::{Level, Output, Speed},
|
use embassy_stm32::mode::Blocking;
|
||||||
mode::Blocking,
|
use embassy_stm32::ospi::{
|
||||||
ospi::{AddressSize, DummyCycles, Instance, Ospi, OspiWidth, TransferConfig},
|
AddressSize, ChipSelectHighTime, DummyCycles, FIFOThresholdLevel, Instance, MemorySize, MemoryType, Ospi,
|
||||||
ospi::{ChipSelectHighTime, FIFOThresholdLevel, MemorySize, MemoryType, WrapSize},
|
OspiWidth, TransferConfig, WrapSize,
|
||||||
time::Hertz,
|
|
||||||
Config,
|
|
||||||
};
|
};
|
||||||
|
use embassy_stm32::time::Hertz;
|
||||||
|
use embassy_stm32::Config;
|
||||||
use embassy_time::Timer;
|
use embassy_time::Timer;
|
||||||
use panic_probe as _;
|
use {defmt_rtt as _, panic_probe as _};
|
||||||
|
|
||||||
#[embassy_executor::main]
|
#[embassy_executor::main]
|
||||||
async fn main(_spawner: Spawner) {
|
async fn main(_spawner: Spawner) {
|
||||||
|
Loading…
Reference in New Issue
Block a user