Usb vidpid lookup1/23/2024 ![]() ![]() the serial monitor in PlatformIO is miniterm.py from pyserial and 2. Well technically the /dev/serial/by-id comes from the Linux kernel in this case, and uploader programs may not use pyserial at all. ![]() I’d be happy to implement this and submit a PR if this seems like a reasonable feature request. This is also made harder because the SER value isn’t reported as a separate property. This would avoid having to update environment variables each time the USB devices change order.Īs a workaround, I wanted to use the -json-output flag with jq to extract the information, but I’m not so familiar with jq. What would be ideal is to be able to dynamically find the port that corresponds to a device’s serial number, which pio device list reports via SER=xxx in the hwid, and use that as part of the CI build. However, when more devices are added, or USB hubs changed, the assigned ports will also change. I used pio remote device list to determine the ports that correspond to the devices, which I added statically as environment variables on the runner, so that they can be changed fairly easily. I’m using pio as part of Hardware in the Loop testing, using a SBC to run a self-hosted github actions runner, which has the hardware under test attached via USB. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |