aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/examples
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/examples')
-rw-r--r--cortex-m-rt/examples/alignment.rs2
-rw-r--r--cortex-m-rt/examples/data_overflow.rs2
-rw-r--r--cortex-m-rt/examples/device.rs2
-rw-r--r--cortex-m-rt/examples/divergent-default-handler.rs2
-rw-r--r--cortex-m-rt/examples/divergent-exception.rs2
-rw-r--r--cortex-m-rt/examples/entry-static.rs2
-rw-r--r--cortex-m-rt/examples/main.rs2
-rw-r--r--cortex-m-rt/examples/minimal.rs2
-rw-r--r--cortex-m-rt/examples/override-exception.rs2
-rw-r--r--cortex-m-rt/examples/pre_init.rs2
-rw-r--r--cortex-m-rt/examples/rand.rs2
-rw-r--r--cortex-m-rt/examples/state.rs2
-rw-r--r--cortex-m-rt/examples/unsafe-default-handler.rs2
-rw-r--r--cortex-m-rt/examples/unsafe-entry.rs2
-rw-r--r--cortex-m-rt/examples/unsafe-exception.rs2
-rw-r--r--cortex-m-rt/examples/unsafe-hard-fault.rs2
-rw-r--r--cortex-m-rt/examples/unsafety.rs2
17 files changed, 17 insertions, 17 deletions
diff --git a/cortex-m-rt/examples/alignment.rs b/cortex-m-rt/examples/alignment.rs
index 25d755d..4421e69 100644
--- a/cortex-m-rt/examples/alignment.rs
+++ b/cortex-m-rt/examples/alignment.rs
@@ -5,7 +5,7 @@
#![no_std]
extern crate cortex_m_rt as rt;
-extern crate panic_abort;
+extern crate panic_halt;
use core::ptr;
diff --git a/cortex-m-rt/examples/data_overflow.rs b/cortex-m-rt/examples/data_overflow.rs
index ceec18b..ea48b23 100644
--- a/cortex-m-rt/examples/data_overflow.rs
+++ b/cortex-m-rt/examples/data_overflow.rs
@@ -6,7 +6,7 @@
#![no_std]
extern crate cortex_m_rt as rt;
-extern crate panic_abort;
+extern crate panic_halt;
use core::ptr;
diff --git a/cortex-m-rt/examples/device.rs b/cortex-m-rt/examples/device.rs
index 950a564..dc1c738 100644
--- a/cortex-m-rt/examples/device.rs
+++ b/cortex-m-rt/examples/device.rs
@@ -6,7 +6,7 @@
#![no_std]
extern crate cortex_m_rt as rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use rt::entry;
diff --git a/cortex-m-rt/examples/divergent-default-handler.rs b/cortex-m-rt/examples/divergent-default-handler.rs
index cbb8bb1..22fa437 100644
--- a/cortex-m-rt/examples/divergent-default-handler.rs
+++ b/cortex-m-rt/examples/divergent-default-handler.rs
@@ -4,7 +4,7 @@
#![no_std]
extern crate cortex_m_rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use cortex_m_rt::{entry, exception};
diff --git a/cortex-m-rt/examples/divergent-exception.rs b/cortex-m-rt/examples/divergent-exception.rs
index 9998884..cb2247b 100644
--- a/cortex-m-rt/examples/divergent-exception.rs
+++ b/cortex-m-rt/examples/divergent-exception.rs
@@ -3,7 +3,7 @@
#![no_std]
extern crate cortex_m_rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use cortex_m_rt::{entry, exception};
diff --git a/cortex-m-rt/examples/entry-static.rs b/cortex-m-rt/examples/entry-static.rs
index 1b2e118..55e7a89 100644
--- a/cortex-m-rt/examples/entry-static.rs
+++ b/cortex-m-rt/examples/entry-static.rs
@@ -6,7 +6,7 @@
#![no_std]
extern crate cortex_m_rt as rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use rt::entry;
diff --git a/cortex-m-rt/examples/main.rs b/cortex-m-rt/examples/main.rs
index e5ce3d1..b8ab66e 100644
--- a/cortex-m-rt/examples/main.rs
+++ b/cortex-m-rt/examples/main.rs
@@ -5,7 +5,7 @@
#![no_std]
extern crate cortex_m_rt as rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
#[no_mangle]
pub unsafe extern "C" fn main() -> ! {
diff --git a/cortex-m-rt/examples/minimal.rs b/cortex-m-rt/examples/minimal.rs
index 6f60180..bd0a6ad 100644
--- a/cortex-m-rt/examples/minimal.rs
+++ b/cortex-m-rt/examples/minimal.rs
@@ -6,7 +6,7 @@
#![no_std]
extern crate cortex_m_rt as rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use rt::entry;
diff --git a/cortex-m-rt/examples/override-exception.rs b/cortex-m-rt/examples/override-exception.rs
index 3e0af25..6da6c5e 100644
--- a/cortex-m-rt/examples/override-exception.rs
+++ b/cortex-m-rt/examples/override-exception.rs
@@ -7,7 +7,7 @@
extern crate cortex_m;
extern crate cortex_m_rt as rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use cortex_m::asm;
use rt::{entry, exception, ExceptionFrame};
diff --git a/cortex-m-rt/examples/pre_init.rs b/cortex-m-rt/examples/pre_init.rs
index 00e2f2c..2c931bb 100644
--- a/cortex-m-rt/examples/pre_init.rs
+++ b/cortex-m-rt/examples/pre_init.rs
@@ -5,7 +5,7 @@
#![no_std]
extern crate cortex_m_rt as rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use rt::{entry, pre_init};
diff --git a/cortex-m-rt/examples/rand.rs b/cortex-m-rt/examples/rand.rs
index e0cfd31..ec3afaa 100644
--- a/cortex-m-rt/examples/rand.rs
+++ b/cortex-m-rt/examples/rand.rs
@@ -7,7 +7,7 @@
extern crate cortex_m_rt as rt;
use rt::entry;
-extern crate panic_semihosting;
+extern crate panic_halt;
extern crate rand;
use rand::Rng;
diff --git a/cortex-m-rt/examples/state.rs b/cortex-m-rt/examples/state.rs
index 573914f..ee6224d 100644
--- a/cortex-m-rt/examples/state.rs
+++ b/cortex-m-rt/examples/state.rs
@@ -6,7 +6,7 @@
#![no_std]
extern crate cortex_m_rt as rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use rt::{entry, exception};
diff --git a/cortex-m-rt/examples/unsafe-default-handler.rs b/cortex-m-rt/examples/unsafe-default-handler.rs
index 48bd31e..a805c12 100644
--- a/cortex-m-rt/examples/unsafe-default-handler.rs
+++ b/cortex-m-rt/examples/unsafe-default-handler.rs
@@ -3,7 +3,7 @@
#![no_std]
extern crate cortex_m_rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use cortex_m_rt::{entry, exception};
diff --git a/cortex-m-rt/examples/unsafe-entry.rs b/cortex-m-rt/examples/unsafe-entry.rs
index feb6f44..9dcbf33 100644
--- a/cortex-m-rt/examples/unsafe-entry.rs
+++ b/cortex-m-rt/examples/unsafe-entry.rs
@@ -3,7 +3,7 @@
#![no_std]
extern crate cortex_m_rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use cortex_m_rt::entry;
diff --git a/cortex-m-rt/examples/unsafe-exception.rs b/cortex-m-rt/examples/unsafe-exception.rs
index d67f06f..4212610 100644
--- a/cortex-m-rt/examples/unsafe-exception.rs
+++ b/cortex-m-rt/examples/unsafe-exception.rs
@@ -3,7 +3,7 @@
#![no_std]
extern crate cortex_m_rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use cortex_m_rt::{entry, exception};
diff --git a/cortex-m-rt/examples/unsafe-hard-fault.rs b/cortex-m-rt/examples/unsafe-hard-fault.rs
index b091d47..b1d48f3 100644
--- a/cortex-m-rt/examples/unsafe-hard-fault.rs
+++ b/cortex-m-rt/examples/unsafe-hard-fault.rs
@@ -3,7 +3,7 @@
#![no_std]
extern crate cortex_m_rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use cortex_m_rt::{entry, exception, ExceptionFrame};
diff --git a/cortex-m-rt/examples/unsafety.rs b/cortex-m-rt/examples/unsafety.rs
index a9f0234..cdb5aca 100644
--- a/cortex-m-rt/examples/unsafety.rs
+++ b/cortex-m-rt/examples/unsafety.rs
@@ -5,7 +5,7 @@
#![no_std]
extern crate cortex_m_rt;
-extern crate panic_semihosting;
+extern crate panic_halt;
use cortex_m_rt::{entry, exception, ExceptionFrame};