Skip to content

Commit 0850b19

Browse files
authored
Merge pull request #1279 from nasa/integration-candidate
cFE Integration candidate: 2021-04-02
2 parents 87025c7 + 8a36253 commit 0850b19

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ The detailed cFE user's guide can be viewed at <https://github.com/nasa/cFS/blob
1010

1111
## Version History
1212

13+
### Development Build: v6.8.0-rc1+dev490
14+
15+
- Removes `PspConfig` member from the `GLOBAL_CONFIGDATA` object. Updates the only remaining reference to this object inside the CFE_PSP_VERSION and uses the new Version API instead. Updates the OSAL version print to use the version API call and CFE uses the macro directly.
16+
- Replaces duplicate mention of the removed `CFE_SB_ZeroCopyGetPtr` with the correct removal target of `CFE_SB_ZeroCopyReleasePtr`
17+
- See <https://github.com/nasa/cFE/pull/1279> and <https://github.com/nasa/cFS/pull/233>
18+
1319
### Development Build: v6.8.0-rc1+dev484
1420

1521
- Removes cases in `cfe_es_apps.c` and `cfe_tbl_internal.c` that could never hit the alternate condition since the condition was already checked
@@ -26,7 +32,7 @@ The detailed cFE user's guide can be viewed at <https://github.com/nasa/cFS/blob
2632
- Moves the invocation of `CFE_PSP_AttachExceptions()` from the registration function to the pre-entry function and removes all references to task registration in code, docs, and tests. **This API change affects cFS apps.**
2733
- Renames `CFE_TestRunner_AppMain` as `CFE_TR_AppMain` so it is less than 20 characters long. Updates App file names in documentation for `cfe_es_startup.scr`.
2834
- Replace the call to `CFE_SB_MessageStringGet()` with the new filename-aware function `CFE_FS_ParseInputFileName()` for commands that contain file names like `CFE_ES_StopPerfDataCmd`. The default pathname/extension logic is now applied here too and only a "basename" is strictly necessary, although if a full/absolute path is given, it will be used as is.
29-
- Removes the now-unnecessary `CFE_SB_ZeroCopyHandle_t` type and all APIs that refer or require it .Replaces `CFE_SB_ZeroCopyGetPtr()` and `CFE_SB_ZeroCopyGetPtr()` with two new simplified functions `CFE_SB_AllocateMessageBuffer()` and `CFE_SB_ReleaseMessageBuffer()` , respectively. These new functions do not use a separate handle. Updates the `CFE_SB_TransmitBuffer()` API to also remove the handle. Does affect public APIs.
35+
- Removes the now-unnecessary `CFE_SB_ZeroCopyHandle_t` type and all APIs that refer or require it .Replaces `CFE_SB_ZeroCopyGetPtr()` and `CFE_SB_ZeroCopyReleasePtr()` with two new simplified functions `CFE_SB_AllocateMessageBuffer()` and `CFE_SB_ReleaseMessageBuffer()` , respectively. These new functions do not use a separate handle. Updates the `CFE_SB_TransmitBuffer()` API to also remove the handle. **This breaks public APIs**.
3036
- Internal cleanup localized to ES implementation. Consolidate all ES global variables under the `CFE_ES_Global` struct. Removes the separate `CFE_ES_TaskData` and some random pointers that were stored at global scope. Adjusts all references to the deprecated items accordingly (search and replace).
3137
- Adds PSP version info to ES Housekeeping TLM messages. Changes both PSP and OSAL version info assignments on HK TLM to use the new version info API.
3238
- Fixes check for "NumBuckets" member to use `<=` instead of `<`. `CFE_ES_GenPoolValidateState()` now returns `true` if using the max number of buckets (17 by default) and the pool structure using max value will correctly validate

cmake/target/inc/target_config.h

-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#define TARGET_CONFIG_H
3333

3434
#include "common_types.h"
35-
#include "cfe_psp_configdata.h"
3635

