mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2025-12-27 15:55:25 +00:00
update readme and just for release builds
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
/target
|
/target
|
||||||
|
*.uf2
|
||||||
|
|||||||
11
README.md
11
README.md
@@ -3,6 +3,11 @@
|
|||||||
A simple operating system for the **Clockwork PicoCalc**, written in Rust.
|
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.
|
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
|
## Project Structure
|
||||||
|
|
||||||
- **`kernel/`** – The core OS kernel (task scheduling, drivers, memory, etc.)
|
- **`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
|
```bash
|
||||||
git clone https://github.com/LegitCamper/picocalc-os-rs.git
|
git clone https://github.com/LegitCamper/picocalc-os-rs.git
|
||||||
cd picocalc-os-rs
|
cd picocalc-os-rs
|
||||||
just calculator
|
just userapps
|
||||||
# copy the calculator to the sdcard and rename it to calculator.bin
|
# copy the build applications from target/thumbv8m.main-none-eabihf/release-binary/application to the sdcard and rename them to app.bin
|
||||||
just kernel
|
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
|
||||||
|
|||||||
5
justfile
5
justfile
@@ -1,5 +1,8 @@
|
|||||||
kernel:
|
kernel-dev:
|
||||||
cargo run --bin kernel
|
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\""
|
binary-args := "RUSTFLAGS=\"-C link-arg=-pie -C relocation-model=pic\""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user