-
Notifications
You must be signed in to change notification settings - Fork 236
Can't Select Serial Port #1104
Comments
As a workaround:
|
That's working only for flashing but not for serial monitor |
This trick didn't work for me, I uninstalled the Visual Studio code, and reinstalled an old version, it was no longer a problem and disabled automatic updates ... https://code.visualstudio.com/updates/v1_41 "update.mode": "none" |
@Abneco This workaround works for me but does it exists a portable version of Visual Studio Code? Right now because of this extension I installed "Visual Studio Code" old version specifically to use vscode-arduino and "Visual Studio Code Insider" for other projects, but I really wanted to simply have a portable vscode designed only for Arduino projects, but I can't find it so far. Telling my team to use a specific version of VSCode on their machine by uninstalling their ones is not acceptable. Would be nice if this issue is fixed tho to avoid this workaround. |
@fabnicolas I looked into doing this. The issue is not in the Arduino extension but in one of its indirect dependencies. A rewrite to use the N-API indirect invocation of native libs is far from trivial due to the complexity of post-installation platform specific build (on which the current implementation relies). I am currently building an alternative extension that does not suffer from this problem because it works in a completely different way, shelling command line utilities for native integration. This has been a great deal of work and I have not yet decided to make it available for free. |
Personally, I also have to develop on a stable system, I find that this extension is promising but not mature enough, so I chose to work with platformIO https://platformio.org/ compatible with the latest version and much more stable , easy to configure ... PlaformIO has another small drawback, ... acceptable ... this is mainly due to the fact that you must respect c ++ Don't forget to disable or uninstall the Microsoft arduino extension before installing PlatformIO, they are not compatible together |
There is a new project called Arduino Pro which is trying to build VS Code kind of IDE. But I would not jump ship personally for now. |
Also Arduino has a new project for building a new command line. I guess that will become the main way to compile, flash etc in the future. |
Will this issue be fixed some day ? or just end of support ? |
try rebuilding the plugin following the steps from #1113 (comment). |
Prerelease build for the serial port issue is here: https://github.com/microsoft/vscode-arduino/releases/tag/v0.3.3-rc I plan to publish a release with this fix tomorrow, Oct 30. |
Resolved in release 0.3.3 |
This prompts the error "The arduino.json file format is not correct." |
This can probably be due to an issue with Arduino Installation. I had the same issue. I uninstalled the Arduino existing installation and installed the latest version (1.8.13) it fixed the issue. |
This is now fixed with vscode-arduino 0.3.3 |
Just installed this (v 0.3.4). I can't select serial port. I added com3 manually to the arduino.json but then I'm stuck on the other bug (can't open serial port) |
i have the same problem @ryanlightbrighton |
This is resolved in v0.3.5 see #1198 for installation instructions. |
Issue Type: Bug
I cannot select my serial port. I have tried every fix I can find on google and nothing works
Extension version: 0.2.29
VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:38:38.248Z)
OS version: Windows_NT x64 6.1.7601
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: