setup

Attribute Macro setup 

Source
#[setup]
Expand description

Attribute to be placed on a global setup function for the test suite

Use this function to set up a global logger

ยงExamples

#[cfg(test)]
#[embedded_test::setup]
fn setup() {
    rtt_target::rtt_init_log!();
}