From 87884dd452d410d187c6ee2c429d8f67c6ab74fb Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 24 Sep 2020 13:35:58 -0400 Subject: add pre-built image --- Cargo.toml | 2 +- build_image.sh | 3 +++ cessna-knobox.bin | Bin 0 -> 17524 bytes 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 build_image.sh create mode 100755 cessna-knobox.bin 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 Binary files /dev/null and b/cessna-knobox.bin differ -- cgit v1.2.3-70-g09d2