mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2026-01-21 16:32:26 +01:00
All the documentation and binaries in 'bootloader/' are outdated. They date from the 1st version of the bootloader that has been replaced by pinetime-mcuboot-bootloader 1.0.0 since June 2021. None of those docs and binaries have been maintained since then. The Python script dfu.py is also unmaintained. I removed this folder and fixed the links in other documentation files to redirect to the actual project page (https://github.com/InfiniTimeOrg/pinetime-mcuboot-bootloader). I also updated a few links that pointed to the old URL (https://github.com/JF002/pinetime-mcuboot-bootloader). I also removed all mentions to NRFConnect as it is not supported anymore, and they would confuse users.
25 lines
1.1 KiB
Bash
Executable File
25 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
export LC_ALL=C.UTF-8
|
|
export LANG=C.UTF-8
|
|
set -e
|
|
set +x
|
|
|
|
export PROJECT_VERSION="@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@"
|
|
|
|
mkdir -p "$OUTPUT_DIR"
|
|
|
|
cp "$BUILD_DIR/src/pinetime-mcuboot-app-image-$PROJECT_VERSION.bin" "$OUTPUT_DIR/pinetime-mcuboot-app-image-$PROJECT_VERSION.bin"
|
|
cp "$BUILD_DIR/src/pinetime-mcuboot-app-dfu-$PROJECT_VERSION.zip" "$OUTPUT_DIR/pinetime-mcuboot-app-dfu-$PROJECT_VERSION.zip"
|
|
|
|
cp "$BUILD_DIR/src/pinetime-mcuboot-recovery-loader-image-$PROJECT_VERSION.bin" "$OUTPUT_DIR/pinetime-mcuboot-recovery-loader-image-$PROJECT_VERSION.bin"
|
|
cp "$BUILD_DIR/src/pinetime-mcuboot-recovery-loader-dfu-$PROJECT_VERSION.zip" "$OUTPUT_DIR/pinetime-mcuboot-recovery-loader-dfu-$PROJECT_VERSION.zip"
|
|
|
|
cp "$BUILD_DIR/src/resources/infinitime-resources-$PROJECT_VERSION.zip" "$OUTPUT_DIR/infinitime-resources-$PROJECT_VERSION.zip"
|
|
|
|
mkdir -p "$OUTPUT_DIR/src"
|
|
cp $BUILD_DIR/src/*.bin "$OUTPUT_DIR/src/"
|
|
cp $BUILD_DIR/src/*.hex "$OUTPUT_DIR/src/"
|
|
cp $BUILD_DIR/src/*.out "$OUTPUT_DIR/src/"
|
|
cp $BUILD_DIR/src/*.map "$OUTPUT_DIR/src/"
|
|
|
|
ls -RUv1 "$OUTPUT_DIR" | sed 's;^\([^/]\); \1;g' |