|
|
|
@ -148,7 +148,7 @@ standard names. */
|
|
|
|
|
|
|
|
|
|
/* Normal assert() semantics without relying on the provision of an assert.h
|
|
|
|
|
header file. */
|
|
|
|
|
#define configASSERT( x ) if( ( x ) == 0UL ) { portDISABLE_INTERRUPTS(); for( ;; ); }
|
|
|
|
|
#define configASSERT( x ) if( ! ( x ) ) { portDISABLE_INTERRUPTS(); for( ;; ); }
|
|
|
|
|
|
|
|
|
|
/* LED not used at present, so just increment a variable to keep a count of the
|
|
|
|
|
number of times the LED would otherwise have been toggled. */
|
|
|
|
@ -166,6 +166,11 @@ solely for the purpose of ensuring parameters are passed into tasks correctly. *
|
|
|
|
|
#define configREG_TEST_TASK_3_PARAMETER ( ( void * ) 0x12345678 )
|
|
|
|
|
#define configREG_TEST_TASK_4_PARAMETER ( ( void * ) 0x87654321 )
|
|
|
|
|
|
|
|
|
|
/* Ensure that all system calls are coming from the kernel
|
|
|
|
|
Additionally allow unprivileged tasks to have critical sections. */
|
|
|
|
|
#define configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY 1
|
|
|
|
|
#define configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS 1
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|