-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support SDCC as compiler #7146
Milestone
Comments
Related to #6677 . |
This feature request has received enough votes to be added to our backlog. |
What's going on here? People still use SDCC and VSCode, I really want to see VSCode add support for SDCC. |
any update? |
@ArvoGuo No update. |
+1 |
1 similar comment
+1 |
+1 Any update? |
1 similar comment
+1 Any update? |
There is already an addon for that please close. |
+1 Any update? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Type: LanguageService
This issue is closely related to #2499 but more general. The linked issue talks requests that VSCode supports some of SDCC compiler's syntax for Intel 8051 projects. This issue requests that SDCC is generally a supported and recognized compiler in VSCode's C/C++ extension, since SDCC can do much more (compile code for STM8, Z80, PIC14, PIC16, etc.).
Describe the bug
compilerPath
of the.vscode/c_cpp_properties.json
file, it is not being recongized correctly with the message "Unable to resolve configuration with compilerPath [..]/sdcc.exe. Using cl.exe instead."Steps to reproduce
c_cpp_properties.json
that is causing issues)platformio.ini
of the project to.vscode/c_cpp_properties.json
containing SDCC in thecompilerPath
, example:Expected behavior
The SDCC compiler is recongized correctly in VSCode and compiler-specific includes like `#include "mcs51/8051.h" are recongized, and special SDCC syntax for e.g. special function registers (SFRs) and interrupt definitions are recongized.
C/C++: Log Diagnostics
: None relevant -- see belowActual behavior
Error message in the "C/C++ Configuration warnings" output tab:
Translates to
Due to that of course, nothing SDCC specific like the compiler-specific includes or syntaxes are displayed correctly in VSCode.
Screenshots
None relevant
The text was updated successfully, but these errors were encountered: