Robin Mueller
94c6d91bae
- The workspace is now a monorepo without submodules. The HAL, PAC and BSP are integrated directly - Update all dependencies: embedded-hal v1 and RTIC v2
20 lines
380 B
Rust
20 lines
380 B
Rust
//! Code to test RTT logger functionality
|
|
#![no_main]
|
|
#![no_std]
|
|
|
|
use cortex_m_rt::entry;
|
|
use panic_halt as _;
|
|
use rtt_target::{rprintln, rtt_init_print};
|
|
use va108xx as _;
|
|
|
|
#[entry]
|
|
fn main() -> ! {
|
|
rtt_init_print!();
|
|
let mut counter = 0;
|
|
loop {
|
|
rprintln!("{}: Hello, world!", counter);
|
|
counter += 1;
|
|
cortex_m::asm::delay(25_000_000);
|
|
}
|
|
}
|