aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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