Use embassy/defmt-timestamp-uptime in all examples.

This commit is contained in:
Dario Nieuwenhuis
2022-04-02 04:35:06 +02:00
parent a9e63167e1
commit 82803bffda
162 changed files with 490 additions and 765 deletions

View File

@ -2,8 +2,8 @@
#![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../example_common.rs"]
mod example_common;
use defmt::*;
use defmt_rtt as _; // global logger
use embassy::blocking_mutex::raw::NoopRawMutex;
use embassy::channel::mpsc::{self, Channel, Sender};
use embassy::executor::Spawner;
@ -14,7 +14,7 @@ use embassy_stm32::{
usart::{Config, Uart, UartRx},
Peripherals,
};
use example_common::*;
use panic_probe as _;
#[embassy::task]
async fn writer(mut usart: Uart<'static, UART7, NoDma, NoDma>) {