File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 6
6
#![ crate_name = "arty_e21" ]
7
7
#![ crate_type = "rlib" ]
8
8
9
+ #[ cfg( not_now) ]
9
10
mod interrupts {
10
11
//! Named interrupts for the E21 Arty core.
11
12
@@ -38,9 +39,9 @@ use kernel::debug;
38
39
use rv32i;
39
40
use rv32i:: machine_timer;
40
41
41
- use crate :: gpio;
42
- use crate :: interrupts;
43
- use crate :: uart;
42
+ // use crate::gpio;
43
+ // use crate::interrupts;
44
+ // use crate::uart;
44
45
45
46
extern "C" {
46
47
fn _start_trap ( ) ;
@@ -126,6 +127,7 @@ impl kernel::Chip for ArtyExx {
126
127
#[ export_name = "_disable_interrupt_trap_handler" ]
127
128
pub extern "C" fn disable_interrupt_trap_handler ( mcause : u32 ) { loop { } }
128
129
}
130
+ #[ cfg( not_now) ]
129
131
mod gpio {
130
132
use core:: ops:: { Index , IndexMut } ;
131
133
@@ -200,6 +202,7 @@ pub static mut PORT: Port = Port {
200
202
] ,
201
203
} ;
202
204
}
205
+ #[ cfg( not_now) ]
203
206
mod uart {
204
207
use kernel:: common:: StaticRef ;
205
208
use sifive:: uart:: { Uart , UartRegisters } ;
You can’t perform that action at this time.
0 commit comments