on my mac the name of the usb serial device changes with each port that i install it in…
would it be possible to have something like
upload_port = /dev/cu.wchusbserial1460|/dev/cu.wchusbserial1440|/dev/cu.wchusbserial1450
so it uses the first one that it finds?
Please open feature request Issues · platformio/platformio-core · GitHub
I don’t know why I’ve not implemented it yet. I think about this issue very often
The right solution is allowing to specify UNIX file name pattern. For example,
upload_port = /dev/cu.wchusbserial14*
ja. exactly… I’m constantly changing the pio ini files…