diff --git a/kernel/src/irq.rs b/kernel/src/irq.rs index 9bd496220..953579e6e 100644 --- a/kernel/src/irq.rs +++ b/kernel/src/irq.rs @@ -44,6 +44,7 @@ pub fn handle(irqs_pending: usize) -> Result(op: F) where F: Fn(usize, &PID, MemoryAddress, Option), diff --git a/services/shellchat/src/cmds/test.rs b/services/shellchat/src/cmds/test.rs index 1345a07fe..1b1e7bb83 100644 --- a/services/shellchat/src/cmds/test.rs +++ b/services/shellchat/src/cmds/test.rs @@ -35,6 +35,7 @@ pub struct Test { //kbd: Arc>, oqc: oqc_test::Oqc, oqc_start: u64, + #[cfg(any(target_os = "none", target_os = "xous"))] jtag: jtag::Jtag, } impl Test { @@ -71,6 +72,7 @@ impl Test { //kbd: Arc::new(Mutex::new(keyboard::Keyboard::new(&xns).unwrap())), oqc: oqc_test::Oqc::new(&xns).unwrap(), oqc_start: 0, + #[cfg(any(target_os = "none", target_os = "xous"))] jtag: jtag::Jtag::new(&xns).unwrap(), } }