PSoC Creator 4: How to use C11 with MDK compiler?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am originally using the default Cypress provided ARM GCC compiler for a PRoC project. In the compiler command line option, there is a customer flags: -std=c11

   

I believe it means it request the compiler to use C11 standard.

   

As my code size grow I need to use the Keil MDK compiler. I have installed the MDK and set the project to use it. However I want to set the same standard for the compiler, that is C11. How can I do that?

   

Thank you.

0 Likes
1 Reply
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

You should find that switch in the Keil MDK documentation.

0 Likes