AnsweredAssumed Answered

Building multiple SREC files

Question asked by Jing Yin Wong on Nov 25, 2018
Latest reply on Nov 26, 2018 by Jiri Kral

Hi NXP Team,

 

I have 2 version of S32K142 linker files (S32K142_32_flash.ld).

Each linker file has different memory area specifications.

I need to build 2 SREC files under the same project in S32DS with different linker files.

Currently, I have to perform the followings to build 2 SREC files:

1. Build the 1st SREC file.

2. Modify the linker file manually.

3. Build the 2nd SREC file.

 

I would like to know if there is any better way to achieve that.

For example,

#ifdef XXX

   run version1.ld

#else

   run vesion2.ld

 

Thank you.

 

Best regards,

Jing Yin

Outcomes