r0

Initialization code ('crt0') written in Rust


Keywords
init, initialization, crt0, start, c0, no-std, rust, startup
Licenses
MIT/Apache-2.0

Documentation

r0

Build status crates.io crates.io

Memory initialization code written in Rust.

This crate is for bare metal systems where there is no ELF loader or OS to take care of initializing RAM for the program.

r0 is not meant to be used by user applications directly. Instead, it is most often used by embedded runtime crates, like:

The r0 crate provides similar functionality to crt0 in the C runtime.

This project is developed and maintained by the Cortex-A, Cortex-M, Cortex-R, MSP430, and RISCV teams.

Documentation

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Code of Conduct

Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainers of this crate, the Cortex-A, Cortex-M, Cortex-R, MSP430, and RISCV teams, promise to intervene to uphold that code of conduct.