-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work in progress on modular message formats
All message header field access is done via an accessor which is implemented in an external library
- Loading branch information
Showing
12 changed files
with
374 additions
and
449 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,17 @@ | ||
/* | ||
* CFE Software Bus Message header format configuration | ||
* The copy of this file in build/inc is generated by CMake, do not edit. | ||
*/ | ||
|
||
#ifndef INCLUDE_CFE_SB_MSGFORMAT_ACCESSORS_H | ||
#define INCLUDE_CFE_SB_MSGFORMAT_ACCESSORS_H | ||
|
||
#include <@MISSION_SB_MSGFORMAT_LIBNAME@_accessors.h> | ||
|
||
/* | ||
* Message accessor functions shall use a @MISSION_SB_MSGFORMAT@ prefix | ||
*/ | ||
#define CFE_SB_MSGFORMAT_FUNCNAME(x) @MISSION_SB_MSGFORMAT@_ ## x | ||
|
||
#endif /* INCLUDE_CFE_SB_MSGFORMAT_ACCESSORS_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,17 @@ | ||
/* | ||
* CFE Software Bus Message header format configuration | ||
* The copy of this file in build/inc is generated by CMake, do not edit. | ||
*/ | ||
|
||
#ifndef INCLUDE_CFE_SB_MSGFORMAT_TYPES_H | ||
#define INCLUDE_CFE_SB_MSGFORMAT_TYPES_H | ||
|
||
#include <@MISSION_SB_MSGFORMAT_LIBNAME@_types.h> | ||
|
||
/* | ||
* Message header types shall use a @MISSION_SB_MSGFORMAT@ prefix | ||
*/ | ||
#define CFE_SB_MSGFORMAT_TYPE(x) @MISSION_SB_MSGFORMAT@_ ## x ## _t | ||
|
||
#endif /* INCLUDE_CFE_SB_MSGFORMAT_TYPES_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
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 |
---|---|---|
|
@@ -29,6 +29,7 @@ | |
#ifndef _ccsds_ | ||
#define _ccsds_ | ||
|
||
#error "should not include this" | ||
/* | ||
** Include 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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.