Skip to content

Commit 1187a5b

Browse files
committed
demodulification
1 parent 9381c62 commit 1187a5b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tock/chips/arty_e21/src/lib.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#![crate_name = "arty_e21"]
77
#![crate_type = "rlib"]
88

9+
#[cfg(not_now)]
910
mod interrupts {
1011
//! Named interrupts for the E21 Arty core.
1112
@@ -38,9 +39,9 @@ use kernel::debug;
3839
use rv32i;
3940
use rv32i::machine_timer;
4041

41-
use crate::gpio;
42-
use crate::interrupts;
43-
use crate::uart;
42+
// use crate::gpio;
43+
// use crate::interrupts;
44+
// use crate::uart;
4445

4546
extern "C" {
4647
fn _start_trap();
@@ -126,6 +127,7 @@ impl kernel::Chip for ArtyExx {
126127
#[export_name = "_disable_interrupt_trap_handler"]
127128
pub extern "C" fn disable_interrupt_trap_handler(mcause: u32) { loop { } }
128129
}
130+
#[cfg(not_now)]
129131
mod gpio {
130132
use core::ops::{Index, IndexMut};
131133

@@ -200,6 +202,7 @@ pub static mut PORT: Port = Port {
200202
],
201203
};
202204
}
205+
#[cfg(not_now)]
203206
mod uart {
204207
use kernel::common::StaticRef;
205208
use sifive::uart::{Uart, UartRegisters};

0 commit comments

Comments
 (0)