firmware_deploy #3

Merged
andre.fiedler merged 37 commits from firmware_deploy into master 2026-03-13 10:06:00 +00:00
20 changed files with 1791 additions and 1807 deletions
Showing only changes of commit c1bc52c5a3 - Show all commits

View File

@@ -63,7 +63,6 @@ def findPort():
for port in com_ports_list: for port in com_ports_list:
if port[0].startswith("/dev/ttyUSB"): if port[0].startswith("/dev/ttyUSB"):
ebb_port = port[0] # Success; EBB found by name match. ebb_port = port[0] # Success; EBB found by name match.
#raise Exception(ebb_port)
break # stop searching-- we are done. break # stop searching-- we are done.
for port in com_ports_list: for port in com_ports_list:
if port[1].startswith("EiBotBoard"): if port[1].startswith("EiBotBoard"):
@@ -284,7 +283,7 @@ def testPort(port_name):
""" """
if port_name is not None: if port_name is not None:
try: try:
serial_port = serial.Serial(port_name, timeout=1.0) # 1 second timeout! serial_port = serial.Serial(port_name, timeout=1.0, baudrate=115200) # 1 second timeout!
serial_port.flushInput() # deprecated function name; serial_port.flushInput() # deprecated function name;
# use serial_port.reset_input_buffer() # use serial_port.reset_input_buffer()

View File

@@ -12,7 +12,7 @@
platform = platformio/espressif32 platform = platformio/espressif32
board = esp32dev board = esp32dev
framework = arduino framework = arduino
monitor_speed = 9600 monitor_speed = 115200
upload_speed = 576000 upload_speed = 576000
upload_port = /dev/ttyUSB* upload_port = /dev/ttyUSB*
lib_deps = lib_deps =

View File

@@ -75,7 +75,7 @@ boolean motorsEnabled = 0;
void setup() void setup()
{ {
Serial.begin(9600); Serial.begin(115200);
Serial.println("Starting..."); Serial.println("Starting...");
Log("Starting..."); Log("Starting...");
makeComInterface(); makeComInterface();