From 81275bfa4f41e2066770087f3a33cad4227eab41 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 13 Jun 2019 23:56:59 +0200 Subject: rtfm-syntax refactor + heterogeneous multi-core support --- examples/smallest.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'examples/smallest.rs') diff --git a/examples/smallest.rs b/examples/smallest.rs index c153716..e422806 100644 --- a/examples/smallest.rs +++ b/examples/smallest.rs @@ -5,13 +5,8 @@ #![no_main] #![no_std] -// panic-handler crate -extern crate panic_semihosting; - +use panic_semihosting as _; // panic handler use rtfm::app; #[app(device = lm3s6965)] -const APP: () = { - #[init] - fn init(_: init::Context) {} -}; +const APP: () = {}; -- cgit v1.2.3 From 07b2b4d83078d0fd260d5f0812e8d5a34d02b793 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 21 Aug 2019 10:17:27 +0200 Subject: doc up --- examples/smallest.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples/smallest.rs') diff --git a/examples/smallest.rs b/examples/smallest.rs index e422806..7b26a85 100644 --- a/examples/smallest.rs +++ b/examples/smallest.rs @@ -1,7 +1,5 @@ //! examples/smallest.rs -#![deny(unsafe_code)] -#![deny(warnings)] #![no_main] #![no_std] -- cgit v1.2.3