mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-24 12:42:52 +01:00
21 lines
445 B
Rust
21 lines
445 B
Rust
//! [compile-pass] Check `schedule` code generation
|
|
|
|
#![deny(unsafe_code)]
|
|
#![deny(warnings)]
|
|
#![no_main]
|
|
#![no_std]
|
|
|
|
use panic_halt as _;
|
|
|
|
#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT, dispatchers = [SSI0])]
|
|
mod app {
|
|
#[init]
|
|
fn init(c: init::Context) -> init::LateResources {
|
|
let _c: rtic::Peripherals = c.core;
|
|
|
|
init::LateResources {}
|
|
}
|
|
|
|
#[task]
|
|
fn some_task(_: some_task::Context) {}
|
|
}
|