Skip to content

Source code detection

Felipe Torrezan edited this page Apr 15, 2024 · 4 revisions

The IAR EWPtool Utility detects source file types from the selected source tree by their extension. The file extensions that are automatically detected are specified in the table below.

Source file type Detected file extensions (case-insensitive*)
C sources *.c
C++ sources *.cc, *.cpp, *.cp, *.cxx, *.c++
Assembly sources *.s, *.asm, *.msa,
*.s90 (AVR), *.s51 (8051), *.s43 (430), *.s26 (78K), *.s85 (V850)

Tip

If a project requires any pre-built static library (i.e., <library-name>.a), these must be manually added to the project (i.e., via ProjectOptions (ALT+F7) → LinkerLibraries).