User`s manual

340 digi.com
A.2 Macros Defined in the BIOS or Configuration Libraries
This is not a comprehensive list of configuration macros, but rather, a short list of those found to be com-
monly used by Dynamic C programmers. Most default conditions can be overridden by defining the macro
in the “Defines” tab of the “Project Options” dialog.
All the configuration macros listed here were defined in RabbitBIOS.c prior to Dynamic C 9.30. Since
then many of them have been moved to configuration libraries while RabbitBIOS.c has become a
wrapper file that permits a choice of which BIOS to compile. See Section 17.1 for more information on the
reorganization of the BIOS that occured with Dynamic C 9.30.
CLOCK_DOUBLED
Determines whether or not to use the clock doubler. The default condition is to use the clock doubler,
defined in \BIOSLIB\sysconfig.lib. Override the default condition by defining
CLOCK_DOUBLED to “0” in an application or in the project.
DATAORG
Defines the beginning logical address for the data segment. Defaults are defined in the BIOS: 0x3000 if
separate I&D space enabled, 0x6000 otherwise. Users can override the defaults in the Defines tab of Proj-
ect Options dialog.
WATCHCODESIZE
Specifies the number of root RAM bytes for watch code. Defaults are defined in the BIOS: 0x200 bytes if
watch expressions are enabled, zero bytes otherwise. The defaults cannot be overridden by an application.
USE_TIMERA_PRESCALE
Uncomment this macro in \BIOSLIB\sysconfig.c to run the peripheral clock at the same frequency
as the CPU clock instead of the standard “CPU clock/2.” This feature is not compatible with the Rabbit
2000.
USE_2NDFLASH_CODE
Uncomment this macro in \BIOSLIB\sysconfig.c only if you have a a board with two 256K
flashes, and you want to use the second flash for extra code space. The file system (FS2) is not compatible
with using the second flash for code.