Skip to content

Commit 84ec281

Browse files
authored
Merge pull request #756 from nasa/integration-candidate
Integration Candidate: 2020-06-17
2 parents 1df042b + 5d9e5fe commit 84ec281

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ This repository contains NASA's Core Flight Executive (cFE), which is a framewor
66

77
This is a collection of services and associated framework to be located in the `cfe` subdirectory of a cFS Mission Tree. The Core Flight System is bundled at <https://github.com/nasa/cFS>, which includes build and execution instructions.
88

9+
The detailed cFE user's guide can be viewed at <https://github.com/nasa/cFS/blob/gh-pages/cFE_Users_Guide.pdf>.
10+
911
## Version History
1012

13+
### Development Build: 6.7.21
14+
15+
- If a string is exactly the size of the field when using the `CFE_TBL_FILEDEF()` macro it will produce a compiler error
16+
- Added cFE User's Guide Reference to README.md
17+
- Removes old license
18+
- See <https://github.com/nasa/cFE/pull/743>
19+
1120
### Development Build: 6.7.20
1221

13-
- SB Unit use of the UT assert framework is closer to original design intent
22+
- SB Unit use of the UT assert framework is closer to original design intent
1423
- See <https://github.com/nasa/cFE/pull/743>
1524

1625
### Development Build: 6.7.19

cmake/sample_defs/default_osconfig.cmake

-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
#
2-
#
3-
# Copyright (c) 2020, United States government as represented by the
4-
# administrator of the National Aeronautics Space Administration.
5-
# All rights reserved. This software was created at NASA Goddard
6-
# Space Flight Center pursuant to government contracts.
7-
#
8-
# This is governed by the NASA Open Source Agreement and may be used,
9-
# distributed and modified only according to the terms of that agreement.
10-
#
11-
#
12-
131
##########################################################################
142
#
153
# CFE configuration options for OSAL

fsw/cfe-core/src/inc/cfe_tbl_filedef.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ typedef struct
6868
} CFE_TBL_FileDef_t;
6969

7070
/** The CFE_TBL_FILEDEF macro can be used to simplify the declaration of a table image when using the elf2cfetbl utility.
71+
**
72+
** Note that the macro adds a NULL at the end to ensure that it is null-terminated. (C allows
73+
** a struct to be statically initialized with a string exactly the length of the array, which
74+
** loses the null terminator.) This means the actual length limit of the fields are the above
75+
** LEN - 1.
76+
**
7177
** An example of the source code and how this macro would be used is as follows: \code
7278
7379
#include "cfe_tbl_filedef.h"
@@ -87,7 +93,7 @@ typedef struct
8793
\endcode
8894
*/
8995

90-
#define CFE_TBL_FILEDEF(ObjName, TblName, Desc, Filename) static OS_USED CFE_TBL_FileDef_t CFE_TBL_FileDef={#ObjName, #TblName, #Desc, #Filename, sizeof(ObjName)};
96+
#define CFE_TBL_FILEDEF(ObjName, TblName, Desc, Filename) static OS_USED CFE_TBL_FileDef_t CFE_TBL_FileDef={#ObjName "\0", #TblName "\0", #Desc "\0", #Filename "\0", sizeof(ObjName)};
9197

9298
/*************************************************************************/
9399

fsw/cfe-core/src/inc/cfe_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
*/
9696
#define CFE_MAJOR_VERSION 6
9797
#define CFE_MINOR_VERSION 7
98-
#define CFE_REVISION 20
98+
#define CFE_REVISION 21
9999

100100

101101
#endif /* _cfe_version_ */

0 commit comments

Comments
 (0)