Updated makefile

This commit is contained in:
Mark Qvist 2022-01-10 01:20:33 +01:00
parent 3282d02191
commit 295be1a158
1 changed files with 9 additions and 1 deletions

View File

@ -25,5 +25,13 @@ 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
zip Precompiled/rnode_firmware_latest_tbeam.zip Precompiled/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
rm -r build