54 #ifndef FREERTOS_CONFIG_H 55 #define FREERTOS_CONFIG_H 69 #define configUSE_PREEMPTION 1 70 #define configUSE_IDLE_HOOK 1 71 #define configUSE_TICK_HOOK 0 72 #define configUSE_MALLOC_FAILED_HOOK 1 74 #define configCPU_CLOCK_HZ (SYS_CFG_DESIRED_CPU_CLK) 75 #define configTICK_RATE_HZ ( 1000 ) 76 #define configENABLE_BACKWARD_COMPATIBILITY 0 83 #define PERIODIC_SCH_PRIORITIES (5) 84 #define configMAX_PRIORITIES (1 + 4 + PERIODIC_SCH_PRIORITIES) 87 #define PRIORITY_LOW 1 88 #define PRIORITY_MEDIUM 2 89 #define PRIORITY_HIGH 3 91 #define PRIORITY_CRITICAL (configMAX_PRIORITIES - PERIODIC_SCH_PRIORITIES - 1) 103 #define configMEM_MANG_TYPE 3 104 #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 24 * 1024 ) ) 108 #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 128 ) 109 #define STACK_BYTES(x) ((x)/4) 110 #define MS_PER_TICK() ( 1000 / configTICK_RATE_HZ) 111 #define OS_MS(x) ( x / MS_PER_TICK() ) 112 #define vTaskDelayMs(x) vTaskDelay(OS_MS((x))) 113 #define xTaskGetMsCount() (xTaskGetTickCount() * MS_PER_TICK()) 116 #define configMAX_TASK_NAME_LEN ( 8 ) 117 #define configUSE_16_BIT_TICKS 0 118 #define configIDLE_SHOULD_YIELD 1 119 #define configCHECK_FOR_STACK_OVERFLOW 2 120 #define configUSE_ALTERNATIVE_API 0 121 #define configQUEUE_REGISTRY_SIZE 0 124 #define configUSE_CO_ROUTINES 0 125 #define configMAX_CO_ROUTINE_PRIORITIES ( 1 ) 128 #define configGENERATE_RUN_TIME_STATS 1 129 #define configUSE_TRACE_FACILITY 0 130 #define configUSE_STATS_FORMATTING_FUNCTIONS 0 131 #define INCLUDE_eTaskGetState 1 135 #define configUSE_MUTEXES 1 136 #define configUSE_RECURSIVE_MUTEXES 0 137 #define configUSE_COUNTING_SEMAPHORES 1 138 #define configUSE_QUEUE_SETS 1 139 #define INCLUDE_vTaskPrioritySet 0 140 #define INCLUDE_uxTaskPriorityGet 0 141 #define INCLUDE_vTaskDelete 0 142 #define INCLUDE_vTaskCleanUpResources 0 143 #define INCLUDE_vTaskSuspend 1 144 #define INCLUDE_vTaskDelayUntil 1 145 #define INCLUDE_vTaskDelay 1 146 #define INCLUDE_uxTaskGetStackHighWaterMark 1 147 #define INCLUDE_xTaskGetSchedulerState 1 148 #define INCLUDE_xTaskGetIdleTaskHandle 1 151 #define configUSE_TIMERS 0 152 #define configTIMER_TASK_PRIORITY PRIORITY_HIGH 153 #define configTIMER_QUEUE_LENGTH 10 154 #define configTIMER_TASK_STACK_DEPTH STACK_BYTES(2048) 155 #define INCLUDE_xTimerPendFunctionCall 0 160 #ifdef __NVIC_PRIO_BITS 161 #define configPRIO_BITS __NVIC_PRIO_BITS 163 #define configPRIO_BITS 5 168 #define configKERNEL_INTERRUPT_PRIORITY ( IP_KERNEL << (8 - configPRIO_BITS) ) 170 #define configMAX_SYSCALL_INTERRUPT_PRIORITY ( IP_SYSCALL << (8 - configPRIO_BITS) ) 172 #define configUSE_PORT_OPTIMISED_TASK_SELECTION 1 176 #if (0 == configUSE_TRACE_FACILITY) 185 #define traceTASK_SWITCHED_IN() \ 187 uint32_t *pTaskName = (uint32_t*)(pxCurrentTCB->pcTaskName); \ 188 FAULT_LAST_RUNNING_TASK_NAME = *pTaskName; \ 201 #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() rts_not_full_trace_init() 202 #define portGET_RUN_TIME_COUNTER_VALUE() rts_not_full_trace_get() 203 #define portRESET_TIMER_FOR_RUN_TIME_STATS() rts_not_full_trace_reset() 211 #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() 212 #define portGET_RUN_TIME_COUNTER_VALUE() trace_get_run_time_counter() 213 #define portRESET_TIMER_FOR_RUN_TIME_STATS()
void rts_not_full_trace_reset()
Interrupt Service Routine (ISR) functions.
This file simply provides registers that are used to detect faults. These registers should be defined...
unsigned trace_get_run_time_counter(void)
Definition: run_time_counter.c:8
void rts_not_full_trace_init(void)
This file provides the configurable parameters for your project.
unsigned int rts_not_full_trace_get()