Function run

Source
pub unsafe fn run(uart: &'static Uarte<'_>)
Expand description

To run the tests add the following main.rs::main somewhere after that the UART peripheral has been initilized:

    tests::uart::run(base_peripherals.uarte0);

Make sure you don’t are running any user-space processes and remove all debug! prints in main.rs::main() otherwise race-conditions in the UART will occur. Then enable the test you want run in run()