Skip to content

Commit

Permalink
demodulification
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Nov 15, 2019
1 parent 9381c62 commit 1187a5b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tock/chips/arty_e21/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#![crate_name = "arty_e21"]
#![crate_type = "rlib"]

#[cfg(not_now)]
mod interrupts {
//! Named interrupts for the E21 Arty core.
Expand Down Expand Up @@ -38,9 +39,9 @@ use kernel::debug;
use rv32i;
use rv32i::machine_timer;

use crate::gpio;
use crate::interrupts;
use crate::uart;
// use crate::gpio;
// use crate::interrupts;
// use crate::uart;

extern "C" {
fn _start_trap();
Expand Down Expand Up @@ -126,6 +127,7 @@ impl kernel::Chip for ArtyExx {
#[export_name = "_disable_interrupt_trap_handler"]
pub extern "C" fn disable_interrupt_trap_handler(mcause: u32) { loop { } }
}
#[cfg(not_now)]
mod gpio {
use core::ops::{Index, IndexMut};

Expand Down Expand Up @@ -200,6 +202,7 @@ pub static mut PORT: Port = Port {
],
};
}
#[cfg(not_now)]
mod uart {
use kernel::common::StaticRef;
use sifive::uart::{Uart, UartRegisters};
Expand Down

0 comments on commit 1187a5b

Please sign in to comment.