From 637ed6cbe0ec648197026015840ceb10b0b82796 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Mon, 27 Dec 2021 20:23:26 -0800 Subject: [PATCH] scripts and ci --- firmware/boards/f0_module/build_wideband.sh | 2 +- firmware/boards/f1_dave/board.mk | 2 ++ firmware/boards/f1_dave/build_wideband.sh | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 firmware/boards/f1_dave/build_wideband.sh diff --git a/firmware/boards/f0_module/build_wideband.sh b/firmware/boards/f0_module/build_wideband.sh index 01cfdac..71e5c52 100755 --- a/firmware/boards/f0_module/build_wideband.sh +++ b/firmware/boards/f0_module/build_wideband.sh @@ -12,7 +12,7 @@ rm -r build/ rm ../for_rusefi/wideband_image.h # build app firmware! -make -j12 +make -j12 BOARD=f0_module # Copy the bin without the bootloader (the image consumed by rusEfi has no bootloader on it) dd if=build/wideband.bin of=build/wideband_noboot_no_pad.bin skip=6144 bs=1 diff --git a/firmware/boards/f1_dave/board.mk b/firmware/boards/f1_dave/board.mk index 73e96ab..add0892 100644 --- a/firmware/boards/f1_dave/board.mk +++ b/firmware/boards/f1_dave/board.mk @@ -1,3 +1,5 @@ +USE_BOOTLOADER = no + MCU = cortex-m3 include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f1xx.mk diff --git a/firmware/boards/f1_dave/build_wideband.sh b/firmware/boards/f1_dave/build_wideband.sh new file mode 100644 index 0000000..193abce --- /dev/null +++ b/firmware/boards/f1_dave/build_wideband.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# back out to the root +cd ../.. + +# build app firmware! +make -j12 BOARD=f1_dave