Open pfeerick opened 4 years ago
As a follow on to https://github.com/platformio/platform-atmelavr/issues/173, a feature request:
Can upload_port take usb as an option, so that instead of setting upload_flags = -Pusb to set the port, upload_flags = usb can be used?
upload_port
usb
upload_flags = -Pusb
upload_flags = usb
It looks like it would fit in after the test for custom as another state: https://github.com/platformio/platform-atmelavr/blob/0c0972b8e5216cc4e87b4292dbe4fb66d58c8a83/builder/main.py#L187
custom
See comment in #173, the workaround is to add this line to platformio.ini: board_upload.require_upload_port = False
platformio.ini
board_upload.require_upload_port = False
(but this should really be default per upload_protocol)
upload_protocol
As a follow on to https://github.com/platformio/platform-atmelavr/issues/173, a feature request:
Can
upload_port
takeusb
as an option, so that instead of settingupload_flags = -Pusb
to set the port,upload_flags = usb
can be used?It looks like it would fit in after the test for
custom
as another state: https://github.com/platformio/platform-atmelavr/blob/0c0972b8e5216cc4e87b4292dbe4fb66d58c8a83/builder/main.py#L187