mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-08 15:17:50 -04:00
Move configASSERT default definition above before including portable.h.
This commit is contained in:
parent
7d76dceaad
commit
f0d90819ee
1 changed files with 7 additions and 7 deletions
|
@ -94,6 +94,13 @@
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0
|
#define configUSE_MALLOC_FAILED_HOOK 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef configASSERT
|
||||||
|
#define configASSERT( x )
|
||||||
|
#define configASSERT_DEFINED 0
|
||||||
|
#else
|
||||||
|
#define configASSERT_DEFINED 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Basic FreeRTOS definitions. */
|
/* Basic FreeRTOS definitions. */
|
||||||
#include "projdefs.h"
|
#include "projdefs.h"
|
||||||
|
|
||||||
|
@ -364,13 +371,6 @@
|
||||||
#error configMAX_TASK_NAME_LEN must be set to a minimum of 1 in FreeRTOSConfig.h
|
#error configMAX_TASK_NAME_LEN must be set to a minimum of 1 in FreeRTOSConfig.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef configASSERT
|
|
||||||
#define configASSERT( x )
|
|
||||||
#define configASSERT_DEFINED 0
|
|
||||||
#else
|
|
||||||
#define configASSERT_DEFINED 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* configPRECONDITION should be defined as configASSERT.
|
/* configPRECONDITION should be defined as configASSERT.
|
||||||
* The CBMC proofs need a way to track assumptions and assertions.
|
* The CBMC proofs need a way to track assumptions and assertions.
|
||||||
* A configPRECONDITION statement should express an implicit invariant or
|
* A configPRECONDITION statement should express an implicit invariant or
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue