Datasheet
150 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
B.2.3.3 Local.mk
This file contains additional make instructions. It is not touched by the make process. Here you can
add and/or modify the build variables set in project.mk.
B.2.3.4 project.dep
Created by the ‘mkdepend’ via the make depend command. This file contains the include dependen-
cies for the project. It is rewritten by the build process.
B.2.3.5 local.dep
This file contains additional file dependencies and make commands. It is not touched by the make
process.
Since this is the last thing in the make file, assignments here override those in the main make file.
See B.4.2 Boot Loader Example on page 151.
B.2.3.6 custom.lkp
This is a ‘legacy’ file inserted via sed into the linker arguments. This is typically used to locate ‘areas’
with the -b switch (for example: -bfoo:0x1C00.0x1FFF)
B.2.3.7 opts.txt
This is a file created by PSoC Designer to take the GUI settings for the compiler and linker and
translate them to ImageCraft arguments and other MAKE variables used by the master make file.
The contents of this file gets pulled into the project.mk file
B.3 Moving the Build System to Another PC
Typically when there is an interest in using the shell build environment it is because you wish to cre-
ate a PSoC HEX file with a minimum build environment on another workstation.
Archive or move the tools folder and all its subfolders. This ensures the same compiler version/
release and the same include and library files.
B.3.1 ImageCraft License key
If you are using C source files then you want to make sure that the workstation you intend to compile
files on has a valid compiler license. The utility program icc.exe is a wrapper for the ImageCraft com-
piler. This wrapper validates the compiler license stored in the registry. The wrapper looks for the
compiler license in this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Cypress MicroSystems\PSoC Designer\AddIn\Compilers\IMAGECRAFT
There should be a String value (REG_SZ) in this key named COMPILER_LICENSE. Its values are
your license (case sensitive). Create this key by exporting the key and then importing it onto another
PC or add it manually. This registry key location changed in PSoC Designer version 4.2 (icc.exe).
Earlier versions of icc.exe look for the license in the ‘AddIn’ key.
You then need to put your PSoC project files in a folder on the other PC. When you build your project
on the other machine make sure that the PSOCDIR variable, as well as other path-related variables
(e.g. INCLUDE_PATH), in a project.mk or local.mk file, point to the appropriate paths.