## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• 03:49
edleno2 commented #1186
• Feb 23 06:00
Muhammedfasil commented #644
• Feb 22 23:42
egandro commented #1181
• Feb 22 22:22
GF-Huang commented #808
• Feb 22 18:39
egandro opened #1207
• Feb 22 17:45
Benik3 commented #438
• Feb 22 17:29
• Feb 22 17:26
Benik3 commented #438
• Feb 22 17:22
• Feb 22 17:20
iFreilicht commented #438
• Feb 22 16:59
Benik3 commented #438
• Feb 22 16:54
Benik3 commented #438
• Feb 22 16:17
• Feb 22 16:12
Benik3 commented #438
• Feb 22 16:03
iFreilicht commented #808
• Feb 22 13:57
iFreilicht commented #438
• Feb 22 11:52
GF-Huang commented #808
• Feb 22 11:42
iFreilicht commented #808
• Feb 22 11:35
iFreilicht commented #1206
• Feb 22 10:16
iFreilicht commented #1206
Ben
@bzeeman
@wanghu572 they screwed up on the latest release and broke the arduino extension.
You have to downgrade to January release 1.42? I think.
wanghu572
@wanghu572
@bzeeman thanks
I will do it
Ben
@bzeeman
No problem. It’s super annoying that they default to auto-updates for a development platform. They can’t even coordinate their own plugins to not break.
wanghu572
@wanghu572
@bzeeman You are right, 1.42 ,The com can open,Thanks
Owen Atkinson
@owenatkinson
Hey folks, having issues communicating with a device through the serial ports on VS Code. Using a MacBook and a dongle to collect my device (usb 3.0) to my mac (usb-c). Is this likely to be causing the issue?
Ben
@bzeeman
You need to downgrade to 1.42 on VSCode because they broke it. Then turn off automatic updates.
Bruno
i just can see the normal installation
Ben
@bzeeman
You have to go to the site and I believe look at the version history and change log, and find the Jan 2020 notes. There should be a link there.
Bruno
oh ok i see complete vscode
wow thats a shame
thanks its working
Bruno
arg it updated again
I cannot seem to select port in VSCode
is there a way to figure out why?
ah I see the discussion above, same issue for me, vs downgrade then
Gaboskar
@Gaboskar
Hi guys
It's my first time working with visual studio code. I would like to use PlatformIO IDE. I have already managed to install the extension. In the manual it says that I have to click on 'home'. However, I only have a blue bar without 'home'. Someone who can help me?
kyuhyong
@kyuhyong
I have installed Arduino for vs-code and every time I plug a board, it automatically open Preview README.md file and Arduino example page and it is very annoying. How can I disable popping up these pages?
navanshu
@navanshu
Is this extension capable to talk to arduino when running in WSL?
PoleG97
@PoleG97
Someone knows how include the user's libraries pf arduino in VSCode?. I tryed it including the route "C:/........../librerias arduino/**" in the includePath of C/C++ extension, but is useless
Roberto Visentin
@rvisent
Hi, I am trying vscode-arduino with an ESP32 module, a MINI32. It works well with Arduino IDE, configured as a Wemos lolin32. In vscode it compiles and downloads fine, but in the serial terminal it hangs in "waiting for download" mode. It should be an RTS/DTR config issue, but I don't know how to modify their setting. Thank you for your help, Roberto.
Michael Schnyder
:point_up: April 10, 2020 1:58 PM
I thought im the only one... I'm getting crazy about this. Has anyone figured out how to prevent VS Code to automatically open the README.md and Arduino Examples when you plug in a device?
6 replies
student1704
@student1704
I worked with the HTML environment. NOw I want to go back to CPP or Ardino. But I can not find how to open a new CPP project? CPP and Arduino extensions are installed and activated. What to do?
pauliusnar
@pauliusnar
Helo, is it possible to write task for Arduino extension such as build and upload ? I need more flexibility than tiny buttons in top bar
Bryan Arguello
necesito ayuda
Tacca
@brunotacca
Hello, how can I solve problems related to includePath... I already went over some solutions, but nothing works...
The browsePath works fine (ctrl+click goes to the files), no errors shown by intelliSense, but when I click VERIFY, the classes/methods/definitions from the libraries are not loaded.

I have this settings...

    "C_Cpp.intelliSenseEngine": "Tag Parser",
"C_Cpp.default.intelliSenseMode": "gcc-x64",
"C_Cpp.loggingLevel": "Debug",
"arduino.path": "C:\\Program Files (x86)\\Arduino",
"arduino.logLevel": "info",
"arduino.enableUSBDetection": true,
"C_Cpp.commentContinuationPatterns": [
"/**"
],

With this arduino.json

