##// 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:

r305:4516b415f0c6 R3_plus
r314:9e5325937a5e R3_plus
Show More
CMakeLists.txt
88 lines | 2.5 KiB | text/plain | CMakeLexer
Converted timegen to cmake.
r302 cmake_minimum_required (VERSION 2.6)
project (timegen)
include(sparc-rtems)
include_directories("./src"
"./header"
"./header/processing"
"./src/LFR_basic-parameters")
set(SOURCES src/tc_handler.c
src/fsw_misc.c
src/fsw_init.c
src/fsw_globals.c
src/fsw_spacewire.c
src/tc_acceptance.c
Cmake:...
r305 ../LFR_basic-parameters/basic_parameters.c
header/tc_handler.h
header/grlib_regs.h
header/fsw_params.h
header/fsw_misc.h
header/fsw_init.h
header/ccsds_types.h
header/fsw_spacewire.h
header/tc_acceptance.h
header/fsw_params_nb_bytes.h
header/fsw_params_processing.h
header/fsw_params_wf_handler.h
header/lfr_cpu_usage_report.h
../LFR_basic-parameters/basic_parameters.h
../LFR_basic-parameters/basic_parameters_params.h
header/TC_types.h
)
Converted timegen to cmake.
r302
added prefix to FSW and timegen options
r304 option(timegen_verbose "Enable verbose Timegen" ON)
option(timegen_boot_messages "Enable Timegen boot messages" ON)
option(timegen_debug_messages "Enable Timegen debug messages" ON)
option(timegen_cpu_usage_report "Enable Timegen cpu usage report" OFF)
option(timegen_stack_report "Enable Timegen stack report" OFF)
option(timegen_vhdl_dev "?" OFF)
option(timegen_lpp_dpu_destid "Set to debug at LPP" ON)
option(timegen_debug_watchdog "Enable debug watchdog" OFF)
option(timegen_debug_tch "?" OFF)
set(TIMEGEN_SW_VERSION_N1 "3" CACHE STRING "Choose N1 FSW Version." FORCE)
set(TIMEGEN_SW_VERSION_N2 "1" CACHE STRING "Choose N2 FSW Version." FORCE)
set(TIMEGEN_SW_VERSION_N3 "0" CACHE STRING "Choose N3 FSW Version." FORCE)
set(TIMEGEN_SW_VERSION_N4 "4" CACHE STRING "Choose N4 FSW Version." FORCE)
Converted timegen to cmake.
r302
added prefix to FSW and timegen options
r304 if (timegen_verbose)
Converted timegen to cmake.
r302 add_definitions(-DPRINT_MESSAGES_ON_CONSOLE)
endif()
added prefix to FSW and timegen options
r304 if (timegen_boot_messages)
Converted timegen to cmake.
r302 add_definitions(-DBOOT_MESSAGES)
endif()
added prefix to FSW and timegen options
r304 if (timegen_debug_messages)
Converted timegen to cmake.
r302 add_definitions(-DDEBUG_MESSAGES)
endif()
added prefix to FSW and timegen options
r304 if (timegen_cpu_usage_report)
Converted timegen to cmake.
r302 add_definitions(-DPRINT_TASK_STATISTICS)
endif()
added prefix to FSW and timegen options
r304 if (timegen_stack_report)
Converted timegen to cmake.
r302 add_definitions(-DPRINT_STACK_REPORT)
endif()
added prefix to FSW and timegen options
r304 if (timegen_vhdl_dev)
Converted timegen to cmake.
r302 add_definitions(-DVHDL_DEV)
endif()
added prefix to FSW and timegen options
r304 if (timegen_lpp_dpu_destid)
Converted timegen to cmake.
r302 add_definitions(-DLPP_DPU_DESTID)
endif()
added prefix to FSW and timegen options
r304 if (timegen_debug_watchdog)
Converted timegen to cmake.
r302 add_definitions(-DDEBUG_WATCHDOG)
endif()
added prefix to FSW and timegen options
r304 if (timegen_debug_tch)
Converted timegen to cmake.
r302 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=${TIMEGEN_SW_VERSION_N1})
add_definitions(-DSW_VERSION_N2=${TIMEGEN_SW_VERSION_N2})
add_definitions(-DSW_VERSION_N3=${TIMEGEN_SW_VERSION_N3})
add_definitions(-DSW_VERSION_N4=${TIMEGEN_SW_VERSION_N4})
Converted timegen to cmake.
r302
add_executable(timegen ${SOURCES})