From e757ceb1e5db5d70ea4e2ac8b42d7b03ad1b124d Mon Sep 17 00:00:00 2001 From: Pasha Suprunchuk Date: Fri, 23 Aug 2024 09:15:37 +0300 Subject: [PATCH] docs: added markdown syntax highlighting in code blocks Highlighting for bash has been added to the console code blocks --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index afc619b74..a27da1cf3 100644 --- a/README.md +++ b/README.md @@ -90,15 +90,19 @@ You can email the cFS Product Team at cfs-program@lists.nasa.gov to explore part Ensure the following software are installed: Make, CMake, GCC, and Git. To setup the cFS BUNDLE directly from the latest set of interoperable repositories: +```bash git clone https://github.com/nasa/cFS.git cd cFS git submodule init git submodule update +``` Copy in the default makefile and definitions: +```bash cp cfe/cmake/Makefile.sample Makefile cp -r cfe/cmake/sample_defs sample_defs +``` ## Build and Run @@ -106,11 +110,13 @@ The cFS Framework including sample applications will build and run on the pc-lin To prep, compile, and run on the host (from cFS directory above) as a normal user (best effort message queue depth and task priorities): +```bash make SIMULATION=native prep make make install cd build/exe/cpu1/ ./core-cpu1 +``` 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. @@ -124,10 +130,12 @@ The cFS-GroundSystem tool can be used to send commands and receive telemetry. F 2. Compile cmdUtil and start the ground system executable +```bash cd tools/cFS-GroundSystem/Subsystems/cmdUtil make cd ../.. python3 GroundSystem.py +``` 3. Select "Start Command System" 4. Select "Enable Tlm"