Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c3d17bc
Pull submodules even when formatting.
thejpster Jun 25, 2023
3c654fe
Merge pull request #50 from Neotron-Compute/main
thejpster Jun 25, 2023
c64f0ea
Merge pull request #51 from Neotron-Compute/always-get-submodules
thejpster Jun 25, 2023
7b1ce2a
Update OS to use new common crate.
jonathanpallant Jul 14, 2023
b55463a
Use published version
thejpster Jul 15, 2023
758855e
Update CHANGELOG
thejpster Jul 15, 2023
9d450df
Merge pull request #53 from Neotron-Compute/use-new-common-bios-api
thejpster Jul 15, 2023
630004c
Add ANSI parser, and cursor support.
thejpster Jul 15, 2023
78ef4d9
Tidying up.
thejpster Jul 15, 2023
36280cb
Add some test cases for the ANSI parsing.
thejpster Jul 15, 2023
115210d
Add some extra unicode to CP850 conversions.
thejpster Jul 15, 2023
eeddc7c
Try harder to make the binary smaller.
thejpster Jul 15, 2023
f925b90
Update README.md
thejpster Jul 16, 2023
3aa4e76
Add more test and more ANSI codes.
thejpster Jul 16, 2023
ecba53d
Merge pull request #56 from Neotron-Compute/update-docs
thejpster Jul 16, 2023
c50c4a9
Did a cargo update.
thejpster Jul 16, 2023
c19314c
Merge pull request #55 from Neotron-Compute/add-ansi-parser
thejpster Jul 16, 2023
3dbfca6
Adds standard-input.
thejpster Jul 16, 2023
163b3e3
Implement a mutex.
thejpster Jul 18, 2023
7ee51ff
Add shutdown command.
jonathanpallant Jul 21, 2023
02cafef
Fixup the serial console
jonathanpallant Jul 21, 2023
942b9bc
Some serial port fixes.
jonathanpallant Jul 21, 2023
f901c20
Fix comment.
jonathanpallant Jul 21, 2023
cd08bec
Note in CHANGELOG about flash space
jonathanpallant Jul 21, 2023
694b9d8
Merge pull request #57 from Neotron-Compute/add-stdin
jonathanpallant Jul 21, 2023
44fdb5d
Bump to 0.5.0.
jonathanpallant Jul 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ name: Format
on: [push, pull_request]

jobs:
check:

run_cargo_fmt:
name: Run cargo fmt
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Add Tool
run: rustup component add rustfmt
- name: Check Format
run: cargo fmt -- --check
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Add Tool
run: rustup component add rustfmt
- name: Check Format
run: cargo fmt -- --check
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
- name: Check Syntax
run: |
cargo check
- name: Test
run: |
cargo test --lib
- name: Install Targets and Tools
run: |
rustup target add thumbv7em-none-eabi
Expand All @@ -22,7 +25,8 @@ jobs:
rustup component add llvm-tools-preview
cargo install cargo-binutils
- name: Build
run: ./build.sh --verbose
run: |
./build.sh --verbose
- name: Upload files to Release
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

## Unreleased changes

* None

## v0.5.0

* Switch to neotron-common-bios 0.11
* Added "Shutdown" command
* Added ANSI decoder for colour changes (SGI) and cursor position support
* Added 'standard input' support for applications
* Use new compare-and-swap BIOS API to implement mutexes, instead of `static mut`
* OS now requires 256K Flash space

## v0.4.0

* The `load` command now takes ELF binaries, not raw binaries.
Expand Down
109 changes: 69 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "neotron-os"
version = "0.4.0"
version = "0.5.0"
authors = [
"Jonathan 'theJPster' Pallant <github@thejpster.org.uk>",
"The Neotron Developers"
Expand Down Expand Up @@ -34,23 +34,25 @@ required-features = ["native-log"]
lto = true
debug = true
codegen-units = 1
opt-level = "s"
opt-level = "z"
panic = "abort"

[profile.dev]
panic = "abort"

[dependencies]
neotron-common-bios = "0.8"
neotron-common-bios = "0.11"
pc-keyboard = "0.7"
r0 = "1.0"
heapless = "0.7"
postcard = "1.0"
serde = { version = "1.0", default-features = false }
menu = "0.3"
chrono = { version = "0.4", default-features = false }
embedded-sdmmc = { version = "0.5", default-features = false }
neotron-api = "0.1"
neotron-loader = "0.1"
vte = { git = "https://github.com/alacritty/vte", commit="94e74f3a64f42d5dad4e3d42dbe8c23291038214" }

[features]
lib-mode = []
Loading