Registry / other / cortex-m-rt

cortex-m-rt

JSON →
library0.7.5rscratesunverified

Minimal runtime/startup for Cortex-M microcontrollers, providing vector table and entry point.

# Cargo.toml [dependencies] cortex-m-rt = "0.7.5"
INSTALL
IMPORT
SIG · CORTEX-M-RT
C
cortex-m-rt
otherrustv0.7.5
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.

entry
use cortex_m_rt::entry;

Define the entry point for a Cortex-M bare-metal program.

#![no_std] #![no_main] use cortex_m_rt::entry; #[entry] fn main() -> ! { loop {} }
Debug
Known issues
gotchaRequires a linker script; the `memory.x` file must be provided or generated.
fix
Use `cortex-m-rt`'s `linker-script` feature or provide a custom `memory.x`.
affects: >=0.7.0
Upgrade
Version history
0.7.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Meta
1
Amazon
1
Resources
cortex-m-rt — cargo add cortex-m-rt · libregistry