(S32DS for PA v2.1) How to configure the compiler option

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

(S32DS for PA v2.1) How to configure the compiler option

1,075 Views
james-lee
NXP Employee
NXP Employee

Hello team,

 

LGES asked how to configure the compiler option below in the S32DS for PA v2.1.

They plan to develop a library file to their customer, and received the compiler option below. However, they have no idea about how to configure it in the S32DS tool.

 

Compile option: -std=c99 -DSTART_FROM_FLASH -DCPU_MPC5748G -DTURN_ON_CPU0 -DDEV_ERROR_DETECT

 

 

Could you please help this question?

 

Best regards,

James

 

0 Kudos
2 Replies

1,071 Views
jiri_kral
NXP Employee
NXP Employee

Hi James, 

 

if I understand it correctly - there is only one compiler option -std=c99. This one can be set in Project Properties -> C/C++ Build -> Settings -> Stendard S32DS C compiler -> Dialect: 

jiri_kral_0-1655209549236.png

Other parameters are pre-processor macros and can be defined on the same place in Preprocessor:

jiri_kral_1-1655209755054.png

 

 

 

 

0 Kudos

1,023 Views
james-lee
NXP Employee
NXP Employee

Hello Jiri,

 

Thank you so much for your answer.

 

Best regards,

James

0 Kudos