You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,24 +67,22 @@ Copy in the default makefile and definitions:
67
67
cp cfe/cmake/Makefile.sample Makefile
68
68
cp -r cfe/cmake/sample_defs sample_defs
69
69
70
-
If running on a standard linux build as a normal user, define OSAL_DEBUG_PERMISSIVE_MODE for best effort message queue depth and task priorities.
71
-
72
-
sed -i 's/undef OSAL_DEBUG_PERMISSIVE_MODE/define OSAL_DEBUG_PERMISSIVE_MODE/g' sample_defs/default_osconfig.h
73
-
74
70
## Build and Run
75
71
76
72
The cFS Framework including sample applications will build and run on the pc-linux platform support package (should run on most Linux distributions), via the steps described in https://github.com/nasa/cFE/tree/master/cmake/README.md. Quick-start is below:
77
73
78
-
To prep, compile, and run (from cFS directory above):
74
+
To prep, compile, and run on the host (from cFS directory above) as a normal user (best effort message queue depth and task priorities):
79
75
80
-
make prep
76
+
make SIMULATION=native prep
81
77
make
82
78
make install
83
79
cd build/exe/cpu1/
84
80
./core-cpu1
85
81
86
82
Should see startup messages, and CFE_ES_Main entering OPERATIONAL state. Note the code must be executed from the build/exe/cpu1 directory to find the startup script and shared objects.
87
83
84
+
Note: The steps above are for a debug, permissive mode build and includes deprecated elements. For a release build, recommendation is `make BUILDTYPE=release OMIT_DEPRECATED=true prep`. Unit tests can be added with `ENABLE_UNIT_TESTS=true`, run with `make test`, and coverage reported with `make lcov`.
85
+
88
86
## Send commands, receive telemetry
89
87
90
88
The cFS-GroundSystem tool can be used to send commands and receive telemetry (see https://github.com/nasa/cFS-GroundSystem/tree/master/Guide-GroundSystem.txt, the Guide-GroundSystem.txt). Note it depends on PyQt4 and PyZMQ:
0 commit comments