Datasheet
COMPILATION
When you have created the project and written the source code, it's time to compile
it. Select Project › Build from the drop-down menu, or click the Build Icon from
the Project Toolbar. If more more than one project is open you can compile all open
projects by selecting Project › Build All from the drop-down menu, or click the Build
All Icon from the Project Toolbar.
Progress bar will appear to inform you about the status of compiling. If there are
some errors, you will be notified in the Error Window. If no errors are encountered,
the mikroC PRO for AVR will generate output files.
Output Files
Upon successful compilation, the mikroC PRO for AVR will generate output files in
the project folder (folder which contains the project file .mcpav). Output files are
summarized in the table below:
Assembly View
After compiling the program in the mikroC PRO for AVR, you can click the View
Assembly icon or select Project › View Assembly from the drop-down menu
to review the generated assembly code (.asm file) in a new tab window. Assembly
is human-readable with symbolic names.
Related topics:Project Menu, Project Toolbar, Error Window, Project Manager, Pro-
ject Settings
86
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Environment
mikroC PRO for AVR
CHAPTER 2
Format Description File Type
Intel HEX
Intel style hex records. Use this file to program AVR
MCU.
.hex
Binary
mikro Compiled Library. Binary distribution of appli-
cation that can be included in other projects.
.mcl
List File
Overview of AVR memory allotment: instruction
addresses, registers, routines and labels.
.lst
Assembler File
Human readable assembly with symbolic names,
extracted from the List File.
.asm