aboutsummaryrefslogtreecommitdiff
path: root/examples/type-usage.rs
blob: 9bb7eb8dd75635acd6b96637484b46ce1f9ec34a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! examples/type-usage.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) {}
}