How select "Language standard"

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

How select "Language standard"

800 Views
ptcaos
Contributor III

Hello,

if I create a new SDK project (from the SDK project wizard), after selecting board and other configuration (device packages, project type, components...), I get "Advanced project settings" screen where I can select the MCU C Compiler. By default, "Language standard" points to "Compiler default", but I can choose if I want "GNU C90 (-std=gnu90).

However, if I create a new C project (not SDK), I can't see this screen and I can't choose "Language standard".

How can I change that?

Thanks.

1 Reply

722 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hi ptcaos,

If you right click in your project click in properties->C/C++ Build->Settings->MCU C Compiler->Dialect you can select the language:

pastedImage_1.png

Best Regards,
Alexis Andalon