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
Hi,
best option is just add another build configuration and specify your linker file in proejct settings for particular configuration - the same way as RAM and FLASH target:
Hope it helps.
Jiri