diff options
author | 2019-06-20 06:19:59 +0200 | |
---|---|---|
committer | 2019-06-20 06:19:59 +0200 | |
commit | 4e51bb68b976c6bb6a9a989dc560d2a8123a84ca (patch) | |
tree | 5c14f21f904c15034d477c7e4400e01d212a9f2a /examples/t-binds.rs | |
parent | b150ab29e25637e41ba5de81f6cbbdfe24834a3f (diff) | |
download | rtic-4e51bb68b976c6bb6a9a989dc560d2a8123a84ca.tar.gz rtic-4e51bb68b976c6bb6a9a989dc560d2a8123a84ca.tar.zst rtic-4e51bb68b976c6bb6a9a989dc560d2a8123a84ca.zip |
RFC #207
Diffstat (limited to 'examples/t-binds.rs')
-rw-r--r-- | examples/t-binds.rs | 6 |
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) } |