summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xfw/nucleo.sh15
2 files changed, 1 insertions, 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 \