From 2ceae2c20d91a854ba8fbb8aec2ac055bd2eb9a0 Mon Sep 17 00:00:00 2001 From: Matt Coffin Date: Mon, 1 Jun 2015 15:30:32 -0700 Subject: [PATCH] isr: Feature gate isr vector behind platforms --- src/hal/isr.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hal/isr.rs b/src/hal/isr.rs index 0864baa3..fe5f4c5f 100644 --- a/src/hal/isr.rs +++ b/src/hal/isr.rs @@ -18,6 +18,11 @@ #![allow(missing_docs)] +#[cfg(any(feature = "lpc17xx", + feature = "stm32f4", + feature = "stm32l1", + feature = "k20", + feature = "tiva_c"))] #[path="cortex_m3/isr.rs"] pub mod isr_cortex_m3; #[cfg(feature = "lpc17xx")]