Description
Environment
- OS and Version: Windows 10 21H2
- VS Code Version: 1.75.1
- C/C++ Extension Version: 1.14.3
- If using SSH remote, specify OS of remote machine: N/A
Bug Summary and Steps to Reproduce
Bug Summary:
Tried using the RP2040 Feather from Adafruit (https://www.adafruit.com/product/4884), following the setup guide here (https://learn.adafruit.com/adafruit-feather-rp2040-pico/arduino-ide-setup). Everything works fine on the Arduino IDE, but when I switch to VS Code, I get the following error:
[Error - 9:24:01 AM] Sending request cpptools/getInlayHints failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 9:24:01 AM] Sending request cpptools/getSemanticTokens failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 9:24:01 AM] The language server crashed 5 times in the last 3 minutes. It will not be restarted.
The code is a very simple .ino file with blank setup() and loop() functions. If I switch to a different board, the code compiles with no problem, so it seems like it's specific to the RP2040. I've attached both the c_cpp_properties.json and the language server logs.
c_cpp_properties.txt
CCpp Language Server Logging.txt
Configuration and Logs
See attached logs
Other Extensions
Other Extensions:
Arduino v0.5.0
Serial Monitor v0.8.0
Both C/++ and Serial Monitor are required for using the Arduino extension.
Additional context
I tried attaching the debugger following the guides here (https://github.com/microsoft/vscode-cpptools/wiki/Attaching-debugger-to-cpptools-or-cpptools%E2%80%90srv), but there is no option for 'cpptools' when I try to attach it.