-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joseph Martin
committed
Nov 20, 2024
1 parent
fcdb59f
commit d6b7277
Showing
16 changed files
with
65 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,8 @@ | ||
![Static Analysis](https://github.com/nasa/sample_app/workflows/Static%20Analysis/badge.svg) | ||
![Format Check](https://github.com/nasa/sample_app/workflows/Format%20Check/badge.svg) | ||
![Static Analysis](https://github.com/nasa/bpacc_fun/workflows/Static%20Analysis/badge.svg) | ||
![Format Check](https://github.com/nasa/bpacc_fun/workflows/Format%20Check/badge.svg) | ||
|
||
# Core Flight System : Framework : App : Sample | ||
# Core Flight System : Framework : App : BPACC Functional | ||
|
||
This repository contains a sample application (sample_app), which is a framework component of the Core Flight System. | ||
This repository contains the BPAccel Functional Test App | ||
|
||
This sample application is a non-flight example application implementation for the cFS Bundle. It is intended to be located in the `apps/sample_app` subdirectory of a cFS Mission Tree. The Core Flight System is bundled at <https://github.com/nasa/cFS> (which includes sample_app as a submodule), which includes build and execution instructions. | ||
|
||
sample_app is an example for how to build and link an application in cFS. See also the skeleton_app (<https://github.com/nasa/skeleton_app>) if you are looking for a bare-bones application to which to add your business logic. | ||
|
||
## Known issues | ||
|
||
As a sample application, extensive testing is not performed prior to release and only minimal functionality is included. Note discrepancies likely exist between this application and the example detailed in the application developer guide. | ||
|
||
## Getting Help | ||
|
||
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> | ||
This application is a non-flight example application implementation used for exercising BPAccel and BP7 HW Acceleration efforts in a cFS context. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
########################################################### | ||
# | ||
# SAMPLE_APP platform build setup | ||
# BPACC_FUN platform build setup | ||
# | ||
# This file is evaluated as part of the "prepare" stage | ||
# and can be used to set up prerequisites for the build, | ||
# such as generating header files | ||
# | ||
########################################################### | ||
|
||
# The list of header files that control the SAMPLE_APP configuration | ||
set(SAMPLE_APP_PLATFORM_CONFIG_FILE_LIST | ||
sample_app_internal_cfg.h | ||
sample_app_platform_cfg.h | ||
sample_app_perfids.h | ||
sample_app_msgids.h | ||
# The list of header files that control the BPACC_FUN configuration | ||
set(BPACC_FUN_PLATFORM_CONFIG_FILE_LIST | ||
bpacc_fun_internal_cfg.h | ||
bpacc_fun_platform_cfg.h | ||
bpacc_fun_perfids.h | ||
bpacc_fun_msgids.h | ||
) | ||
|
||
# Create wrappers around the all the config header files | ||
# This makes them individually overridable by the missions, without modifying | ||
# the distribution default copies | ||
foreach(SAMPLE_APP_CFGFILE ${SAMPLE_APP_PLATFORM_CONFIG_FILE_LIST}) | ||
get_filename_component(CFGKEY "${SAMPLE_APP_CFGFILE}" NAME_WE) | ||
if (DEFINED SAMPLE_APP_CFGFILE_SRC_${CFGKEY}) | ||
set(DEFAULT_SOURCE GENERATED_FILE "${SAMPLE_APP_CFGFILE_SRC_${CFGKEY}}") | ||
foreach(BPACC_FUN_CFGFILE ${BPACC_FUN_PLATFORM_CONFIG_FILE_LIST}) | ||
get_filename_component(CFGKEY "${BPACC_FUN_CFGFILE}" NAME_WE) | ||
if (DEFINED BPACC_FUN_CFGFILE_SRC_${CFGKEY}) | ||
set(DEFAULT_SOURCE GENERATED_FILE "${BPACC_FUN_CFGFILE_SRC_${CFGKEY}}") | ||
else() | ||
set(DEFAULT_SOURCE FALLBACK_FILE "${CMAKE_CURRENT_LIST_DIR}/config/default_${SAMPLE_APP_CFGFILE}") | ||
set(DEFAULT_SOURCE FALLBACK_FILE "${CMAKE_CURRENT_LIST_DIR}/config/default_${BPACC_FUN_CFGFILE}") | ||
endif() | ||
generate_config_includefile( | ||
FILE_NAME "${SAMPLE_APP_CFGFILE}" | ||
FILE_NAME "${BPACC_FUN_CFGFILE}" | ||
${DEFAULT_SOURCE} | ||
) | ||
endforeach() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
########################################################### | ||
# | ||
# SAMPLE_APP mission build setup | ||
# BPACC_FUN_APP mission build setup | ||
# | ||
# This file is evaluated as part of the "prepare" stage | ||
# and can be used to set up prerequisites for the build, | ||
# such as generating header files | ||
# | ||
########################################################### | ||
|
||
# The list of header files that control the SAMPLE_APP configuration | ||
set(SAMPLE_APP_MISSION_CONFIG_FILE_LIST | ||
sample_app_fcncodes.h | ||
sample_app_interface_cfg.h | ||
sample_app_mission_cfg.h | ||
sample_app_perfids.h | ||
sample_app_msg.h | ||
sample_app_msgdefs.h | ||
sample_app_msgstruct.h | ||
sample_app_tbl.h | ||
sample_app_tbldefs.h | ||
sample_app_tblstruct.h | ||
sample_app_topicids.h | ||
# The list of header files that control the BPACC_FUN_APP configuration | ||
set(BPACC_FUN_APP_MISSION_CONFIG_FILE_LIST | ||
bpacc_fun_fcncodes.h | ||
bpacc_fun_interface_cfg.h | ||
bpacc_fun_mission_cfg.h | ||
bpacc_fun_perfids.h | ||
bpacc_fun_msg.h | ||
bpacc_fun_msgdefs.h | ||
bpacc_fun_msgstruct.h | ||
bpacc_fun_tbl.h | ||
bpacc_fun_tbldefs.h | ||
bpacc_fun_tblstruct.h | ||
bpacc_fun_topicids.h | ||
) | ||
|
||
if (CFE_EDS_ENABLED_BUILD) | ||
|
||
# In an EDS-based build, these files come generated from the EDS tool | ||
set(SAMPLE_APP_CFGFILE_SRC_sample_app_interface_cfg "sample_app_eds_designparameters.h") | ||
set(SAMPLE_APP_CFGFILE_SRC_sample_app_tbldefs "sample_app_eds_typedefs.h") | ||
set(SAMPLE_APP_CFGFILE_SRC_sample_app_tblstruct "sample_app_eds_typedefs.h") | ||
set(SAMPLE_APP_CFGFILE_SRC_sample_app_msgdefs "sample_app_eds_typedefs.h") | ||
set(SAMPLE_APP_CFGFILE_SRC_sample_app_msgstruct "sample_app_eds_typedefs.h") | ||
set(SAMPLE_APP_CFGFILE_SRC_sample_app_fcncodes "sample_app_eds_cc.h") | ||
set(BPACC_FUN_APP_CFGFILE_SRC_bpacc_fun_interface_cfg "bpacc_fun_eds_designparameters.h") | ||
set(BPACC_FUN_APP_CFGFILE_SRC_bpacc_fun_tbldefs "bpacc_fun_eds_typedefs.h") | ||
set(BPACC_FUN_APP_CFGFILE_SRC_bpacc_fun_tblstruct "bpacc_fun_eds_typedefs.h") | ||
set(BPACC_FUN_APP_CFGFILE_SRC_bpacc_fun_msgdefs "bpacc_fun_eds_typedefs.h") | ||
set(BPACC_FUN_APP_CFGFILE_SRC_bpacc_fun_msgstruct "bpacc_fun_eds_typedefs.h") | ||
set(BPACC_FUN_APP_CFGFILE_SRC_bpacc_fun_fcncodes "bpacc_fun_eds_cc.h") | ||
|
||
endif(CFE_EDS_ENABLED_BUILD) | ||
|
||
# Create wrappers around the all the config header files | ||
# This makes them individually overridable by the missions, without modifying | ||
# the distribution default copies | ||
foreach(SAMPLE_APP_CFGFILE ${SAMPLE_APP_MISSION_CONFIG_FILE_LIST}) | ||
get_filename_component(CFGKEY "${SAMPLE_APP_CFGFILE}" NAME_WE) | ||
if (DEFINED SAMPLE_APP_CFGFILE_SRC_${CFGKEY}) | ||
set(DEFAULT_SOURCE GENERATED_FILE "${SAMPLE_APP_CFGFILE_SRC_${CFGKEY}}") | ||
foreach(BPACC_FUN_APP_CFGFILE ${BPACC_FUN_APP_MISSION_CONFIG_FILE_LIST}) | ||
get_filename_component(CFGKEY "${BPACC_FUN_APP_CFGFILE}" NAME_WE) | ||
if (DEFINED BPACC_FUN_APP_CFGFILE_SRC_${CFGKEY}) | ||
set(DEFAULT_SOURCE GENERATED_FILE "${BPACC_FUN_APP_CFGFILE_SRC_${CFGKEY}}") | ||
else() | ||
set(DEFAULT_SOURCE FALLBACK_FILE "${CMAKE_CURRENT_LIST_DIR}/config/default_${SAMPLE_APP_CFGFILE}") | ||
set(DEFAULT_SOURCE FALLBACK_FILE "${CMAKE_CURRENT_LIST_DIR}/config/default_${BPACC_FUN_APP_CFGFILE}") | ||
endif() | ||
generate_config_includefile( | ||
FILE_NAME "${SAMPLE_APP_CFGFILE}" | ||
FILE_NAME "${BPACC_FUN_APP_CFGFILE}" | ||
${DEFAULT_SOURCE} | ||
) | ||
endforeach() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters