
SWRU048
Page 27 of 30
specifically the compiler converts one or more C source files into assembly code, which,
together with any handwritten assembler files are fed to the assembler. The assembler then
produces object files (machine code and binary data), which in turn are fed into the linker
together with the libraries and include files. Finally, the linker isolates functions and variables
that are actually used and produces an executable file in Intel HEX format that can be
downloaded into the FLASH memory of the Atmega8 microcontroller
Setting up a software project for CC2400
Before the CC2400 Development Environment can generate any target software it needs a
software project with consistent references to the actual target platform files is needed. These
references can be specified in the target project workspace of your text editor. See figure 17.
Figure 17: Software project workspace
Hardware Definition Files (HDF)
The hardware definition files (include files) define the hardware registers, interrupt vector
mapping and other hardware constants. They also include useful macros for the CC2400DB,
and all definitions generally support the C language.
The following files are included as hardware definition files,
•
atmega.h
•
CC2400.h
•
devboard.h
•
Utility.h
Hardware Library Files (HLF)
To support quick and easy program development Chipcon provides a library of macros and
functions that simplify hardware access to the CC2400 and the processor on the CC2400DB.
The files implement a hardware abstraction interface for the user program. As a result the
user program can access the e.g. microcontroller peripherals via function/macro calls without
specific knowledge about the hardware details
The following files are included as hardware library files,
•
atmega.c
•
CC2400.c
Summary of Contents for Chipcon CC2400DBK
Page 1: ...SWRU048 Page 1 of 30 User Manual Rev 1 2 CC2400DBK Demonstration Board Kit...
Page 12: ...SWRU048 Page 12 of 30 Layer 1 Layer 2 Layer 3 Layer 4 Figure 5 CC2400DB PCB layout...
Page 13: ...SWRU048 Page 13 of 30 Top Assembly Bottom Assembly Figure 6 CC2400DB PCB layout silkscreen...
Page 14: ...SWRU048 Page 14 of 30 Schematic Figure 7 CC2400DB schematic page 1...
Page 15: ...SWRU048 Page 15 of 30 Figure 8 CC2400DB schematic page 2...
Page 16: ...SWRU048 Page 16 of 30 Figure 9 CC2400DB schematic page 3...
Page 17: ...SWRU048 Page 17 of 30 Figure 10 CC2400DB schematic page 4...
Page 18: ...SWRU048 Page 18 of 30 Figure 11 CC2400DB schematic page 5...