Add UNTESTED_FUNCTION() call to untested functions, make Kconfig option to enable that to map to assert()

This commit is contained in:
Jeroen Domburg
2016-09-27 11:36:30 +08:00
parent 3ccec16706
commit fc53bb6ed5
5 changed files with 40 additions and 10 deletions

View File

@@ -143,6 +143,7 @@ BaseType_t xCoRoutineCreate( crCOROUTINE_CODE pxCoRoutineCode, UBaseType_t uxPri
BaseType_t xReturn;
CRCB_t *pxCoRoutine;
UNTESTED_FUNCTION(); //Actually, coroutines are entirely unsupported
/* Allocate the memory that will store the co-routine control block. */
pxCoRoutine = ( CRCB_t * ) pvPortMalloc( sizeof( CRCB_t ) );
if( pxCoRoutine )