Skip to content

UX Develop Feature - Add serial interface chooser to VS Code via platformio device monitor? #297

Description

@gramss

"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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions