update readme and just for release builds

This commit is contained in:
2025-09-30 12:11:57 -06:00
parent 59e4a7faa2
commit 2021ef9753
3 changed files with 13 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
/target
*.uf2

View File

@@ -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

View File

@@ -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\""