
PSoC Designer IDE Guide, Document # 001-42655 Rev *B 105
Build Manager
■ The Enable Paging checkbox is used to enable or disable large memory model appliations (appli-
cations using more than 256 bytes of RAM) on target chips with more than 256 bytes of RAM.
Unchecking this box for these chip restricts RAM usage to the first 256 bytes and decreases pro-
gram execution time and size associated with manipulating RAM paging registers.
■ Stack Page is an indicator of the RAM page on which the stack will be allocated for a large mem-
ory model application.
■ Stack Page Offset enables setting the start address of the stack for a large memory model appli-
cation such that the stack page can be shared between the stack and static variables.
■ Code Compression Techologies are used to reduce the application's Flash footprint.
Condensation (duplicate code), is a search of the binary code image for instruction sequences that
occur multiple times. These instruction sequences are placed into subroutines. Each occurrence of a
repeated instruction sequence is then replaced with a call to the applicable subroutine.
Sublimation (eliminate unused user module APIs) is the elimination of usused assembly code
bounded by the .section and endsection directives in AREA UserModules. If execution flow does not
go to the label immediately below the .section directive, the entire block of code up to the next .end-
section directive is removed.
Refer to the ImageCraft C Compiler Guide for more information.
6.2.2 HI-TECH Compliler Options
Listed below are the HI-TECH specific compiler configuration options:
■ Macro Defines allows you to define macros on the command line to the compiler.
■ Macro Undefines allows you to undefine any predefined compiler macros.
■ Warning Level specifies the minimum warning message level allowed for output.
■ Optimization Settings
❐ Checking the Global checkbox enables global optimization and the Level dropdown list
selects the global optimization level.
❐ Checking the Assembler checkbox enables assembler optimization.
■ Options allows you to enter any command line compiler options
■ The Switch to Lite Mode button adds a command line option for the Pro compiler to compile using
Lite mode. This button is applicable only to the Pro compiler and has no effect on the Lite com-
piler, which compiles in Lite mode regardless of this option setting.
Refer to the HI-TECH C
(R)
PRO for the PSoC
(R)
Mixed-Signal Array Pro guide for more information.
6.3 Linker
The linking functions in the build process are transparent to the user. Building your project links all
the programmed functionality of the source files (including device configuration) into a .hex file,
which is the file used for downloading and debugging.
The linking process links intermediate object and library files generated during compilation and
assembly, checks for unresolved labels, and then creates a .hex and a .lst file, as well as assorted .o
and .d/jointfilesconvert/459858/bg files. For descriptions of these files, refer to “Source Files Generated by Generate Project
Operation” on page 47.
To set linker options in PSoC Designer, select Project Settings > Build > Linker. This screen config-
ures the linker specific options based on the compiler selection made in the Compiler screen. The
Selected C compiler box indicates which compiler (and linker) is currently selected.
Kommentare zu diesen Handbüchern