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.
- Rename
UT_SetForceFail
toUT_SetDefaultReturnValue
since 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 lcov
includes 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