1 #ifndef FREERTOS_CONFIG_H
2 #define FREERTOS_CONFIG_H
4 /*-----------------------------------------------------------
5 * Application specific definitions.
7 * These definitions should be adjusted for your particular hardware and
8 * application requirements.
10 * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
11 * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
13 * See http://www.freertos.org/a00110.html.
14 *----------------------------------------------------------*/
17 /*-----------------------------------------------------------
20 * Please change configCHECK_FOR_STACK_OVERFLOW to 0 when going to production
21 * Check http://www.freertos.org/Stacks-and-stack-overflow-checking.html
22 *----------------------------------------------------------*/
26 #define configUSE_PREEMPTION 1
27 #define configUSE_IDLE_HOOK 0
28 #define configUSE_TICK_HOOK 0
29 #define configUSE_TRACE_FACILITY 0
30 #define configUSE_16_BIT_TICKS 0
31 #define configCPU_CLOCK_HZ ( ( unsigned portLONG ) RPP_RCLK_FREQ ) /* Timer clock. */
32 #define configTICK_RATE_HZ ( ( portTickType ) 1000 )
33 #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )
34 #define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 128 )
35 #define configTOTAL_HEAP_SIZE ( ( size_t ) 65535 )
36 #define configMAX_TASK_NAME_LEN ( 16 )
37 #define configIDLE_SHOULD_YIELD 1
38 #define configGENERATE_RUN_TIME_STATS 0
39 #define configUSE_MALLOC_FAILED_HOOK 1
40 #define configCHECK_FOR_STACK_OVERFLOW 2
42 /* Co-routine definitions. */
43 #define configUSE_CO_ROUTINES 0
44 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
47 #define configUSE_MUTEXES 1
48 #define configUSE_RECURSIVE_MUTEXES 0
51 #define configUSE_COUNTING_SEMAPHORES 1
54 #define configUSE_TIMERS 0
55 #define configTIMER_TASK_PRIORITY ( 0 )
56 #define configTIMER_QUEUE_LENGTH 0
57 #define configTIMER_TASK_STACK_DEPTH ( 0 )
59 /* Set the following definitions to 1 to include the API function, or zero to exclude the API function. */
60 #define INCLUDE_vTaskPrioritySet 1
61 #define INCLUDE_uxTaskPriorityGet 1
62 #define INCLUDE_vTaskDelete 1
63 #define INCLUDE_vTaskCleanUpResources 0
64 #define INCLUDE_vTaskSuspend 1
65 #define INCLUDE_xTaskResumeFromISR 1
66 #define INCLUDE_vTaskDelayUntil 1
67 #define INCLUDE_vTaskDelay 1
68 #define INCLUDE_xTaskGetSchedulerState 1
69 #define INCLUDE_uxTaskGetStackHighWaterMark 1
70 #define INCLUDE_pcTaskGetTaskName 1
72 #endif /* FREERTOS_CONFIG_H */