RL78 Family VDE Certified IEC60730/60335 Self Test Library
R01AN0749EG0201 Rev.2.01 Page 35 of 50
Mar 04, 2014
4.2.2.1 Defined Symbols
The following defined symbols are included in the Compiler options section. Each symbol is preset to enable the
conditional build options for each of the self test projects is selected.
Example shown below is for the “System” March C test
Table 14: Compiler Defined Symbols
IDBU_TB=1 Use the RL78/G13 target board as target hardware
sw_crc_test_enabled=0 Set configuration for Software CRC Self Test (disabled)
hw_peripheral_crc_test_enabled=0 Set configuration for Hardware CRC Self Test (disabled)
hw_clock_test_enabled=0 Set configuration for Hardware Clock Self Test (disabled)
sw_clock_test_enabled=0 Set configuration for Software Clock Self Test (disabled)
march_c_test_enabled=1 Set configuration for “System” March C Self Test (Enabled)
march_x_test_enabled=0 Set configuration for “System” March X Self Test (disabled)
register_test_enabled=0 Set configuration for Working Registers Self Test (disabled)
register_test_psw_enabled=0 Set configuration for PSW Register Self Test (disabled)
register_test_stack_enabled=0 Set configuration for Stack Pointer Register Self Test (disabled)
register_test_cs_enabled=0 Set configuration for Extended Code Address Register Self Test (disabled)
register_test_es_enabled=0 Set configuration for Extended Data Address Register Self Test (disabled)
4.2.3 Assembler Settings
Figure 17 IAR EW Assembler Options – Pre-processor Defined symbols