{
"sketch": "UART.ino",
"port": "COM5",
"board": "TinyCircuits:samd:tinyzero",
"configuration": "BuildOption=normal",
"programmer": "AVR ISP"
}

and this c_cpp_properties.json

{
"configurations": [
{
"name": "Win32",
"defines": [
"ARDUINO=10800"
],
"includePath": [
"${workspaceRoot}", "C:\\Users\\Tacca\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\**", "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\**", "C:\\Program Files (x86)\\Arduino\\libraries\\**", "C:\\Users\\Tacca\\Documents\\Arduino\\hardware\\tools\\**", "C:\\Users\\Tacca\\Documents\\Arduino\\libraries\\**" ], "forcedInclude": [ "C:\\Users\\Tacca\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\cores\\arduino\\Arduino.h" ], "intelliSenseMode": "gcc-x64", "cStandard": "c11", "cppStandard": "c++17", "browse": { "path": [ "${workspaceRoot}",
"C:\\Users\\Tacca\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\**",
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\**",
"C:\\Program Files (x86)\\Arduino\\libraries\\**",
"C:\\Users\\Tacca\\Documents\\Arduino\\hardware\\tools\\**",
"C:\\Users\\Tacca\\Documents\\Arduino\\libraries\\**"
],
"databaseFilename": ""
},
"compilerPath": "C:\\MinGW64\\bin\\gcc.exe"
}
],
"version": 4
}
The simple example Blink, works fine.
Thank you all in advance. Any thoughts could help!
Mike Jenkins
@potatowave
@bzeeman Did you solved your Catalina "Fail to get the Vid Pid information from the builder response code=404" issue?
Ben
@bzeeman
No, I don’t think so. It worked anyway after I solved the issue that I needed to roll back to January build.
But I still get that error. I think. It’s been a few weeks since I’ve worked in it.
Mike Jenkins
@potatowave
@bzeeman What exactly did you have to roll back to January build?
Mike Jenkins
@potatowave
I'm trying to receive IR on the MXCHIP. Has anyone had success using these libraries?
bugrasan
@bugrasan_gitlab
does anybody have issue with "Arduino: Upload" function, sometimes it hangs? so i need to close vscode and reopen again.
on the Arduino console nothing is visible... also on the bottom left hand side the "uploading..." circle doesn't stop spinning...
cedrolin
@cedrolin
Hello, I have developped a new command to manage OTA upload with password for ESp boards. I'd like to share it and create a pull request, however I got permission denied when trying to git pull. How to become a contributor to this repo? Thx !
David Fisher
@fisherds
My students use Tinkercad for simulations and VS Code for programming a real Arduino. Often in code they use Serial communication. In Tinkercad the simulator doesn't make you set the Serial Monitor baud rate it just figures it out based on your code (the Serial.begin line). It'd be really neat if the Arduino extension in VS Code could do that as well!
kjordan3ds
@kjordan3ds
Hello all
Is there planned support for the Arduino DUE model or other 32bit Arduino products?
kjordan3ds
@kjordan3ds
Actually I just found out how to get it installed, if it will complete the install.
n-gineer
@n-gineer
I'm getting red underline squiggles on some standard Arduino libraries, even though I have this in my include path in c_cpp_properties.json file: "C:\Users\...\Documents\Arduino\libraries\**". Does anyone have advice of how to fix this?
To clarify, it compiles fine but VS-code shows me a dozen errors or so in every sketch file.
n-gineer
@n-gineer
It also isn't seeing definitions of variables/constants in the main tab of a multi-tab sketch.
cedrolin
@cedrolin
@n-gineer Hi n-gineer, have you tried to add the library and the path of your sketch in the c_cpp_properties.json file created in your folder?
Something like that: {
"configurations": [
{
"name": "Linux",
"includePath": [
"/home/cedric/.arduino15/packages/esp32/tools/",
"/home/cedric/.arduino15/packages/esp32/hardware/esp32/1.0.4/
",
"\${workspaceFolder}/",
"/home/cedric/Arduino/libraries/
",
"/home/cedric/.arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi/src"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu11",
"cppStandard": "gnu++14",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}
n-gineer
@n-gineer

@n-gineer Hi n-gineer, have you tried to add the library and the path of your sketch in the c_cpp_properties.json file created in your folder?

@cedrolin , I included .../Arduino/** in my "includePath" in c_cpp_properties.json, but nothing in the edit window changed. However, it seemed that the error changed in the problem bar to say missing from browse path, so I added it in browsepath in settings.json, and now it works!

7 replies
kjordan3ds
@kjordan3ds
Is there support for the Atmel Software Framework or a decently simple way to incorporate it for 32bit development?