PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 34
PCDIDE COMPILER
Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet
1.PCD_COMMAND_LINE_COMPILER.pdf
(373 pages)
Specifications of PCDIDE COMPILER
For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
- Current page: 34 of 373
- Download datasheet (4Mb)
Multiple Compilation Units
Traditionally, the CCS C compiler used only one compilation unit and multiple files were
implemented with #include files. When using multiple compilation units, care must be given that
pre-processor commands that control the compilation are compatible across all units. It is
recommended that directives such as #FUSES, #USE and the device header file all put in an
include file included by all units. When a unit is compiled it will output a relocatable object file (*.o)
and symbol file (*.osym).
The following is an overview of a multiple compilation unit example. For the example used here,
see the MCU.zip in the examples directory.
Files Included in Project Example:
main.c
filter.c
report.c
project.h
filter.h
report.h
project.c
project.pjt
build.bat
buildall.bat
linker.bat
File Overview:
main
#include:
Definitions:
Uses:
20
project.h
filter.h
report.h
main() program
clear_data()
filter_data()
report_data_line()
report_line_number
Primary file for the first compilation unit.
Primary file for the second compilation unit.
Primary file for the third compilation unit.
Include file with project wide definitions that should be included by all units.
Include file with external definitions for filter that should be included by all units that
use the filter unit.
Include file with external definitions for report that should be included by all units
that use the report unit.
Import file used to list the units in the project for the linker.bat file.
Project file used to list the units in the project for the build.bat file.
Batch file that re-compiles files that need compiling and linking.
Batch file that compiles and links all units.
Batch file that compiles and links all units using a script.
filter
#include:
Public Definitions:
Uses:
project.h
report.h
clear_data()
filter_data()
report_error()
report
#include:
Public Definitions:
project.h
report_data_line()
report_line_number
report_error()
Related parts for PCDIDE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)