Software
core Flight System (cFS)
By NASA Goddard Space Flight Center, United States (checked on github.com/nasa (opens in a new tab)), from github.com/nasa/cFS (opens in a new tab)
- Middleware
- Framework
- Apache-2.0
NASA's open-source core Flight System bundle, a generic flight software framework with demo apps that builds, runs and exchanges telemetry and commands with a ground system.
Facts
- GitHub stars
- 1,595read on 28 Nov 2026
- Last update
- 24 Nov 2026Newest commit on dev
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
- Hardware it needs, as the project states it
- Make, CMake, GCC and Git on a Linux host for the default native build; cross-compiled targets also need their respective toolchains, and some run in QEMU or on Raspberry Pi.
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 83c80b5 (opens in a new tab), on 28 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Bundles the cFE framework, OSAL and PSP with demo apps, intended as a starting point rather than a flight-ready distribution.
- Builds through Make and CMake with native Linux configurations and cross-compiled targets for RTEMS, VxWorks, Raspberry Pi and Yocto Linux.
- Boots the core on a Linux host from the staged build directory, showing startup messages and an operational state.
- Sends commands and receives telemetry through the cFS-GroundSystem tool, which needs PyQt5 and PyZMQ.
- New applications are added by following the cFE Application Developer's Guide and registering them in targets.cmake and a scr file.
- A mission-ready government version is available separately through a Software User Agreement.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 24 Nov 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/nasa/cFS (opens in a new tab)
- The version Robotheca read83c80b5 (opens in a new tab)
- Latest releasecFS Bundle - v7.0.1 (14 May 2026)
Robotheca read the repository at two versions: the summary at 3ce9b27 and the facts and the README at 83c80b5 (read on 28 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by NASA Goddard Space Flight Center, at commit 83c80b5, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
Core Flight System - Demo Bundle
The Core Flight System (cFS) is a generic flight software architecture framework used on flagship spacecraft, human spacecraft, cubesats, and Raspberry Pi. This repository is a bundle containing submodules that make up the cFS framework. Note the "lab" apps are demos intended as examples only, and enable this bundle to build, execute, receive commands, and send telemetry. This is not a flight distribution, which is typically made up of the cFE, OSAL, PSP, and a selection of flight apps that correspond to specific mission requirements. It should not be flown as is.
This bundle has not been fully verified as an operational system, and is provided as a starting point as opposed an end product. Testing of this bundle consists of building, executing, sending setup commands and verifying receipt of telemetry. Unit testing is also run, but extensive analysis is not performed. All verification and validation per mission requirements is the responsibility of the mission (although attempts are made in the cFS Framework to provide a testing framework to facilitate the process).
The cFS Framework is a core subset of cFS, with an extensive ecosystem of applications and tools available throughout the community.
cFS Versioning and Updates
cFS follows a semantic (opens in a new tab) versioning convention. Release candidates are denoted with the "rc[#]" suffix. Bug/vulnerability fixes are addressed in the next sequential release of cFS. For cFS open source, these fixes are not backported to prior releases. Users are encouraged to upgrade to the latest version of cFS. For users who are not able to upgrade, see cFS Gov
Distributions
This is the open-source version of cFS, released under an Apache 2.0 license. The open source cFS is limited to the framework and common apps, libraries, and tools, which includes and is limited to: cFE, OSAL, PSP, Command Ingest Lab (Demo), Telemetry Output Lab (Demo), Scheduler Lab (Demo), Sample App (Demo), Sample Lib (Demo), Data Storage, File Manager, HouseKeeping, Health and Safety, Memory Dwell, CFDP File Transfer, CheckSum, Limit Checker, Stored Command, cFS Ground System, elf2cfetbl, and tblCRCTool. Changes to the open repositories are limited to bug fixes and minor enhancements to those components.
cFS Gov (Mission-Ready Version)
A Government-use (Distro C) version of cFS with features, certifiability, and security measures for a full flight mission is available through a Software User Agreement. For more information about government version features or to explore partnerships, please contact the cFS team (opens in a new tab).
Contact
cFS/cFE is owned and maintained by NASA's Core cFS Team (opens in a new tab) and Steering Committee (opens in a new tab).
The cFS team provides training, support, and subject matter expertise to cFS users across industry and the government. New features/developments can also be developed by the cFS team, which has significant experience in helping flight projects implement mission-ready flight software using cFS for various classes of missions, including human-rated (class A) missions. A support agreement may be needed.
To connect with the cFS team, please send an email to cfs-program@lists.nasa.gov (opens in a new tab).
More information is available on the cFS Website (opens in a new tab).
Table of Contents
- References
- Release Notes
- Open Source Roadmap
- Upcoming Release
- Getting Help
- Setup
- Build and Run
- Related Capability
References Documentation
- cFE User's Guide (opens in a new tab)
- OSAL User's Guide (opens in a new tab)
- cFE App Developer's Guide (opens in a new tab)
- Training documentation (opens in a new tab)
- cFS Overview (opens in a new tab)
Release Notes
See releases (opens in a new tab) for release history and associated artifacts related to the cFS BUNDLE.
v7.0.2rc1: RELEASE CANDIDATE:
- Released under Apache 2.0
- Includes cFE 7.0.2rc1 (cFE, PSP, framework apps, and framework tools as marked) and OSAL 7.0.2rc1
- Memory Manager is being deprecated from the open source version in this release. Memory Manager will continue to be supported in cFS Gov, with additional security measures being added
- Release artifacts, including Version Description Document (opens in a new tab)
Other elements listed in Related Capability are released under a variety of licenses as detailed in their respective repositories.
Upcoming Releases
Note: Official releases will be created through the NASA software release process.
Known Issues
Historical version description documents contain references to internal repositories and sourceforge, which is no longer in use. Not all markdown documents have been updated for GitHub.
See related repositories for current open issues.
Getting Help
Discussions
You can start a new discussion (opens in a new tab) for discussions, questions, or ideas, in the cFS repository under the Discussions tab.
Join the mailing list
To subscribe to our mailing list, send an email to cfs-community-join@lists.nasa.gov (opens in a new tab) with the word subscribe in the subject line.
The cfs-community mailing list includes cFS users and developers. The cFS Product Team also uses the mailing list to share information on current and future releases, bug findings and fixes, enhancement requests, community meetings, etc.
If you'd like to unsubscribe, send an email with the word unsubscribe to cfs-community-leave@lists.nasa.gov (opens in a new tab). Mailing list requests are typically processed within 5 minutes.
Contact the cFS Product Team
You can email the cFS Product Team at cfs-program@lists.nasa.gov (opens in a new tab) to explore partnerships and other arrangements for in-depth support.
Setup
Ensure the following software are installed: Make, CMake, GCC, and Git. To setup the cFS BUNDLE directly from the latest set of interoperable repositories:
git clone https://github.com/nasa/cFS.git
cd cFS
git submodule init
git submodule update
The default Makefile and sample_defs/ directory should already be located at the top-level of this repository with the default configurations for building the open source applications.
Build and Run Quick Start
The cFS Framework including sample applications will build and run on the pc-linux platform support package (should run on most Linux distributions). Quick-start is below:
To prep, compile, and run on the host (from cFS directory above) as a normal user (best effort message queue depth and task priorities):
make native_std.prep # Sets up the build tree
make native_std.install # Compiles the software and stages it to the exe directory
make native_std.runtest # Executes the tests
make native_std.lcov # Executes lcov to collect coverage metrics
In order to boot CFE, the default linux PSP requires that the working directory be set to the location of the staged binaries:
cd build-native_std/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.
Other Build configurations
The Makefile system included in this bundle allows multiple output targets/configurations to be built and tested in parallel. Each configuration is given a separate build directory, keeping all the artifacts separate from other build configurations.
The following configurations are defined, which build for the native machine and are intended for development and testing:
native_std: the traditional Linux development build, targets the local machine architecture (native), debugging enabled, includes unit testsnative_eds: like native_std but enables EDS. This is the reference configuration for EDS development and testing.osal: compiles OSAL in a standalone manner, creates a library that can be linked into any applicationedslib: complies EdsLib in a standalone manner, creates a library that can be linked into any application
The following configurations utilize cross compilers and require that the respective toolchain is installed on the host (instructions provided separately where relevant)
pc686_rtems5: cross compile for the "pc686" target running RTEMS 5, using the toolchain from rtems-tools. The resulting binaries may be executed in QEMU.gr712_rtems5: cross compile for the "gr712" target running RTEMS 5, using the gaisler rcc toolchainrpi_vxworks7: cross compile for the Raspberry Pi running VxWorks 7rpi_linux: cross compile for the Raspberry Pi running Linuxqemu_yocto_linux: cross compile for a Yocto/Space Grade Linux target. The resulting binaries can be executed in QEMU. This enables full optimizations (release build).
Other build goals
The following set of goals exist for each configuration:
prep: Sets up the build treecompile: Compiles the software, but does not stage it to any output/install directoryinstall: Compiles and stages the software to the output/install directory (suitable for execution)runtest: Executes all the unit tests. (Recommend using-joption to run tests in parallel, depending on available cores)lcov: Computes code coverage metrics (Requires/depends on "runtest" completing and passing)detaildesign: Generates doxygen documentation for the complete mission, all software includedusersguide: Generates the CFE users guide documentationosalguide: Generates the OSAL users guide documentationimage: Generates an image that can be booted in a container or VM (e.g. Docker or QEMU) if applicable to that configuration. Not all configurations implement this goal.
General build instructions
The Makefiles implement targets following the pattern of:
<config>.<goal>
<config> represents one of the configurations listed above and <goal> represents one of the goals listed above.
For example, rpi_linux.install will build the "install" goal using the "rpi_linux" configuration.
Each configuration gets its own output directory based on the configuration name with a build- prefix. So for example, the binaries produced by native_eds targets will be staged under build-native_eds/. This is what allows all the configurations to be built in parallel without interfering with each other.
Send commands, receive telemetry
The cFS-GroundSystem tool can be used to send commands and receive telemetry. For details on using and setting up the Ground System, see the Guide-GroundSystem (opens in a new tab). Note it depends on PyQt5 and PyZMQ:
-
Install PyQt5 and PyZMQ on your system. Some systems may also require installing libcanberra-gtk-module.
-
Compile cmdUtil and start the ground system executable
cd tools/cFS-GroundSystem/Subsystems/cmdUtil make cd ../.. python3 GroundSystem.py -
Select "Start Command System" from main window
-
Select "Enable Tlm"
-
Enter IP address of system executing cFS, 127.0.0.1 if running locally
-
Select "Start Telemetry System" from main window
Should see telemetry, can send noops and see command counters increment.
Adding Custom Apps
See the cFE Application Developer's Guide (opens in a new tab) for information about creating new apps. It is encouraged to use sample_app or skeleton_app as a starting point. Once the application has been created, it must be added to targets.cmake to be compiled and to the .scr file to be dynamically loaded at runtime (in a dynamically loaded environment).
Related Capability
- Distributions
- cFS-101: Virtual machine distribution at https://github.com/nasa/CFS-101 (opens in a new tab)
- Other Ground station software
- cFS-EDS-GroundStation: Ground station implemented via EDS at https://github.com/nasa/cFS-EDS-GroundStation (opens in a new tab)
- Other Apps
- BPNode: DTN Bundle Protocol application at https://github.com/nasa/bp (opens in a new tab)
- CS: Checksum application at https://github.com/nasa/CS (opens in a new tab)
- CF: CFDP application at https://github.com/nasa/CF (opens in a new tab)
- DS: Data Store application at https://github.com/nasa/DS (opens in a new tab)
- FM: File Manager application at https://github.com/nasa/FM (opens in a new tab)
- HK: Housekeeping application at https://github.com/nasa/HK (opens in a new tab)
- HS: Health and Safety application at https://github.com/nasa/HS (opens in a new tab)
- LC: Limit Checker application at https://github.com/nasa/LC (opens in a new tab)
- MD: Memory Dwell application at https://github.com/nasa/MD (opens in a new tab)
- SBN: Software Bus Network application at https://github.com/nasa/SBN (opens in a new tab)
- SC: Stored Commands application at https://github.com/nasa/SC (opens in a new tab)
- SCA: Stored Command Absolute application at https://github.com/nasa/SCA (opens in a new tab)
- Skeleton App: A bare-bones application to which you can add your business logic at https://github.com/nasa/skeleton_app (opens in a new tab)
- Other Interfaces
- cFS COSMOS Plugin: COSMOS plugin for testing cFS https://github.com/nasa/cfs-cosmos-plugin (opens in a new tab)
- cFS Command Line Tools: Simple command line utilities to send a command or view telemetry on the console https://github.com/nasa/cfs-commandline-tools (opens in a new tab)
- SIL: Simulink Interface Layer at https://github.com/nasa/SIL (opens in a new tab)
- ECI: External Code Interface at https://github.com/nasa/ECI (opens in a new tab)
- SBN-Client: External code interface to SBN at https://github.com/nasa/SBN-Client (opens in a new tab)
- Other Libraries
- BPLib: DTN Bundle Protocol library at https://github.com/nasa/bplib (opens in a new tab)
- cFS_IO_LIB: IO library at https://github.com/nasa/CFS_IO_LIB (opens in a new tab)
- cFS_LIB: at https://github.com/nasa/cfs_lib (opens in a new tab)
- EdsLib: CCSDS SOIS Electronic Data Sheet Tool and Library at https://github.com/nasa/EdsLib (opens in a new tab)
- Other Tools
- CTF: cFS Test Framework at https://github.com/nasa/CTF (opens in a new tab)
- CCDD: Command and Data Dictionary Tool at https://github.com/nasa/CCDD (opens in a new tab)
- DTNTools: Python-based suite designed to independently test a BPv7 RFC-9171 implementation at https://github.com/nasa/dtn-tools (opens in a new tab)
- Perfutils-java: Java based performance analyzer for cFS at https://github.com/nasa/perfutils-java (opens in a new tab)
- gen_sch_tbl: Tool to generated SCH app tables at https://github.com/nasa/gen_sch_tbl (opens in a new tab)
- CryptoLib: Software-only CCSDS Space Data Link Security Protocol - Extended Procedures (SDLS-EP) at https://github.com/nasa/CryptoLib (opens in a new tab)
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.