Merge branch 'master' of github.com:markqvist/rnodeconfigutil
commit
59ffdeda7f
|
@ -931,9 +931,8 @@ def main():
|
||||||
selected_port = port
|
selected_port = port
|
||||||
|
|
||||||
if selected_port == None:
|
if selected_port == None:
|
||||||
print("Could not find specified port "+str(args.port)+", exiting now")
|
port_path = args.port
|
||||||
exit()
|
else:
|
||||||
|
|
||||||
port_path = selected_port.device
|
port_path = selected_port.device
|
||||||
port_product = selected_port.product
|
port_product = selected_port.product
|
||||||
port_serialno = selected_port.serial_number
|
port_serialno = selected_port.serial_number
|
||||||
|
@ -1259,7 +1258,7 @@ def main():
|
||||||
print("summary before proceeding. In the next step, the device will be flashed and")
|
print("summary before proceeding. In the next step, the device will be flashed and")
|
||||||
print("provisioned, so make that you are satisfied with your choices.\n")
|
print("provisioned, so make that you are satisfied with your choices.\n")
|
||||||
|
|
||||||
print("Serial port : "+str(selected_port.device))
|
print("Serial port : "+str(port_path))
|
||||||
print("Device type : "+str(products[selected_product])+" "+str(models[selected_model][3]))
|
print("Device type : "+str(products[selected_product])+" "+str(models[selected_model][3]))
|
||||||
print("Platform : "+str(platforms[selected_platform]))
|
print("Platform : "+str(platforms[selected_platform]))
|
||||||
print("Device MCU : "+str(mcus[selected_mcu]))
|
print("Device MCU : "+str(mcus[selected_mcu]))
|
||||||
|
@ -1275,7 +1274,7 @@ def main():
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
args.key = True
|
args.key = True
|
||||||
args.port = selected_port.device
|
args.port = port_path
|
||||||
args.platform = selected_platform
|
args.platform = selected_platform
|
||||||
args.hwrev = 1
|
args.hwrev = 1
|
||||||
mapped_model = selected_model
|
mapped_model = selected_model
|
||||||
|
|
Loading…
Reference in New Issue