10-10
ZSP Integrated Development Environment (ZSP IDE)
selected in the project tree then the Settings Dialog will reflect the default
settings for the workspace.
The Settings Dialog contains a tabbed notebook view that contains all of
the settings for a project, including settings for the ZSP compiler,
assembler, linker, debugger, and GUI debugger preferences. These tabs
are described below. You may page between the various tabs on the
Settings Dialog and make changes. When the changes are complete for
all of the tabs, select “Save and Exit” to save the settings to the project
file and close the Dialog Box. Select “Exit without Saving” to discard the
changes.
10.3.1 Build methodology and Project Tree Structure
The ZSP IDE project tree partitions project files into “folders” based on
filename extensions. Source files which have extension of “.c” for C
sources are added to the “C Source Files” folder. Source files which have
a “.S” extension are assembly sources that require C preprocessing
while a “.s” extension indicates an assembly source file which does not
require preprocessing. Both “.S” and “.s” are inserted into the IDE Project
Tree in “Assembly Source Files” folder. Include files which have
extensions of “.h” or “.inc” will be added to the project tree “Include Files”
folder. Additionally, when a file with a “.h” or “.inc” extension is added to
the project, ZSP IDE will provide a prompt allowing the directory
containing the files to the Include Directories list. Files with any other
extension than those described here are inserted into the project in the
“Other Files” folder and will not be part of the build process.
The ZSP IDE invokes the appropriate ZSP compiler (SDCC ZDCC
ZDXCC) based on the processor type selected in the Settings dialog.
The ZSP compiler invokes each of the component processes that
complete the build process. Options may be specified to direct the
behavior or the compiler, assembler, and linker. These are specified in
the Settings panel.
10.3.2 Compiler/Assembler Settings
The Compiler Settings tab is the primary control for each project. The
processor architecture selected in the Compiler Settings tab controls the
entire set of underlying command line tools and utilities. The three
available architecture choices are