[Feature Request]: Allow separate port for flashing and monitoring. (VSC-1496) #1321
Labels
Feature / Enhancement Request
Request for Feature/ Enhancement
ongoing
Ongoing Issue or PR, this label will be used for issue or PR which is to be excluded by stale bot
Is your feature request related to a problem? Please describe.
I am using the ESP32-S3 internal hardware USB (and TinyUSB device stack) for communicating with the device during normal operation and monitoring, however flashing it using the same hardware usb requires physical intervention (holding boot and pressing reset button). I therefore prefer to flash it using the UART interface with an FTDI chip that has access to the DTR, RTS pins, and then monitor it using the chips hardware USB.
Unfortunately there is only one
idf.port
setting which governs the convenient 'Build, Flash, and Start a Monitor on your Device' command, which requires flashing and monitoring to always be on the same port.Describe the solution you'd like
An additional setting which provides more specificity of the task for which the port is being set. Possibly an optional
idf.monitorPort
setting which, if defined, takes precedence over theidf.port
setting for creating the monitor, and is respected by thecreateNewIdfMonitor
function:vscode-esp-idf-extension/src/espIdf/monitor/command.ts
Line 46 in 9725ba3
Describe alternatives you've considered
I could implement my own custom extension which completely replaces the esp-idf command entirely, or a fork, but this feels like overkill for a simple setting that is potentially only a couple of lines or so and is potentially useful for others in the mainline of the extension.
The text was updated successfully, but these errors were encountered: