Giter VIP home page Giter VIP logo

Comments (3)

benmcmorran avatar benmcmorran commented on September 1, 2024 1

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.

screenshot

from vscode-embedded-tools.

benmcmorran avatar benmcmorran commented on September 1, 2024

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.

benmcmorran avatar benmcmorran commented on September 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.