Git Product home page Git Product logo

Comments (2)

KozhinovAlexander avatar KozhinovAlexander commented on July 20, 2024

Hello Rayan,

Thank you for your question and interest in my repository for Zephyr compilation with VSCode.

Hi Alexander,
The command "West Build Zephyr" in the Tasks file in VSCode, has:
"dependsOn": ["Set Zephyr Source"],
But is this compound-command working for you?

If I run "West Build Zephyr" I get following output in my console:

Executing task in folder zephyr_vscode_workspace: source ${ZEPHYR_BASE}/zephyr-env.sh <
Terminal will be reused by tasks, press any key to close it.
Executing task in folder zephyr_vscode_workspace: west build -p auto -b ${BOARD}${CPU} ${PRJ_NAME} <

After that my west begins building Zephyr project.

I can see in the terminal that both the Source and West commands are running.
But for me, the the variables set by Source do not seem to remain for the West command. It acts like a brand new terminal without variables when West runs - as if the Source command had never run at all.

Sorry for that. Honestly, I've never payed attention to this behavior, until you pointed it. But I can assure you, west produces proper code for me.

If it not work for you, you can also comment out this command as dependency.
Do you need/wish some special behavior from Set Zephyr Source command?

If you like to improve this project or add new functionality, you're welcome to create a new PR I will be happy to review it.

Best regards,
Alexander

from zephyr_vscode_workspace.

KozhinovAlexander avatar KozhinovAlexander commented on July 20, 2024

@ryangenz Hello. Do you still observe the problems or use this repository? Since your request there were a lot of changes. May be it would be good for you to take a look.

from zephyr_vscode_workspace.

Related Issues (3)

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.