Registry / other / cortex-m-semihosting

cortex-m-semihosting

JSON →
library0.5.0rscratesunverified

Enables semihosting output for ARM Cortex-M microcontrollers.

# Cargo.toml [dependencies] cortex-m-semihosting = "0.5.0"
INSTALL
IMPORT
SIG · CORTEX-M-SEMIHOSTI
C
cortex-m-semihosting
otherrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hprintln
use cortex_m_semihosting::hprintln;

Prints a message via the host debugger.

use cortex_m_semihosting::hprintln; hprintln!("Hello from semihosting!").unwrap();
Debug
Known issues
gotchaRequires a debugger that supports semihosting (e.g., OpenOCD, QEMU)
fix
Ensure your debug probe or emulator has semihosting enabled
affects: *
Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
cortex-m-semihosting — cargo add cortex-m-semihosting · libregistry