File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#![ no_main]
33#![ feature( const_fn, in_band_lifetimes) ]
44
5- use capsules:: virtual_alarm:: { VirtualMuxAlarm } ;
65use kernel:: capabilities;
76use kernel:: Platform ;
87use kernel:: { create_capability, static_init} ;
@@ -36,16 +35,7 @@ static mut PROCESSES: [Option<&'static dyn kernel::procs::ProcessType>; NUM_PROC
3635#[ link_section = ".stack_buffer" ]
3736pub static mut STACK_MEMORY : [ u8 ; 0x1000 ] = [ 0 ; 0x1000 ] ;
3837
39- struct ArtyE21 {
40- _console : & ' static capsules:: console:: Console < ' static > ,
41- _gpio : & ' static capsules:: gpio:: GPIO < ' static > ,
42- _alarm : & ' static capsules:: alarm:: AlarmDriver <
43- ' static ,
44- VirtualMuxAlarm < ' static , rv32i:: machine_timer:: MachineTimer < ' static > > ,
45- > ,
46- _led : & ' static capsules:: led:: LED < ' static > ,
47- _button : & ' static capsules:: button:: Button < ' static > ,
48- }
38+ struct ArtyE21 { }
4939
5040impl Platform for ArtyE21 {
5141 fn with_driver < F , R > ( & self , _: usize , _: F ) -> R
You can’t perform that action at this time.
0 commit comments