|
@@
-1,109
+1,110
|
|
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 lpp_dpu_destid
|
|
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=2 # major
|
|
12
|
DEFINES += SW_VERSION_N1=2 # major
|
|
13
|
DEFINES += SW_VERSION_N2=0 # minor
|
|
13
|
DEFINES += SW_VERSION_N2=0 # minor
|
|
14
|
DEFINES += SW_VERSION_N3=1 # patch
|
|
14
|
DEFINES += SW_VERSION_N3=2 # patch
|
|
15
|
DEFINES += SW_VERSION_N4=1 # internal
|
|
15
|
DEFINES += SW_VERSION_N4=0 # 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
|
# </GCOV>
|
|
20
|
# </GCOV>
|
|
21
|
|
|
21
|
|
|
22
|
# <CHANGE BEFORE FLIGHT>
|
|
22
|
# <CHANGE BEFORE FLIGHT>
|
|
23
|
contains( CONFIG, lpp_dpu_destid ) {
|
|
23
|
contains( CONFIG, lpp_dpu_destid ) {
|
|
24
|
DEFINES += LPP_DPU_DESTID
|
|
24
|
DEFINES += LPP_DPU_DESTID
|
|
25
|
}
|
|
25
|
}
|
|
26
|
# </CHANGE BEFORE FLIGHT>
|
|
26
|
# </CHANGE BEFORE FLIGHT>
|
|
27
|
|
|
27
|
|
|
28
|
contains( CONFIG, debug_tch ) {
|
|
28
|
contains( CONFIG, debug_tch ) {
|
|
29
|
DEFINES += DEBUG_TCH
|
|
29
|
DEFINES += DEBUG_TCH
|
|
30
|
}
|
|
30
|
}
|
|
31
|
|
|
31
|
|
|
32
|
contains( CONFIG, vhdl_dev ) {
|
|
32
|
contains( CONFIG, vhdl_dev ) {
|
|
33
|
DEFINES += VHDL_DEV
|
|
33
|
DEFINES += VHDL_DEV
|
|
34
|
}
|
|
34
|
}
|
|
35
|
|
|
35
|
|
|
36
|
contains( CONFIG, verbose ) {
|
|
36
|
contains( CONFIG, verbose ) {
|
|
37
|
DEFINES += PRINT_MESSAGES_ON_CONSOLE
|
|
37
|
DEFINES += PRINT_MESSAGES_ON_CONSOLE
|
|
38
|
}
|
|
38
|
}
|
|
39
|
|
|
39
|
|
|
40
|
contains( CONFIG, debug_messages ) {
|
|
40
|
contains( CONFIG, debug_messages ) {
|
|
41
|
DEFINES += DEBUG_MESSAGES
|
|
41
|
DEFINES += DEBUG_MESSAGES
|
|
42
|
}
|
|
42
|
}
|
|
43
|
|
|
43
|
|
|
44
|
contains( CONFIG, cpu_usage_report ) {
|
|
44
|
contains( CONFIG, cpu_usage_report ) {
|
|
45
|
DEFINES += PRINT_TASK_STATISTICS
|
|
45
|
DEFINES += PRINT_TASK_STATISTICS
|
|
46
|
}
|
|
46
|
}
|
|
47
|
|
|
47
|
|
|
48
|
contains( CONFIG, stack_report ) {
|
|
48
|
contains( CONFIG, stack_report ) {
|
|
49
|
DEFINES += PRINT_STACK_REPORT
|
|
49
|
DEFINES += PRINT_STACK_REPORT
|
|
50
|
}
|
|
50
|
}
|
|
51
|
|
|
51
|
|
|
52
|
contains( CONFIG, boot_messages ) {
|
|
52
|
contains( CONFIG, boot_messages ) {
|
|
53
|
DEFINES += BOOT_MESSAGES
|
|
53
|
DEFINES += BOOT_MESSAGES
|
|
54
|
}
|
|
54
|
}
|
|
55
|
|
|
55
|
|
|
56
|
#doxygen.target = doxygen
|
|
56
|
#doxygen.target = doxygen
|
|
57
|
#doxygen.commands = doxygen ../doc/Doxyfile
|
|
57
|
#doxygen.commands = doxygen ../doc/Doxyfile
|
|
58
|
#QMAKE_EXTRA_TARGETS += doxygen
|
|
58
|
#QMAKE_EXTRA_TARGETS += doxygen
|
|
59
|
|
|
59
|
|
|
60
|
TARGET = fsw
|
|
60
|
TARGET = fsw
|
|
61
|
|
|
61
|
|
|
62
|
INCLUDEPATH += \
|
|
62
|
INCLUDEPATH += \
|
|
63
|
$${PWD}/../src \
|
|
63
|
$${PWD}/../src \
|
|
64
|
$${PWD}/../header \
|
|
64
|
$${PWD}/../header \
|
|
65
|
$${PWD}/../header/common_lfr_headers \
|
|
65
|
$${PWD}/../header/lfr_common_headers \
|
|
66
|
$${PWD}/../header/processing \
|
|
66
|
$${PWD}/../header/processing \
|
|
67
|
$${PWD}/../src/LFR_basic-parameters
|
|
67
|
$${PWD}/../src/LFR_basic-parameters
|
|
68
|
|
|
68
|
|
|
69
|
SOURCES += \
|
|
69
|
SOURCES += \
|
|
70
|
../src/wf_handler.c \
|
|
70
|
../src/wf_handler.c \
|
|
71
|
../src/tc_handler.c \
|
|
71
|
../src/tc_handler.c \
|
|
72
|
../src/fsw_misc.c \
|
|
72
|
../src/fsw_misc.c \
|
|
73
|
../src/fsw_init.c \
|
|
73
|
../src/fsw_init.c \
|
|
74
|
../src/fsw_globals.c \
|
|
74
|
../src/fsw_globals.c \
|
|
75
|
../src/fsw_spacewire.c \
|
|
75
|
../src/fsw_spacewire.c \
|
|
76
|
../src/tc_load_dump_parameters.c \
|
|
76
|
../src/tc_load_dump_parameters.c \
|
|
77
|
../src/tm_lfr_tc_exe.c \
|
|
77
|
../src/tm_lfr_tc_exe.c \
|
|
78
|
../src/tc_acceptance.c \
|
|
78
|
../src/tc_acceptance.c \
|
|
79
|
../src/processing/fsw_processing.c \
|
|
79
|
../src/processing/fsw_processing.c \
|
|
80
|
../src/processing/avf0_prc0.c \
|
|
80
|
../src/processing/avf0_prc0.c \
|
|
81
|
../src/processing/avf1_prc1.c \
|
|
81
|
../src/processing/avf1_prc1.c \
|
|
82
|
../src/processing/avf2_prc2.c \
|
|
82
|
../src/processing/avf2_prc2.c \
|
|
83
|
../src/lfr_cpu_usage_report.c \
|
|
83
|
../src/lfr_cpu_usage_report.c \
|
|
84
|
../src/LFR_basic-parameters/basic_parameters.c
|
|
84
|
../src/LFR_basic-parameters/basic_parameters.c
|
|
85
|
|
|
85
|
|
|
86
|
HEADERS += \
|
|
86
|
HEADERS += \
|
|
87
|
../header/wf_handler.h \
|
|
87
|
../header/wf_handler.h \
|
|
88
|
../header/tc_handler.h \
|
|
88
|
../header/tc_handler.h \
|
|
89
|
../header/grlib_regs.h \
|
|
89
|
../header/grlib_regs.h \
|
|
90
|
../header/fsw_params.h \
|
|
|
|
|
91
|
../header/fsw_misc.h \
|
|
90
|
../header/fsw_misc.h \
|
|
92
|
../header/fsw_init.h \
|
|
91
|
../header/fsw_init.h \
|
|
93
|
../header/ccsds_types.h \
|
|
|
|
|
94
|
../header/fsw_spacewire.h \
|
|
92
|
../header/fsw_spacewire.h \
|
|
95
|
../header/tc_load_dump_parameters.h \
|
|
93
|
../header/tc_load_dump_parameters.h \
|
|
96
|
../header/tm_lfr_tc_exe.h \
|
|
94
|
../header/tm_lfr_tc_exe.h \
|
|
97
|
../header/tc_acceptance.h \
|
|
95
|
../header/tc_acceptance.h \
|
|
98
|
../header/fsw_params_nb_bytes.h \
|
|
|
|
|
99
|
../header/fsw_params_processing.h \
|
|
|
|
|
100
|
../header/processing/fsw_processing.h \
|
|
96
|
../header/processing/fsw_processing.h \
|
|
101
|
../header/processing/avf0_prc0.h \
|
|
97
|
../header/processing/avf0_prc0.h \
|
|
102
|
../header/processing/avf1_prc1.h \
|
|
98
|
../header/processing/avf1_prc1.h \
|
|
103
|
../header/processing/avf2_prc2.h \
|
|
99
|
../header/processing/avf2_prc2.h \
|
|
104
|
../header/fsw_params_wf_handler.h \
|
|
100
|
../header/fsw_params_wf_handler.h \
|
|
105
|
../header/lfr_cpu_usage_report.h \
|
|
101
|
../header/lfr_cpu_usage_report.h \
|
|
106
|
../src/LFR_basic-parameters/basic_parameters.h \
|
|
102
|
../src/LFR_basic-parameters/basic_parameters.h \
|
|
107
|
../src/LFR_basic-parameters/basic_parameters_params.h \
|
|
103
|
../src/LFR_basic-parameters/basic_parameters_params.h \
|
|
108
|
../header/tm_byte_positions.h
|
|
104
|
../header/lfr_common_headers/ccsds_types.h \
|
|
|
|
|
105
|
../header/lfr_common_headers/fsw_params.h \
|
|
|
|
|
106
|
../header/lfr_common_headers/fsw_params_nb_bytes.h \
|
|
|
|
|
107
|
../header/lfr_common_headers/fsw_params_processing.h \
|
|
|
|
|
108
|
../header/lfr_common_headers/TC_types.h \
|
|
|
|
|
109
|
../header/lfr_common_headers/tm_byte_positions.h
|
|
109
|
|
|
110
|
|