From 1999f26c25df2b44cf21b4e8ca36023efb5b7e39 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 27 Mar 2025 18:40:33 +0100 Subject: fw: Remove build from nucleo.sh This makes it faster and build can be easily executed by adding `-DBOARD=nucleo_f767zi` to the CMake call. --- .gitignore | 1 - fw/nucleo.sh | 15 +-------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index e7302cd..60fd437 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .cache build log.txt -nucleo diff --git a/fw/nucleo.sh b/fw/nucleo.sh index e89ff07..d41dde2 100755 --- a/fw/nucleo.sh +++ b/fw/nucleo.sh @@ -6,23 +6,13 @@ # obtain one at https://mozilla.org/MPL/2.0/. -# nucleo.sh -# -# This script builds the firmware for the ST Nucleo F767ZI board instead of the -# native_sim board. After the build it flashes it to the target and opens the -# serial console. -# -# This may be used to quickly test the current simulation-based development -# state on real hardware. - - set -euf SCRIPT="$(realpath "$0")" FW="$(dirname "$SCRIPT")" ROOT="$(dirname "$FW")" -BUILD="${ROOT}/nucleo" +BUILD="${ROOT}/build" BOOTLOADER_FIRMWARE="${BUILD}/fw/btl/zephyr/zephyr.bin" APPLICATION_FIRMWARE="${BUILD}/fw/app/zephyr/zephyr.bin" APPLICATION_FIRMWARE_SIGNED="${BUILD}/fw/app/zephyr/zephyr.signed.bin" @@ -37,9 +27,6 @@ SERIAL_PORT='/dev/ttyACM0' set -x -rm -rf "$BUILD" -cmake "-B${BUILD}" -GNinja -DBOARD="$BOARD" -ninja -C "$BUILD" python "$IMGTOOL" sign \ --version 0.0.0 \ --header-size 0x200 \ -- cgit v1.2.3-70-g09d2