
PSoC Designer IDE Guide, Document # 001-42655 Rev *B 103
6. Build Manager
In this chapter you learn the details of building a project, discover more about the C Compiler as well
as the basic, transparent functions of the system Linker and Loader, and Librarian. For comprehen-
sive details on the C Compiler, see the PSoC Designer C Language Compiler User Guide.
6.1 Building a Project
Building a project compiles and assembles all source files and selectively assembles library source
files. The build process performs the compile and assemble of project files then links to all the
project’s object modules (and libraries), creating a .hex file that is easily downloaded for debugging.
Switching to the debugger causes the build process to recompile and link the project as needed.
To build the current project, either click the Build icon , select Build > Build from the menu, or
press [F7].
PSoC Designer uses GNU Make version 3.79 to manage the build process. Each time you click the
Compile/Assemble or Build icon, make determines which source files were modified and issues
commands to recompile them and link the project.
For further details, see make.pdf in the \Documentation\Supporting Documents subdirectory
of PSoC Designer install directory.
The build process creates object modules in the obj or \lib\obj subdirectory of the project direc-
tory.
The linking produces the final project image in the output folder of the project directory.
The .hex file can be downloaded to the ICE. Other files in the folder provide reference for you and
the Debugger subsystem. The .lst file contains a complete listing of the project, the .d/jointfilesconvert/459858/bg file contains
debug information, the .mp file contains a memory map, and the .idata file contains initialized data.
At any time you can ensure a clean build by accessing Project > Clean then clicking the Build icon.
The “clean” deletes all lib\libPSoc.a, obj\*.o and lib\obj\*.o files. These files are regen-
erated on a build (in addition to normal build activity).
Comentários a estes Manuais