Updated precompiled firmware

This commit is contained in:
Mark Qvist 2022-01-10 01:43:52 +01:00
parent 05779cb1e3
commit 11dbefb555
2 changed files with 5 additions and 9 deletions

View File

@ -25,13 +25,9 @@ upload-tbeam:
release-tbeam:
arduino-cli compile --fqbn esp32:esp32:t-beam -e
cp ~/.arduino15/packages/esp32/hardware/esp32/2.0.2/tools/partitions/boot_app0.bin Precompiled/rnode_firmware_latest_tbeam.boot_app0
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bin Precompiled/rnode_firmware_latest_tbeam.bin
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bootloader.bin Precompiled/rnode_firmware_latest_tbeam.bootloader
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.partitions.bin Precompiled/rnode_firmware_latest_tbeam.partitions
cd Precompiled; zip ./rnode_firmware_latest_tbeam.zip ./rnode_firmware_latest_tbeam*
rm Precompiled/rnode_firmware_latest_tbeam.boot_app0
rm Precompiled/rnode_firmware_latest_tbeam.bin
rm Precompiled/rnode_firmware_latest_tbeam.bootloader
rm Precompiled/rnode_firmware_latest_tbeam.partitions
cp ~/.arduino15/packages/esp32/hardware/esp32/2.0.2/tools/partitions/boot_app0.bin build/rnode_firmware_latest_tbeam.boot_app0
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bin build/rnode_firmware_latest_tbeam.bin
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_latest_tbeam.bootloader
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.partitions.bin build/rnode_firmware_latest_tbeam.partitions
zip --junk-paths ./Precompiled/rnode_firmware_latest_tbeam.zip build/rnode_firmware_latest_tbeam.boot_app0 build/rnode_firmware_latest_tbeam.bin build/rnode_firmware_latest_tbeam.bootloader build/rnode_firmware_latest_tbeam.partitions
rm -r build