From de7b372cfa3700f8865dc832b1cbaeb8b1657c9c Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Mon, 31 Jul 2023 17:41:15 +0800 Subject: [PATCH] Booster small fixes Signed-off-by: Egor Savkin --- src/hw/booster.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hw/booster.md b/src/hw/booster.md index 681f110..ccf5d1f 100644 --- a/src/hw/booster.md +++ b/src/hw/booster.md @@ -12,10 +12,11 @@ git clone git@github.com:quartiq/booster.git cd booster nix-shell -p rustup cargo rustc dfu-util +rustup target add thumbv7em-none-eabihf cargo install cargo-binutils rustup component add llvm-tools-preview cargo build --release -cargo objcopy -- -O binary booster.bin +cargo objcopy --release -- -O binary booster.bin # enter dfu mode by either serial terminal or # press `DFU Bootloader` button while rebooting dfu-util -a 0 -s 0x08000000:leave --download booster.bin