2022-12-31 14:45:13 +01:00
|
|
|
#![no_main]
|
|
|
|
|
2023-01-03 07:51:35 +01:00
|
|
|
#[rtic_macros::mock_app(device = mock)]
|
2022-12-31 14:45:13 +01:00
|
|
|
mod app {
|
|
|
|
#[monotonic(binds = Tim1)]
|
|
|
|
type Fast1 = hal::Tim1Monotonic;
|
|
|
|
|
|
|
|
#[task(binds = Tim1)]
|
|
|
|
fn foo(_: foo::Context) {}
|
|
|
|
}
|