Datasheet

PSoC Designer IDE Guide, Document # 001-42655 Rev *B 149
CODECOMPRESSOR – This is used by the linker in the master make file. PSoC Designer’s
Project > Settings Compiler GUI shows two options for the Code Compression Technologies:
(1) Condensation and (2) Sublimation. These GUI options are only shown for non-RAM-paged
device projects. Using the shell environment does not limit you to use these options:
-O: Condensation (or duplicate code removal)
-elim: UserModules: Sublimation (unused User Module API elimination)
For example:
CODECOMPRESSOR=-O -elim:UserModules
MORE_CFLAGS – This variable adds ImageCraft commands when compiling C files. The PSoC
Designer ImageCraft compiler settings will hide or allow certain settings based on the project device.
For example, for a device that does not have a hardware Multiplier/Accumulator (MAC) the value in
MORE_CFLAGS is set to ‘-Wf-nomac’.
-Wf-nomac: Does not generate code to use the MAC.
-Wf-Osize: Uses calls to math library functions instead of inlining the code.
-Wf-LMM8: Tells the compiler to generate paged RAM code for eight pages.
-D_LMM: Needed for C code using >1 page of RAM.
-g -e -c: These are always used by the master make file. They are, respectively, add
debug information, accept C++ comments, and compile file only.
RELSTART – This is the relocatable start address, for example 0x140. This is the starting address
for the text area (above the TOP area).
CDEFINES – This is added to a command line for compiling C source files. ‘Defines’ are prefixed
with a ‘-D’ and un-defines are prefixed with a ‘-U’. For example:
CDEFINES=-DSET_SPI –DMAX=2 –UADD_DBG
LIBS – This is a list of object (.o) and library (.a) files that you wish to link in from outside the project.
The elements must be separated by white space.
LIB_PATH – These are folder locations that should hold the LIBS. Elements in this list should be
separated by semicolons (;). Short (e.g., 8.3) path names should be used.
ENABLE_ALIGN_SHIFT – This is not used.
LMM – This helps the master make file when a project wishes to use paged RAM. The values are a
1 or nothing.
SYS_INC_CONTENTS – The value (e.g., list) for this variable is quite long. This value is a mecha-
nism used by PSoC Designer to push information about memory settings into an include file that the
master make file creates. Possibly, the additional elements in this list could be added so that you can
put your ‘equates’ in the memory include file. The master make file effectively creates the memory
include file by redirecting memhead.tpl from the proper device include folder to the top of the mem-
ory include file. Then each element in this list is placed in the memory include file after replacing
‘_equ_’ with ‘ equ ‘ (spaces added where underscores were). The remainder of the memory include
file comes from the redirection of the memfoot.tpl file (in the proper devices include folder). Again,
reading the master make file and understanding this will help a lot.
SYSTEM_TOOLS – This value is 1 for ImageCraft.
CONFIG_NAMES – This lists (white space separated) the overlay (or configuration) names created
in the device editor. This helps the master make file create linker switches to ensure that the RAM
data declared in User Modules gets located on the same RAM page for each overlay.