From 790232b778d0ea53077c24fcd3b1cf1fb1672617 Mon Sep 17 00:00:00 2001 From: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Thu, 15 Jun 2023 05:03:36 -0400 Subject: [PATCH] f1_dual_rev1: enable OpenBLT by default (#267) Co-authored-by: Andrey Gusakov --- firmware/boards/f1_dual_rev1/build_wideband.sh | 3 +-- firmware/boards/f1_dual_rev1/build_wideband_no_bl.sh | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 firmware/boards/f1_dual_rev1/build_wideband_no_bl.sh diff --git a/firmware/boards/f1_dual_rev1/build_wideband.sh b/firmware/boards/f1_dual_rev1/build_wideband.sh index befd71b..f0f3040 100755 --- a/firmware/boards/f1_dual_rev1/build_wideband.sh +++ b/firmware/boards/f1_dual_rev1/build_wideband.sh @@ -1,6 +1,5 @@ #!/bin/bash -#BOARD=f1_dual USE_OPENBLT=yes ../build_f1_board.sh -# set optimization level to 0 until ADC issue is fixed for GD32 BOARD=f1_dual_rev1 \ +USE_OPENBLT=yes \ USE_OPT="-O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fsingle-precision-constant" \../build_f1_board.sh diff --git a/firmware/boards/f1_dual_rev1/build_wideband_no_bl.sh b/firmware/boards/f1_dual_rev1/build_wideband_no_bl.sh new file mode 100755 index 0000000..4b443f3 --- /dev/null +++ b/firmware/boards/f1_dual_rev1/build_wideband_no_bl.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +BOARD=f1_dual_rev1 \ +USE_OPT="-O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fsingle-precision-constant" \../build_f1_board.sh