|
"osx": { |
|
// TODO find a way to make this automatic |
|
"BMPGDBSerialPort": "/dev/cu.usbmodem72AE45F31", |
|
// "BMPGDBSerialPort": "/dev/cu.usbmodem72AE30F31", |
Something like this might be an idea to improve UX for developing via serial interface:
https://github.com/platformio/platformio-core/blob/145142ea6c1d97c92a62999d424c0dd712fbb9f5/platformio/device/list/util.py#L25
But unsure if it makes sense to rebuild this tool or integrate frame into platformio.
Just wanted to give back an idea.
Could look like this:
> pio device monitor
--- Available ports:
--- /dev/cu.Bluetooth-Incoming-Port n/a
--- /dev/cu.Bluetooth-Modem n/a
--- /dev/cu.SLAB_USBtoUART CP2102 USB to UART Bridge Controller
--- /dev/cu.obd2ecu-SPPDev n/a
Doc from platformio