Skip to content

Commit b7bfaba

Browse files
authored
Merge pull request #1580 from skliper/fix1364-es_verify_errors
Fix #1364, Update ES verify errors to match test
2 parents 176e3df + 251267a commit b7bfaba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/es/fsw/src/cfe_es_verify.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#endif
4949

5050
#if CFE_PLATFORM_ES_ER_LOG_ENTRIES < 1
51-
#error CFE_PLATFORM_ES_ER_LOG_ENTRIES cannot be less than 10!
51+
#error CFE_PLATFORM_ES_ER_LOG_ENTRIES cannot be less than 1!
5252
#endif
5353

5454
#if CFE_PLATFORM_ES_SYSTEM_LOG_SIZE < 512
@@ -160,7 +160,7 @@
160160
** Alignment of ES memory pool
161161
*/
162162
#if CFE_PLATFORM_ES_MEMPOOL_ALIGN_SIZE_MIN <= 0
163-
#error CFE_PLATFORM_ES_MEMPOOL_ALIGN_SIZE_MIN cannot be 0!
163+
#error CFE_PLATFORM_ES_MEMPOOL_ALIGN_SIZE_MIN cannot be less than or equal to 0!
164164
#elif (CFE_PLATFORM_ES_MEMPOOL_ALIGN_SIZE_MIN & (CFE_PLATFORM_ES_MEMPOOL_ALIGN_SIZE_MIN - 1)) != 0
165165
#error CFE_PLATFORM_ES_MEMPOOL_ALIGN_SIZE_MIN must be a power of 2!
166166
#endif
@@ -169,15 +169,15 @@
169169
** Intermediate ES Memory Pool Block Sizes
170170
*/
171171
#if CFE_PLATFORM_ES_MAX_BLOCK_SIZE < CFE_MISSION_SB_MAX_SB_MSG_SIZE
172-
#error CFE_PLATFORM_ES_MAX_BLOCK_SIZE must be larger than CFE_MISSION_SB_MAX_SB_MSG_SIZE!
172+
#error CFE_PLATFORM_ES_MAX_BLOCK_SIZE must be equal to or larger than CFE_MISSION_SB_MAX_SB_MSG_SIZE!
173173
#endif
174174

175175
#if CFE_PLATFORM_ES_MAX_BLOCK_SIZE < CFE_PLATFORM_TBL_MAX_SNGL_TABLE_SIZE
176-
#error CFE_PLATFORM_ES_MAX_BLOCK_SIZE must be larger than CFE_PLATFORM_TBL_MAX_SNGL_TABLE_SIZE!
176+
#error CFE_PLATFORM_ES_MAX_BLOCK_SIZE must be equal to or larger than CFE_PLATFORM_TBL_MAX_SNGL_TABLE_SIZE!
177177
#endif
178178

179179
#if CFE_PLATFORM_ES_MAX_BLOCK_SIZE < CFE_PLATFORM_TBL_MAX_DBL_TABLE_SIZE
180-
#error CFE_PLATFORM_ES_MAX_BLOCK_SIZE must be larger than CFE_PLATFORM_TBL_MAX_DBL_TABLE_SIZE!
180+
#error CFE_PLATFORM_ES_MAX_BLOCK_SIZE must be equal to or larger than CFE_PLATFORM_TBL_MAX_DBL_TABLE_SIZE!
181181
#endif
182182

183183
#if CFE_PLATFORM_ES_MEM_BLOCK_SIZE_01 > CFE_PLATFORM_ES_MEM_BLOCK_SIZE_02

0 commit comments

Comments
 (0)