aboutsummaryrefslogtreecommitdiff
path: root/examples/t-binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-binds.rs')
-rw-r--r--examples/t-binds.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/t-binds.rs b/examples/t-binds.rs
index b4693a47..dda8e201 100644
--- a/examples/t-binds.rs
+++ b/examples/t-binds.rs
@@ -12,12 +12,14 @@ const APP: () = {
#[init]
fn init(_: init::Context) {}
- #[exception(binds = SVCall)]
+ // Cortex-M exception
+ #[task(binds = SVCall)]
fn foo(c: foo::Context) {
foo_trampoline(c)
}
- #[interrupt(binds = UART0)]
+ // LM3S6965 interrupt
+ #[task(binds = UART0)]
fn bar(c: bar::Context) {
bar_trampoline(c)
}