mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-11-21 23:41:14 -05:00
Cleanup
This commit is contained in:
parent
59c0a60b33
commit
8a3db4f0c3
2 changed files with 4 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -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
|
||||||
|
|
|
||||||
2
Power.h
2
Power.h
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue