Datasheet
104 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
Build Manager
Each time you build your project, the Output Status window in Code Editor is cleared and the current
status is entered as the process occurs.
Figure 6-1. Output Status Window
When the build is complete, you see the number of errors and warnings. Zero errors signify a suc-
cessful build. One or more errors indicate problems with one or more files. If there are errors, the
program image (.hex file) is available for download to the ICE. For a list of all identified compile and
build errors with solutions see the PSoC Designer Assembly Language User Guide.
6.2 C Compiler
In addition to the development tools provided by Cypress Semiconductor, third party development
tools are available for PSoC devices. This gives developers a choice of tools when working with
PSoC devices. For information on how to install and use third party compilers with PSoC Designer,
refer to documentation supplied by the manufacturer of the tool.
The iMAGEcraft compiler enables you to quickly create a complete C application for a PSoC device.
Its built-in macro assembler allows assembly language code to seamlessly merge with C code.
The compiler compiles each .c source file to an .s assembly file. The assembler then translates each
.asm or .s file into a relocatable object file, .o. After all the files are translated into object files, the
builder and linker combine them together to form an executable file.
The iMAGEcraft C Compiler comes complete with embedded libraries providing port and bus opera-
tions, standard keypad and display support, and extended math functionality. For comprehensive
details on the C Compiler, see the PSoC Designer C Compiler User Guide.
To set compiler options in PSoC Designer, select Project Settings > Build > Compiler. You can select
a compiler option from the compilers you have installed. Depending on the compiler selected, the
settings will differ.
6.2.1 ImageCraft Compiler Options
The ImageCraft specific compiler configuration options are as follows:
■ Macro Defines specifies macros on the command line to the compiler.
■ Macro Undefines undefines any predefined compiler macros.
■ Checking Optimize Math Functions for Speed causes math functions optimized for speed to be
included in the application at the cost of additional Flash and/or RAM footprint.
■ Checking the Enable MAC checkbox enables a multiply-accumulate register (if available on the
chip) to be used in support of math functions (for fast multiplication).
■ Compiler Data Flow Optimization