2022-01-09 15:40:30 -07:00
|
|
|
prep:
|
|
|
|
arduino-cli core update-index --config-file arduino-cli.yaml
|
|
|
|
arduino-cli core install unsignedio:avr
|
2021-12-26 02:38:45 -07:00
|
|
|
|
|
|
|
firmware:
|
|
|
|
arduino-cli compile --fqbn unsignedio:avr:rnode
|
|
|
|
|
2022-01-09 15:40:30 -07:00
|
|
|
release:
|
|
|
|
arduino-cli compile --fqbn unsignedio:avr:rnode -e
|
|
|
|
cp build/unsignedio.avr.rnode/RNode_Firmware.ino.hex Precompiled/rnode_firmware_latest.hex
|
|
|
|
rm -r build
|
|
|
|
|
2021-12-26 02:38:45 -07:00
|
|
|
upload:
|
|
|
|
arduino-cli upload -p /dev/ttyUSB0 --fqbn unsignedio:avr:rnode
|
2022-01-09 15:40:30 -07:00
|
|
|
|
|
|
|
prep-tbeam:
|
|
|
|
arduino-cli core update-index --config-file arduino-cli.yaml
|
|
|
|
arduino-cli core install esp32:esp32
|
|
|
|
|
|
|
|
firmware-tbeam:
|
|
|
|
arduino-cli compile --fqbn esp32:esp32:t-beam
|
|
|
|
|
|
|
|
upload-tbeam:
|
|
|
|
arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:t-beam
|
|
|
|
|
|
|
|
release-tbeam:
|
|
|
|
arduino-cli compile --fqbn esp32:esp32:t-beam -e
|
2022-01-09 17:43:52 -07:00
|
|
|
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
|
2022-01-09 18:07:12 -07:00
|
|
|
zip --junk-paths ./Precompiled/rnode_firmware_latest_tbeam.zip ./Precompiled/esptool/esptool.py 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
|
2022-01-09 17:20:33 -07:00
|
|
|
rm -r build
|
2022-01-19 13:04:05 -07:00
|
|
|
|
|
|
|
firmware-mega2560:
|
|
|
|
arduino-cli compile --fqbn arduino:avr:mega
|
|
|
|
|
|
|
|
release-mega2560:
|
|
|
|
arduino-cli compile --fqbn arduino:avr:mega -e
|
|
|
|
cp build/arduino.avr.mega/RNode_Firmware.ino.hex Precompiled/rnode_firmware_latest_m2560.hex
|
|
|
|
rm -r build
|
|
|
|
|
|
|
|
upload-mega2560:
|
|
|
|
arduino-cli upload -p /dev/ttyUSB0 --fqbn arduino:avr:mega
|