2023-01-13 18:11:02 -05:00
# Copyright (C) 2023, Mark Qvist
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
2024-07-04 13:55:16 -04:00
ESP_IDF_VER = 2.0.17
2024-05-01 14:41:25 -04:00
2022-11-01 17:20:21 -04:00
all : release
clean :
-rm -r ./build
2022-11-01 17:36:21 -04:00
-rm ./Release/rnode_firmware*
2022-11-01 17:20:21 -04:00
2024-09-16 12:50:56 -04:00
prep : prep -esp 32 prep -nrf prep -samd
2021-12-26 04:38:45 -05:00
2022-01-21 14:43:29 -05:00
prep-esp32 :
arduino-cli core update-index --config-file arduino-cli.yaml
2024-07-04 13:55:16 -04:00
arduino-cli core install esp32:esp32@2.0.17 --config-file arduino-cli.yaml
2022-10-28 18:54:22 -04:00
arduino-cli lib install "Adafruit SSD1306"
2023-12-18 21:23:08 -05:00
arduino-cli lib install "XPowersLib"
2022-11-01 16:13:11 -04:00
arduino-cli lib install "Crypto"
2024-08-01 13:04:39 -04:00
pip install pyserial rns --upgrade --user --break-system-packages # This looks scary, but it's actually just telling pip to install packages as a user instead of trying to install them systemwide, which bypasses the "externally managed environment" error.
2022-01-21 14:43:29 -05:00
prep-samd :
arduino-cli core update-index --config-file arduino-cli.yaml
2024-01-21 13:01:12 -05:00
arduino-cli core install adafruit:samd --config-file arduino-cli.yaml
2022-01-21 14:43:29 -05:00
2024-01-20 05:58:24 -05:00
prep-nrf :
arduino-cli core update-index --config-file arduino-cli.yaml
2024-09-12 10:57:16 -04:00
arduino-cli core install adafruit:nrf52 --config-file arduino-cli.yaml
2024-01-21 13:01:12 -05:00
arduino-cli core install rakwireless:nrf52 --config-file arduino-cli.yaml
2024-06-10 08:21:51 -04:00
arduino-cli lib install "Crypto"
arduino-cli lib install "Adafruit GFX Library"
arduino-cli lib install "GxEPD2"
2024-08-01 13:04:39 -04:00
pip install pyserial rns --upgrade --user --break-system-packages
pip install adafruit-nrfutil --upgrade --user --break-system-packages # This looks scary, but it's actually just telling pip to install packages as a user instead of trying to install them systemwide, which bypasses the "externally managed environment" error.
2024-01-20 05:58:24 -05:00
2023-01-07 17:32:07 -05:00
console-site :
make -C Console clean site
spiffs : console -site spiffs -image
2023-01-06 16:29:23 -05:00
spiffs-image :
2024-09-11 16:01:51 -04:00
python3 Release/esptool/spiffsgen.py 1966080 ./Console/build Release/console_image.bin
2023-01-06 16:29:23 -05:00
2023-01-07 17:32:07 -05:00
upload-spiffs :
2023-01-06 16:29:23 -05:00
@echo Deploying SPIFFS image...
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyACM0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2022-01-21 14:43:29 -05:00
firmware-tbeam :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:t-beam -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x33\""
2022-01-09 17:40:30 -05:00
2024-02-10 07:49:41 -05:00
firmware-tbeam_sx126x :
arduino-cli compile --fqbn esp32:esp32:t-beam -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x33\" \"-DMODEM=0x03\""
2024-09-12 10:57:16 -04:00
firmware-techo : firmware -techo 4 firmware -techo 9
firmware-techo4 :
arduino-cli compile --fqbn adafruit:nrf52:pca10056 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x43\" \"-DBOARD_VARIANT=0x16\""
firmware-techo9 :
arduino-cli compile --fqbn adafruit:nrf52:pca10056 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x43\" \"-DBOARD_VARIANT=0x17\""
2024-07-09 04:40:30 -04:00
firmware-t3s3_sx1262 :
2024-07-09 05:37:50 -04:00
arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc" -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x42\" \"-DBOARD_VARIANT=0xA1\""
2024-07-09 04:40:30 -04:00
firmware-t3s3_sx1280_pa :
2024-07-09 05:37:50 -04:00
arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc" -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x42\" \"-DBOARD_VARIANT=0xA5\""
2024-02-13 11:26:25 -05:00
2023-03-13 07:14:53 -04:00
firmware-lora32_v10 :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x39\""
2023-03-13 07:14:53 -04:00
firmware-lora32_v10_extled :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x39\" \"-DEXTERNAL_LEDS=true\""
2023-03-13 07:14:53 -04:00
2022-01-21 16:45:26 -05:00
firmware-lora32_v20 :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x36\" \"-DEXTERNAL_LEDS=true\""
2022-01-21 16:45:26 -05:00
firmware-lora32_v21 :
2024-02-10 07:49:41 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x37\""
2022-01-21 16:45:26 -05:00
2022-01-22 15:43:52 -05:00
firmware-lora32_v21_extled :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x37\" \"-DEXTERNAL_LEDS=true\""
2022-01-22 15:43:52 -05:00
2024-01-18 18:10:24 -05:00
firmware-lora32_v21_tcxo :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x37\" \"-DENABLE_TCXO=true\""
2024-01-18 18:10:24 -05:00
2022-06-16 13:12:28 -04:00
firmware-heltec32_v2 :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:heltec_wifi_lora_32_V2 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x38\""
2022-06-16 13:12:28 -04:00
firmware-heltec32_v2_extled :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:heltec_wifi_lora_32_V2 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x38\" \"-DEXTERNAL_LEDS=true\""
2022-06-16 13:12:28 -04:00
2024-03-11 03:59:42 -04:00
firmware-heltec32_v3 :
2024-04-11 01:38:06 -04:00
arduino-cli compile --fqbn esp32:esp32:heltec_wifi_lora_32_V3 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x3A\""
2024-03-11 03:59:42 -04:00
2022-06-11 10:42:49 -04:00
firmware-rnode_ng_20 :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x40\""
2022-06-11 10:42:49 -04:00
2022-06-16 13:12:28 -04:00
firmware-rnode_ng_21 :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x41\""
2022-06-16 13:12:28 -04:00
2022-01-21 14:43:29 -05:00
firmware-featheresp32 :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:featheresp32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x34\""
2022-01-21 14:43:29 -05:00
firmware-genericesp32 :
2024-02-09 09:29:54 -05:00
arduino-cli compile --fqbn esp32:esp32:esp32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x35\""
2022-01-09 17:40:30 -05:00
2024-05-13 17:25:24 -04:00
firmware-rak4631 :
2024-07-20 11:47:01 -04:00
arduino-cli compile --fqbn rakwireless:nrf52:WisCoreRAK4631Board -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x51\" \"-DBOARD_VARIANT=0x12\""
firmware-rak4631_sx1280 :
arduino-cli compile --fqbn rakwireless:nrf52:WisCoreRAK4631Board -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x51\" \"-DBOARD_VARIANT=0x14\""
firmware-freenode :
arduino-cli compile --fqbn rakwireless:nrf52:WisCoreRAK4631Board -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x51\" \"-DBOARD_VARIANT=0x21\""
2022-01-21 14:43:29 -05:00
2022-01-09 17:40:30 -05:00
upload-tbeam :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyACM0) --fqbn esp32:esp32:t-beam
2022-11-01 17:20:21 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyACM0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.t-beam/RNode_Firmware_CE.ino.bin)
2024-02-13 11:26:25 -05:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyACM0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2022-01-09 17:40:30 -05:00
2024-09-12 10:57:16 -04:00
upload-techo :
arduino-cli upload -p $( or $( port) , /dev/ttyACM0) --fqbn adafruit:nrf52:pca10056
unzip -o build/adafruit.nrf52.pca10056/RNode_Firmware_CE.ino.zip -d build/adafruit.nrf52.pca10056
#rnodeconf $(or $(port), /dev/ttyACM0) --firmware-hash $$(sha256sum ./build/adafruit.nrf52.pca10056/RNode_Firmware_CE.ino.bin | grep -o '^\S*')
../Reticulum/RNS/Utilities/rnodeconf.py $( or $( port) , /dev/ttyACM0) --firmware-hash $$ ( sha256sum ./build/adafruit.nrf52.pca10056/RNode_Firmware_CE.ino.bin | grep -o '^\S*' )
2023-03-13 07:14:53 -04:00
upload-lora32_v10 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyUSB0) --fqbn esp32:esp32:ttgo-lora32
2023-03-13 07:14:53 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyUSB0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin)
2023-03-13 07:14:53 -04:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyUSB0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2023-03-13 07:14:53 -04:00
2022-01-21 16:45:26 -05:00
upload-lora32_v20 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyUSB0) --fqbn esp32:esp32:ttgo-lora32
2022-11-01 17:20:21 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyUSB0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin)
2023-01-14 12:19:38 -05:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyUSB0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2022-01-21 16:45:26 -05:00
upload-lora32_v21 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyACM0) --fqbn esp32:esp32:ttgo-lora32
2022-11-01 17:20:21 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyACM0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin)
2023-01-14 12:19:38 -05:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyACM0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2022-01-21 16:45:26 -05:00
2022-06-16 13:12:28 -04:00
upload-heltec32_v2 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyUSB0) --fqbn esp32:esp32:heltec_wifi_lora_32_V2
2022-11-01 17:20:21 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyUSB0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware_CE.ino.bin)
2023-01-14 12:19:38 -05:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyUSB0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2024-03-11 03:59:42 -04:00
upload-heltec32_v3 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyUSB0) --fqbn esp32:esp32:heltec_wifi_lora_32_V3
2024-03-11 03:59:42 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyUSB0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.heltec_wifi_lora_32_V3/RNode_Firmware_CE.ino.bin)
2024-03-11 03:59:42 -04:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32-s3 --port $( or $( port) , /dev/ttyUSB0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2022-06-16 13:12:28 -04:00
2022-06-11 10:42:49 -04:00
upload-rnode_ng_20 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyUSB0) --fqbn esp32:esp32:ttgo-lora32
2022-11-01 17:20:21 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyUSB0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin)
2023-01-14 12:19:38 -05:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyUSB0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2022-11-01 17:36:21 -04:00
2022-10-28 18:54:22 -04:00
upload-rnode_ng_21 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyACM0) --fqbn esp32:esp32:ttgo-lora32
2022-11-01 17:20:21 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyACM0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin)
2023-01-14 12:19:38 -05:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyACM0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2024-01-21 17:42:54 -05:00
2024-02-13 11:26:25 -05:00
upload-t3s3 :
2024-05-17 19:07:09 -04:00
@echo
@echo Put board into flashing mode by holding BOOT button while momentarily pressing the RESET button. Hit enter when done .
@read
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyACM0) --fqbn esp32:esp32:esp32s3
2024-05-17 19:07:09 -04:00
@sleep 2
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32s3 --port $( or $( port) , /dev/ttyACM0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2024-05-17 19:07:09 -04:00
@echo
@echo Press the RESET button on the board now, and hit enter
@read
2024-01-21 17:42:54 -05:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyACM0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.esp32s3/RNode_Firmware_CE.ino.bin)
2022-10-28 18:54:22 -04:00
2022-01-21 14:43:29 -05:00
upload-featheresp32 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyUSB0) --fqbn esp32:esp32:featheresp32
2022-11-01 17:20:21 -04:00
@sleep 1
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyUSB0) --firmware-hash $$ ( ./partition_hashes ./build/esp32.esp32.featheresp32/RNode_Firmware_CE.ino.bin)
2023-01-14 12:19:38 -05:00
@sleep 3
2024-09-11 16:01:51 -04:00
python3 ./Release/esptool/esptool.py --chip esp32 --port $( or $( port) , /dev/ttyUSB0) --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x210000 ./Release/console_image.bin
2022-01-21 14:43:29 -05:00
2024-05-13 17:25:24 -04:00
upload-rak4631 :
2024-09-03 09:41:53 -04:00
arduino-cli upload -p $( or $( port) , /dev/ttyACM0) --fqbn rakwireless:nrf52:WisCoreRAK4631Board
2024-06-03 07:27:27 -04:00
unzip -o build/rakwireless.nrf52.WisCoreRAK4631Board/RNode_Firmware_CE.ino.zip -d build/rakwireless.nrf52.WisCoreRAK4631Board
2024-09-03 09:41:53 -04:00
rnodeconf $( or $( port) , /dev/ttyACM0) --firmware-hash $$ ( sha256sum ./build/rakwireless.nrf52.WisCoreRAK4631Board/RNode_Firmware_CE.ino.bin | grep -o '^\S*' )
2024-01-19 05:08:55 -05:00
2022-10-28 04:09:47 -04:00
release : release -all
2022-01-22 15:43:52 -05:00
2024-07-04 13:56:01 -04:00
release-all : console -site spiffs -image release -tbeam release -tbeam_sx 1262 release -lora 32_v 10 release -lora 32_v 20 release -lora 32_v 21 release -lora 32_v 10_extled release -lora 32_v 20_extled release -lora 32_v 21_extled release -lora 32_v 21_tcxo release -featheresp 32 release -genericesp 32 release -heltec 32_v 2 release -heltec 32_v 3 release -heltec 32_v 2_extled release -rnode_ng_ 20 release -rnode_ng_ 21 release -t 3s 3 release -hashes
2022-11-01 16:13:11 -04:00
release-hashes :
2024-09-11 16:01:51 -04:00
python3 ./release_hashes.py > ./Release/release.json
2022-01-21 14:43:29 -05:00
2022-01-09 17:40:30 -05:00
release-tbeam :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:t-beam -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x33\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_tbeam.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.t-beam/RNode_Firmware_CE.ino.bin build/rnode_firmware_tbeam.bin
cp build/esp32.esp32.t-beam/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_tbeam.bootloader
cp build/esp32.esp32.t-beam/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_tbeam.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_tbeam.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_tbeam.boot_app0 build/rnode_firmware_tbeam.bin build/rnode_firmware_tbeam.bootloader build/rnode_firmware_tbeam.partitions
2022-01-09 19:20:33 -05:00
rm -r build
2022-01-21 16:45:26 -05:00
2024-02-13 11:26:25 -05:00
release-tbeam_sx1262 :
arduino-cli compile --fqbn esp32:esp32:t-beam -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x33\" \"-DMODEM=0x03\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_tbeam_sx1262.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.t-beam/RNode_Firmware_CE.ino.bin build/rnode_firmware_tbeam_sx1262.bin
cp build/esp32.esp32.t-beam/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_tbeam_sx1262.bootloader
cp build/esp32.esp32.t-beam/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_tbeam_sx1262.partitions
2024-02-13 11:26:25 -05:00
zip --junk-paths ./Release/rnode_firmware_tbeam_sx1262.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_tbeam_sx1262.boot_app0 build/rnode_firmware_tbeam_sx1262.bin build/rnode_firmware_tbeam_sx1262.bootloader build/rnode_firmware_tbeam_sx1262.partitions
rm -r build
2023-03-13 07:14:53 -04:00
release-lora32_v10 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x39\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_lora32v10.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_lora32v10.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_lora32v10.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_lora32v10.partitions
2023-03-13 07:14:53 -04:00
zip --junk-paths ./Release/rnode_firmware_lora32v10.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_lora32v10.boot_app0 build/rnode_firmware_lora32v10.bin build/rnode_firmware_lora32v10.bootloader build/rnode_firmware_lora32v10.partitions
rm -r build
2022-01-21 16:45:26 -05:00
release-lora32_v20 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x36\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_lora32v20.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_lora32v20.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_lora32v20.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_lora32v20.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_lora32v20.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_lora32v20.boot_app0 build/rnode_firmware_lora32v20.bin build/rnode_firmware_lora32v20.bootloader build/rnode_firmware_lora32v20.partitions
2022-01-21 16:45:26 -05:00
rm -r build
release-lora32_v21 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x37\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_lora32v21.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_lora32v21.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_lora32v21.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_lora32v21.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_lora32v21.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_lora32v21.boot_app0 build/rnode_firmware_lora32v21.bin build/rnode_firmware_lora32v21.bootloader build/rnode_firmware_lora32v21.partitions
2022-01-21 16:45:26 -05:00
rm -r build
2022-01-19 15:04:05 -05:00
2023-03-13 07:14:53 -04:00
release-lora32_v10_extled :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x39\" \"-DEXTERNAL_LEDS=true\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_lora32v10.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_lora32v10.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_lora32v10.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_lora32v10.partitions
2023-03-13 07:14:53 -04:00
zip --junk-paths ./Release/rnode_firmware_lora32v10.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_lora32v10.boot_app0 build/rnode_firmware_lora32v10.bin build/rnode_firmware_lora32v10.bootloader build/rnode_firmware_lora32v10.partitions
rm -r build
2022-01-24 13:30:00 -05:00
release-lora32_v20_extled :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x36\" \"-DEXTERNAL_LEDS=true\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_lora32v20.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_lora32v20.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_lora32v20.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_lora32v20.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_lora32v20_extled.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_lora32v20.boot_app0 build/rnode_firmware_lora32v20.bin build/rnode_firmware_lora32v20.bootloader build/rnode_firmware_lora32v20.partitions
2022-01-24 13:30:00 -05:00
rm -r build
release-lora32_v21_extled :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x37\" \"-DEXTERNAL_LEDS=true\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_lora32v21.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_lora32v21.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_lora32v21.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_lora32v21.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_lora32v21_extled.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_lora32v21.boot_app0 build/rnode_firmware_lora32v21.bin build/rnode_firmware_lora32v21.bootloader build/rnode_firmware_lora32v21.partitions
2024-01-18 18:10:24 -05:00
rm -r build
release-lora32_v21_tcxo :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x37\" \"-DENABLE_TCXO=true\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_lora32v21_tcxo.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_lora32v21_tcxo.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_lora32v21_tcxo.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_lora32v21_tcxo.partitions
2024-02-16 11:37:44 -05:00
zip --junk-paths ./Release/rnode_firmware_lora32v21_tcxo.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_lora32v21_tcxo.boot_app0 build/rnode_firmware_lora32v21_tcxo.bin build/rnode_firmware_lora32v21_tcxo.bootloader build/rnode_firmware_lora32v21_tcxo.partitions
2022-01-24 13:30:00 -05:00
rm -r build
2022-06-16 13:12:28 -04:00
release-heltec32_v2 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:heltec_wifi_lora_32_V2 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x38\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_heltec32v2.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware_CE.ino.bin build/rnode_firmware_heltec32v2.bin
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_heltec32v2.bootloader
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_heltec32v2.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_heltec32v2.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_heltec32v2.boot_app0 build/rnode_firmware_heltec32v2.bin build/rnode_firmware_heltec32v2.bootloader build/rnode_firmware_heltec32v2.partitions
2022-06-16 13:12:28 -04:00
rm -r build
2024-04-20 16:04:28 -04:00
release-heltec32_v3 :
arduino-cli compile --fqbn esp32:esp32:heltec_wifi_lora_32_V3 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x3A\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_heltec32v3.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.heltec_wifi_lora_32_V3/RNode_Firmware_CE.ino.bin build/rnode_firmware_heltec32v3.bin
cp build/esp32.esp32.heltec_wifi_lora_32_V3/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_heltec32v3.bootloader
cp build/esp32.esp32.heltec_wifi_lora_32_V3/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_heltec32v3.partitions
2024-04-20 16:04:28 -04:00
zip --junk-paths ./Release/rnode_firmware_heltec32v3.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_heltec32v3.boot_app0 build/rnode_firmware_heltec32v3.bin build/rnode_firmware_heltec32v3.bootloader build/rnode_firmware_heltec32v3.partitions
rm -r build
2022-06-16 13:12:28 -04:00
release-heltec32_v2_extled :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:heltec_wifi_lora_32_V2 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x38\" \"-DEXTERNAL_LEDS=true\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_heltec32v2.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware_CE.ino.bin build/rnode_firmware_heltec32v2.bin
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_heltec32v2.bootloader
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_heltec32v2.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_heltec32v2.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_heltec32v2.boot_app0 build/rnode_firmware_heltec32v2.bin build/rnode_firmware_heltec32v2.bootloader build/rnode_firmware_heltec32v2.partitions
2022-06-16 13:12:28 -04:00
rm -r build
release-rnode_ng_20 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x40\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_ng20.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_ng20.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_ng20.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_ng20.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_ng20.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_ng20.boot_app0 build/rnode_firmware_ng20.bin build/rnode_firmware_ng20.bootloader build/rnode_firmware_ng20.partitions
2022-06-16 13:12:28 -04:00
rm -r build
release-rnode_ng_21 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:ttgo-lora32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x41\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_ng21.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bin build/rnode_firmware_ng21.bin
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_ng21.bootloader
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_ng21.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_ng21.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_ng21.boot_app0 build/rnode_firmware_ng21.bin build/rnode_firmware_ng21.bootloader build/rnode_firmware_ng21.partitions
2022-06-16 13:12:28 -04:00
rm -r build
2024-02-13 11:26:25 -05:00
release-t3s3 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc" -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x42\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_t3s3.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.esp32s3/RNode_Firmware_CE.ino.bin build/rnode_firmware_t3s3.bin
cp build/esp32.esp32.esp32s3/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_t3s3.bootloader
cp build/esp32.esp32.esp32s3/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_t3s3.partitions
2024-02-13 11:26:25 -05:00
zip --junk-paths ./Release/rnode_firmware_t3s3.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_t3s3.boot_app0 build/rnode_firmware_t3s3.bin build/rnode_firmware_t3s3.bootloader build/rnode_firmware_t3s3.partitions
2024-02-10 11:13:52 -05:00
rm -r build
2022-01-21 14:43:29 -05:00
release-featheresp32 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:featheresp32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x34\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_featheresp32.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.featheresp32/RNode_Firmware_CE.ino.bin build/rnode_firmware_featheresp32.bin
cp build/esp32.esp32.featheresp32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_featheresp32.bootloader
cp build/esp32.esp32.featheresp32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_featheresp32.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_featheresp32.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_featheresp32.boot_app0 build/rnode_firmware_featheresp32.bin build/rnode_firmware_featheresp32.bootloader build/rnode_firmware_featheresp32.partitions
2022-01-21 14:43:29 -05:00
rm -r build
release-genericesp32 :
2024-02-10 11:13:52 -05:00
arduino-cli compile --fqbn esp32:esp32:esp32 -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x35\""
2024-05-01 14:41:25 -04:00
cp ~/.arduino15/packages/esp32/hardware/esp32/$( ESP_IDF_VER) /tools/partitions/boot_app0.bin build/rnode_firmware_esp32_generic.boot_app0
2024-06-03 07:27:27 -04:00
cp build/esp32.esp32.esp32/RNode_Firmware_CE.ino.bin build/rnode_firmware_esp32_generic.bin
cp build/esp32.esp32.esp32/RNode_Firmware_CE.ino.bootloader.bin build/rnode_firmware_esp32_generic.bootloader
cp build/esp32.esp32.esp32/RNode_Firmware_CE.ino.partitions.bin build/rnode_firmware_esp32_generic.partitions
2023-01-13 18:56:54 -05:00
zip --junk-paths ./Release/rnode_firmware_esp32_generic.zip ./Release/esptool/esptool.py ./Release/console_image.bin build/rnode_firmware_esp32_generic.boot_app0 build/rnode_firmware_esp32_generic.bin build/rnode_firmware_esp32_generic.bootloader build/rnode_firmware_esp32_generic.partitions
2022-01-21 14:43:29 -05:00
rm -r build
2022-01-19 15:04:05 -05:00
2024-05-13 17:25:24 -04:00
release-rak4631 :
2024-07-20 11:47:01 -04:00
arduino-cli compile --fqbn rakwireless:nrf52:WisCoreRAK4631Board -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x51\" \"-DBOARD_VARIANT=0x12\""
2024-06-03 07:27:27 -04:00
cp build/rakwireless.nrf52.WisCoreRAK4631Board/RNode_Firmware_CE.ino.hex build/rnode_firmware_rak4631.hex
2024-05-13 17:25:24 -04:00
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application build/rnode_firmware_rak4631.hex Release/rnode_firmware_rak4631.zip
2024-07-20 11:47:01 -04:00
release-rak4631_sx1280 :
arduino-cli compile --fqbn rakwireless:nrf52:WisCoreRAK4631Board -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x51\" \"-DBOARD_VARIANT=0x14\""
cp build/rakwireless.nrf52.WisCoreRAK4631Board/RNode_Firmware_CE.ino.hex build/rnode_firmware_rak4631_sx1280.hex
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application build/rnode_firmware_rak4631_sx1280.hex Release/rnode_firmware_rak4631_sx1280.zip
release-freenode :
arduino-cli compile --fqbn rakwireless:nrf52:WisCoreRAK4631Board -e --build-property "build.partitions=no_ota" --build-property "upload.maximum_size=2097152" --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x51\" \"-DBOARD_VARIANT=0x21\""
cp build/rakwireless.nrf52.WisCoreRAK4631Board/RNode_Firmware_CE.ino.hex build/rnode_firmware_freenode.hex
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application build/rnode_firmware_freenode.hex Release/rnode_firmware_freenode.zip