aboutsummaryrefslogtreecommitdiff
path: root/examples/type-usage.rs
blob: a7a0d411052198d27b73e2e06a4142a2d6da57f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! examples/smallest.rs

#![no_main]
#![no_std]

use panic_semihosting as _; // panic handler
use rtic::app;

#[app(device = lm3s6965, dispatchers = [SSI0])]
mod app {
    type Test = u32;

    #[task]
    fn t1(_: t1::Context, _val: Test) {}
}