-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from ferrous-systems/ferrocene-example-fixes
Ferrocene example fixes and Aarch64 Armv8-A Heap Demo
- Loading branch information
Showing
54 changed files
with
4,950 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
[package] | ||
name = "basic-rust" | ||
name = "qemu-aarch64v8a" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Ferrous Systems"] | ||
license = "MIT OR Apache-2.0" | ||
description = "A simple Aarch64 demo application that runs in QEMU and compiles with Ferrocene" | ||
|
||
[dependencies] | ||
critical-section = { version = "1.1.2", features = ["restore-state-bool"] } | ||
embedded-alloc = "0.5.1" | ||
|
||
[profile.release] | ||
opt-level = "s" | ||
|
||
[source.crates-io] | ||
replace-with = "vendored-sources" | ||
|
||
[source.vendored-sources] | ||
directory = "vendor" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
|
||
TARGET_DIR=target/production | ||
BINARY=${TARGET_DIR}/basic-rust | ||
BINARY=${1:-${TARGET_DIR}/no_heap} | ||
qemu-system-aarch64 -machine virt -cpu cortex-a57 -semihosting -nographic -kernel ${BINARY} |
Oops, something went wrong.