From 295be1a1585aa742095fdff38585dfd743794b27 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 10 Jan 2022 01:20:33 +0100 Subject: [PATCH] Updated makefile --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 79cc8b3..feaeeec 100644 --- a/Makefile +++ b/Makefile @@ -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 - rm -r build \ No newline at end of file + 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