Skip to content

hprintln! is not printing statements #552

@Admsher

Description

@Admsher

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions