Files
picocalc-os-rs/justfile
2025-10-26 20:21:34 -06:00

19 lines
545 B
Makefile

kernel-dev board:
cargo run --bin kernel --features {{board}}
kernel-release board:
cargo build --bin kernel --release --no-default-features --features {{board}}
elf2uf2-rs -d target/thumbv8m.main-none-eabihf/release/kernel
binary-args := "RUSTFLAGS=\"-C link-arg=-pie -C relocation-model=pic\""
cbindgen:
cbindgen abi_sys --output abi_sys.h -q
userapp app:
{{binary-args}} cargo build --bin {{app}} --profile release-binary
userapps: cbindgen
just userapp calculator
just userapp snake
just userapp gallery