-
-
Notifications
You must be signed in to change notification settings - Fork 431
Uploading disabled without port selection #770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks so much for reporting this @plampix. I see there was a regression of arduino/arduino-pro-ide#364, which had been previously fixed by 2831acc I bisected the regression to the 2.0.0-rc1 release. Uploading to boards without a port selected was still possible when using Arduino IDE 2.0.0-beta.12 To ReproduceIn case it will be helpful to the developers, I'll provide instructions to reproduce the issue.
Of course, in the case of the Uno, a port selection is needed for an upload, but that is not the case with all boards. We decided previously that, rather than making assumptions, the IDE should always trigger an upload and let the upload tool decide what to do. Those unwarranted assumptions were removed by 2831acc WorkaroundThe problem is caused by the requirement imposed by the IDE that a port must be selected before an upload may be triggered, so the workaround is to select any serial port from the Tools > Port menu in the Arduino IDE. The Digispark upload tool doesn't care about the port, so it makes no difference what the port is. If you don't happen to have a port available already, connect some device such as a regular Arduino board to your computer and use its port. Related |
@per1234 Thanks a lot for confirming the issue. I didn't look at the beta releases, so I assumed it never worked in v2. |
Hello I have the same issue with IDE version rc5 and Arduino Mbed OS RP2040 Boards v3.0.0. The workaround works when the device is in boot mode that mount the flash as a drive. On the other hand, similar device Arduino RP2040 Connect does not need the workaround. Even the device is mounted as storage device, the IDE detects some COM port for Arduino Connect. It is good to mention, once the program is loaded the device COM port is detected. And program can be loaded without need of fake COM port. |
@per1234 Thank you - the workaround worked as advertised :) |
The problem still exist - we always need to make a fake serial port to make ST LINK working... |
Is your feature request related to a problem? Please describe.
Compiling a project for a Digispark works great, however, uploading doesn't work (it doesn't do anything if I hit upload). Presumably because the Digispark doesn't present a 'port' to upload to.
Describe the solution you'd like
I'd like to be able to upload a project when there's no port selected, for hardware that doesn't upload using a static port.
Describe alternatives you've considered
Uploading the .hex from CLI. It works, but would be nice if we could do it from the GUI, like we used to in Arduino 1.x
The text was updated successfully, but these errors were encountered: