Comments (3)
This issue is fixed in pre-release version 0.5.230207001
of the Embedded Tools. You can switch to the pre-release version (which updates nightly) in the VS Code Marketplace. Note that as discussed above, this change does not actually add full support for general ${workspace_loc}
macros, but does remove all unknown Eclipse macros.
from vscode-embedded-tools.
Thanks for the report! I can reproduce this issue. We can't easily fix this in the general case, because the ST project import feature has no knowledge of which directory was the workspace root in STM32CubeIDE. That said, I am updating the importer to drop paths that contain Eclipse macros we don't know how to interpret, which should fix the syntax errors you're getting. I'll let you know when this fix is available in the public pre-release channel.
Also note that if you need to add or remove include paths that weren't correctly handled by ST project import, you can add additional CMake logic to CMakeLists.txt and it will not be overwritten when the .cproject
file changes. This doesn't help when there are synatx errors in st-project.cmake
, but with those fixed it should be a viable workaround.
from vscode-embedded-tools.
This change is in version 0.6.0 of the extension, which is now available in the VS Code Marketplace.
from vscode-embedded-tools.
Related Issues (20)
- Add path to STM32CubeCL for MacOS HOT 2
- Extension can't find static library HOT 3
- Scanning for kits occurs too frequently HOT 2
- vcpkg and arm-none-eabi-gcc C++ build issue HOT 4
- Add a setting to allow a custom path to STM32CubeIDE HOT 1
- VCPKG error whne loading imported STM32CudeIDE project HOT 5
- How to find STM32CubeIDE? HOT 3
- Loading Problem on WSL HOT 2
- Auto update "target_include_directories" function in st-project.cmake file
- Placing a breakpoint while program is running throws an exception HOT 2
- st-project.cmake will generate "\\" on windows and "/" on macos HOT 1
- Extract the vcpkg artifacts support into its own VSCode extension and repo
- Build analyser would be a great addition HOT 2
- Could not find an STM32CubeIDE installation HOT 6
- doe nu eens iets gelijk goed HOT 1
- vcpkg reinstalled despite having the correct version bundled
- Pre-defined compiler flags are not picked up when importing .cproject file
- The selector to choose a .cproject file to import only shows directories inside a dev container HOT 1
- Pause automatic project refresh during git rebase
- RTOS View seem to not support Azure RTOS on 64bit Arm targets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-embedded-tools.