Silicon Laboratories C8051F064-EK User Manual page 4

C8051f064 evaluation kit
Hide thumbs Also See for C8051F064-EK:
Table of Contents

Advertisement

C8051F064-EK
5.3. Evaluation C51 'C' Compiler
An evaluation version of the Keil C51 "C" compiler is included with the evaluation kit and is installed during IDE
installation. The evaluation version of the C51 compiler is the same as the full professional version, except code
size is limited to 2 kB and the floating point library is not included. The C51 compiler reference manual can be
found under the Help menu in the IDE or in the "SiLabs\MCU\hlp" directory (C51.pdf).
5.4. Using the Keil Software 8051 Tools with the Silicon Laboratories IDE
To perform source-level debugging with the IDE, configure the Keil 8051 tools to generate an absolute object file in
the OMF-51 format with object extensions and debug records enabled. Build the OMF-51 absolute object file by
calling the Keil 8051 tools at the command line (e.g., batch file or make file) or by using the project manager built
into the IDE. The default configuration when using the Silicon Laboratories IDE project manager enables object
extension and debug record generation. Refer to the application note "AN104: Integrating Keil 8051 Tools Into the
Silicon Labs IDE" in the "SiLabs\MCU\Documentation\Appnotes" directory on the CD-ROM for additional
information on using the Keil 8051 tools with the Silicon Laboratories IDE.
To build an absolute object file using the Silicon Laboratories IDE project manager, first create a project. A project
consists of a set of files, IDE configuration, debug views, and a target build configuration (a list of files and tool
configurations used as input to the assembler, compiler, and linker when building an output object file).
The following sections describe the steps necessary to manually create a project with one or more source files and
build and download a program to the target in preparation for debugging. (If Build/Make Project is selected before a
project is defined, the IDE automatically creates a single-file project using the currently open and active source
file.)
5.4.1. Creating a New Project
1. Select Project > New Project to open a new project and reset all configuration settings to default.
2. Select File > New File to open an editor window. Create your source file(s) and save the file(s) with a rec-
ognized extension such as .c, .h, or .asm, to enable color syntax highlighting.
3. Right-click on New Project in the project window. Select Add Files to Project. Select files in the file browser
and click Open. Continue adding files until all project files have been added.
For each of the files in the project window that you want assembled, compiled, and linked into the target
build, right-click on the file name and select Add File to Build. Each file will be assembled or compiled as
appropriate (based on its file extension) and linked into the build of the absolute object file.
Note: If a project contains a large number of files, the Group feature of the IDE can be used to organize them. Right-
click on New Project in the project window. Select Add Groups to Project. Add predefined or customized groups. Right-
click on the group name and choose Add File to Group. Select the files to be added. Continue adding files until all
project files have been added.
4
Rev. 0.2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F064-EK and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents