Topic : Indicating path of source files for an existing application

Forum : Ride IDE

Original Post
Post Information Post
December 6, 2010 - 7:09am
Guest

Hello,

I am using RIDE 7 to debug an application that was built with a different toolchain. Ride can load the EABI file produced by that toolchain and recognises the source file names but it can only locate the files that are directly under the src directory. However due to the way this project is structured many source files are in different directories. Is there anyway of indicating the location of these source files to the IDE?

Regards,

Joe

Replies
Post Information Post
+1
0
-1
December 6, 2010 - 9:52am
Raisonance Support Team

Hi,

I guess you are working on an ARM CPU...?

If yes, then the option you are looking for is this one:
"Project"->"Debug Application Options"->"Info"->""Additional Source Directories"

Best Regards,

Vincent

+1
0
-1
November 13, 2017 - 2:03pm
Horst Eyermann

Hello,

I have a similar problem. Setting the "additional Sources Directories" did not work for me.

In order to match other projects, I did set up a build system under linux (ubuntu) using the arm-none-eabi toolchain.

Everything works as expected except displaying the source when debugging.

It does show the symbols (for example "main") correct. but the source is not opened even so I set the "Additional Source Directories".

Should his be working? - Is there a way to see what is going on?

I am using:

 * Ride7 (7.60.15.0327)

 * RKit-ARM 1.44.12.0214

 * Linux: arm-none-eabi-gcc 4.9.3

Thank you

Horst

+1
0
-1
November 20, 2017 - 9:58am
Lamjed Mtimet

Hello,

It should work correctly  ...

Could you please up grade to the latest version Ride 7 & RKit-ARM.

Regards,

AmJed

+1
0
-1
November 20, 2017 - 11:09am
Horst Eyermann

Thanks.

It seems that gcc 4.9.4 is using a different dwarf version then (the old) Ride7 is using.

So for compiling and linking the debug version I added the option "-gdwarf-2" to gcc.

When I point the source code to the correct location, I can now debug the application as expected.

+1
0
-1
August 1, 2019 - 9:17am
Lamjed Mtimet

Hello,

Thank you for using Raisonance products.

You have just to add the needed source file to the project windwos to be builded.

Best regards,

Raisonance Support Team