AnsweredAssumed Answered

S32DS invalid EXECUTABLES variable in makefile

Question asked by Robert Kalmar on Feb 28, 2018
Latest reply on Feb 28, 2018 by Jiri Kral

Hello,

I came to an issue. When I set a custom "Build Artifact" (i.e. an executable to be generated) this is not propagated to the $EXECUTABLES variable. It remains empty. Therefore the makefile rule for "size" tool (e.g. arm-none-eabi-size) is wrong and not working.

 

My hotfix is to edit the "Print Size" "Command line pattern" field to explicitly contain the executable. This works only in case of parallel build is turned off. As the dependency rule for size in generated makefile is still wrong,  using a parallel build the "size" is invoked before the linker generates the executable. The compilation fails.

 

Did I set up the compilation wrongly? Is there any way how to force the some content into $EXECUTABLES variable in generated makefile?

 

I am using S32DS 1.3, target processor is ARM M4 core. 

Outcomes