Updated makefile

master
Mark Qvist 3 years ago
parent 3282d02191
commit 295be1a158
  1. 10
      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
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

Loading…
Cancel
Save