mehrdadh commented on code in PR #13723:
URL: https://github.com/apache/tvm/pull/13723#discussion_r1065034428
##########
apps/microtvm/zephyr/template_project/microtvm_api_server.py:
##########
@@ -262,7 +262,11 @@ def _get_openocd_device_args(serial_number: str = None):
return ["--serial", generic_find_serial_port(serial_number)]
-def _get_nrf_device_args(serial_number: str = None):
+def _get_nrf_device_args(serial_number: str = None) -> list:
+ # iSerial has string type which could mistmatch with
+ # the output of `nrfjprog --ids`. Example: 001050007848 vs 1050007848
+ serial_number = str(int(serial_number))
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]