3736
/**
3837
* Prototype for the main system entry function implemented in CFE ES
@@ -191,7 +190,6 @@ typedef const struct
191190
const char *Default_CoreFilename; /**< Default file name for CFE core executable/library */
192191

193192
Target_CfeConfigData *CfeConfig; /**< CFE configuration sub-structure */
194-
Target_PspConfigData *PspConfig; /**< PSP configuration sub-structure */
195193
CFE_StaticModuleLoadEntry_t
196194
*PspModuleList; /**< List of PSP modules (API structures) statically linked into the core EXE */
197195

cmake/target/src/target_config.c

-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ Target_ConfigData GLOBAL_CONFIGDATA = {
174174
.Default_ModuleExtension = CFE_DEFAULT_MODULE_EXTENSION,
175175
.Default_CoreFilename = CFE_DEFAULT_CORE_FILENAME,
176176
.CfeConfig = &GLOBAL_CFE_CONFIGDATA,
177-
.PspConfig = &GLOBAL_PSP_CONFIGDATA,
178177
.PspModuleList = CFE_PSP_MODULE_LIST,
179178
.BuildEnvironment = CFE_BUILD_ENV_TABLE,
180179
.ModuleVersionList = CFE_MODULE_VERSION_TABLE,

modules/core_api/fsw/inc/cfe_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define CFE_VERSION_H
2929

3030
/* Development Build Macro Definitions */
31-
#define CFE_BUILD_NUMBER 484 /*!< Development Build: Number of commits since baseline */
31+
#define CFE_BUILD_NUMBER 490 /*!< Development Build: Number of commits since baseline */
3232
#define CFE_BUILD_BASELINE \
3333
"v6.8.0-rc1" /*!< Development Build: git tag that is the base for the current development \
3434
*/

modules/es/fsw/src/cfe_es_task.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -465,10 +465,10 @@ int32 CFE_ES_TaskInit(void)
465465
return (Status);
466466
}
467467

468-
Status = CFE_EVS_SendEvent(CFE_ES_INITSTATS_INF_EID, CFE_EVS_EventType_INFORMATION,
469-
"cFS Versions: cfe %s, osal %s, psp %s. cFE chksm %d", GLOBAL_CONFIGDATA.CfeVersion,
470-
GLOBAL_CONFIGDATA.OsalVersion, CFE_PSP_VERSION,
471-
(int)CFE_ES_Global.TaskData.HkPacket.Payload.CFECoreChecksum);
468+
Status =
469+
CFE_EVS_SendEvent(CFE_ES_INITSTATS_INF_EID, CFE_EVS_EventType_INFORMATION,
470+
"cFS Versions: cfe %s, osal %s, psp %s. cFE chksm %d", CFE_SRC_VERSION, OS_GetVersionString(),
471+
CFE_PSP_GetVersionString(), (int)CFE_ES_Global.TaskData.HkPacket.Payload.CFECoreChecksum);
472472

473473
if (Status != CFE_SUCCESS)
474474
{
@@ -847,8 +847,8 @@ int32 CFE_ES_NoopCmd(const CFE_ES_NoopCmd_t *Cmd)
847847
CFE_ES_Global.TaskData.CommandCounter++;
848848

849849
CFE_EVS_SendEvent(CFE_ES_NOOP_INF_EID, CFE_EVS_EventType_INFORMATION,
850-
"No-op command:\n cFS Versions: cfe %s, osal %s, psp %s", GLOBAL_CONFIGDATA.CfeVersion,
851-
GLOBAL_CONFIGDATA.OsalVersion, CFE_PSP_VERSION);
850+
"No-op command:\n cFS Versions: cfe %s, osal %s, psp %s", CFE_SRC_VERSION, OS_GetVersionString(),
851+
CFE_PSP_GetVersionString());
852852

853853
return CFE_SUCCESS;
854854
} /* End of CFE_ES_NoopCmd() */

0 commit comments

Comments
 (0)