-
Notifications
You must be signed in to change notification settings - Fork 33
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
Jake Hageman
committed
May 16, 2019
1 parent
04e8682
commit ee4746e
Showing
11 changed files
with
1,479 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
cmake_minimum_required(VERSION 2.6.4) | ||
project(CFS_CI_LAB C) | ||
|
||
include_directories(fsw/mission_inc) | ||
include_directories(fsw/platform_inc) | ||
|
||
aux_source_directory(fsw/src APP_SRC_FILES) | ||
|
||
# Create the app module | ||
add_cfe_app(ci_lab ${APP_SRC_FILES}) | ||
|
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,112 @@ | ||
############################################################################### | ||
# File: CFS Application Makefile | ||
# | ||
# $Id: Makefile 1.8 2009/07/09 11:25:54GMT-05:00 rmcgraw Exp $ | ||
# | ||
# $Log: Makefile $ | ||
# Revision 1.8 2009/07/09 11:25:54GMT-05:00 rmcgraw | ||
# DCR8291:1 Changed CFE_MISSION_INC to CFS_MISSION_INC and added log | ||
# | ||
############################################################################### | ||
# | ||
# Subsystem produced by this makefile. | ||
# | ||
APPTARGET = ci_lab | ||
|
||
# | ||
# Entry Point for task | ||
# | ||
ENTRY_PT = CI_Lab_AppMain | ||
|
||
# | ||
# Object files required to build subsystem. | ||
# | ||
OBJS = ci_lab_app.o | ||
|
||
# | ||
# Source files required to build subsystem; used to generate dependencies. | ||
# As long as there are no assembly files this can be automated. | ||
# | ||
SOURCES = $(OBJS:.o=.c) | ||
|
||
|
||
## | ||
## Specify extra C Flags needed to build this subsystem | ||
## | ||
LOCAL_COPTS = | ||
|
||
|
||
## | ||
## EXEDIR is defined here, just in case it needs to be different for a custom | ||
## build | ||
## | ||
EXEDIR=../exe | ||
|
||
## | ||
## Certain OSs and Application Loaders require the following option for | ||
## Shared libraries. Currently only needed for vxWorks 5.5 and RTEMS. | ||
## For each shared library that this app depends on, you need to have an | ||
## entry like the following: | ||
## -R../tst_lib/tst_lib.elf | ||
## | ||
SHARED_LIB_LINK = | ||
|
||
######################################################################## | ||
# Should not have to change below this line, except for customized | ||
# Mission and cFE directory structures | ||
######################################################################## | ||
|
||
# | ||
# Set build type to CFE_APP. This allows us to | ||
# define different compiler flags for the cFE Core and Apps. | ||
# | ||
BUILD_TYPE = CFE_APP | ||
|
||
## | ||
## Include all necessary cFE make rules | ||
## Any of these can be copied to a local file and | ||
## changed if needed. | ||
## | ||
## | ||
## cfe-config.mak contains PSP and OS selection | ||
## | ||
include ../cfe/cfe-config.mak | ||
## | ||
## debug-opts.mak contains debug switches | ||
## | ||
include ../cfe/debug-opts.mak | ||
## | ||
## compiler-opts.mak contains compiler definitions and switches/defines | ||
## | ||
include $(CFE_PSP_SRC)/$(PSP)/make/compiler-opts.mak | ||
|
||
## | ||
## Setup the include path for this subsystem | ||
## The OS specific includes are in the build-rules.make file | ||
## | ||
## If this subsystem needs include files from another app, add the path here. | ||
## | ||
INCLUDE_PATH = \ | ||
-I$(OSAL_SRC)/inc \ | ||
-I$(CFE_CORE_SRC)/inc \ | ||
-I$(CFE_PSP_SRC)/inc \ | ||
-I$(CFE_PSP_SRC)/$(PSP)/inc \ | ||
-I$(CFS_APP_SRC)/inc \ | ||
-I$(CFS_APP_SRC)/$(APPTARGET)/fsw/src \ | ||
-I$(CFS_MISSION_INC) \ | ||
-I../cfe/inc \ | ||
-I../inc | ||
|
||
## | ||
## Define the VPATH make variable. | ||
## This can be modified to include source from another directory. | ||
## If there is no corresponding app in the cfs-apps directory, then this can be discarded, or | ||
## if the mission chooses to put the src in another directory such as "src", then that can be | ||
## added here as well. | ||
## | ||
VPATH = $(CFS_APP_SRC)/$(APPTARGET)/fsw/src | ||
|
||
## | ||
## Include the common make rules for building a cFE Application | ||
## | ||
include $(CFE_CORE_SRC)/make/app-rules.mak |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/************************************************************************ | ||
** | ||
** GSC-18128-1, "Core Flight Executive Version 6.6" | ||
** | ||
** Copyright (c) 2006-2019 United States Government as represented by | ||
** the Administrator of the National Aeronautics and Space Administration. | ||
** All Rights Reserved. | ||
** | ||
** Licensed under the Apache License, Version 2.0 (the "License"); | ||
** you may not use this file except in compliance with the License. | ||
** You may obtain a copy of the License at | ||
** | ||
** http://www.apache.org/licenses/LICENSE-2.0 | ||
** | ||
** Unless required by applicable law or agreed to in writing, software | ||
** distributed under the License is distributed on an "AS IS" BASIS, | ||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
** See the License for the specific language governing permissions and | ||
** limitations under the License. | ||
** | ||
** File: | ||
** $Id: ci_lab_perfids.h 1.3 2010/09/20 12:27:19GMT-05:00 wmoleski Exp $ | ||
** | ||
** Purpose: | ||
** Define CI Lab Performance IDs | ||
** | ||
** Notes: | ||
** | ||
** $Log: ci_lab_perfids.h $ | ||
** Revision 1.3 2010/09/20 12:27:19GMT-05:00 wmoleski | ||
** Modified the CI_LAB, SCH_LAB and TO_LAB applications to use unique message IDs and Pipe Names. The "_LAB" | ||
** was added to all definitions so that a mission can use these "Lab" apps as well as their own mission apps together. | ||
** Revision 1.2 2008/04/30 13:07:44EDT rjmcgraw | ||
** Member moved from ci_lab_perfids.h in project c:/MKSDATA/MKS-REPOSITORY/CFS-REPOSITORY/ci_lab/fsw/platform_inc/project.pj to ci_lab_perfids.h in project c:/MKSDATA/MKS-REPOSITORY/CFS-REPOSITORY/ci_lab/fsw/mission_inc/project.pj. | ||
** Revision 1.1 2008/04/30 12:07:44ACT rjmcgraw | ||
** Initial revision | ||
** Member added to project c:/MKSDATA/MKS-REPOSITORY/CFS-REPOSITORY/ci_lab/fsw/platform_inc/project.pj | ||
** | ||
*************************************************************************/ | ||
#ifndef _ci_lab_perfids_h_ | ||
#define _ci_lab_perfids_h_ | ||
|
||
|
||
#define CI_MAIN_TASK_PERF_ID 21 | ||
#define CI_SOCKET_RCV_PERF_ID 24 | ||
|
||
#endif /* _ci_lab_perfids_h_ */ | ||
|
||
/************************/ | ||
/* End of File Comment */ | ||
/************************/ |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/************************************************************************ | ||
** | ||
** GSC-18128-1, "Core Flight Executive Version 6.6" | ||
** | ||
** Copyright (c) 2006-2019 United States Government as represented by | ||
** the Administrator of the National Aeronautics and Space Administration. | ||
** All Rights Reserved. | ||
** | ||
** Licensed under the Apache License, Version 2.0 (the "License"); | ||
** you may not use this file except in compliance with the License. | ||
** You may obtain a copy of the License at | ||
** | ||
** http://www.apache.org/licenses/LICENSE-2.0 | ||
** | ||
** Unless required by applicable law or agreed to in writing, software | ||
** distributed under the License is distributed on an "AS IS" BASIS, | ||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
** See the License for the specific language governing permissions and | ||
** limitations under the License. | ||
** | ||
** File: | ||
** $Id: ci_lab_msgids.h 1.2 2010/09/20 12:27:18GMT-05:00 wmoleski Exp $ | ||
** | ||
** Purpose: | ||
** Define CI Lab Message IDs | ||
** | ||
** Notes: | ||
** | ||
** $Log: ci_lab_msgids.h $ | ||
** Revision 1.2 2010/09/20 12:27:18GMT-05:00 wmoleski | ||
** Modified the CI_LAB, SCH_LAB and TO_LAB applications to use unique message IDs and Pipe Names. The "_LAB" | ||
** was added to all definitions so that a mission can use these "Lab" apps as well as their own mission apps together. | ||
** Revision 1.1 2008/04/30 13:07:18EDT rjmcgraw | ||
** Initial revision | ||
** Member added to project c:/MKSDATA/MKS-REPOSITORY/CFS-REPOSITORY/ci_lab/fsw/platform_inc/project.pj | ||
** | ||
*************************************************************************/ | ||
#ifndef _ci_lab_msgids_h_ | ||
#define _ci_lab_msgids_h_ | ||
|
||
|
||
#define CI_LAB_CMD_MID 0x1884 | ||
#define CI_LAB_SEND_HK_MID 0x1885 | ||
|
||
#define CI_LAB_HK_TLM_MID 0x0884 | ||
|
||
#endif /* _ci_lab_msgids_h_ */ | ||
|
||
/************************/ | ||
/* End of File Comment */ | ||
/************************/ |
Oops, something went wrong.