From 2021ef97539b9679cc3bff0021c0e53013849f16 Mon Sep 17 00:00:00 2001 From: sawyer bristol Date: Tue, 30 Sep 2025 12:11:57 -0600 Subject: [PATCH] update readme and just for release builds --- .gitignore | 1 + README.md | 11 ++++++++--- justfile | 5 ++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ea8c4bf..84faace 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +*.uf2 diff --git a/README.md b/README.md index ad9c6b6..d2a8c2f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,11 @@ A simple operating system for the **Clockwork PicoCalc**, written in Rust. This project provides a minimal kernel, ABI, and user-space applications to experiment with OS development on constrained hardware. +## Status + +Basic synchronous applications are working great. +Current focus is on **expanding the ABI syscalls** and **fixing the MSC/USB-SCSI driver** to make application development easier and smoother. + ## Project Structure - **`kernel/`** – The core OS kernel (task scheduling, drivers, memory, etc.) @@ -23,6 +28,6 @@ This project provides a minimal kernel, ABI, and user-space applications to expe ```bash git clone https://github.com/LegitCamper/picocalc-os-rs.git cd picocalc-os-rs -just calculator -# copy the calculator to the sdcard and rename it to calculator.bin -just kernel +just userapps +# copy the build applications from target/thumbv8m.main-none-eabihf/release-binary/application to the sdcard and rename them to app.bin +just kernel-release # keep in mind that https://github.com/StripedMonkey/elf2uf2-rs version is required until https://github.com/JoNil/elf2uf2-rs/pull/41 is merged diff --git a/justfile b/justfile index 527af57..d087935 100644 --- a/justfile +++ b/justfile @@ -1,5 +1,8 @@ -kernel: +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\""