-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
11 changed files
with
991 additions
and
991 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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
cmake_minimum_required(VERSION 2.6.4) | ||
project(CFS_GENERIC_EPS_APP C) | ||
|
||
include(../../ComponentSettings.cmake) | ||
|
||
include_directories(public_inc) | ||
include_directories(mission_inc) | ||
include_directories(platform_inc) | ||
include_directories(src) | ||
|
||
include_directories(${hwlib_MISSION_DIR}/fsw/public_inc) | ||
|
||
aux_source_directory(src APP_SRC_FILES) | ||
|
||
# Create the app module | ||
add_cfe_app(generic_eps ${APP_SRC_FILES}) | ||
cmake_minimum_required(VERSION 2.6.4) | ||
project(CFS_GENERIC_EPS_APP C) | ||
|
||
include(../../../ComponentSettings.cmake) | ||
|
||
include_directories(public_inc) | ||
include_directories(mission_inc) | ||
include_directories(platform_inc) | ||
include_directories(src) | ||
|
||
include_directories(${hwlib_MISSION_DIR}/fsw/public_inc) | ||
|
||
aux_source_directory(src APP_SRC_FILES) | ||
|
||
# Create the app module | ||
add_cfe_app(generic_eps ${APP_SRC_FILES}) |
42 changes: 21 additions & 21 deletions
42
fsw/cfs/mission_inc/generic_eps_perfids.h
100644 → 100755
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,21 +1,21 @@ | ||
/******************************************************************************* | ||
** File: | ||
** $Id: generic_eps_perfids.h $ | ||
** | ||
** Purpose: | ||
** Define GENERIC_EPS Performance IDs | ||
** | ||
** Notes: | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_EPS_PERFIDS_H_ | ||
#define _GENERIC_EPS_PERFIDS_H_ | ||
|
||
/* | ||
** define any performance id integer for the app - try to not have this | ||
** id conflict with other apps. Performance IDs are used for cFE performance | ||
** metrics. | ||
*/ | ||
#define GENERIC_EPS_PERF_ID 401 | ||
|
||
#endif /* _GENERIC_EPS_PERFIDS_H_ */ | ||
/******************************************************************************* | ||
** File: | ||
** $Id: generic_eps_perfids.h $ | ||
** | ||
** Purpose: | ||
** Define GENERIC_EPS Performance IDs | ||
** | ||
** Notes: | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_EPS_PERFIDS_H_ | ||
#define _GENERIC_EPS_PERFIDS_H_ | ||
|
||
/* | ||
** define any performance id integer for the app - try to not have this | ||
** id conflict with other apps. Performance IDs are used for cFE performance | ||
** metrics. | ||
*/ | ||
#define GENERIC_EPS_PERF_ID 401 | ||
|
||
#endif /* _GENERIC_EPS_PERFIDS_H_ */ |
54 changes: 27 additions & 27 deletions
54
fsw/cfs/platform_inc/generic_eps_msgids.h
100644 → 100755
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,27 +1,27 @@ | ||
/************************************************************************ | ||
** File: | ||
** $Id: generic_eps_msgids.h $ | ||
** | ||
** Purpose: | ||
** Define GENERIC_EPS Message IDs | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_EPS_MSGIDS_H_ | ||
#define _GENERIC_EPS_MSGIDS_H_ | ||
|
||
/* | ||
** CCSDS V1 Command Message IDs (MID) must be 0x18xx | ||
*/ | ||
#define GENERIC_EPS_CMD_MID 0x191A | ||
|
||
/* | ||
** This MID is for commands telling the app to publish its telemetry message | ||
*/ | ||
#define GENERIC_EPS_REQ_HK_MID 0x191B | ||
|
||
/* | ||
** CCSDS V1 Telemetry Message IDs must be 0x08xx | ||
*/ | ||
#define GENERIC_EPS_HK_TLM_MID 0x091A | ||
|
||
#endif /* _GENERIC_EPS_MSGIDS_H_ */ | ||
/************************************************************************ | ||
** File: | ||
** $Id: generic_eps_msgids.h $ | ||
** | ||
** Purpose: | ||
** Define GENERIC_EPS Message IDs | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_EPS_MSGIDS_H_ | ||
#define _GENERIC_EPS_MSGIDS_H_ | ||
|
||
/* | ||
** CCSDS V1 Command Message IDs (MID) must be 0x18xx | ||
*/ | ||
#define GENERIC_EPS_CMD_MID 0x191A | ||
|
||
/* | ||
** This MID is for commands telling the app to publish its telemetry message | ||
*/ | ||
#define GENERIC_EPS_REQ_HK_MID 0x191B | ||
|
||
/* | ||
** CCSDS V1 Telemetry Message IDs must be 0x08xx | ||
*/ | ||
#define GENERIC_EPS_HK_TLM_MID 0x091A | ||
|
||
#endif /* _GENERIC_EPS_MSGIDS_H_ */ |
54 changes: 27 additions & 27 deletions
54
fsw/cfs/platform_inc/generic_eps_platform_cfg.h
100644 → 100755
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,27 +1,27 @@ | ||
/************************************************************************ | ||
** File: | ||
** $Id: generic_eps_platform_cfg.h $ | ||
** | ||
** Purpose: | ||
** Define generic_eps Platform Configuration Parameters | ||
** | ||
** Notes: | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_EPS_PLATFORM_CFG_H_ | ||
#define _GENERIC_EPS_PLATFORM_CFG_H_ | ||
|
||
/* | ||
** Default GENERIC_EPS Configuration | ||
*/ | ||
#ifndef GENERIC_EPS_CFG | ||
#define GENERIC_EPS_CFG | ||
#define GENERIC_EPS_CFG_I2C_HANDLE 1 | ||
#define GENERIC_EPS_CFG_I2C_SPEED 1000 | ||
#define GENERIC_EPS_CFG_I2C_ADDRESS 0x2B // 7-bit address | ||
#define GENERIC_EPS_CFG_I2C_TIMEOUT 10 | ||
/* Note: Debug flag disabled (commented out) by default */ | ||
//#define GENERIC_EPS_CFG_DEBUG | ||
#endif | ||
|
||
#endif /* _GENERIC_EPS_PLATFORM_CFG_H_ */ | ||
/************************************************************************ | ||
** File: | ||
** $Id: generic_eps_platform_cfg.h $ | ||
** | ||
** Purpose: | ||
** Define generic_eps Platform Configuration Parameters | ||
** | ||
** Notes: | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_EPS_PLATFORM_CFG_H_ | ||
#define _GENERIC_EPS_PLATFORM_CFG_H_ | ||
|
||
/* | ||
** Default GENERIC_EPS Configuration | ||
*/ | ||
#ifndef GENERIC_EPS_CFG | ||
#define GENERIC_EPS_CFG | ||
#define GENERIC_EPS_CFG_I2C_HANDLE 1 | ||
#define GENERIC_EPS_CFG_I2C_SPEED 1000 | ||
#define GENERIC_EPS_CFG_I2C_ADDRESS 0x2B // 7-bit address | ||
#define GENERIC_EPS_CFG_I2C_TIMEOUT 10 | ||
/* Note: Debug flag disabled (commented out) by default */ | ||
//#define GENERIC_EPS_CFG_DEBUG | ||
#endif | ||
|
||
#endif /* _GENERIC_EPS_PLATFORM_CFG_H_ */ |
Oops, something went wrong.