Skip to content

Commit 1d3e4cd

Browse files
authored
Merge pull request #2061 from nasa/integration-candidate
cFE Integration candidate: Caelum-rc4+dev4
2 parents 99429bf + e48c049 commit 1d3e4cd

File tree

10 files changed

+64
-7
lines changed

10 files changed

+64
-7
lines changed

.github/workflows/build-documentation.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- name: Build Docs
6161
run: |
6262
make doc > make_doc_stdout.txt 2> make_doc_stderr.txt
63+
mv build/docs/detaildesign-warnings.log detaildesign-warnings.log
6364
6465
# Upload documentation logs as artifacts
6566
- name: Archive Documentation Build Logs
@@ -69,6 +70,7 @@ jobs:
6970
path: |
7071
make_doc_stdout.txt
7172
make_doc_stderr.txt
73+
detaildesign-warnings.log
7274
7375
- name: Error Check
7476
run: |
@@ -77,6 +79,13 @@ jobs:
7779
exit -1
7880
fi
7981
82+
- name: Warning Check
83+
run: |
84+
if [[ -s detaildesign-warnings.log ]]; then
85+
cat detaildesign-warnings.log
86+
exit -1
87+
fi
88+
8089
build-usersguide:
8190
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
8291
needs: check-for-duplicates

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ The detailed cFE user's guide can be viewed at <https://github.com/nasa/cFS/blob
1010

1111
## Changelog
1212

13+
### Development Build: v7.0.0-rc4+dev80
14+
15+
- Missing SB include for v2 msgid
16+
- Resolve doxygen doc warnings and enforce in CI
17+
- Remove explicit filename doxygen comments
18+
- Add CFE_ES_CreateChildTask default handler
19+
- See <https://github.com/nasa/cFE/pull/2061> and <https://github.com/nasa/cFS/pull/432>
20+
1321
### Development Build: v7.0.0-rc4+dev70
1422

1523
- Improve CFE_SB_IsValidMsgId handler

cmake/cfe-common.doxyfile.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ EXCLUDE_PATTERNS += "*/ut-stubs/*"
8080
EXCLUDE_PATTERNS += "*/ut-coverage/*"
8181
EXCLUDE_PATTERNS += "*/unit-test*/*"
8282

83+
# Exclude contributing guides and readme's since they stand alone as repo documentation
84+
EXCLUDE_PATTERNS += "*/CONTRIBUTING.md"
85+
EXCLUDE_PATTERNS += "*/README.md"
86+
8387
#---------------------------------------------------------------------------
8488
# configuration options related to source browsing
8589
#---------------------------------------------------------------------------

cmake/target/src/target_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020

2121
/**
22-
* \file target_config.c
22+
* \file
2323
*
2424
* Created on: Dec 3, 2013
2525
* Created by: joseph.p.hickey@nasa.gov

modules/core_api/fsw/inc/cfe_version.h

Lines changed: 1 addition & 1 deletion
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 70 /**< @brief Development: Number of development commits since baseline */
31+
#define CFE_BUILD_NUMBER 80 /**< @brief Development: Number of development commits since baseline */
3232
#define CFE_BUILD_BASELINE "v7.0.0-rc4" /**< @brief Development: Reference git tag for build number */
3333

3434
/* Version Macro Definitions updated for official releases only */

