{"id":13603310,"url":"https://github.com/gmodena/binaryno","last_synced_at":"2025-03-01T15:45:23.355Z","repository":{"id":136684061,"uuid":"242184159","full_name":"gmodena/binaryno","owner":"gmodena","description":"Rust binary running on bare metal","archived":false,"fork":false,"pushed_at":"2020-02-23T22:05:51.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T07:12:19.878Z","etag":null,"topics":["baremetal","rust","rust-embedded","unikernel"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmodena.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-02-21T16:33:24.000Z","updated_at":"2021-09-08T06:32:19.000Z","dependencies_parsed_at":"2024-01-24T15:18:01.051Z","dependency_job_id":"9cd003b6-4e1d-4071-874a-1d1edaa0d916","html_url":"https://github.com/gmodena/binaryno","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmodena%2Fbinaryno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmodena%2Fbinaryno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmodena%2Fbinaryno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmodena%2Fbinaryno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmodena","download_url":"https://codeload.github.com/gmodena/binaryno/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241389134,"owners_count":19955106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["baremetal","rust","rust-embedded","unikernel"],"created_at":"2024-08-01T19:00:17.751Z","updated_at":"2025-03-01T15:45:23.331Z","avatar_url":"https://github.com/gmodena.png","language":"Rust","readme":"# binaryno\nRust binary running on bare ARM CortexM hardware (`thumbv7em-none-eabihf`).\n\n# Scope\nThis repo contains a cross compiling toolchain for `thumbv7em-none-eabihf` binaries on MacOS and Linux\nhost. The target spec for this architecture (bare metal, no os) can be found in `thumbv7em-none-eabihf-noos.json`.\n\nI'm getting my feet wet with osdev in rust; building a (uni) kernel, based \non [Embedded Systems Architecture](https://www.packtpub.com/application-development/embedded-systems-architecture) \nthe tutorials at [https://os.phil-opp.com](https://os.phil-opp.com).\n\n# Install deps \u0026 build\n\n\nRust `nightly` and `thumbv7em-none-eabihf` target are required to build the binary.\n\nManual steps:\n```\n$ cargo install cargo-xbuild\n$ rustup default nightly\n$ rustup target add thumbv7em-none-eabihf\n$ rustup component add rust-src\n$ rustup component add llvm-tools-preview\n$ cargo xbuild --release\n```\n\n# Run\nTODO: needs a bootloader\n\n# Resources\n- https://os.phil-opp.com/freestanding-rust-binary/\n- https://github.com/rust-embedded/cortex-m-quickstart\n- https://www.packtpub.com/application-development/embedded-systems-architecture\n","funding_links":[],"categories":["Projects"],"sub_categories":["Language oriented"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmodena%2Fbinaryno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmodena%2Fbinaryno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmodena%2Fbinaryno/lists"}