I am trying to add aa debug statement in my code for MIMXRT1064 board and the code looks something like this:
`#![no_std]
#![no_main]
use panic_halt as _;
use cortex_m_rt::entry;
use cortex_m_semihosting::hprintln;
use NXP1064 as _;
#[entry]
fn main() -> ! {
loop {
hprintln!("Hello"); // Print "Hello" via semihosting
}
}
`
The NXP1064 crate is a custom HAL crate i created using the svd for MIMXRT1064 , the binary is being generated and the tool i use for flash i MCUExpresso Secure Provisioning Tool which also flashes the code succesfully.
I am trying to add aa debug statement in my code for MIMXRT1064 board and the code looks something like this:
`#![no_std]
#![no_main]
use panic_halt as _;
use cortex_m_rt::entry;
use cortex_m_semihosting::hprintln;
use NXP1064 as _;
#[entry]
fn main() -> ! {
}
`
The NXP1064 crate is a custom HAL crate i created using the svd for MIMXRT1064 , the binary is being generated and the tool i use for flash i MCUExpresso Secure Provisioning Tool which also flashes the code succesfully.