Added some debug for DEBUG=YES
This commit is contained in:
@@ -31,20 +31,29 @@
|
||||
#define configMAX_PRIORITIES ( 5 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 130 )
|
||||
//#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 75 * 1024 ) )
|
||||
#define configMAX_TASK_NAME_LEN 1
|
||||
#define configUSE_TRACE_FACILITY 0 // 1 rco: save some memory?
|
||||
#define configUSE_16_BIT_TICKS 0
|
||||
#define configIDLE_SHOULD_YIELD 1
|
||||
// Use notifications
|
||||
#define configTASK_NOTIFICATION_ARRAY_ENTRIES 2
|
||||
#define configUSE_MUTEXES 0
|
||||
#define configQUEUE_REGISTRY_SIZE 0
|
||||
#define configCHECK_FOR_STACK_OVERFLOW 0
|
||||
#define configUSE_RECURSIVE_MUTEXES 0
|
||||
#define configUSE_MALLOC_FAILED_HOOK 0
|
||||
#define configUSE_APPLICATION_TASK_TAG 0
|
||||
#define configUSE_COUNTING_SEMAPHORES 0 // 1 rco: save some memory?
|
||||
#define configGENERATE_RUN_TIME_STATS 0
|
||||
#define configUSE_TIMERS 0
|
||||
|
||||
#if !defined(DEBUG)
|
||||
#define configMAX_TASK_NAME_LEN 1
|
||||
#define configUSE_TRACE_FACILITY 0 // 1 rco: save some memory?
|
||||
#define configCHECK_FOR_STACK_OVERFLOW 0
|
||||
#else
|
||||
#define configMAX_TASK_NAME_LEN 10
|
||||
#define configUSE_TRACE_FACILITY 1
|
||||
//#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||
#define configCHECK_FOR_STACK_OVERFLOW 0
|
||||
#endif
|
||||
|
||||
#define configSUPPORT_DYNAMIC_ALLOCATION 0
|
||||
#define configSUPPORT_STATIC_ALLOCATION 1
|
||||
@@ -54,17 +63,13 @@
|
||||
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
|
||||
|
||||
/* Software timer definitions. */
|
||||
#define configUSE_TIMERS 0
|
||||
#define configTIMER_TASK_PRIORITY ( 2 )
|
||||
#define configTIMER_QUEUE_LENGTH 10
|
||||
#define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 )
|
||||
|
||||
/* Set the following definitions to 1 to include the API function, or zero
|
||||
to exclude the API function. */
|
||||
//#define INCLUDE_vTaskPrioritySet 1
|
||||
//#define INCLUDE_uxTaskPriorityGet 1
|
||||
#define INCLUDE_vTaskDelete 1
|
||||
//#define INCLUDE_vTaskCleanUpResources 1
|
||||
#define INCLUDE_vTaskSuspend 1
|
||||
#define INCLUDE_vTaskDelayUntil 1
|
||||
#define INCLUDE_vTaskDelay 1
|
||||
|
||||
Reference in New Issue
Block a user