2023-01-13 16:11:02 -07: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-05-01 12:41:25 -06:00
|
|
|
ESP_IDF_VER = 2.0.15
|
|
|
|
|
2022-11-01 15:20:21 -06:00
|
|
|
all: release
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -r ./build
|
2022-11-01 15:36:21 -06:00
|
|
|
-rm ./Release/rnode_firmware*
|
2022-11-01 15:20:21 -06:00
|
|
|
|
2022-11-01 14:13:11 -06:00
|
|
|
prep: prep-avr prep-esp32 prep-samd
|
|
|
|
|
|
|
|
prep-avr:
|
2022-01-09 15:40:30 -07:00
|
|
|
arduino-cli core update-index --config-file arduino-cli.yaml
|
2024-01-21 11:01:12 -07:00
|
|
|
arduino-cli core install arduino:avr --config-file arduino-cli.yaml
|
|
|
|
arduino-cli core install unsignedio:avr --config-file arduino-cli.yaml
|
2021-12-26 02:38:45 -07:00
|
|
|
|
2022-01-21 12:43:29 -07:00
|
|
|
prep-esp32:
|
|
|
|
arduino-cli core update-index --config-file arduino-cli.yaml
|
2024-01-21 11:01:12 -07:00
|
|
|
arduino-cli core install esp32:esp32 --config-file arduino-cli.yaml
|
2022-10-28 16:54:22 -06:00
|
|
|
arduino-cli lib install "Adafruit SSD1306"
|
2023-12-18 19:23:08 -07:00
|
|
|
arduino-cli lib install "XPowersLib"
|
2022-11-01 14:13:11 -06:00
|
|
|
arduino-cli lib install "Crypto"
|
2022-01-21 12:43:29 -07:00
|
|
|
|
|
|
|
prep-samd:
|
|
|
|
arduino-cli core update-index --config-file arduino-cli.yaml
|
2024-01-21 11:01:12 -07:00
|
|
|
arduino-cli core install adafruit:samd --config-file arduino-cli.yaml
|
2022-01-21 12:43:29 -07:00
|
|
|
|
2024-01-20 03:58:24 -07:00
|
|
|
prep-nrf:
|
|
|
|
arduino-cli core update-index --config-file arduino-cli.yaml
|
2024-01-21 11:01:12 -07:00
|
|
|
arduino-cli core install rakwireless:nrf52 --config-file arduino-cli.yaml
|
2024-01-21 15:42:54 -07:00
|
|
|
pip install adafruit-nrfutil --upgrade
|
2024-01-20 03:58:24 -07:00
|
|
|
|
2023-01-07 15:32:07 -07:00
|
|
|
console-site:
|
|
|
|
make -C Console clean site
|
|
|
|
|
|
|
|
spiffs: console-site spiffs-image
|
|
|
|
|
2023-01-06 14:29:23 -07:00
|
|
|
spiffs-image:
|
2023-09-21 23:59:01 -06:00
|
|
|
python Release/esptool/spiffsgen.py 1966080 ./Console/build Release/console_image.bin
|
2023-01-06 14:29:23 -07:00
|
|
|
|
2023-01-07 15:32:07 -07:00
|
|
|
upload-spiffs:
|
2023-01-06 14:29:23 -07:00
|
|
|
@echo Deploying SPIFFS image...
|
2023-05-02 13:22:25 -06:00
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --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 12:43:29 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
check_bt_buffers:
|
|
|
|
@./esp32_btbufs.py ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/libraries/BluetoothSerial/src/BluetoothSerial.cpp
|
|
|
|
|
2021-12-26 02:38:45 -07:00
|
|
|
firmware:
|
2024-02-09 07:29:54 -07:00
|
|
|
arduino-cli compile --fqbn unsignedio:avr:rnode
|
2021-12-26 02:38:45 -07:00
|
|
|
|
2022-11-01 15:20:21 -06:00
|
|
|
firmware-mega2560:
|
2024-02-09 07:29:54 -07:00
|
|
|
arduino-cli compile --fqbn arduino:avr:mega
|
2022-11-01 15:20:21 -06:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-tbeam: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 15:40:30 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-tbeam_sx126x: check_bt_buffers
|
2024-02-10 05:49:41 -07: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\" \"-DMODEM=0x03\""
|
|
|
|
|
2024-02-13 09:26:25 -07:00
|
|
|
firmware-t3s3:
|
|
|
|
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-09-25 06:21:38 -06:00
|
|
|
firmware-lora32_v10: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 05:14:53 -06:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-lora32_v10_extled: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 05:14:53 -06:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-lora32_v20: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 14:45:26 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-lora32_v21: check_bt_buffers
|
2024-02-10 05:49:41 -07: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 14:45:26 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-lora32_v21_extled: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 13:43:52 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-lora32_v21_tcxo: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 16:10:24 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-heltec32_v2: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 11:12:28 -06:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-heltec32_v2_extled: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 11:12:28 -06:00
|
|
|
|
2024-03-11 01:59:42 -06:00
|
|
|
firmware-heltec32_v3:
|
2024-04-10 23:38:06 -06: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 01:59:42 -06:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-rnode_ng_20: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 08:42:49 -06:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-rnode_ng_21: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 11:12:28 -06:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-featheresp32: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 12:43:29 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
firmware-genericesp32: check_bt_buffers
|
2024-02-09 07:29:54 -07: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 15:40:30 -07:00
|
|
|
|
2024-05-13 15:25:24 -06:00
|
|
|
firmware-rak4631:
|
2024-02-09 07:29:54 -07: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\""
|
2022-01-21 12:43:29 -07:00
|
|
|
|
|
|
|
upload:
|
2023-09-15 04:41:17 -06:00
|
|
|
arduino-cli upload -p /dev/ttyUSB0 --fqbn unsignedio:avr:rnode
|
2022-01-09 15:40:30 -07:00
|
|
|
|
2022-11-01 15:20:21 -06:00
|
|
|
upload-mega2560:
|
2023-05-02 13:22:25 -06:00
|
|
|
arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:avr:mega
|
2022-11-01 15:20:21 -06:00
|
|
|
|
2022-01-09 15:40:30 -07:00
|
|
|
upload-tbeam:
|
2024-02-11 10:53:49 -07:00
|
|
|
arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:t-beam
|
2022-11-01 15:20:21 -06:00
|
|
|
@sleep 1
|
2024-02-11 10:53:49 -07:00
|
|
|
rnodeconf /dev/ttyACM0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.t-beam/RNode_Firmware.ino.bin)
|
2024-02-13 09:26:25 -07:00
|
|
|
@sleep 3
|
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --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 15:40:30 -07:00
|
|
|
|
2023-03-13 05:14:53 -06:00
|
|
|
upload-lora32_v10:
|
|
|
|
arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:ttgo-lora32
|
|
|
|
@sleep 1
|
|
|
|
rnodeconf /dev/ttyUSB0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin)
|
|
|
|
@sleep 3
|
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --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:45:26 -07:00
|
|
|
upload-lora32_v20:
|
2023-09-15 04:25:02 -06:00
|
|
|
arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:ttgo-lora32
|
2022-11-01 15:20:21 -06:00
|
|
|
@sleep 1
|
2023-09-15 04:25:02 -06:00
|
|
|
rnodeconf /dev/ttyUSB0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin)
|
2023-01-14 10:19:38 -07:00
|
|
|
@sleep 3
|
2023-09-15 04:25:02 -06:00
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --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:45:26 -07:00
|
|
|
|
|
|
|
upload-lora32_v21:
|
2023-05-02 13:22:25 -06:00
|
|
|
arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:ttgo-lora32
|
2022-11-01 15:20:21 -06:00
|
|
|
@sleep 1
|
2023-05-02 13:22:25 -06:00
|
|
|
rnodeconf /dev/ttyACM0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin)
|
2023-01-14 10:19:38 -07:00
|
|
|
@sleep 3
|
2023-05-02 13:22:25 -06:00
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --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:45:26 -07:00
|
|
|
|
2022-06-16 11:12:28 -06:00
|
|
|
upload-heltec32_v2:
|
2024-05-01 09:03:48 -06:00
|
|
|
arduino-cli upload -p /dev/ttyUSB1 --fqbn esp32:esp32:heltec_wifi_lora_32_V2
|
2022-11-01 15:20:21 -06:00
|
|
|
@sleep 1
|
2024-05-01 09:03:48 -06:00
|
|
|
rnodeconf /dev/ttyUSB1 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware.ino.bin)
|
2023-01-14 10:19:38 -07:00
|
|
|
@sleep 3
|
2024-05-01 09:03:48 -06:00
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --port /dev/ttyUSB1 --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 01:59:42 -06:00
|
|
|
|
|
|
|
upload-heltec32_v3:
|
2024-05-01 17:19:59 -06:00
|
|
|
arduino-cli upload -p /dev/ttyUSB1 --fqbn esp32:esp32:heltec_wifi_lora_32_V3
|
2024-03-11 01:59:42 -06:00
|
|
|
@sleep 1
|
2024-05-01 17:19:59 -06:00
|
|
|
rnodeconf /dev/ttyUSB1 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.heltec_wifi_lora_32_V3/RNode_Firmware.ino.bin)
|
2024-03-11 01:59:42 -06:00
|
|
|
@sleep 3
|
2024-05-01 17:19:59 -06:00
|
|
|
python ./Release/esptool/esptool.py --chip esp32-s3 --port /dev/ttyUSB1 --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 11:12:28 -06:00
|
|
|
|
2022-06-11 08:42:49 -06:00
|
|
|
upload-rnode_ng_20:
|
2023-09-15 04:25:02 -06:00
|
|
|
arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:ttgo-lora32
|
2022-11-01 15:20:21 -06:00
|
|
|
@sleep 1
|
2023-09-15 04:25:02 -06:00
|
|
|
rnodeconf /dev/ttyUSB0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin)
|
2023-01-14 10:19:38 -07:00
|
|
|
@sleep 3
|
2023-09-15 04:25:02 -06:00
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --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 15:36:21 -06:00
|
|
|
|
2022-10-28 16:54:22 -06:00
|
|
|
upload-rnode_ng_21:
|
2023-05-02 13:22:25 -06:00
|
|
|
arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:ttgo-lora32
|
2022-11-01 15:20:21 -06:00
|
|
|
@sleep 1
|
2023-05-02 13:22:25 -06:00
|
|
|
rnodeconf /dev/ttyACM0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin)
|
2023-01-14 10:19:38 -07:00
|
|
|
@sleep 3
|
2023-05-02 13:22:25 -06:00
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --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 15:42:54 -07:00
|
|
|
|
2024-02-13 09:26:25 -07:00
|
|
|
upload-t3s3:
|
2024-05-17 17:07:09 -06:00
|
|
|
@echo
|
|
|
|
@echo Put board into flashing mode by holding BOOT button while momentarily pressing the RESET button. Hit enter when done.
|
|
|
|
@read
|
2024-01-21 15:42:54 -07:00
|
|
|
arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:esp32s3
|
2024-05-17 17:07:09 -06:00
|
|
|
@sleep 2
|
|
|
|
python ./Release/esptool/esptool.py --chip esp32s3 --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
|
|
|
|
@echo
|
|
|
|
@echo Press the RESET button on the board now, and hit enter
|
|
|
|
@read
|
2024-01-21 15:42:54 -07:00
|
|
|
@sleep 1
|
|
|
|
rnodeconf /dev/ttyACM0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.esp32s3/RNode_Firmware.ino.bin)
|
2022-10-28 16:54:22 -06:00
|
|
|
|
2022-01-21 12:43:29 -07:00
|
|
|
upload-featheresp32:
|
2023-09-15 04:25:02 -06:00
|
|
|
arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:featheresp32
|
2022-11-01 15:20:21 -06:00
|
|
|
@sleep 1
|
2023-09-15 04:25:02 -06:00
|
|
|
rnodeconf /dev/ttyUSB0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.featheresp32/RNode_Firmware.ino.bin)
|
2023-01-14 10:19:38 -07:00
|
|
|
@sleep 3
|
2023-09-15 04:25:02 -06:00
|
|
|
python ./Release/esptool/esptool.py --chip esp32 --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 12:43:29 -07:00
|
|
|
|
2024-05-13 15:25:24 -06:00
|
|
|
upload-rak4631:
|
2024-01-19 03:08:55 -07:00
|
|
|
arduino-cli upload -p /dev/ttyACM0 --fqbn rakwireless:nrf52:WisCoreRAK4631Board
|
|
|
|
|
|
|
|
|
2022-01-22 13:43:52 -07:00
|
|
|
|
2022-10-28 02:09:47 -06:00
|
|
|
release: release-all
|
2022-01-22 13:43:52 -07:00
|
|
|
|
2024-04-20 14:04:28 -06:00
|
|
|
release-all: console-site spiffs-image release-rnode release-tbeam release-tbeam_sx1262 release-lora32_v10 release-lora32_v20 release-lora32_v21 release-lora32_v10_extled release-lora32_v20_extled release-lora32_v21_extled release-lora32_v21_tcxo release-featheresp32 release-genericesp32 release-heltec32_v2 release-heltec32_v3 release-heltec32_v2_extled release-rnode_ng_20 release-rnode_ng_21 release-t3s3 release-hashes
|
2022-11-01 14:13:11 -06:00
|
|
|
|
|
|
|
release-hashes:
|
|
|
|
python ./release_hashes.py > ./Release/release.json
|
2022-01-21 12:43:29 -07:00
|
|
|
|
|
|
|
release-rnode:
|
2024-02-10 09:13:52 -07:00
|
|
|
arduino-cli compile --fqbn unsignedio:avr:rnode -e
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/unsignedio.avr.rnode/RNode_Firmware.ino.hex Release/rnode_firmware.hex
|
2022-01-21 12:43:29 -07:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-tbeam: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_tbeam.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bin build/rnode_firmware_tbeam.bin
|
|
|
|
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_tbeam.bootloader
|
|
|
|
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.partitions.bin build/rnode_firmware_tbeam.partitions
|
2023-01-13 16:56:54 -07: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 17:20:33 -07:00
|
|
|
rm -r build
|
2022-01-21 14:45:26 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-tbeam_sx1262: check_bt_buffers
|
2024-02-13 09:26:25 -07: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\" \"-DMODEM=0x03\""
|
2024-05-01 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_tbeam_sx1262.boot_app0
|
2024-02-13 09:26:25 -07:00
|
|
|
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bin build/rnode_firmware_tbeam_sx1262.bin
|
|
|
|
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_tbeam_sx1262.bootloader
|
|
|
|
cp build/esp32.esp32.t-beam/RNode_Firmware.ino.partitions.bin build/rnode_firmware_tbeam_sx1262.partitions
|
|
|
|
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
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-lora32_v10: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_lora32v10.boot_app0
|
2023-03-13 05:14:53 -06:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_lora32v10.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_lora32v10.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_lora32v10.partitions
|
|
|
|
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
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-lora32_v20: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_lora32v20.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_lora32v20.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_lora32v20.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_lora32v20.partitions
|
2023-01-13 16:56:54 -07: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 14:45:26 -07:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-lora32_v21: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_lora32v21.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_lora32v21.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_lora32v21.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_lora32v21.partitions
|
2023-01-13 16:56:54 -07: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 14:45:26 -07:00
|
|
|
rm -r build
|
2022-01-19 13:04:05 -07:00
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-lora32_v10_extled: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_lora32v10.boot_app0
|
2023-03-13 05:14:53 -06:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_lora32v10.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_lora32v10.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_lora32v10.partitions
|
|
|
|
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
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-lora32_v20_extled: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_lora32v20.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_lora32v20.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_lora32v20.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_lora32v20.partitions
|
2023-01-13 16:56:54 -07: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 11:30:00 -07:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-lora32_v21_extled: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_lora32v21.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_lora32v21.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_lora32v21.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_lora32v21.partitions
|
2023-01-13 16:56:54 -07: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 16:10:24 -07:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-lora32_v21_tcxo: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_lora32v21_tcxo.boot_app0
|
2024-02-16 09:37:44 -07:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_lora32v21_tcxo.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_lora32v21_tcxo.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_lora32v21_tcxo.partitions
|
|
|
|
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 11:30:00 -07:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-heltec32_v2: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_heltec32v2.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware.ino.bin build/rnode_firmware_heltec32v2.bin
|
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_heltec32v2.bootloader
|
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware.ino.partitions.bin build/rnode_firmware_heltec32v2.partitions
|
2023-01-13 16:56:54 -07: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 11:12:28 -06:00
|
|
|
rm -r build
|
|
|
|
|
2024-04-20 14:04:28 -06: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_heltec32v3.boot_app0
|
2024-04-20 14:04:28 -06:00
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V3/RNode_Firmware.ino.bin build/rnode_firmware_heltec32v3.bin
|
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V3/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_heltec32v3.bootloader
|
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V3/RNode_Firmware.ino.partitions.bin build/rnode_firmware_heltec32v3.partitions
|
|
|
|
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
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-heltec32_v2_extled: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_heltec32v2.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware.ino.bin build/rnode_firmware_heltec32v2.bin
|
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_heltec32v2.bootloader
|
|
|
|
cp build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware.ino.partitions.bin build/rnode_firmware_heltec32v2.partitions
|
2023-01-13 16:56:54 -07: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 11:12:28 -06:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-rnode_ng_20: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_ng20.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_ng20.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_ng20.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_ng20.partitions
|
2023-01-13 16:56:54 -07: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 11:12:28 -06:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-rnode_ng_21: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_ng21.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bin build/rnode_firmware_ng21.bin
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_ng21.bootloader
|
|
|
|
cp build/esp32.esp32.ttgo-lora32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_ng21.partitions
|
2023-01-13 16:56:54 -07: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 11:12:28 -06:00
|
|
|
rm -r build
|
|
|
|
|
2024-02-13 09:26:25 -07:00
|
|
|
release-t3s3:
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_t3s3.boot_app0
|
2024-02-13 09:26:25 -07:00
|
|
|
cp build/esp32.esp32.esp32s3/RNode_Firmware.ino.bin build/rnode_firmware_t3s3.bin
|
|
|
|
cp build/esp32.esp32.esp32s3/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_t3s3.bootloader
|
|
|
|
cp build/esp32.esp32.esp32s3/RNode_Firmware.ino.partitions.bin build/rnode_firmware_t3s3.partitions
|
|
|
|
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 09:13:52 -07:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-featheresp32: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_featheresp32.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.featheresp32/RNode_Firmware.ino.bin build/rnode_firmware_featheresp32.bin
|
|
|
|
cp build/esp32.esp32.featheresp32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_featheresp32.bootloader
|
|
|
|
cp build/esp32.esp32.featheresp32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_featheresp32.partitions
|
2023-01-13 16:56:54 -07: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 12:43:29 -07:00
|
|
|
rm -r build
|
|
|
|
|
2024-09-25 06:21:38 -06:00
|
|
|
release-genericesp32: check_bt_buffers
|
2024-02-10 09:13:52 -07: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 12:41:25 -06:00
|
|
|
cp ~/.arduino15/packages/esp32/hardware/esp32/$(ESP_IDF_VER)/tools/partitions/boot_app0.bin build/rnode_firmware_esp32_generic.boot_app0
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/esp32.esp32.esp32/RNode_Firmware.ino.bin build/rnode_firmware_esp32_generic.bin
|
|
|
|
cp build/esp32.esp32.esp32/RNode_Firmware.ino.bootloader.bin build/rnode_firmware_esp32_generic.bootloader
|
|
|
|
cp build/esp32.esp32.esp32/RNode_Firmware.ino.partitions.bin build/rnode_firmware_esp32_generic.partitions
|
2023-01-13 16:56:54 -07: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 12:43:29 -07:00
|
|
|
rm -r build
|
2022-01-19 13:04:05 -07:00
|
|
|
|
|
|
|
release-mega2560:
|
2024-01-21 04:32:57 -07:00
|
|
|
arduino-cli compile --fqbn arduino:avr:mega -e --build-property "compiler.cpp.extra_flags=\"-DMODEM=0x01\""
|
2022-10-31 04:51:27 -06:00
|
|
|
cp build/arduino.avr.mega/RNode_Firmware.ino.hex Release/rnode_firmware_m2560.hex
|
2024-01-19 03:08:55 -07:00
|
|
|
rm -r build
|
2024-05-13 15:25:24 -06:00
|
|
|
|
|
|
|
release-rak4631:
|
|
|
|
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\""
|
|
|
|
cp build/rakwireless.nrf52.WisCoreRAK4631Board/RNode_Firmware.ino.hex build/rnode_firmware_rak4631.hex
|
|
|
|
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application build/rnode_firmware_rak4631.hex Release/rnode_firmware_rak4631.zip
|