@@ -1,4 +1,15 | |||
|
1 | 1 | TEMPLATE = app |
|
2 | CONFIG += console | |
|
3 | CONFIG -= app_bundle | |
|
4 | CONFIG -= qt | |
|
5 | ||
|
6 | include(sparc.pri) | |
|
7 | ||
|
8 | INCLUDEPATH += ./ | |
|
9 | ||
|
10 | OBJECTS_DIR=obj | |
|
11 | DESTDIR=bin | |
|
12 | ||
|
2 | 13 | # CONFIG += console v8 sim |
|
3 | 14 | # CONFIG options = |
|
4 | 15 | # verbose |
@@ -11,9 +22,6 TEMPLATE = app | |||
|
11 | 22 | # lpp_dpu_destid /!\ REMOVE BEFORE DELIVERY TO LESIA /!\ |
|
12 | 23 | # debug_watchdog |
|
13 | 24 | CONFIG += console verbose lpp_dpu_destid cpu_usage_report |
|
14 | CONFIG -= qt | |
|
15 | ||
|
16 | include(./sparc.pri) | |
|
17 | 25 | |
|
18 | 26 | INCLUDEPATH += /opt/rtems-4.10/sparc-rtems/leon3/lib/include |
|
19 | 27 | |
@@ -122,4 +130,3 HEADERS += \ | |||
|
122 | 130 | ../LFR_basic-parameters/basic_parameters.h \ |
|
123 | 131 | ../LFR_basic-parameters/basic_parameters_params.h \ |
|
124 | 132 | ../header/GscMemoryLPP.hpp |
|
125 |
@@ -1,5 +1,3 | |||
|
1 | CONFIG += console | |
|
2 | CONFIG -= qt | |
|
3 | 1 | QMAKE_CC=sparc-rtems-gcc |
|
4 | 2 | message(C compiler forced to: $$QMAKE_CC) |
|
5 | 3 | QMAKE_CXX=sparc-rtems-g++ |
@@ -13,14 +11,14 QMAKE_OBJCOPY= sparc-rtems-objcopy | |||
|
13 | 11 | QMAKE_STRIP=sparc-rtems-strip |
|
14 | 12 | QMAKE_GDB=sparc-rtems-gdb |
|
15 | 13 | |
|
16 | #INCLUDEPATH += /opt/rtems-4.10 | |
|
17 | INCLUDEPATH += /opt/rtems-4.10/sparc-rtems/leon3/lib/include | |
|
18 | ||
|
14 | QMAKE_CFLAGS_APP="" | |
|
15 | QMAKE_CXXFLAGS_APP="" | |
|
16 | QMAKE_CFLAGS= | |
|
19 | 17 | QMAKE_CFLAGS_DEBUG= -g |
|
20 | 18 | QMAKE_CFLAGS_RELEASE="" |
|
21 | 19 | QMAKE_CXXFLAGS_DEBUG= -g |
|
22 | 20 | QMAKE_CXXFLAGS_RELEASE="" |
|
23 |
QMAKE_LFLAGS_RELEASE= |
|
|
21 | QMAKE_LFLAGS_RELEASE= | |
|
24 | 22 | QMAKE_LFLAGS_DEBUG= -g |
|
25 | 23 | QMAKE_CXXFLAGS_DEPS = |
|
26 | 24 | QMAKE_CXXFLAGS_WARN_ON = -Wall |
@@ -39,7 +37,6 QMAKE_CFLAGS_RELEASE = | |||
|
39 | 37 | QMAKE_CFLAGS_YACC = |
|
40 | 38 | QMAKE_LFLAGS_EXCEPTIONS_ON = |
|
41 | 39 | QMAKE_LFLAGS_EXCEPTIONS_OFF = |
|
42 | QMAKE_LFLAGS_RELEASE = -Xlinker -Map=output.map | |
|
43 | 40 | QMAKE_LFLAGS_CONSOLE = |
|
44 | 41 | QMAKE_LFLAGS_WINDOWS = |
|
45 | 42 | QMAKE_LFLAGS_DLL = |
@@ -53,47 +50,19 QMAKE_LIBS="" | |||
|
53 | 50 | INCLUDEPATH="" |
|
54 | 51 | DEFINES="" |
|
55 | 52 | |
|
56 | contains( TEMPLATE, app ) { | |
|
57 | OBJECTS_DIR=obj | |
|
58 | DESTDIR=bin | |
|
59 | } | |
|
60 | ||
|
61 | #QMAKE_CFLAGS_RELEASE += -O0 | |
|
62 | #QMAKE_CFLAGS_DEBUG += -O0 | |
|
63 | #QMAKE_CXXFLAGS_RELEASE += -O0 | |
|
64 | #QMAKE_CXXFLAGS_DEBUG += -O0 | |
|
65 | 53 | |
|
66 | 54 | QMAKE_CFLAGS_RELEASE += -O3 |
|
67 | 55 | QMAKE_CFLAGS_DEBUG += -O3 |
|
68 | 56 | QMAKE_CXXFLAGS_RELEASE += -O3 |
|
69 | 57 | QMAKE_CXXFLAGS_DEBUG += -O3 |
|
70 | 58 | |
|
71 |
#QMAKE_CFLAGS_RELEASE += -O |
|
|
72 |
#QMAKE_CFLAGS_DEBUG += -O |
|
|
73 |
#QMAKE_CXXFLAGS_RELEASE += -O |
|
|
74 |
#QMAKE_CXXFLAGS_DEBUG += -O |
|
|
75 | ||
|
76 | contains( TEMPLATE, app ) { | |
|
77 | grmon.target = grmon | |
|
78 | grmon.commands = cd $$DESTDIR && C:/opt/grmon-eval-2.0.29b/win32/bin/grmon.exe -uart COM4 -u | |
|
79 | QMAKE_EXTRA_TARGETS += grmon | |
|
80 | } | |
|
81 | ||
|
82 | ||
|
83 | ||
|
59 | #QMAKE_CFLAGS_RELEASE += -O0 | |
|
60 | #QMAKE_CFLAGS_DEBUG += -O0 | |
|
61 | #QMAKE_CXXFLAGS_RELEASE += -O0 | |
|
62 | #QMAKE_CXXFLAGS_DEBUG += -O0 | |
|
84 | 63 | |
|
85 | 64 | |
|
86 | ||
|
87 | ||
|
88 | ||
|
89 | ||
|
90 | ||
|
91 | ||
|
92 | ||
|
93 | ||
|
94 | ||
|
95 | ||
|
96 | ||
|
97 | ||
|
98 | ||
|
99 | ||
|
65 | #QMAKE_CFLAGS_RELEASE+= -O3 -std=c99 | |
|
66 | #QMAKE_CFLAGS_DEBUG+= -O3 -std=c99 | |
|
67 | #QMAKE_CXXFLAGS_RELEASE+= -O3 -std=c99 | |
|
68 | #QMAKE_CXXFLAGS_DEBUG+= -O3 -std=c99 |
@@ -143,10 +143,11 rtems_task Init( rtems_task_argument ign | |||
|
143 | 143 | |
|
144 | 144 | PRINTF("*************************\n") |
|
145 | 145 | PRINTF("** LFR Flight Software **\n") |
|
146 | PRINTF1("** %d.", SW_VERSION_N1) | |
|
147 |
PRINTF1(" |
|
|
148 |
PRINTF1("%d |
|
|
149 |
PRINTF1("%d |
|
|
146 | ||
|
147 | PRINTF1("** %d-", SW_VERSION_N1) | |
|
148 | PRINTF1("%d-" , SW_VERSION_N2) | |
|
149 | PRINTF1("%d-" , SW_VERSION_N3) | |
|
150 | PRINTF1("%d **\n", SW_VERSION_N4) | |
|
150 | 151 | |
|
151 | 152 | vhdlVersion = (unsigned char *) (REGS_ADDR_VHDL_VERSION); |
|
152 | 153 | PRINTF("** VHDL **\n") |
General Comments 0
You need to be logged in to leave comments.
Login now