by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 05:59
    hellyzh commented #950
  • 05:12
    MitchTalmadge commented #1064
  • 05:11
    MitchTalmadge commented #1064
  • Jul 09 17:44
    cmwhittaker commented #765
  • Jul 09 17:43
    cmwhittaker commented #765
  • Jul 08 18:35
    tariqawni commented #950
  • Jul 08 14:05
    giuliof commented #1017
  • Jul 08 00:25
    rferrese commented #710
  • Jul 07 23:15
    adiazulay commented #1066
  • Jul 07 21:55
    adiazulay edited #1066
  • Jul 07 21:54
    adiazulay opened #1066
  • Jul 06 14:10
    sbhklr commented #1017
  • Jul 06 13:06
    Strat00s commented #1064
  • Jul 06 13:00
    Strat00s commented #1064
  • Jul 06 12:59
    Strat00s commented #1064
  • Jul 06 02:27
    amatilda edited #1065
  • Jul 06 02:26
    amatilda opened #1065
  • Jul 05 14:34
    giuliof synchronize #1017
  • Jul 05 14:34
    giuliof commented #1017
  • Jul 04 19:38
    NikilRagav commented #1017
Ben
@bzeeman
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
@Bruno44230381_twitter
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
@Bruno44230381_twitter
oh ok i see complete vscode
wow thats a shame
thanks its working
Bruno
@Bruno44230381_twitter
arg it updated again
ladeak
@ladeak
I cannot seem to select port in VSCode
is there a way to figure out why?
ladeak
@ladeak
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?
I already downgreaded to v1.42
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
@MichaelSchnyder_twitter
: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
@bryan_tod_twitter
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.additionalUrls": "http://files.tinycircuits.com/ArduinoBoards/package_tinycircuits_index.json",
    "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\\**"
                ],
                "limitSymbolsToIncludedHeaders": false,
                "databaseFilename": ""
            },
            "compilerPath": "C:\\MinGW64\\bin\\gcc.exe"
        }
    ],
    "version": 4
}
The simple example Blink, works fine.
The custom library example (BluetoothLE UART), doesn't work when UPLOADING/VERIFYING.
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!

6 replies
kjordan3ds
@kjordan3ds
Is there support for the Atmel Software Framework or a decently simple way to incorporate it for 32bit development?
Mian Qi
@mianqi2016
Anyone here has debugged Arduino by simavr in vs code on ubuntu ?