Building multiple SREC files

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Building multiple SREC files

1,466件の閲覧回数
jingyinwong
Contributor I

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

タグ(2)
0 件の賞賛
返信
1 返信

1,364件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

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: 

pastedImage_1.png

pastedImage_2.png

Hope it helps.

Jiri

0 件の賞賛
返信