AnsweredAssumed Answered

Get source files in S32 eclipse project

Question asked by Mathias Edman on Oct 22, 2019
Latest reply on Oct 31, 2019 by Jiri Kral



I have a problem with getting the filenames in a specific project and configuration. In S32 studio (Version: 2017.R1, Build id: 171018) I did it rather awkwardly by looking in the file .cproject for this section:


<option id="com.freescale.s32ds.cross.gnu.tool.c.linker.option.linkOrder.1217940141" name="Link Order" superClass="com.freescale.s32ds.cross.gnu.tool.c.linker.option.linkOrder" useByScannerDiscovery="false" valueType="stringList">

   <listOptionValue builtIn="false" value="Core0/flashrchw.c"/>




But this section is only appearing when setting the tick box "customize linker input order" in the setting for linker.

To make things worse, this section member "name" field has been removed in S32 Version: 2.1, Build id: 190624.


Do you have any suggestion how to get all the source files that is being used/built for a specific project/configuration? What file contains this information?

I want a list like this:

<listOptionValue builtIn="false" value="Core0/flashrchw.c"/>
<listOptionValue builtIn="false" value="Core0/main_Z7_0.c"/>
<listOptionValue builtIn="false" value="Core1/main_Z7_1.c"/>