You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The auto-generated VSCode files (*.json) for the example builds are a bit hard to work with on Windows in the current state. In particular, I noticed the following...
Baremetal ARM GCC Profile
The "intelliSense Mode" parameter in this same file appears to be set for linux-gcc-arm rather than just gcc-arm. This is a subtle, but important distinction: gcc-arm targets baremetal, while linux-gcc-arm targets an ARM core that is meant to be running Linux. This is by definition not the case for a "no-OS" type platform.
"intelliSenseMode": "linux-gcc-arm"
should be changed to...
"intelliSenseMode": "gcc-arm"
Cross-Platform Support
Currently the output files only have support for a Linux profile.
From tools/scripts/platform/template_c_cpp_properties.json:
For a number of reasons, many embedded developers are locked into a Windows development platform. Some developers have the option of choosing macOS as well and prefer to keep that as their home environment. Unfortunately, many developers can't use a Linux profile for VS Code out of the box.
Fwd/Back Slashes
Windows VS Code can struggle with the direction of slashes in path names. This can be seen in the below call to GNU Make...
To reproduce this:
Build the project on command-line with Windows in Git Bash or MSYS2.
Open the project in VS Code
Attempt to debug with Run-->Start Debugging
The text was updated successfully, but these errors were encountered:
The auto-generated VSCode files (*.json) for the example builds are a bit hard to work with on Windows in the current state. In particular, I noticed the following...
Baremetal ARM GCC Profile
The
"intelliSense Mode"
parameter in this same file appears to be set for linux-gcc-arm rather than just gcc-arm. This is a subtle, but important distinction:gcc-arm
targets baremetal, whilelinux-gcc-arm
targets an ARM core that is meant to be running Linux. This is by definition not the case for a "no-OS" type platform.should be changed to...
Cross-Platform Support
Currently the output files only have support for a Linux profile.
From tools/scripts/platform/template_c_cpp_properties.json:
For a number of reasons, many embedded developers are locked into a Windows development platform. Some developers have the option of choosing macOS as well and prefer to keep that as their home environment. Unfortunately, many developers can't use a Linux profile for VS Code out of the box.
Fwd/Back Slashes
Windows VS Code can struggle with the direction of slashes in path names. This can be seen in the below call to GNU Make...
To reproduce this:
The text was updated successfully, but these errors were encountered: