@@ -0,0 +1,9 | |||||
|
1 | #!/usr/bin/lppmon -e | |||
|
2 | ||||
|
3 | RMAPPlugin0.setValueSpaceWireLinkNumber( 1 ) | |||
|
4 | RMAPPlugin0.setValueTargetLogicalAddress( 254 ) | |||
|
5 | ||||
|
6 | dsu3plugin0.openFile("/opt/GCOV/hello_world/obj/main") | |||
|
7 | dsu3plugin0.loadFile() | |||
|
8 | dsu3plugin0.run() | |||
|
9 |
@@ -0,0 +1,4 | |||||
|
1 | #!/bin/bash | |||
|
2 | ||||
|
3 | /opt/GCOV/01A/COTS/gcovr-3.1/scripts/gcovr --gcov-executable=sparc-rtems-gcov --html-details | |||
|
4 |
@@ -0,0 +1,8 | |||||
|
1 | #!/bin/bash | |||
|
2 | ||||
|
3 | ln -s /opt/DEV_PLE/FSW-qt/obj/*.gcno ./ | |||
|
4 | ||||
|
5 | ln -s /opt/DEV_PLE/src ./ | |||
|
6 | ||||
|
7 | cat trace | /opt/GCOV/01A/tool/createfile.py | |||
|
8 |
@@ -3,6 +3,8 syntax: glob | |||||
3 | *~ |
|
3 | *~ | |
4 | *.o |
|
4 | *.o | |
5 | *.gcno |
|
5 | *.gcno | |
|
6 | *.gcda | |||
|
7 | *.html | |||
6 | *.zip |
|
8 | *.zip | |
7 | tests/*.err |
|
9 | tests/*.err | |
8 | doc |
|
10 | doc |
@@ -1,6 +1,6 | |||||
1 | ############################################################################# |
|
1 | ############################################################################# | |
2 | # Makefile for building: bin/fsw |
|
2 | # Makefile for building: bin/fsw | |
3 |
# Generated by qmake (2.01a) (Qt 4.8.6) on: T |
|
3 | # Generated by qmake (2.01a) (Qt 4.8.6) on: Thu Oct 9 10:12:36 2014 | |
4 | # Project: fsw-qt.pro |
|
4 | # Project: fsw-qt.pro | |
5 | # Template: app |
|
5 | # Template: app | |
6 | # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile fsw-qt.pro |
|
6 | # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile fsw-qt.pro | |
@@ -11,12 +11,12 | |||||
11 | CC = sparc-rtems-gcc |
|
11 | CC = sparc-rtems-gcc | |
12 | CXX = sparc-rtems-g++ |
|
12 | CXX = sparc-rtems-g++ | |
13 | DEFINES = -DSW_VERSION_N1=2 -DSW_VERSION_N2=0 -DSW_VERSION_N3=1 -DSW_VERSION_N4=1 -DLPP_DPU_DESTID -DPRINT_MESSAGES_ON_CONSOLE |
|
13 | DEFINES = -DSW_VERSION_N1=2 -DSW_VERSION_N2=0 -DSW_VERSION_N3=1 -DSW_VERSION_N4=1 -DLPP_DPU_DESTID -DPRINT_MESSAGES_ON_CONSOLE | |
14 | CFLAGS = -pipe -O3 -Wall $(DEFINES) |
|
14 | CFLAGS = -pipe -O3 -fprofile-arcs -ftest-coverage -Wall $(DEFINES) | |
15 | CXXFLAGS = -pipe -O3 -Wall $(DEFINES) |
|
15 | CXXFLAGS = -pipe -O3 -Wall $(DEFINES) | |
16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../src -I../header -I../header/processing -I../src/LFR_basic-parameters |
|
16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../src -I../header -I../header/processing -I../src/LFR_basic-parameters | |
17 | LINK = sparc-rtems-g++ |
|
17 | LINK = sparc-rtems-g++ | |
18 | LFLAGS = |
|
18 | LFLAGS = | |
19 | LIBS = $(SUBLIBS) |
|
19 | LIBS = $(SUBLIBS) -lgcov /opt/GCOV/01A/lib/overload.o -lc | |
20 | AR = sparc-rtems-ar rcs |
|
20 | AR = sparc-rtems-ar rcs | |
21 | RANLIB = |
|
21 | RANLIB = | |
22 | QMAKE = /usr/bin/qmake-qt4 |
|
22 | QMAKE = /usr/bin/qmake-qt4 |
@@ -15,9 +15,9 DEFINES += SW_VERSION_N3=1 # patch | |||||
15 | DEFINES += SW_VERSION_N4=1 # internal |
|
15 | DEFINES += SW_VERSION_N4=1 # internal | |
16 |
|
16 | |||
17 | # <GCOV> |
|
17 | # <GCOV> | |
18 |
|
|
18 | QMAKE_CFLAGS_RELEASE += -fprofile-arcs -ftest-coverage | |
19 | #QMAKE_LFLAGS_RELEASE += |
|
19 | #QMAKE_LFLAGS_RELEASE += | |
20 |
|
|
20 | LIBS += -lgcov /opt/GCOV/01A/lib/overload.o -lc | |
21 | # </GCOV> |
|
21 | # </GCOV> | |
22 |
|
22 | |||
23 | # <CHANGE BEFORE FLIGHT> |
|
23 | # <CHANGE BEFORE FLIGHT> |
@@ -1,6 +1,6 | |||||
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <!DOCTYPE QtCreatorProject> |
|
2 | <!DOCTYPE QtCreatorProject> | |
3 |
<!-- Written by QtCreator 3.2.0, 2014-10- |
|
3 | <!-- Written by QtCreator 3.2.0, 2014-10-22T14:31:55. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>EnvironmentId</variable> |
|
6 | <variable>EnvironmentId</variable> |
@@ -57,10 +57,15 contains( TEMPLATE, app ) { | |||||
57 | DESTDIR=bin |
|
57 | DESTDIR=bin | |
58 | } |
|
58 | } | |
59 |
|
59 | |||
60 |
QMAKE_CFLAGS_RELEASE |
|
60 | #QMAKE_CFLAGS_RELEASE += -O0 | |
61 |
QMAKE_CFLAGS_DEBUG |
|
61 | #QMAKE_CFLAGS_DEBUG += -O0 | |
62 |
QMAKE_CXXFLAGS_RELEASE |
|
62 | #QMAKE_CXXFLAGS_RELEASE += -O0 | |
63 |
QMAKE_CXXFLAGS_DEBUG |
|
63 | #QMAKE_CXXFLAGS_DEBUG += -O0 | |
|
64 | QMAKE_CFLAGS_RELEASE += -O3 | |||
|
65 | QMAKE_CFLAGS_DEBUG += -O3 | |||
|
66 | QMAKE_CXXFLAGS_RELEASE += -O3 | |||
|
67 | QMAKE_CXXFLAGS_DEBUG += -O3 | |||
|
68 | ||||
64 | #QMAKE_CFLAGS_RELEASE+= -O3 -std=c99 |
|
69 | #QMAKE_CFLAGS_RELEASE+= -O3 -std=c99 | |
65 | #QMAKE_CFLAGS_DEBUG+= -O3 -std=c99 |
|
70 | #QMAKE_CFLAGS_DEBUG+= -O3 -std=c99 | |
66 | #QMAKE_CXXFLAGS_RELEASE+= -O3 -std=c99 |
|
71 | #QMAKE_CXXFLAGS_RELEASE+= -O3 -std=c99 |
General Comments 0
You need to be logged in to leave comments.
Login now