From c5b23dea2be27211890f600da867c20ba684387a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 1 May 2024 17:03:48 +0200 Subject: [PATCH] Cleanup --- Boards.h | 2 +- Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Boards.h b/Boards.h index cfc48d7..e563a76 100644 --- a/Boards.h +++ b/Boards.h @@ -271,7 +271,7 @@ #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; diff --git a/Makefile b/Makefile index 9207834..58e73b6 100644 --- 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