diff options
author | 2020-10-23 22:03:08 +0000 | |
---|---|---|
committer | 2020-10-23 22:03:08 +0000 | |
commit | 4f4c95be40019f6656d4eee549932ee811a40116 (patch) | |
tree | 092cede9ccdaa9b7a4381f7c369db79583d7eb8b /examples/types.rs | |
parent | bbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b (diff) | |
parent | 1c244a995d54332649c1643aa0a3178f169406e4 (diff) | |
download | rtic-4f4c95be40019f6656d4eee549932ee811a40116.tar.gz rtic-4f4c95be40019f6656d4eee549932ee811a40116.tar.zst rtic-4f4c95be40019f6656d4eee549932ee811a40116.zip |
Merge #400
400: codegen and examples r=AfoHT a=perlindgren
just a test
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
Diffstat (limited to 'examples/types.rs')
-rw-r--r-- | examples/types.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/types.rs b/examples/types.rs index cb93a36f..bcdd30a9 100644 --- a/examples/types.rs +++ b/examples/types.rs @@ -7,7 +7,7 @@ use panic_semihosting as _; -#[rtic::app(device = lm3s6965, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)] +#[rtic::app(device = lm3s6965, peripherals = true, monotonic = rtic::cyccnt::CYCCNT, dispatchers = [SSI0])] mod app { use cortex_m_semihosting::debug; use rtic::cyccnt; @@ -48,11 +48,4 @@ mod app { let _: resources::shared = cx.resources.shared; let _: foo::Resources = cx.resources; } - - // RTIC requires that unused interrupts are declared in an extern block when - // using software tasks; these free interrupts will be used to dispatch the - // software tasks. - extern "C" { - fn SSI0(); - } } |