##// END OF EJS Templates
printf are used to test the new setFBinMask (Bug 747 and other similar bugs)
printf are used to test the new setFBinMask (Bug 747 and other similar bugs)

File last commit:

r314:9e5325937a5e R3_plus
r314:9e5325937a5e R3_plus
Show More
CMakeLists.txt
108 lines | 3.1 KiB | text/plain | CMakeLexer
Switched to cmake, more portable and better conf options!
r301 cmake_minimum_required (VERSION 2.6)
paul
-O3 used for optimization...
r309 project (fsw)
Switched to cmake, more portable and better conf options!
r301
include(sparc-rtems)
Added cppcheck integration....
r310 include(cppcheck)
Switched to cmake, more portable and better conf options!
r301
Converted timegen to cmake.
r302 include_directories("../header"
"../header/lfr_common_headers"
"../header/processing"
"../LFR_basic-parameters"
"../src")
Switched to cmake, more portable and better conf options!
r301
set(SOURCES wf_handler.c
tc_handler.c
fsw_misc.c
fsw_init.c
fsw_globals.c
fsw_spacewire.c
tc_load_dump_parameters.c
tm_lfr_tc_exe.c
tc_acceptance.c
processing/fsw_processing.c
processing/avf0_prc0.c
processing/avf1_prc1.c
processing/avf2_prc2.c
lfr_cpu_usage_report.c
${LFR_BP_SRC}
Cmake:...
r305 ../header/wf_handler.h
../header/tc_handler.h
../header/grlib_regs.h
../header/fsw_misc.h
../header/fsw_init.h
../header/fsw_spacewire.h
../header/tc_load_dump_parameters.h
../header/tm_lfr_tc_exe.h
../header/tc_acceptance.h
../header/processing/fsw_processing.h
../header/processing/avf0_prc0.h
../header/processing/avf1_prc1.h
../header/processing/avf2_prc2.h
../header/fsw_params_wf_handler.h
../header/lfr_cpu_usage_report.h
../header/lfr_common_headers/ccsds_types.h
../header/lfr_common_headers/fsw_params.h
../header/lfr_common_headers/fsw_params_nb_bytes.h
../header/lfr_common_headers/fsw_params_processing.h
../header/lfr_common_headers/tm_byte_positions.h
../LFR_basic-parameters/basic_parameters.h
../LFR_basic-parameters/basic_parameters_params.h
../header/GscMemoryLPP.hpp
Switched to cmake, more portable and better conf options!
r301 )
added prefix to FSW and timegen options
r304 option(FSW_verbose "Enable verbose LFR" ON)
option(FSW_boot_messages "Enable LFR boot messages" ON)
option(FSW_debug_messages "Enable LFR debug messages" ON)
option(FSW_cpu_usage_report "Enable LFR cpu usage report" OFF)
option(FSW_stack_report "Enable LFR stack report" OFF)
option(FSW_vhdl_dev "?" OFF)
option(FSW_lpp_dpu_destid "Set to debug at LPP" ON)
option(FSW_debug_watchdog "Enable debug watchdog" OFF)
option(FSW_debug_tch "?" OFF)
set(SW_VERSION_N1 "3" CACHE STRING "Choose N1 FSW Version." FORCE)
set(SW_VERSION_N2 "1" CACHE STRING "Choose N2 FSW Version." FORCE)
set(SW_VERSION_N3 "0" CACHE STRING "Choose N3 FSW Version." FORCE)
set(SW_VERSION_N4 "4" CACHE STRING "Choose N4 FSW Version." FORCE)
Switched to cmake, more portable and better conf options!
r301
added prefix to FSW and timegen options
r304 if(FSW_verbose)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DPRINT_MESSAGES_ON_CONSOLE)
endif()
added prefix to FSW and timegen options
r304 if(FSW_boot_messages)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DBOOT_MESSAGES)
endif()
added prefix to FSW and timegen options
r304 if(FSW_debug_messages)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DDEBUG_MESSAGES)
endif()
added prefix to FSW and timegen options
r304 if(FSW_cpu_usage_report)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DPRINT_TASK_STATISTICS)
endif()
added prefix to FSW and timegen options
r304 if(FSW_stack_report)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DPRINT_STACK_REPORT)
endif()
added prefix to FSW and timegen options
r304 if(FSW_vhdl_dev)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DVHDL_DEV)
endif()
added prefix to FSW and timegen options
r304 if(FSW_lpp_dpu_destid)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DLPP_DPU_DESTID)
endif()
added prefix to FSW and timegen options
r304 if(FSW_debug_watchdog)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DDEBUG_WATCHDOG)
endif()
added prefix to FSW and timegen options
r304 if(FSW_debug_tch)
Switched to cmake, more portable and better conf options!
r301 add_definitions(-DDEBUG_TCH)
endif()
add_definitions(-DMSB_FIRST_TCH)
add_definitions(-DSWVERSION=-1-0)
added prefix to FSW and timegen options
r304 add_definitions(-DSW_VERSION_N1=${SW_VERSION_N1})
add_definitions(-DSW_VERSION_N2=${SW_VERSION_N2})
add_definitions(-DSW_VERSION_N3=${SW_VERSION_N3})
add_definitions(-DSW_VERSION_N4=${SW_VERSION_N4})
Switched to cmake, more portable and better conf options!
r301
paul
printf are used to test the new setFBinMask (Bug #747 and other similar bugs)
r314 add_executable(fsw ${SOURCES})
add_test_cppcheck(fsw STYLE UNUSED_FUNCTIONS POSSIBLE_ERROR MISSING_INCLUDE)
paul
setFBinMask corrected...
r313