Using IAR Embedded Workbench® for ARM UM1467
15/46 Doc ID 022172 Rev 1
The IAR Embedded Workbench enables C color syntax highlighting when you save your file
using the dialog File > Save As… under a filename with the *.c extension. In Figure 10:
main.c example file, the file is saved as main.c.
Figure 10. main.c example file
Once you have created your source file you can add this file to your project, by opening the
Project menu, selecting Add and adding the selected file as in Figure 11: Adding files to a
project.
Figure 11. Adding files to a project
If the file is added successfully, Figure 12: New project file tree structure is displayed.
Figure 12. New project file tree structure