##// END OF EJS Templates
3.0.0.11...
paul -
r234:5b172495b580 R3
parent child
Show More
@@ -1,113 +1,112
1 TEMPLATE = app
1 TEMPLATE = app
2 # CONFIG += console v8 sim
2 # CONFIG += console v8 sim
3 # CONFIG options = verbose *** boot_messages *** debug_messages *** cpu_usage_report *** stack_report *** vhdl_dev *** debug_tch
3 # CONFIG options = verbose *** boot_messages *** debug_messages *** cpu_usage_report *** stack_report *** vhdl_dev *** debug_tch
4 # lpp_dpu_destid
4 # lpp_dpu_destid
5 CONFIG += console verbose
5 CONFIG += console verbose lpp_dpu_destid
6 CONFIG -= qt
6 CONFIG -= qt
7
7
8 include(./sparc.pri)
8 include(./sparc.pri)
9
9
10 # flight software version
10 # flight software version
11 SWVERSION=-1-0
11 SWVERSION=-1-0
12 DEFINES += SW_VERSION_N1=3 # major
12 DEFINES += SW_VERSION_N1=3 # major
13 DEFINES += SW_VERSION_N2=0 # minor
13 DEFINES += SW_VERSION_N2=0 # minor
14 DEFINES += SW_VERSION_N3=0 # patch
14 DEFINES += SW_VERSION_N3=0 # patch
15 DEFINES += SW_VERSION_N4=10 # internal
15 DEFINES += SW_VERSION_N4=11 # internal
16
16
17 # <GCOV>
17 # <GCOV>
18 #QMAKE_CFLAGS_RELEASE += -fprofile-arcs -ftest-coverage
18 QMAKE_CFLAGS_RELEASE += -fprofile-arcs -ftest-coverage
19 #LIBS += -lgcov /opt/GCOV/01A/lib/overload.o -lc
19 LIBS += -lgcov /opt/GCOV/01A/lib/overload.o -lc
20 #LIBS += -lgcov /opt/GCOV/HOWTO_gcov_for_lfr_test/01A/lib/overload.o -lc
21 # </GCOV>
20 # </GCOV>
22
21
23 # <CHANGE BEFORE FLIGHT>
22 # <CHANGE BEFORE FLIGHT>
24 contains( CONFIG, lpp_dpu_destid ) {
23 contains( CONFIG, lpp_dpu_destid ) {
25 DEFINES += LPP_DPU_DESTID
24 DEFINES += LPP_DPU_DESTID
26 }
25 }
27 # </CHANGE BEFORE FLIGHT>
26 # </CHANGE BEFORE FLIGHT>
28
27
29 contains( CONFIG, debug_tch ) {
28 contains( CONFIG, debug_tch ) {
30 DEFINES += DEBUG_TCH
29 DEFINES += DEBUG_TCH
31 }
30 }
32 DEFINES += MSB_FIRST_TCH
31 DEFINES += MSB_FIRST_TCH
33
32
34 contains( CONFIG, vhdl_dev ) {
33 contains( CONFIG, vhdl_dev ) {
35 DEFINES += VHDL_DEV
34 DEFINES += VHDL_DEV
36 }
35 }
37
36
38 contains( CONFIG, verbose ) {
37 contains( CONFIG, verbose ) {
39 DEFINES += PRINT_MESSAGES_ON_CONSOLE
38 DEFINES += PRINT_MESSAGES_ON_CONSOLE
40 }
39 }
41
40
42 contains( CONFIG, debug_messages ) {
41 contains( CONFIG, debug_messages ) {
43 DEFINES += DEBUG_MESSAGES
42 DEFINES += DEBUG_MESSAGES
44 }
43 }
45
44
46 contains( CONFIG, cpu_usage_report ) {
45 contains( CONFIG, cpu_usage_report ) {
47 DEFINES += PRINT_TASK_STATISTICS
46 DEFINES += PRINT_TASK_STATISTICS
48 }
47 }
49
48
50 contains( CONFIG, stack_report ) {
49 contains( CONFIG, stack_report ) {
51 DEFINES += PRINT_STACK_REPORT
50 DEFINES += PRINT_STACK_REPORT
52 }
51 }
53
52
54 contains( CONFIG, boot_messages ) {
53 contains( CONFIG, boot_messages ) {
55 DEFINES += BOOT_MESSAGES
54 DEFINES += BOOT_MESSAGES
56 }
55 }
57
56
58 #doxygen.target = doxygen
57 #doxygen.target = doxygen
59 #doxygen.commands = doxygen ../doc/Doxyfile
58 #doxygen.commands = doxygen ../doc/Doxyfile
60 #QMAKE_EXTRA_TARGETS += doxygen
59 #QMAKE_EXTRA_TARGETS += doxygen
61
60
62 TARGET = fsw
61 TARGET = fsw
63
62
64 INCLUDEPATH += \
63 INCLUDEPATH += \
65 $${PWD}/../src \
64 $${PWD}/../src \
66 $${PWD}/../header \
65 $${PWD}/../header \
67 $${PWD}/../header/lfr_common_headers \
66 $${PWD}/../header/lfr_common_headers \
68 $${PWD}/../header/processing \
67 $${PWD}/../header/processing \
69 $${PWD}/../LFR_basic-parameters
68 $${PWD}/../LFR_basic-parameters
70
69
71 SOURCES += \
70 SOURCES += \
72 ../src/wf_handler.c \
71 ../src/wf_handler.c \
73 ../src/tc_handler.c \
72 ../src/tc_handler.c \
74 ../src/fsw_misc.c \
73 ../src/fsw_misc.c \
75 ../src/fsw_init.c \
74 ../src/fsw_init.c \
76 ../src/fsw_globals.c \
75 ../src/fsw_globals.c \
77 ../src/fsw_spacewire.c \
76 ../src/fsw_spacewire.c \
78 ../src/tc_load_dump_parameters.c \
77 ../src/tc_load_dump_parameters.c \
79 ../src/tm_lfr_tc_exe.c \
78 ../src/tm_lfr_tc_exe.c \
80 ../src/tc_acceptance.c \
79 ../src/tc_acceptance.c \
81 ../src/processing/fsw_processing.c \
80 ../src/processing/fsw_processing.c \
82 ../src/processing/avf0_prc0.c \
81 ../src/processing/avf0_prc0.c \
83 ../src/processing/avf1_prc1.c \
82 ../src/processing/avf1_prc1.c \
84 ../src/processing/avf2_prc2.c \
83 ../src/processing/avf2_prc2.c \
85 ../src/lfr_cpu_usage_report.c \
84 ../src/lfr_cpu_usage_report.c \
86 ../LFR_basic-parameters/basic_parameters.c
85 ../LFR_basic-parameters/basic_parameters.c
87
86
88 HEADERS += \
87 HEADERS += \
89 ../header/wf_handler.h \
88 ../header/wf_handler.h \
90 ../header/tc_handler.h \
89 ../header/tc_handler.h \
91 ../header/grlib_regs.h \
90 ../header/grlib_regs.h \
92 ../header/fsw_misc.h \
91 ../header/fsw_misc.h \
93 ../header/fsw_init.h \
92 ../header/fsw_init.h \
94 ../header/fsw_spacewire.h \
93 ../header/fsw_spacewire.h \
95 ../header/tc_load_dump_parameters.h \
94 ../header/tc_load_dump_parameters.h \
96 ../header/tm_lfr_tc_exe.h \
95 ../header/tm_lfr_tc_exe.h \
97 ../header/tc_acceptance.h \
96 ../header/tc_acceptance.h \
98 ../header/processing/fsw_processing.h \
97 ../header/processing/fsw_processing.h \
99 ../header/processing/avf0_prc0.h \
98 ../header/processing/avf0_prc0.h \
100 ../header/processing/avf1_prc1.h \
99 ../header/processing/avf1_prc1.h \
101 ../header/processing/avf2_prc2.h \
100 ../header/processing/avf2_prc2.h \
102 ../header/fsw_params_wf_handler.h \
101 ../header/fsw_params_wf_handler.h \
103 ../header/lfr_cpu_usage_report.h \
102 ../header/lfr_cpu_usage_report.h \
104 ../header/lfr_common_headers/ccsds_types.h \
103 ../header/lfr_common_headers/ccsds_types.h \
105 ../header/lfr_common_headers/fsw_params.h \
104 ../header/lfr_common_headers/fsw_params.h \
106 ../header/lfr_common_headers/fsw_params_nb_bytes.h \
105 ../header/lfr_common_headers/fsw_params_nb_bytes.h \
107 ../header/lfr_common_headers/fsw_params_processing.h \
106 ../header/lfr_common_headers/fsw_params_processing.h \
108 ../header/lfr_common_headers/TC_types.h \
107 ../header/lfr_common_headers/TC_types.h \
109 ../header/lfr_common_headers/tm_byte_positions.h \
108 ../header/lfr_common_headers/tm_byte_positions.h \
110 ../LFR_basic-parameters/basic_parameters.h \
109 ../LFR_basic-parameters/basic_parameters.h \
111 ../LFR_basic-parameters/basic_parameters_params.h \
110 ../LFR_basic-parameters/basic_parameters_params.h \
112 ../header/GscMemoryLPP.hpp
111 ../header/GscMemoryLPP.hpp
113
112
General Comments 0
You need to be logged in to leave comments. Login now