Git Product home page Git Product logo

Comments (4)

axel-lebourhis avatar axel-lebourhis commented on August 18, 2024 1

I tried your suggestion, it does the job for us ! Thanks for the tip.

from iar-vsc-build.

HampusAdolfsson avatar HampusAdolfsson commented on August 18, 2024

Hi! What executable are you trying to find the path to? If it is an executable in the Embedded Workbench installation directory, we provide the ${command:iar-config.toolchain} command which resolves to the selected Embedded Workbench or Build Tools installation.

For example:
${command:iar-config.toolchain}/common/bin/iarbuild.exe gives you the iarbuild executable, and ${command:iar-config.toolchain}/arm/bin/iccarm.exe gives you the Arm compiler.

from iar-vsc-build.

axel-lebourhis avatar axel-lebourhis commented on August 18, 2024

Hi ! No, I meant the output executable from the build.
The idea is to have a command that returns the absolute path to the .out of the currently loaded ewp, this way we can have generic launch configuration shared among teams.

from iar-vsc-build.

HampusAdolfsson avatar HampusAdolfsson commented on August 18, 2024

I see. For various reasons this is a bit complicated (but not impossible) to implement. If you haven't changed the output path from the default, you can get the path to the .out file like this:
${command:iar-config.project-file}/../${command:iar-config.project-configuration}/Exe/${command:iar-config.project-name}.out

Would that work for you?

from iar-vsc-build.

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.