This repository contains a sample library (sample_lib), which is a framework component of the Core Flight System.
This sample library is a non-flight example library implementation for the cFS Bundle. It is intended to be located in the apps/sample_lib subdirectory of a cFS Mission Tree. The Core Flight System is bundled at https://github.com/nasa/cFS (which includes sample_lib as a submodule), which includes build and execution instructions.
sample_lib implements SAMPLE_Function, as an example for how to build and link a library in cFS.
- Implement Coding Standard in CodeQL workflow
- See nasa#64 and nasa/cFS#270
- Replace direct ref to ArgPtr with
UT_Hook_GetArgValueByNamemacro. Reading the pointer directly is not advised. - See nasa#61 and nasa/cFS#250
- Replace <> with " for local includes
- Adds CONTRIBUTING.md that links to the main cFS contributing guide.
- See nasa#55
- Simplify build to use wrappers and interface libs
- Add Testing Tools to the Security Policy
- See nasa#50
- Rename
UT_SetForceFailtoUT_SetDefaultReturnValuesince some functions that retain more than 1 value are not necessarily failing - See nasa#38
- No behavior changes. All identifiers now use the prefix
SAMPLE_LIB_. Changes the name of the init function from SAMPLE_LibInit to SAMPLE_LIB_Init which affects the CFE startup script. - Set REVISION to "99" to indicate development version status
- See nasa#35
- Installs unit test to target directory.
- See nasa#32
- Install unit test as part of cmake recipe. Sample lib test runner now shows up in expected install directory
- Add build number and baseline to version reporting
- See nasa#28
- Apply code style
- See nasa#24
- Coverage data
make lcovincludes the sample_lib code - See nasa#22
- Added coverage test and a stub library to facilitate unit test
- See nasa#16
- See nasa#14
- Released as part of cFE 6.7.0, Apache 2.0
- See nasa#6
- Released as part of cFE 6.6.0a, Apache 2.0
As a lab library, extensive testing is not performed prior to release and only minimal functionality is included.
For best results, submit issues:questions or issues:help wanted requests at https://github.com/nasa/cFS.
Official cFS page: http://cfs.gsfc.nasa.gov