mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 16:44:35 +02:00
ttfw: only send relevant DUT kwargs to serial.serial_for_url
This commit is contained in:
@@ -751,7 +751,9 @@ class SerialDUT(BaseDUT):
|
|||||||
def __init__(self, name, port, log_file, app, **kwargs):
|
def __init__(self, name, port, log_file, app, **kwargs):
|
||||||
self.port_inst = None
|
self.port_inst = None
|
||||||
self.serial_configs = self.DEFAULT_UART_CONFIG.copy()
|
self.serial_configs = self.DEFAULT_UART_CONFIG.copy()
|
||||||
self.serial_configs.update(kwargs)
|
for uart_config_name in self.serial_configs.keys():
|
||||||
|
if uart_config_name in kwargs:
|
||||||
|
self.serial_configs[uart_config_name] = kwargs[uart_config_name]
|
||||||
super(SerialDUT, self).__init__(name, port, log_file, app, **kwargs)
|
super(SerialDUT, self).__init__(name, port, log_file, app, **kwargs)
|
||||||
|
|
||||||
def _format_data(self, data):
|
def _format_data(self, data):
|
||||||
|
Reference in New Issue
Block a user