updated to 4.0

This commit is contained in:
chk
2026-01-04 09:58:35 +01:00
parent ab4646300d
commit 0a7ff5eae4
5 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import serial
ser = serial.Serial("/dev/ttyS0", 115200, timeout=1)
ser = serial.Serial("/dev/ttyUSB0", 115200, timeout=1)
#ser.write(open("Config_DollarDollar.txt","rb").read())
@@ -10,9 +10,9 @@ ser.write(serialcmd.encode())
print(serialcmd)
f = open("Config_DollarDollar.txt","rb")
#for l in f:
#print(l)
#ser.write(l)
for l in f:
print(l)
ser.write(l)
print("test")
@@ -20,4 +20,4 @@ while ser.in_waiting > 0:
line = ser.readline().decode('utf-8').rstrip()
print(line)
ser.close()
ser.close()

View File

@@ -0,0 +1 @@
esptool.py --chip esp32 elf2image -o firmware.bin firmware.elf

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
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 detect 0xe000 boot_app0.bin 0x1000 bootloader.bin 0x10000 firmware.bin 0x8000 partitions.bin
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 detect 0xe000 boot_app0.bin 0x1000 bootloader.bin 0x10000 firmware400.bin 0x8000 partitions.bin