/*$Header: /export/disk01/cvs/CVS/pacs/obsw/dmc/sources/Compilation.txt,v 1.8 2009/04/23 13:51:12 amazy Exp $*/ COMPILATION FLAGS : ***************** The compilation flags must be included in the makefile. VERBOSE ------- Use this flag when you want the application to be able to output debug information on a console of the Virtuoso Host. By not defining this flag, you reduce the size of the code. Don't define this flag in the flight software. Don't define this flag if Virtuoso Host is not connected. CSL_SAFE -------- Use this flag when you want the application to perform additional checks i.e. : checking pre-condition of functions, ... All these checks are performed in the macro ASSERT. Since this function uses VERBOSE, this flag shall not be defined in flight software. This flag shall not be defined if Virtuoso Host is not connected. CHOP_SIM -------- Use this flag when you want to include a task to simulate the chopper. As you define this flag, ensure that the SIM_CHOP task and the SEMA_TIMER_SIM_CHOP are defined in the VPF file. Ensure the opposite when CHOP_SIM is not defined. Don't define this flag in the flight software. DNO_RED_DEC_AND_SPU ------------------- Use this flag to remove everyting related to Red channel (DEC and SPU). All the related tasks exit immediately after startup. (Might be useful when trying to run on another hardware with only 3 links (i.e. the SPU board)). NO_BOL ------ Use this flag to remove everything related to the BOLC. The BolReceiver and BolController exit immediately after startup. (Might be useful when trying to run on another hardware with only 3 links (i.e. the SPU board)). DMOSAIC_BOARD ------------- Use this flag when compiling the crisa drivers on the mosaic board. (See also CRISA_DRIVERS). CRISA_DRIVERS ------------- Use this flag when you want to replace Virtuoso 1355 drivers by crisa drivers. Note that if you want to use Virtuoso drivers, you need to modify the VPF file accordingly. NO_SMCS2 -------- Don't install the ISR for the second SMCS. Might be useful when trying to run on another hardware with only 3 links (i.e. the SPU board). SIMULATOR --------- Use this flag when you want to compile the OBS to run on a PC. It removes everything that is hardware specific (access to extension boards, assembly code, ...)