aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-09-24 13:35:58 -0400
committerDeterminant <[email protected]>2020-09-24 13:35:58 -0400
commit87884dd452d410d187c6ee2c429d8f67c6ab74fb (patch)
tree945d0bd2d11db726eef124f8414c4fd4072226b9
parentf8c07b16a9a3366260052434dec126557ea2e173 (diff)
add pre-built image
-rw-r--r--Cargo.toml2
-rwxr-xr-xbuild_image.sh3
-rwxr-xr-xcessna-knobox.binbin0 -> 17524 bytes
3 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 17b3be0..4a84718 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ version = "0.6.1"
features = ["stm32f103", "rt", "stm32-usbd"]
[[bin]]
-name ="knobox"
+name ="cessna-knobox"
path = "src/app.rs"
[profile.release]
diff --git a/build_image.sh b/build_image.sh
new file mode 100755
index 0000000..35a1c4c
--- /dev/null
+++ b/build_image.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+cargo build --release
+arm-none-eabi-objcopy -O binary target/thumbv7m-none-eabi/release/cessna-knobox cessna-knobox.bin
diff --git a/cessna-knobox.bin b/cessna-knobox.bin
new file mode 100755
index 0000000..9e56918
--- /dev/null
+++ b/cessna-knobox.bin
Binary files differ