Projects
The mikroBasic PRO for 8051 organizes applications into projects, consisting of a single project file
(extension .mbp51
) and one or more source files (extension .mbas
).
mikroBasic PRO for 8051 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,
- memory model,
- device clock,
- list of the project source files with paths,
- 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 - Specify the project name and location where your project will be saved, select the device from the device drop-down list and oscillator frequency value :

Step Two - Set the desired memory model :

Step Three - Add project file to the project if they are available at this point. You can always add project files later using Project Manager :

Step Four - Select inital Library Manager state :

Step Five - Click Finish button to create your New Project :

What do you think about this topic ? Send us feedback!