]> git.tnoah.ca Git - lora-radio.git/commitdiff
Cleanup
authorMark Qvist <mark@unsigned.io>
Wed, 1 May 2024 15:03:48 +0000 (17:03 +0200)
committerMark Qvist <mark@unsigned.io>
Wed, 1 May 2024 15:03:48 +0000 (17:03 +0200)
Boards.h
Makefile

index cfc48d79b188964d2cd22150bf6a49f97ffa87e2..e563a767820b705daa96d47d793a1b0c11855674 100644 (file)
--- a/Boards.h
+++ b/Boards.h
       #define HAS_BUSY true
       #define DIO2_AS_RF_SWITCH true
 
-      // following pins are for the sx1262
+      // Following pins are for the SX1262
       const int pin_cs = 8;
       const int pin_busy = 13;
       const int pin_dio = 14;
index 9207834dd1dcbe93561e74d2b626d000ab40b2c6..58e73b68a5d254c2a12e0fb2563009c0d6297d96 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -146,11 +146,11 @@ upload-lora32_v21:
        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
 
 upload-heltec32_v2:
-       arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:heltec_wifi_lora_32_V2
+       arduino-cli upload -p /dev/ttyUSB1 --fqbn esp32:esp32:heltec_wifi_lora_32_V2
        @sleep 1
-       rnodeconf /dev/ttyUSB0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.heltec_wifi_lora_32_V2/RNode_Firmware.ino.bin)
+       rnodeconf /dev/ttyUSB1 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.heltec_wifi_lora_32_V2/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
+       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
 
 upload-heltec32_v3:
        arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:heltec_wifi_lora_32_V3