Use panic_semihosting for all examples

This commit is contained in:
Henrik Tjäder 2021-03-03 08:53:03 +01:00
parent 08a37d6d3d
commit 612efaf0c4
12 changed files with 11 additions and 12 deletions

View file

@ -68,7 +68,6 @@ version_check = "0.9"
[dev-dependencies] [dev-dependencies]
lm3s6965 = "0.1.3" lm3s6965 = "0.1.3"
panic-halt = "0.2.0"
cortex-m-semihosting = "0.3.3" cortex-m-semihosting = "0.3.3"
[dev-dependencies.panic-semihosting] [dev-dependencies.panic-semihosting]

View file

@ -6,7 +6,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
/// Some big struct /// Some big struct
pub struct BigStruct { pub struct BigStruct {

View file

@ -6,7 +6,7 @@
#![no_std] #![no_std]
use core::marker::PhantomData; use core::marker::PhantomData;
use panic_halt as _; use panic_semihosting as _;
pub struct NotSync { pub struct NotSync {
_0: PhantomData<*const ()>, _0: PhantomData<*const ()>,

View file

@ -5,7 +5,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
// NOTE: does NOT work on QEMU! // NOTE: does NOT work on QEMU!
#[rtic::app(device = lm3s6965, dispatchers = [SSI0])] #[rtic::app(device = lm3s6965, dispatchers = [SSI0])]

View file

@ -5,7 +5,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
#[rtic::app(device = lm3s6965)] #[rtic::app(device = lm3s6965)]
mod app { mod app {

View file

@ -3,7 +3,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
#[rtic::app(device = lm3s6965)] #[rtic::app(device = lm3s6965)]
mod app { mod app {

View file

@ -3,7 +3,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
#[rtic::app(device = lm3s6965, dispatchers = [SSI0, QEI0])] #[rtic::app(device = lm3s6965, dispatchers = [SSI0, QEI0])]
mod app { mod app {

View file

@ -5,7 +5,7 @@
use core::marker::PhantomData; use core::marker::PhantomData;
use panic_halt as _; use panic_semihosting as _;
pub struct NotSend { pub struct NotSend {
_0: PhantomData<*const ()>, _0: PhantomData<*const ()>,

View file

@ -5,7 +5,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
#[rtic::app(device = lm3s6965)] #[rtic::app(device = lm3s6965)]
mod app { mod app {

View file

@ -5,7 +5,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
#[rtic::app(device = lm3s6965, dispatchers = [SSI0])] #[rtic::app(device = lm3s6965, dispatchers = [SSI0])]
mod app { mod app {

View file

@ -5,7 +5,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
#[rtic::app(device = lm3s6965, dispatchers = [SSI0])] #[rtic::app(device = lm3s6965, dispatchers = [SSI0])]
mod app { mod app {

View file

@ -5,7 +5,7 @@
#![no_main] #![no_main]
#![no_std] #![no_std]
use panic_halt as _; use panic_semihosting as _;
#[rtic::app(device = lm3s6965, dispatchers = [SSI0])] #[rtic::app(device = lm3s6965, dispatchers = [SSI0])]
mod app { mod app {