alanmacd opened a new pull request #10304: URL: https://github.com/apache/tvm/pull/10304
Fix issue where there are two versions of the nRF5340 development kit, 1.0.0 and 2.0.0. The 1.0.0 DK exposes three COM ports, where COM2 is used to communicate with the device while running tests. The 2.0.0 DK only has two COM ports as can be seen here: ``` $ nrfjprog --com 1050063518 /dev/ttyACM0 VCOM0 1050063518 /dev/ttyACM1 VCOM1 ``` microtvm_api_server.py always uses VCOM2 which doesn't exist on the 2.0.0 DK. To accommodate this, the USB product ID (PID) can be used to differentiate between the 1.0.0 and 2.0.0 DKs. The PID for 1.0.0 is 0x1055, while the PID for the 2.0.0 DK is 0x1051. cc @mehrdadh @areusch -- 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]
