This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What about the environment variables of uVision2?

I want to integrate a command flash downloading tool into uVision2' Tools menu.
How can I get the base folder of current project? Which environment variable can I use?

I noticed that in page 180 of GS166.pdf, dave.exe' argument is set to $P@P.DAV. Then what's the meaning of $P@P?

Parents
  • Hi,

    it is in online help.

    $P is the PATH variable to application
    (in your case your flasher)

    @P is a project file - e.g. with DAvE

    @P calls DAvE with actual
    projectname and extension dav

    expands e.g.
    ------- $P ------- ------ @P ------
    C:\DAvE\dave.exe -Projectname.dav

    Stefan

Reply
  • Hi,

    it is in online help.

    $P is the PATH variable to application
    (in your case your flasher)

    @P is a project file - e.g. with DAvE

    @P calls DAvE with actual
    projectname and extension dav

    expands e.g.
    ------- $P ------- ------ @P ------
    C:\DAvE\dave.exe -Projectname.dav

    Stefan

Children
No data