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 66#![ crate_name = "arty_e21" ]
77#![ crate_type = "rlib" ]
88
9+ #[ cfg( not_now) ]
910mod interrupts {
1011//! Named interrupts for the E21 Arty core.
1112
@@ -38,9 +39,9 @@ use kernel::debug;
3839use rv32i;
3940use 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
4546extern "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) ]
129131mod gpio {
130132use core:: ops:: { Index , IndexMut } ;
131133
@@ -200,6 +202,7 @@ pub static mut PORT: Port = Port {
200202 ] ,
201203} ;
202204}
205+ #[ cfg( not_now) ]
203206mod uart {
204207use kernel:: common:: StaticRef ;
205208use sifive:: uart:: { Uart , UartRegisters } ;
You can’t perform that action at this time.
0 commit comments