Sunday, May 20th 2018, 5:43pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

bpeavey

Beginner

Date of registration: Mar 10th 2018

Posts: 1

1

Tuesday, March 20th 2018, 1:10am

[ABANDONED] Ozone - remap source files

I've just started using Ozone under Windows 10. I build my code using Cygwin. The resulting .elf file specifies the source files with a "/mnt/c" prepended to each source path/file name. When I open the project in Ozone, I get "File not found" errors due to the extra path at the beginning of each file that Cygwin adds. Is there a way to tell Ozone to remap these files to the path it understands? I tried typing Project.AddPathSubstitute ("/mnt/c", "/"); into the Console window, but that did not have any affect.
Thanks!

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 1,048

2

Tuesday, March 20th 2018, 9:18am

Hello,

Thank you for your inquiry.
Try using the project dir macro with the absolute path added that gets output as error in Ozone instead:
Project.AddPathSubstitute("C:/work/Test", "$(ProjectDir)"); for example.

Does that work for you?

Best regards,
Nino
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 contact us per e-mail.
The following contact form can be used for this: https://www.segger.com/about-us/contact-us/