Datasheet

88 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
Code Editor
4.1.1 File Types and Extensions
When you create a project, a root directory with three folders is generated at the location you specify.
The name of the root directory is the project name and the names of the three folders are lib
(Library), obj (Objects), and output (for files generated by a project build).
The lib folder contains user module Library Source files.
The obj folder contains intermediate files generated during the compiling/assembling of .c and
assembly source files.
The output folder contains the project.hex file (used for debugging and device programming), the
listing file, and other files that contain debug information.
Table 4-1 lists the PSoC Designer project file types and extensions. Most of these files are editable
and appear in the left frame of the system interface inside the folder bearing the project name. For
more details regarding files and recommended usage see “Project File System” on page 89.
Table 4-1. File Types and Extensions
Type Extension Location Description
Address Map
.mp
…\output folder under
project directory
Generated during the build process. Identifies
global symbol addresses and other attributes
of output.
ASM Include
a
.inc
ASM Include Headers in
source tree
Editable Assembly language include file (gen-
erated for APIs).
Assembly of C
.s
Found near the C file Assembly generated from the C source code.
Assembly Sour-
ce
a
.asm
Source Files\ Library
Source in source tree
Editable assembly language source file (cre-
ated initially, added, or generated for APIs).
C Header
.h
C Headers in source tree
Editable language include file (generated for
APIs).
C Source
a
.c
Source Files in source tree
Compiler language file that can be added to
the project.
CFG File
.cfg
Folder under project direc-
tory
Project configuration file that can be imported
and exported for Dynamic Reconfiguration.
CMX File
.cmx
Debug Symbols
.dbg
…\output folder under
project directory
Generated during the build process. Used by
the Debugger subsystem.
Full
Program Listing
.lst
…\output folder under
project directory
Full program listing. Used by the Single-Step
ASM function.
HEX File
.hex
…\output folder under
project directory
Output file in Intel HEX format generated dur-
ing the build process. This file alone will be
downloaded to the ICE for project debugging.
Library/Archive
.a
…\lib\libpsoc.a but Librar-
ies can be anyplace
A collection of object files, created by
ilibw.exe.
Make
.mk
Menu under Project > Open
local.mk file
Customize the Build/Make process for a partic-
ular PSoC Designer project.
Object Module
.o
…\obj folder under project
directory
Intermediate, relocatable object file generated
during assembly and compilation.
Project
Database
a
.soc
Project directory
Project file accessed under File > Open
Project.
Relative Source
Listing
.lis
…\obj folder under project
directory
Relative address listing file generated by the
assembler.