Commit release script

This commit is contained in:
mitxela
2023-06-21 15:35:39 +01:00
parent 577b0d4eb4
commit 69e95b08fc
2 changed files with 9 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ crc32 temp.bin | xxd -r -p >> temp.bin
rm -f "$out"
mv temp.bin "$out"
echo "Created $out"
# for alternate endianness can use

8
qspi/release.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Note for the debug build of mk4-time the linker script is different, would need to edit it to release a debug build
./fw-crc.sh ../mk4-time/Release/mk4-time.bin output/fwt.bin
# either config is fine for mk4-date
./fw-crc.sh ../mk4-date/Release/mk4-date.bin output/fwd.bin || \
./fw-crc.sh ../mk4-date/Debug/mk4-date.bin output/fwd.bin