mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2025-12-27 07:45:28 +00:00
17 lines
435 B
Makefile
17 lines
435 B
Makefile
kernel-dev:
|
|
cargo run --bin kernel
|
|
kernel-release:
|
|
cargo build --bin kernel --release
|
|
elf2uf2-rs -d target/thumbv8m.main-none-eabihf/release/kernel
|
|
|
|
binary-args := "RUSTFLAGS=\"-C link-arg=-pie -C relocation-model=pic\""
|
|
|
|
userapp app:
|
|
{{binary-args}} cargo build --bin {{app}} --profile release-binary
|
|
|
|
userapps:
|
|
just userapp calculator
|
|
just userapp snake
|
|
just userapp gallery
|
|
just userapp wav_player
|