[SOLVED] Ozone - Support for relative paths

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Ozone - Support for relative paths

    Is it possible to get ozone to support relative paths to the .jdebug / project file. For example in my .jdebug:

    Project.SetDevice ("LPC4357_M4");
    Project.SetHostIF ("USB", "");
    Project.SetTargetIF ("JTAG");
    Project.SetTIFSpeed ("1 MHz");
    Project.AddPathSubstitute ("C:/ELI/SmartBrew/SRC/embedded/TempControl/SRC/TC4", "$(ProjectDir)");
    Project.AddSvdFile ("$(InstallDir)/Config/CPU/Cortex-M4F.svd");
    Project.AddSvdFile ("$(ProjectDir)/LPC43xx_43Sxx.svd");

    The problem I am having is that $(ProjectDir) is still hard coded. Is there a way to specify a path relative to the current project? I am trying to find a way to get the project setup so multiple developers can clone a repository and not have to fix hard coded paths
  • Hello,

    Thank you for your inquiry.
    Yes, Ozone supports relative paths. Simply try it.
    e.g. ./<MyPath>

    Best regards,
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.