This commit is contained in:
Mark Qvist 2025-11-10 15:50:46 +01:00
parent 59c0a60b33
commit 8a3db4f0c3
2 changed files with 4 additions and 2 deletions

View file

@ -211,8 +211,8 @@ upload-heltec32_v4:
arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:esp32s3 arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:esp32s3
@sleep 1 @sleep 1
rnodeconf /dev/ttyACM0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.esp32s3/RNode_Firmware.ino.bin) rnodeconf /dev/ttyACM0 --firmware-hash $$(./partition_hashes ./build/esp32.esp32.esp32s3/RNode_Firmware.ino.bin)
#@sleep 3 @sleep 3
#python ./Release/esptool/esptool.py --chip esp32-s3 --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 python ./Release/esptool/esptool.py --chip esp32-s3 --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-tdeck: upload-tdeck:
arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:esp32s3 arduino-cli upload -p /dev/ttyACM0 --fqbn esp32:esp32:esp32s3

View file

@ -106,6 +106,8 @@
// indication confusingly flapping // indication confusingly flapping
// between charge completed, charging and // between charge completed, charging and
// discharging states. // discharging states.
// Update: Vodoo implemented. Hopefully
// it will work accross different boards.
#define BAT_V_MIN 3.05 #define BAT_V_MIN 3.05
#define BAT_V_MAX 4.0 #define BAT_V_MAX 4.0
#define BAT_V_CHG 4.48 #define BAT_V_CHG 4.48