-
-
Notifications
You must be signed in to change notification settings - Fork 431
The selected board + port should used for new sketches #95
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
This comment has been minimized.
This comment has been minimized.
I've been running into similar all morning and just found your notes/issue. Sketches seem to have exclusive rights to a selected board/port. if I have a sketch open and have assigned a board/port, then want to open an existing sketch (new browser) and want to use that same board/port, it's not visible, not available, no ports found. Hope that adds some additional info, if not, please delete. Thanks, much appreciated by a nubbie. |
I cannot reproduce this. |
When you say it automatically switches to it if you had previously selected it, do you still have the original browser window open? Or Maybe it's because I'm trying to deal with an ESP32-Wrover module? see arduino/arduino-pro-ide#350 I haven't tried with normal Arduino boards, as my current project uses the ESP32 and is getting complicated to the point I decided to try the new IDE. After I added the urls show in arduino/arduino-pro-ide#350, The board showed after re-indexing. When selected with it's port, the connected board does have an error triangle icon. I can't find any way to see the error causing that - I've tried control clicking on the button, etc, looking for something obvious to a new user in the output.... Maybe whatever is causing the icon is also keeping it from being selected in the new project? I've not been able to find any docs on what that icon means - I've also looked in the Theia docs. There's a lot and I may have missed it. Are there general IDE UI or existing project translation notes I'm missing? Sorry for any trouble, and I really appreciate that someone out there is listening to my nubbie questions. mahalo, dale |
hi @dalemcbeath The auto-recognition of a board depends on its VID/PID (vendor ID and product ID) as a USB device. Generic boards and modules will only be able to show up as a USB to Serial converter, but since all of them will contain the same pair we have no way to recognise which one is which, so a user has to manually select a board's type and its port. Hope this helps you understand where your issue comes from. Cheers.ubi |
Just some feedback: Checking the VID/PID registration process to find the serial port does not work for my custom hardware designs which uses different serial interface chips. So this requires selecting the board / serial port manually. That's no problem as long as this setting is remembered when creating a new or opening an existing sketch.
A fix would be great.
I think it needs some more clarification how I use the classic IDE:
Now launch a second IDE (as a new instance from the start menu or command prompt).
With this approach, it is possible to develop a transmitter application in the first IDE and a receiver in the second IDE. Do you think this is feasible for the pro IDE? |
thanks @ubidefeo, for the explanation, that helps. To make sure I understood what you meant, I wanted to just use a Mega board and a couple of projects.
Those 2 minute delays to find boards and ports seems odd. No offset to stacked browsers is not what I'm used to on OSx, but may be standard elsewhere. ESP wise, it looks like I should wait another few mini-versions before attempting to migrate my ESP based project to the Pro IDE - there's just too many things missing (includes, ESP base libraries) for me to track down with my current knowledge level. I'm very impressed with the new IDE, and it's already changed my coding style for the better. Looking forward to using it on a larger project. Again, thank you so much for your help in understand what was going on. It's greatly appreciated. dale |
hi @Erriez and @dalemcbeath My apologies for the very late response (OMG it's been over a month). It's been a very busy month, but I'll go through the thread carefully later in the week and come back with a series of answers. Thank you for your patience |
@dalemcbeath |
|
One of the problems with auto-associating the old board and port with the new sketch is that it weakens one of the nicer new features of the new IDE, namely the ability to keep track of multiple boards and ports. This is related to #271 Auto-associating would make 2.0 seem more like 1.0, though, so it might be a useful option that the user can enable if they prefer it. |
Closes #95. Signed-off-by: Akos Kitta <[email protected]>
Closes #95. Signed-off-by: Akos Kitta <[email protected]>
Closes #95. Signed-off-by: Akos Kitta <[email protected]>
When I open a sketch and configure my board and port settings and I create a new sketch again, my previous board settings are not used for the new sketch; the app shows
no board selected
.The sketches (browser windows) do not know anything about each other. We should put the selected board + port into the URL as a query, and when opening a new window, we should try to retrieve this info.
The text was updated successfully, but these errors were encountered: