Skip to content

Commit cd73c26

Browse files
committed
expr-elimination
1 parent 58118dd commit cd73c26

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tock/boards/arty-e21/src/main.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,19 @@ pub unsafe fn reset_handler() {
9797
rv32i::init_memory();
9898

9999
let chip = static_init!(arty_e21::chip::ArtyExx, arty_e21::chip::ArtyExx::new());
100+
/*
100101
chip.initialize();
102+
*/
101103

102104
let process_mgmt_cap = create_capability!(capabilities::ProcessManagementCapability);
105+
/*
103106
let main_loop_cap = create_capability!(capabilities::MainLoopCapability);
104107
let memory_allocation_cap = create_capability!(capabilities::MemoryAllocationCapability);
105108
109+
*/
106110
let board_kernel = static_init!(kernel::Kernel, kernel::Kernel::new(&PROCESSES));
107111

112+
/*
108113
kernel::debug::assign_gpios(
109114
Some(&arty_e21::gpio::PORT[0]), // Red
110115
Some(&arty_e21::gpio::PORT[1]),
@@ -243,6 +248,7 @@ pub unsafe fn reset_handler() {
243248
kernel::debug::set_debug_writer_wrapper(debug_wrapper);
244249
245250
debug!("Initialization complete. Entering main loop.");
251+
*/
246252

247253
extern "C" {
248254
static _sapps: u8;
@@ -258,5 +264,7 @@ pub unsafe fn reset_handler() {
258264
&process_mgmt_cap,
259265
);
260266

267+
/*
261268
board_kernel.kernel_loop(&artye21, chip, None, &main_loop_cap);
269+
*/
262270
}

0 commit comments

Comments
 (0)