modules/core_api/ut-stubs/src/cfe_es_handlers.c

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,40 @@ static const cpuaddr UT_ESPOOL_ALIGN_MASK = ((cpuaddr) & ((struct UT_AlignTest *
116116
** Functions
117117
*/
118118

119+
/*------------------------------------------------------------
120+
*
121+
* Default handler for CFE_ES_CreateChildTask coverage stub function
122+
*
123+
*------------------------------------------------------------*/
124+
void UT_DefaultHandler_CFE_ES_CreateChildTask(void *UserObj, UT_EntryKey_t FuncKey, const UT_StubContext_t *Context)
125+
{
126+
CFE_ES_TaskId_t *TaskIdPtr = UT_Hook_GetArgValueByName(Context, "TaskIdPtr", CFE_ES_TaskId_t *);
127+
int32 status;
128+
void * IdBuff;
129+
size_t BuffSize;
130+
size_t Position;
131+
132+
UT_Stub_GetInt32StatusCode(Context, &status);
133+
134+
if (status >= 0)
135+
{
136+
UT_GetDataBuffer(UT_KEY(CFE_ES_GetAppID), &IdBuff, &BuffSize, &Position);
137+
if (IdBuff != NULL && BuffSize == sizeof(*TaskIdPtr))
138+
{
139+
memcpy(TaskIdPtr, IdBuff, sizeof(*TaskIdPtr));
140+
}
141+
else
142+
{
143+
*TaskIdPtr = CFE_UT_ES_DEFAULT_TASKID;
144+
}
145+
}
146+
147+
if (status < 0)
148+
{
149+
*TaskIdPtr = CFE_ES_TASKID_UNDEFINED;
150+
}
151+
}
152+
119153
/*------------------------------------------------------------
120154
*
121155
* Default handler for CFE_ES_GetAppID coverage stub function

modules/core_api/ut-stubs/src/cfe_es_stubs.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
void UT_DefaultHandler_CFE_ES_AppID_ToIndex(void *, UT_EntryKey_t, const UT_StubContext_t *);
3333
void UT_DefaultHandler_CFE_ES_CopyToCDS(void *, UT_EntryKey_t, const UT_StubContext_t *);
34+
void UT_DefaultHandler_CFE_ES_CreateChildTask(void *, UT_EntryKey_t, const UT_StubContext_t *);
3435
void UT_DefaultHandler_CFE_ES_ExitApp(void *, UT_EntryKey_t, const UT_StubContext_t *);
3536
void UT_DefaultHandler_CFE_ES_GetAppID(void *, UT_EntryKey_t, const UT_StubContext_t *);
3637
void UT_DefaultHandler_CFE_ES_GetAppIDByName(void *, UT_EntryKey_t, const UT_StubContext_t *);
@@ -146,7 +147,7 @@ CFE_Status_t CFE_ES_CreateChildTask(CFE_ES_TaskId_t *TaskIdPtr, const char *Task
146147
UT_GenStub_AddParam(CFE_ES_CreateChildTask, CFE_ES_TaskPriority_Atom_t, Priority);
147148
UT_GenStub_AddParam(CFE_ES_CreateChildTask, uint32, Flags);
148149

149-
UT_GenStub_Execute(CFE_ES_CreateChildTask, Basic, NULL);
150+
UT_GenStub_Execute(CFE_ES_CreateChildTask, Basic, UT_DefaultHandler_CFE_ES_CreateChildTask);
150151

151152
return UT_GenStub_GetReturnValue(CFE_ES_CreateChildTask, CFE_Status_t);
152153
}

modules/msg/fsw/src/cfe_msg_msgid_v2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#include "cfe_msg.h"
4141
#include "cfe_msg_priv.h"
4242
#include "cfe_error.h"
43+
#include "cfe_sb.h"
4344
#include "cfe_platform_cfg.h"
4445

4546
/* cFS MsgId definitions */

modules/sb/fsw/src/cfe_sb_priv.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ int32 CFE_SB_ZeroCopyBufferValidate(CFE_SB_Buffer_t *BufPtr, CFE_SB_BufferD_t **
693693
* \note Assumes destination pointer is valid
694694
*
695695
* \param[in] RouteId The route ID to add destination node to
696-
* \param[in] DestPtr Pointer to the destination to add
696+
* \param[in] NewNode Pointer to the destination to add
697697
*/
698698
int32 CFE_SB_AddDestNode(CFE_SBR_RouteId_t RouteId, CFE_SB_DestinationD_t *NewNode);
699699

@@ -705,8 +705,8 @@ int32 CFE_SB_AddDestNode(CFE_SBR_RouteId_t RouteId, CFE_SB_DestinationD_t *NewNo
705705
*
706706
* \note Assumes destination pointer is valid and in route
707707
*
708-
* \param[in] RouteId The route ID to remove destination node from
709-
* \param[in] DestPtr Pointer to the destination to remove
708+
* \param[in] RouteId The route ID to remove destination node from
709+
* \param[in] NodeToRemove Pointer to the destination to remove
710710
*/
711711
void CFE_SB_RemoveDestNode(CFE_SBR_RouteId_t RouteId, CFE_SB_DestinationD_t *NodeToRemove);
712712

modules/tbl/fsw/src/cfe_tbl_task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ int32 CFE_TBL_TaskInit(void);
402402
** \par Assumptions, External Events, and Notes:
403403
** None
404404
**
405-
** \param[in] MessagePtr a pointer to the message received from the command pipe
405+
** \param[in] SBBufPtr Pointer to the message received from the command pipe
406406
**
407407
*/
408408
void CFE_TBL_TaskPipe(CFE_SB_Buffer_t *SBBufPtr);

0 commit comments

Comments
 (0)