Include elf files to deliver (#270)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
rusefillc 2023-06-22 04:23:09 -05:00 committed by GitHub
parent 2e06719ec5
commit 324eae132a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,10 @@ if [ $USE_OPENBLT = "yes" ]; then
echo "OpenBLT bin (for DFU another util)"
cp -v boards/${BOARD}/openblt/bin/openblt_${BOARD}.bin ${DELIVER_DIR}/openblt.bin
echo ""
echo "OpenBLT elf for debugging"
cp -v boards/${BOARD}/openblt/bin/openblt_${BOARD}.elf ${DELIVER_DIR}/openblt.elf
OPENBLT_HEX=boards/${BOARD}/openblt/bin/openblt_${BOARD}.hex
echo ""
echo "Invoking hex2dfu for composite OpenBLT+Wideband image (for DFU util)"
@ -69,6 +73,9 @@ else
cp build/wideband.hex ${DELIVER_DIR}
echo "elf for debugging"
cp build/wideband.elf ${DELIVER_DIR}
echo "Invoking hex2dfu for DFU file"
$HEX2DFU -i build/wideband.hex -o ${DELIVER_DIR}/wideband.dfu
fi