File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
22export LC_ALL=C.UTF-8
33export LANG=C.UTF-8
4- set -x
54set -e
5+ set +x
66
77export PROJECT_VERSION=" @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@"
88
99mkdir -p " $OUTPUT_DIR "
10+
1011cp " $SOURCES_DIR " /bootloader/bootloader-5.0.4.bin $OUTPUT_DIR /bootloader.bin
1112
1213" $TOOLS_DIR " /mcuboot/scripts/imgtool.py create --version 1.0.0 \
@@ -18,9 +19,11 @@ adafruit-nrfutil dfu genpkg --dev-type 0x0052 \
1819 --application " $OUTPUT_DIR /image-$PROJECT_VERSION .bin" \
1920 " $OUTPUT_DIR /dfu-$PROJECT_VERSION .zip"
2021
21- pushd " $BUILD_DIR "
22- cp src/* .bin $OUTPUT_DIR
23- cp src/* .hex $OUTPUT_DIR
24- cp src/* .out $OUTPUT_DIR
25- cp src/* .map $OUTPUT_DIR
26- popd
22+ mkdir -p " $OUTPUT_DIR /src"
23+ cd " $BUILD_DIR "
24+ cp src/* .bin " $OUTPUT_DIR /src"
25+ cp src/* .hex " $OUTPUT_DIR /src"
26+ cp src/* .out " $OUTPUT_DIR /src"
27+ cp src/* .map " $OUTPUT_DIR /src"
28+
29+ ls -RUv1 " $OUTPUT_DIR " | sed ' s;^\([^/]\); \1;g'
You can’t perform that action at this time.
0 commit comments