mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-24 18:46:33 +08:00
Merge branch 'feature/esptool_not_check_port' into 'master'
feat(esptool): Not check if the port exits. See merge request sdk/ESP8266_RTOS_SDK!302
This commit is contained in:
@ -2711,7 +2711,7 @@ def main():
|
|||||||
initial_baud = args.baud
|
initial_baud = args.baud
|
||||||
|
|
||||||
ser_list = sorted(ports.device for ports in list_ports.comports())
|
ser_list = sorted(ports.device for ports in list_ports.comports())
|
||||||
if args.port is None or args.port not in ser_list:
|
if args.port is None:
|
||||||
raise FatalError('Cannot find target port named \'%s\'.' % args.port)
|
raise FatalError('Cannot find target port named \'%s\'.' % args.port)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user