Projects
The mikroC PRO for AVR organizes applications into projects, consisting of a single project file
(extension .mcpav
) and one or more source files (extension .c
).
mikroC PRO for AVR IDE allows you to manage multiple projects (see Project Manager).
Source files can be compiled only if they are part of a project.
The project file contains the following information:
- project name and optional description,
- target device,
- device flags (config word),
- device clock,
- list of the project source files with paths,
- header files (*.h),
- binary files (*.mcl),
- image files,
- other files.
Note that the project does not include files in the same way as preprocessor does, see Add/Remove Files from Project.
New Project
The easiest way to create a project is by means of the New Project Wizard, drop-down menu Project › New Project or by clicking the New Project Icon from Project Toolbar.
New Project Wizard Steps
Start creating your New project, by clicking Next button:
Step One - Select the device from the device drop-down list :
Step Two - Enter the oscillator frequency value :
Step Three - Specify the location where your project will be saved :
Step Four - Add project file to the project if they are avaiable at this point. You can always add project files later using Project Manager :
Step Five - Select inital Library Manager state :
Step Six - Click Finish button to create your New Project :
What do you think about this topic ? Send us feedback!