Q: FAQ: Z-stack code modules (ZigBee)

Z-Stack code modules and code/Flash size.

Coordinators, Routers and End Devices share the same IAR workspaces and source code but have different software configurations to allow End Devices the smallest possible code size. Z-stack and TIMAC is also modularly built so that modules that are not needed can be excluded from the build to save code space. Examples of this can be LCD support, support for Monitor and trace functionality etc. These modules are included or excluded from the build by compile options.
The compile options are documented in ‘C:\Texas Instruments\ZStack-1.4.2\Documents\CC2430\ Z-Stack Compile Options_F8W-2005-0038_.pdf’ in the Z-stack installation

In the IAR EW the compile options are found under Project -> Options -> C/C++ Compiler -> Preprocessor -> Defined Symbols