How to Use C99 Coding Standard for PSoC® 5LP Parts - KBA90452

Version: **

 

Question:

How to configure PSoC Creator™ to use the C99 coding standard for PSoC 5LP parts?

 

Answer:

Do the following on ARM® GCC compiler to use the C99 coding standard with PSoC 5LP parts in PSoC Creator™:

 

  1. Open the project in PSoC Creator.
  2. Right-click on the project name.
  3. Select Build Settings.
  4. Expand the Compiler node in the settings tree.
  5. Select the Command Line node.
  6. In the Custom Command Line properties, add the following:
          -std=gnu99.

 

See the following screenshot that shows the steps:

1.png