-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/nos3#84-fprime-checkout' into dev
- Loading branch information
Showing
22 changed files
with
927 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,16 @@ | ||
cmake_minimum_required(VERSION 2.6.4) | ||
project(CFS_GENERIC_CSS_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_css ${APP_SRC_FILES}) |
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,22 @@ | ||
/******************************************************************************* | ||
** File: | ||
** $Id: generic_css_perfids.h $ | ||
** | ||
** Purpose: | ||
** Define GENERIC_CSS Performance IDs | ||
** | ||
** Notes: | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_CSS_PERFIDS_H_ | ||
#define _GENERIC_CSS_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_CSS_PERF_ID 600 | ||
#define GENERIC_CSS_DEVICE_PERF_ID 601 | ||
|
||
#endif /* _GENERIC_CSS_PERFIDS_H_ */ |
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,28 @@ | ||
/************************************************************************ | ||
** File: | ||
** $Id: generic_css_msgids.h $ | ||
** | ||
** Purpose: | ||
** Define GENERIC_CSS Message IDs | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_CSS_MSGIDS_H_ | ||
#define _GENERIC_CSS_MSGIDS_H_ | ||
|
||
/* | ||
** CCSDS V1 Command Message IDs (MID) must be 0x18xx | ||
*/ | ||
#define GENERIC_CSS_CMD_MID 0x1910 | ||
|
||
/* | ||
** This MID is for commands telling the app to publish its telemetry message | ||
*/ | ||
#define GENERIC_CSS_REQ_HK_MID 0x1911 | ||
|
||
/* | ||
** CCSDS V1 Telemetry Message IDs must be 0x08xx | ||
*/ | ||
#define GENERIC_CSS_HK_TLM_MID 0x0910 | ||
#define GENERIC_CSS_DEVICE_TLM_MID 0x0911 | ||
|
||
#endif /* _GENERIC_CSS_MSGIDS_H_ */ |
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,29 @@ | ||
/************************************************************************ | ||
** File: | ||
** $Id: generic_css_platform_cfg.h $ | ||
** | ||
** Purpose: | ||
** Define generic_css Platform Configuration Parameters | ||
** | ||
** Notes: | ||
** | ||
*************************************************************************/ | ||
#ifndef _GENERIC_CSS_PLATFORM_CFG_H_ | ||
#define _GENERIC_CSS_PLATFORM_CFG_H_ | ||
|
||
/* | ||
** Default GENERIC_CSS Configuration | ||
*/ | ||
#ifndef GENERIC_CSS_CFG | ||
/* Notes: | ||
** NOS3 uart requires matching handle and bus number | ||
*/ | ||
#define GENERIC_CSS_CFG_STRING "i2c_2" | ||
#define GENERIC_CSS_CFG_HANDLE 2 | ||
#define GENERIC_CSS_CFG_BAUDRATE_HZ 1000 | ||
#define GENERIC_CSS_CFG_MS_TIMEOUT 250 /* Max 255 */ | ||
/* Note: Debug flag disabled (commented out) by default */ | ||
//#define GENERIC_CSS_CFG_DEBUG | ||
#endif | ||
|
||
#endif /* _GENERIC_CSS_PLATFORM_CFG_H_ */ |
Oops, something went wrong.