Nun is a Runtime for creating OS to use A9N Microkernel. "Nun" is named after the primordial god in Egptian mythology.
horizon2k38 ( Rekka "horizon" IGUMI )
mkdir your-project
cd your-project
cargo new --bin your-os
You can choose to either clone the repository directly or add it as a Git submodule.
git clone https://github.com/horizon2038/Nun.git
Note
TODO
touch Cargo.toml
[package]
name = "your-project"
edition = "2021"
[workspace]
members = [
"your-os",
"Nun",
]
[dependencies]
nun = { path = "Nun" }
[[bin]]
name = "your-os"
path = "your-os/src/main.rs"
mkdir .cargo/
cp -r Nun/.cargo/config.toml ./.cargo/
#![no_std]
#![no_main]
// using Nun!
use nun;
// configure entry point
nun::entry!(main);
fn main(init_info: &nun::InitInfo) {
nun::println!("Hello, Nun World!");
loop {}
}
cargo build --target Nun/arch/{arch}-unknown-a9n.json -Z build-std-features=compiler-builtins-mem --release
Email : rekka728 "at" gmail.com
X : @horizon2k38
MITOU IT : This project was supported by the MITOU IT program.