Skip to content

gmodena/binaryno

Repository files navigation

binaryno

Rust binary running on bare ARM CortexM hardware (thumbv7em-none-eabihf).

Scope

This repo contains a cross compiling toolchain for thumbv7em-none-eabihf binaries on MacOS and Linux host. The target spec for this architecture (bare metal, no os) can be found in thumbv7em-none-eabihf-noos.json.

I'm getting my feet wet with osdev in rust; building a (uni) kernel, based on Embedded Systems Architecture the tutorials at https://os.phil-opp.com.

Install deps & build

Rust nightly and thumbv7em-none-eabihf target are required to build the binary.

Manual steps:

$ cargo install cargo-xbuild
$ rustup default nightly
$ rustup target add thumbv7em-none-eabihf
$ rustup component add rust-src
$ rustup component add llvm-tools-preview
$ cargo xbuild --release

Run

TODO: needs a bootloader

Resources

About

Rust binary running on bare metal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages