From f0f7cf6e643edca34f5e163e93061a82942067e4 Mon Sep 17 00:00:00 2001 From: Andrew Liounis Date: Mon, 26 Aug 2024 13:12:07 -0400 Subject: [PATCH 1/7] Fix nasa#790 Adds initial draft of CITATION.cff file. --- CITATION.cff | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 000000000..339182117 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,37 @@ +# This CITATION.cff file was generated with cffinit. +# Visit https://bit.ly/cffinit to generate yours today! + +cff-version: 1.2.0 +title: core Flight System +message: >- + If you use this software, please cite it using the + metadata from this file. +type: software +authors: + - name: NASA's Goddard Space Flight Center + address: 8800 Greenbelt Road + city: Greenbelt + country: US + post-code: '20771' + alias: NASA/GSFC +repository-code: 'https://github.com/nasa/cFS' +url: 'https://cfs.gsfc.nasa.gov/' +abstract: >- + 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 of submodules that make up the cFS framework. + Note the "lab" apps are 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. +keywords: + - Flight Software + - core Flight Executable (cFE) + - Operating System Abstraction Layer (OSAL) + - Platform Support Package (PSP) + - Framework + - System +license: Apache-2.0 From a1375650d143ad136f7dce05933f745020976aae Mon Sep 17 00:00:00 2001 From: Andrew Liounis Date: Mon, 26 Aug 2024 13:16:49 -0400 Subject: [PATCH 2/7] Fix NASA#790 include acronym --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index 339182117..1478de547 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -2,7 +2,7 @@ # Visit https://bit.ly/cffinit to generate yours today! cff-version: 1.2.0 -title: core Flight System +title: core Flight System (cFS) message: >- If you use this software, please cite it using the metadata from this file. From 7f4940591886aa85f2b73271e2cc8ad58f3be9ea Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 29 Aug 2024 15:27:15 -0400 Subject: [PATCH 3/7] IC: equuleus-rc1+dev17 *Combines:* cFE equuleus-rc1+dev195 **Includes:** *cFE* - nasa/cFE#2596 - nasa/cFE#2593 Co-authored by: Jose Martinez Pedraza --- cfe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfe b/cfe index 4763a7fe4..7f36a0405 160000 --- a/cfe +++ b/cfe @@ -1 +1 @@ -Subproject commit 4763a7fe408c1443f5e49143df1d0d5dc5e3c9cd +Subproject commit 7f36a04058dd06bcdf679137375fcfe1d3552868 From 481eb455306495b2ee3b63d57cb710c128b955c2 Mon Sep 17 00:00:00 2001 From: Andrew Liounis Date: Fri, 30 Aug 2024 10:52:43 -0400 Subject: [PATCH 4/7] Fix #790 - update message --- CITATION.cff | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 1478de547..20099276c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -4,8 +4,7 @@ cff-version: 1.2.0 title: core Flight System (cFS) message: >- - If you use this software, please cite it using the - metadata from this file. + If you'd like to cite this software, please feel free to use the metadata from this file. type: software authors: - name: NASA's Goddard Space Flight Center From 214bdb00e2630a1a8c1a30e5faa5944b51b24b95 Mon Sep 17 00:00:00 2001 From: Rich Landau Date: Mon, 9 Sep 2024 20:31:40 +0000 Subject: [PATCH 5/7] Fix #795, Updated README with programmatic and technical changes --- README.md | 244 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 134 insertions(+), 110 deletions(-) diff --git a/README.md b/README.md index afc619b74..73b6f724a 100644 --- a/README.md +++ b/README.md @@ -7,88 +7,122 @@ The Core Flight System (cFS) is a generic flight software architecture framework This bundle has not been fully verified as an operational system, and is provided as a starting point vs 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. There are additional OSALs, PSPs, and tools as listed below available from a variety of sources. +The cFS Framework is a core subset of cFS, with an extensive ecosystem of applications and tools available throughout the community. + +## 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), Telemetry Output (Lab), Scheduler (Lab), Sample App, Sample Lib, Data Storage, File Manager, HouseKeeping, Health and Safety, Memory Dwell, CFDP File Transfer, CheckSum, Limit Checker, Memory Manager, Stored Command, cFS Ground System, elf2cfetbl, and tblCRCTool. Changes to the open repositories are limited to bug fixes and minor enhancements to those components. + +A Government-use (Distro C) version of cFS with features 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](). + +## Contact + +cFS/cFE is owned and maintained by NASA Goddard Space Flight Center's Flight Software Systems Branch. + +The cFS team provides training, support, and subject matter expertise to cFS users across industry and the government. New features/developments can also be done by the cFS team which has significant experience in helping flight projects implement mission-ready flight SW 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](). + +More information is available on the [cFS Website](). + +## Table of Contents + +- [References](#references-documentation) +- [Release Notes](#release-notes) +- [Open Source Roadmap](#open-source-roadmap) +- [Upcoming Release](#upcoming-release) +- [Getting Help](#getting-help) +- [Setup](#setup) +- [Build and Run](#build-and-run) +- [Related Capability](#related-capability) ## References Documentation - - cFE User's Guide: https://github.com/nasa/cFS/blob/gh-pages/cfe-usersguide.pdf - - OSAL User's Guide: https://github.com/nasa/cFS/blob/gh-pages/osal-apiguide.pdf - - Combined Mission documentation: https://github.com/nasa/cFS/blob/gh-pages/mission-doc.pdf - - cFE App Developer's Guide: https://github.com/nasa/cFE/blob/main/docs/cFE%20Application%20Developers%20Guide.md - - Training documentation: https://ntrs.nasa.gov/citations/20210022378 - - cFS Overview: https://cfs.gsfc.nasa.gov/cFS-OviewBGSlideDeck-ExportControl-Final.pdf + +- [cFE User's Guide]() +- [OSAL User's Guide]() +- [Combined Mission documentation]() +- [cFE App Developer's Guide]() +- [Training documentation]() +- [cFS Overview]() ## Release Notes -See [releases](https://github.com/nasa/cFS/releases) for release history and associated artifacts related to the cFS BUNDLE. +See [releases]() for release history and associated artifacts related to the cFS BUNDLE. **Aquila: OFFICIAL RELEASE**: - - Released under Apache 2.0 - - Includes cFE 6.7.0 (cFE, PSP, framework apps, and framework tools as marked) and OSAL 5.0.0 - -**cFS 6.6.0a Suite: OFFICIAL RELEASE**: - - cFE 6.6.0a is released under Apache 2.0 license, see [LICENSE](https://github.com/nasa/cFE/blob/v6.6.0a/LICENSE-18128-Apache-2_0.pdf) - - OSAL 4.2.1a is released under the NOSA license, see [LICENSE](https://github.com/nasa/osal/blob/osal-4.2.1a/LICENSE) - - [Release notes](https://github.com/nasa/cFE/blob/v6.6.0a/docs/cFE_release_notes.md) - - [Version description document](https://github.com/nasa/cFE/blob/v6.6.0a/docs/cFE_6_6_0_version_description.md) - - [Test results](https://github.com/nasa/cFE/tree/v6.6.0a/test-and-ground/test-review-packages/Results) -Other elements listed below are released under a variety of licenses as detailed in their respective repositories. - -## Known issues +- Released under Apache 2.0 +- Includes cFE 6.7.0 (cFE, PSP, framework apps, and framework tools as marked) and OSAL 5.0.0 +- [Version description document, including release notes]() +- [Release artifacts]() + +Other elements listed in [Related Capability](#related-capability) are released under a variety of licenses as detailed in their respective repositories. + +## Open-Source Roadmap + +The following is a list of features and updates planned for cFS (in no particular order). Have other ideas? Want to partner with us? Please let us know at [cfs-program@lists.nasa.gov](). + +- "Bundler" tool to create custom bundles from known capability developed across the community (essentially an interactive catalog of apps that have been verified against a particular version of cFS) +- VxWorks 7 support, including running applications as real-time processes (RTPs) +- RTEMS 6 support +- Automated build verification execution framework for emulated targets +- Time services refactor/simplication +- Symmetric multi-processing (SMP) APIs +- Electronic Data Sheet (EDS) integration option and improvements to packet layouts for portability/consistency + +## Upcoming Release + +Note: Official releases will be created through the NASA software release process. The cFS team plans to return to a more regular official release cadence in the near future. + +### Next major release development features + +- Certification framework with automated build verification tests of framework requirements + - Executable on real/emulated/simulated/ or dockerized targets + - Add PSP coverage testing framework (nasa/psp#184, nasa/psp#174) + - Add PSP and cFE functional testing framework for APIs (nasa/cfe#779) + - Scrub OSAL coverage and functional tests + - Scrub cFE coverage tests + - Add cFE API functional tests + - NOTE: Command verification pending tool open source release +- Documentation (updated traceability, APIs/ICDs, general update) +- Framework for mission customization of core services + - Header customization support (nasa/cFE#726) +- Remove deprecated code +- Cmd/Tlm structure scrub for alignment/padding/consistency +- Library query and reporting and ES resource management (nasa/cFE#28, nasa/cFE#797) +- Type safety enhancements +- Added abstract configuration registry +- RTEMS 5/6 support updates +- Added support for fractional seconds in epoch +- Bug fixes + +### 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. -## Major future work - -### Caelum (aka 7.0) Major release development plans (Targeting end of 2020 for release candidate) - - - Certification framework with automated build verification tests of framework requirements - - Executable on real/emulated/simulated/ or dockerized targets - - Add PSP coverage testing framework (nasa/psp#184, nasa/psp#174) - - Add PSP and cFE functional testing framework for APIs (nasa/cfe#779) - - Scrub OSAL coverage and functional tests - - Scrub cFE coverage tests - - Add cFE API functional tests - - NOTE: Command verification pending tool open source release - - Documentation (updated traceability, APIs/ICDs, general update) - - Framework for mission customization of core services - - Header customization support (nasa/cFE#726) - - Remove deprecated code - - Cmd/Tlm structure scrub for alignment/padding/consistency - - Library query and reporting and ES resource management (nasa/cFE#28, nasa/cFE#797) - -### Other (may not make 7.0) - - Open source automated build verification execution framework for emulated targets (likely docker based) - - Deployment quality of life improvements (configuration, transition to CMake source selection vs compiler directives) - - Update OS support (VxWorks 7, RTEMS 5) - - Time services refactor - - Symmetric multi-processing APIs - - Electronic Data Sheet integration option and improvements to packet layouts for portability/consistency - - Toolchain updates - ## Getting Help -### Discussions +### Discussions -You can [start a new discussion](https://github.com/nasa/cFS/discussions/new) for discussions, questions, or ideas, in the cFS repository under the Discussions tab. +You can [start a new discussion]() 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 with the word *subscribe* in the subject line. +To **subscribe to our mailing list,** send an email to [cfs-community-join@lists.nasa.gov]() 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. Mailing list requests are typically processed within 5 minutes. +If you'd like to unsubscribe, send an email with the word *unsubscribe* to [cfs-community-leave@lists.nasa.gov](). 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 to explore partnerships and other arrangements for in-depth support. +You can email the cFS Product Team at [cfs-program@lists.nasa.gov]() 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: +Ensure the following software are installed: Make, CMake, GCC, and Git. To setup the cFS BUNDLE directly from the latest set of interoperable repositories (with your working directory set to where you want to put cFS): git clone https://github.com/nasa/cFS.git cd cFS @@ -102,10 +136,11 @@ Copy in the default makefile and definitions: ## Build and Run -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: +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 [the cFE cmake readme](). 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 distclean + (For a clean build on subsequent runs) make SIMULATION=native prep make make install @@ -114,9 +149,9 @@ To prep, compile, and run on the host (from cFS directory above) as a normal use 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. -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`. +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` during the prep step, run with `make test`, and coverage reported with `make lcov`. Functional tests can be run by including `ENABLE_UNIT_TESTS=true` during prep and including the cfe_testcase app in the runtime app configuration (.scr file). -## Send commands, receive telemetry +### 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](https://github.com/nasa/cFS-GroundSystem/blob/main/Guide-GroundSystem.md). Note it depends on PyQt5 and PyZMQ: @@ -129,60 +164,49 @@ The cFS-GroundSystem tool can be used to send commands and receive telemetry. F cd ../.. python3 GroundSystem.py -3. Select "Start Command System" +3. Select "Start Command System" from main window 4. Select "Enable Tlm" 5. Enter IP address of system executing cFS, 127.0.0.1 if running locally +6. Select "Start Telemetry System" from main window Should see telemetry, can send noops and see command counters increment. -## Compatible list of cFS apps - -The following applications have been tested against this release: - - TBD - -## Other cFS related elements/tools/apps/distributions - -The following list is user submitted, and not CCB controlled. They are released by various organizations, under various licenses. - - - Distributions - - cFS-101: Virtual machine distribution at https://github.com/nasa/CFS-101 - - OpenSatKit: Open source kit for satellite software at https://github.com/OpenSatKit/OpenSatKit - - Other Ground station software - - cFS-EDS-GroundStation: Ground station implemented via EDS at https://github.com/nasa/cFS-EDS-GroundStation - - Other Apps - - CS: Checksum application at https://github.com/nasa/CS - - CF: CFDP application at https://github.com/nasa/CF - - CI: Command Ingest application at https://github.com/nasa/CFS_CI - - DS: Data Store application at https://github.com/nasa/DS - - FM: File Manager application at https://github.com/nasa/FM - - HK: Housekeeping application at https://github.com/nasa/HK - - HS: Health and Safety application at https://github.com/nasa/HS - - LC: Limit Checker application at https://github.com/nasa/LC - - MD: Memory Dwell application at https://github.com/nasa/MD - - MM: Memory Manager application at https://github.com/nasa/MM - - SBN: Software Bus Network application at https://github.com/nasa/SBN - - SC: Stored Commands application at https://github.com/nasa/SC - - SCA: Stored Command Absolute application at https://github.com/nasa/SCA - - SCH: Scheduler application at https://github.com/nasa/SCH - - TO: Telemetry Output application at https://github.com/nasa/CFS_TO - - Skeleton App: A bare-bones application to which you can add your business logic at https://github.com/nasa/skeleton_app - - Other Interfaces - - SIL: Simulink Interface Layer at https://github.com/nasa/SIL - - ECI: External Code Interface at https://github.com/nasa/ECI - - SBN-Client: External code interface to SBN at https://github.com/nasa/SBN-Client - - Other Libraries - - cFS_IO_LIB: IO library at https://github.com/nasa/CFS_IO_LIB - - cFS_LIB: at https://github.com/nasa/cfs_lib - - EdsLib: CCSDS SOIS Electronic Data Sheet Tool and Library at https://github.com/nasa/EdsLib - - fs_lib: File services library at https://github.com/nasa/fs_lib - - Other Tools - - CTF: cFS Test Framework at https://github.com/nasa/CTF - - CCDD: Command and Data Dictionary Tool at https://github.com/nasa/CCDD - - Perfutils-java: Java based performance analyzer for cFS at https://github.com/nasa/perfutils-java - - gen_sch_tbl: Tool to generated SCH app tables at https://github.com/nasa/gen_sch_tbl - - CryptoLib: Software-only CCSDS Space Data Link Security Protocol - Extended Procedures (SDLS-EP) at https://github.com/nasa/CryptoLib - - Other OSALs - - TBD - - Other PSPs - - TBD - +### Adding Custom Apps + +See the [cFE Application Developer's Guide](https://github.com/nasa/cFE/blob/main/docs/cFE%20Application%20Developers%20Guide.md) 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 +- Other Ground station software + - cFS-EDS-GroundStation: Ground station implemented via EDS at +- Other Apps + - CS: Checksum application at + - CF: CFDP application at + - DS: Data Store application at + - FM: File Manager application at + - HK: Housekeeping application at + - HS: Health and Safety application at + - LC: Limit Checker application at + - MD: Memory Dwell application at + - MM: Memory Manager application at + - SBN: Software Bus Network application at + - SC: Stored Commands application at + - SCA: Stored Command Absolute application at + - Skeleton App: A bare-bones application to which you can add your business logic at +- Other Interfaces + - SIL: Simulink Interface Layer at + - ECI: External Code Interface at + - SBN-Client: External code interface to SBN at +- Other Libraries + - cFS_IO_LIB: IO library at + - cFS_LIB: at + - EdsLib: CCSDS SOIS Electronic Data Sheet Tool and Library at + - fs_lib: File services library at +- Other Tools + - CTF: cFS Test Framework at + - CCDD: Command and Data Dictionary Tool at + - Perfutils-java: Java based performance analyzer for cFS at + - gen_sch_tbl: Tool to generated SCH app tables at + - CryptoLib: Software-only CCSDS Space Data Link Security Protocol - Extended Procedures (SDLS-EP) at From b39bbb42e02b9e591e52896023a3be42c856a451 Mon Sep 17 00:00:00 2001 From: Rich Landau Date: Thu, 12 Sep 2024 18:48:44 +0000 Subject: [PATCH 6/7] Fix #795, updated training docs reference to Draco --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 73b6f724a..f589fe5ea 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ More information is available on the [cFS Website](). - [OSAL User's Guide]() - [Combined Mission documentation]() - [cFE App Developer's Guide]() -- [Training documentation]() +- [Training documentation]() - [cFS Overview]() ## Release Notes From 53faec5ace2f4499c370735bbe8892bbb875291d Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 16 Sep 2024 14:55:10 -0400 Subject: [PATCH 7/7] IC: equuleus-rc1+dev18 *Combines:* cFE equuleus-rc1+dev199 PSP equuleus-rc1+dev49 **Includes:** *cFS* - #791 - #796 *cFE* - nasa/cFE#2599 *PSP* - nasa/psp#439 - nasa/psp#436 Co-authored by: Andrew Liounis Co-authored by: Rich Landau Co-authored by: Joseph Hickey --- cfe | 2 +- psp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cfe b/cfe index 7f36a0405..561ff532d 160000 --- a/cfe +++ b/cfe @@ -1 +1 @@ -Subproject commit 7f36a04058dd06bcdf679137375fcfe1d3552868 +Subproject commit 561ff532d109d19d9caf8872a62374cb7afc6bfc diff --git a/psp b/psp index f592144b2..ab82f6a23 160000 --- a/psp +++ b/psp @@ -1 +1 @@ -Subproject commit f592144b2c2f7bd2be2d6738fdee9d3351274c3f +Subproject commit ab82f6a2336da125ba4cff2a10862869f7016fab