70 #ifndef INC_FREERTOS_H
71 #define INC_FREERTOS_H
98 #include "FreeRTOSConfig.h"
101 #include "projdefs.h"
104 #include "portable.h"
107 #ifndef configUSE_NEWLIB_REENTRANT
108 #define configUSE_NEWLIB_REENTRANT 0
112 #if ( configUSE_NEWLIB_REENTRANT == 1 )
121 #ifndef configMINIMAL_STACK_SIZE
122 #error Missing definition: configMINIMAL_STACK_SIZE must be defined in FreeRTOSConfig.h. configMINIMAL_STACK_SIZE defines the size (in words) of the stack allocated to the idle task. Refer to the demo project provided for your port for a suitable value.
125 #ifndef configMAX_PRIORITIES
126 #error Missing definition: configMAX_PRIORITIES must be defined in FreeRTOSConfig.h. See the Configuration section of the FreeRTOS API documentation for details.
129 #ifndef configUSE_PREEMPTION
130 #error Missing definition: configUSE_PREEMPTION must be defined in FreeRTOSConfig.h as either 1 or 0. See the Configuration section of the FreeRTOS API documentation for details.
133 #ifndef configUSE_IDLE_HOOK
134 #error Missing definition: configUSE_IDLE_HOOK must be defined in FreeRTOSConfig.h as either 1 or 0. See the Configuration section of the FreeRTOS API documentation for details.
137 #ifndef configUSE_TICK_HOOK
138 #error Missing definition: configUSE_TICK_HOOK must be defined in FreeRTOSConfig.h as either 1 or 0. See the Configuration section of the FreeRTOS API documentation for details.
141 #ifndef configUSE_16_BIT_TICKS
142 #error Missing definition: configUSE_16_BIT_TICKS must be defined in FreeRTOSConfig.h as either 1 or 0. See the Configuration section of the FreeRTOS API documentation for details.
145 #ifndef configMAX_PRIORITIES
146 #error configMAX_PRIORITIES must be defined to be greater than or equal to 1.
149 #ifndef configUSE_CO_ROUTINES
150 #define configUSE_CO_ROUTINES 0
153 #ifndef INCLUDE_vTaskPrioritySet
154 #define INCLUDE_vTaskPrioritySet 0
157 #ifndef INCLUDE_uxTaskPriorityGet
158 #define INCLUDE_uxTaskPriorityGet 0
161 #ifndef INCLUDE_vTaskDelete
162 #define INCLUDE_vTaskDelete 0
165 #ifndef INCLUDE_vTaskSuspend
166 #define INCLUDE_vTaskSuspend 0
169 #ifndef INCLUDE_vTaskDelayUntil
170 #define INCLUDE_vTaskDelayUntil 0
173 #ifndef INCLUDE_vTaskDelay
174 #define INCLUDE_vTaskDelay 0
177 #ifndef INCLUDE_xTaskGetIdleTaskHandle
178 #define INCLUDE_xTaskGetIdleTaskHandle 0
181 #ifndef INCLUDE_xTaskAbortDelay
182 #define INCLUDE_xTaskAbortDelay 1
185 #ifndef INCLUDE_xQueueGetMutexHolder
186 #define INCLUDE_xQueueGetMutexHolder 0
189 #ifndef INCLUDE_xSemaphoreGetMutexHolder
190 #define INCLUDE_xSemaphoreGetMutexHolder INCLUDE_xQueueGetMutexHolder
193 #ifndef INCLUDE_xTaskGetHandle
194 #define INCLUDE_xTaskGetHandle 0
197 #ifndef INCLUDE_uxTaskGetStackHighWaterMark
198 #define INCLUDE_uxTaskGetStackHighWaterMark 0
201 #ifndef INCLUDE_eTaskGetState
202 #define INCLUDE_eTaskGetState 0
205 #ifndef INCLUDE_xTaskResumeFromISR
206 #define INCLUDE_xTaskResumeFromISR 1
209 #ifndef INCLUDE_xTimerPendFunctionCall
210 #define INCLUDE_xTimerPendFunctionCall 0
213 #ifndef INCLUDE_xTaskGetSchedulerState
214 #define INCLUDE_xTaskGetSchedulerState 0
217 #ifndef INCLUDE_xTaskGetCurrentTaskHandle
218 #define INCLUDE_xTaskGetCurrentTaskHandle 0
221 #if configUSE_CO_ROUTINES != 0
222 #ifndef configMAX_CO_ROUTINE_PRIORITIES
223 #error configMAX_CO_ROUTINE_PRIORITIES must be greater than or equal to 1.
227 #ifndef configUSE_DAEMON_TASK_STARTUP_HOOK
228 #define configUSE_DAEMON_TASK_STARTUP_HOOK 0
231 #ifndef configUSE_APPLICATION_TASK_TAG
232 #define configUSE_APPLICATION_TASK_TAG 0
235 #ifndef configNUM_THREAD_LOCAL_STORAGE_POINTERS
236 #define configNUM_THREAD_LOCAL_STORAGE_POINTERS 0
239 #ifndef configUSE_RECURSIVE_MUTEXES
240 #define configUSE_RECURSIVE_MUTEXES 0
243 #ifndef configUSE_MUTEXES
244 #define configUSE_MUTEXES 0
247 #ifndef configUSE_TIMERS
248 #define configUSE_TIMERS 1
251 #ifndef configUSE_COUNTING_SEMAPHORES
252 #define configUSE_COUNTING_SEMAPHORES 0
255 #ifndef configUSE_ALTERNATIVE_API
256 #define configUSE_ALTERNATIVE_API 0
259 #ifndef portCRITICAL_NESTING_IN_TCB
260 #define portCRITICAL_NESTING_IN_TCB 0
263 #ifndef configMAX_TASK_NAME_LEN
264 #define configMAX_TASK_NAME_LEN 16
267 #ifndef configIDLE_SHOULD_YIELD
268 #define configIDLE_SHOULD_YIELD 1
271 #if configMAX_TASK_NAME_LEN < 1
272 #error configMAX_TASK_NAME_LEN must be set to a minimum of 1 in FreeRTOSConfig.h
276 #define configASSERT( x )
277 #define configASSERT_DEFINED 0
279 #define configASSERT_DEFINED 1
283 #if configUSE_TIMERS == 1
285 #ifndef configTIMER_TASK_PRIORITY
286 #error If configUSE_TIMERS is set to 1 then configTIMER_TASK_PRIORITY must also be defined.
289 #ifndef configTIMER_QUEUE_LENGTH
290 #error If configUSE_TIMERS is set to 1 then configTIMER_QUEUE_LENGTH must also be defined.
293 #ifndef configTIMER_TASK_STACK_DEPTH
294 #error If configUSE_TIMERS is set to 1 then configTIMER_TASK_STACK_DEPTH must also be defined.
299 #ifndef portSET_INTERRUPT_MASK_FROM_ISR
300 #define portSET_INTERRUPT_MASK_FROM_ISR() 0
303 #ifndef portCLEAR_INTERRUPT_MASK_FROM_ISR
304 #define portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedStatusValue ) ( void ) uxSavedStatusValue
307 #ifndef portCLEAN_UP_TCB
308 #define portCLEAN_UP_TCB( pxTCB ) ( void ) pxTCB
311 #ifndef portPRE_TASK_DELETE_HOOK
312 #define portPRE_TASK_DELETE_HOOK( pvTaskToDelete, pxYieldPending )
315 #ifndef portSETUP_TCB
316 #define portSETUP_TCB( pxTCB ) ( void ) pxTCB
319 #ifndef configQUEUE_REGISTRY_SIZE
320 #define configQUEUE_REGISTRY_SIZE 0U
323 #if ( configQUEUE_REGISTRY_SIZE < 1 )
324 #define vQueueAddToRegistry( xQueue, pcName )
325 #define vQueueUnregisterQueue( xQueue )
326 #define pcQueueGetName( xQueue )
329 #ifndef portPOINTER_SIZE_TYPE
330 #define portPOINTER_SIZE_TYPE uint32_t
346 #ifndef traceTASK_SWITCHED_IN
349 #define traceTASK_SWITCHED_IN()
352 #ifndef traceINCREASE_TICK_COUNT
355 #define traceINCREASE_TICK_COUNT( x )
358 #ifndef traceLOW_POWER_IDLE_BEGIN
360 #define traceLOW_POWER_IDLE_BEGIN()
363 #ifndef traceLOW_POWER_IDLE_END
365 #define traceLOW_POWER_IDLE_END()
368 #ifndef traceTASK_SWITCHED_OUT
371 #define traceTASK_SWITCHED_OUT()
374 #ifndef traceTASK_PRIORITY_INHERIT
380 #define traceTASK_PRIORITY_INHERIT( pxTCBOfMutexHolder, uxInheritedPriority )
383 #ifndef traceTASK_PRIORITY_DISINHERIT
388 #define traceTASK_PRIORITY_DISINHERIT( pxTCBOfMutexHolder, uxOriginalPriority )
391 #ifndef traceBLOCKING_ON_QUEUE_RECEIVE
396 #define traceBLOCKING_ON_QUEUE_RECEIVE( pxQueue )
399 #ifndef traceBLOCKING_ON_QUEUE_SEND
404 #define traceBLOCKING_ON_QUEUE_SEND( pxQueue )
407 #ifndef configCHECK_FOR_STACK_OVERFLOW
408 #define configCHECK_FOR_STACK_OVERFLOW 0
413 #ifndef traceMOVED_TASK_TO_READY_STATE
414 #define traceMOVED_TASK_TO_READY_STATE( pxTCB )
417 #ifndef tracePOST_MOVED_TASK_TO_READY_STATE
418 #define tracePOST_MOVED_TASK_TO_READY_STATE( pxTCB )
421 #ifndef traceQUEUE_CREATE
422 #define traceQUEUE_CREATE( pxNewQueue )
425 #ifndef traceQUEUE_CREATE_FAILED
426 #define traceQUEUE_CREATE_FAILED( ucQueueType )
429 #ifndef traceCREATE_MUTEX
430 #define traceCREATE_MUTEX( pxNewQueue )
433 #ifndef traceCREATE_MUTEX_FAILED
434 #define traceCREATE_MUTEX_FAILED()
437 #ifndef traceGIVE_MUTEX_RECURSIVE
438 #define traceGIVE_MUTEX_RECURSIVE( pxMutex )
441 #ifndef traceGIVE_MUTEX_RECURSIVE_FAILED
442 #define traceGIVE_MUTEX_RECURSIVE_FAILED( pxMutex )
445 #ifndef traceTAKE_MUTEX_RECURSIVE
446 #define traceTAKE_MUTEX_RECURSIVE( pxMutex )
449 #ifndef traceTAKE_MUTEX_RECURSIVE_FAILED
450 #define traceTAKE_MUTEX_RECURSIVE_FAILED( pxMutex )
453 #ifndef traceCREATE_COUNTING_SEMAPHORE
454 #define traceCREATE_COUNTING_SEMAPHORE()
457 #ifndef traceCREATE_COUNTING_SEMAPHORE_FAILED
458 #define traceCREATE_COUNTING_SEMAPHORE_FAILED()
461 #ifndef traceQUEUE_SEND
462 #define traceQUEUE_SEND( pxQueue )
465 #ifndef traceQUEUE_SEND_FAILED
466 #define traceQUEUE_SEND_FAILED( pxQueue )
469 #ifndef traceQUEUE_RECEIVE
470 #define traceQUEUE_RECEIVE( pxQueue )
473 #ifndef traceQUEUE_PEEK
474 #define traceQUEUE_PEEK( pxQueue )
477 #ifndef traceQUEUE_PEEK_FROM_ISR
478 #define traceQUEUE_PEEK_FROM_ISR( pxQueue )
481 #ifndef traceQUEUE_RECEIVE_FAILED
482 #define traceQUEUE_RECEIVE_FAILED( pxQueue )
485 #ifndef traceQUEUE_SEND_FROM_ISR
486 #define traceQUEUE_SEND_FROM_ISR( pxQueue )
489 #ifndef traceQUEUE_SEND_FROM_ISR_FAILED
490 #define traceQUEUE_SEND_FROM_ISR_FAILED( pxQueue )
493 #ifndef traceQUEUE_RECEIVE_FROM_ISR
494 #define traceQUEUE_RECEIVE_FROM_ISR( pxQueue )
497 #ifndef traceQUEUE_RECEIVE_FROM_ISR_FAILED
498 #define traceQUEUE_RECEIVE_FROM_ISR_FAILED( pxQueue )
501 #ifndef traceQUEUE_PEEK_FROM_ISR_FAILED
502 #define traceQUEUE_PEEK_FROM_ISR_FAILED( pxQueue )
505 #ifndef traceQUEUE_DELETE
506 #define traceQUEUE_DELETE( pxQueue )
509 #ifndef traceTASK_CREATE
510 #define traceTASK_CREATE( pxNewTCB )
513 #ifndef traceTASK_CREATE_FAILED
514 #define traceTASK_CREATE_FAILED()
517 #ifndef traceTASK_DELETE
518 #define traceTASK_DELETE( pxTaskToDelete )
521 #ifndef traceTASK_DELAY_UNTIL
522 #define traceTASK_DELAY_UNTIL( x )
525 #ifndef traceTASK_DELAY
526 #define traceTASK_DELAY()
529 #ifndef traceTASK_PRIORITY_SET
530 #define traceTASK_PRIORITY_SET( pxTask, uxNewPriority )
533 #ifndef traceTASK_SUSPEND
534 #define traceTASK_SUSPEND( pxTaskToSuspend )
537 #ifndef traceTASK_RESUME
538 #define traceTASK_RESUME( pxTaskToResume )
541 #ifndef traceTASK_RESUME_FROM_ISR
542 #define traceTASK_RESUME_FROM_ISR( pxTaskToResume )
545 #ifndef traceTASK_INCREMENT_TICK
546 #define traceTASK_INCREMENT_TICK( xTickCount )
549 #ifndef traceTIMER_CREATE
550 #define traceTIMER_CREATE( pxNewTimer )
553 #ifndef traceTIMER_CREATE_FAILED
554 #define traceTIMER_CREATE_FAILED()
557 #ifndef traceTIMER_COMMAND_SEND
558 #define traceTIMER_COMMAND_SEND( xTimer, xMessageID, xMessageValueValue, xReturn )
561 #ifndef traceTIMER_EXPIRED
562 #define traceTIMER_EXPIRED( pxTimer )
565 #ifndef traceTIMER_COMMAND_RECEIVED
566 #define traceTIMER_COMMAND_RECEIVED( pxTimer, xMessageID, xMessageValue )
570 #define traceMALLOC( pvAddress, uiSize )
574 #define traceFREE( pvAddress, uiSize )
577 #ifndef traceEVENT_GROUP_CREATE
578 #define traceEVENT_GROUP_CREATE( xEventGroup )
581 #ifndef traceEVENT_GROUP_CREATE_FAILED
582 #define traceEVENT_GROUP_CREATE_FAILED()
585 #ifndef traceEVENT_GROUP_SYNC_BLOCK
586 #define traceEVENT_GROUP_SYNC_BLOCK( xEventGroup, uxBitsToSet, uxBitsToWaitFor )
589 #ifndef traceEVENT_GROUP_SYNC_END
590 #define traceEVENT_GROUP_SYNC_END( xEventGroup, uxBitsToSet, uxBitsToWaitFor, xTimeoutOccurred ) ( void ) xTimeoutOccurred
593 #ifndef traceEVENT_GROUP_WAIT_BITS_BLOCK
594 #define traceEVENT_GROUP_WAIT_BITS_BLOCK( xEventGroup, uxBitsToWaitFor )
597 #ifndef traceEVENT_GROUP_WAIT_BITS_END
598 #define traceEVENT_GROUP_WAIT_BITS_END( xEventGroup, uxBitsToWaitFor, xTimeoutOccurred ) ( void ) xTimeoutOccurred
601 #ifndef traceEVENT_GROUP_CLEAR_BITS
602 #define traceEVENT_GROUP_CLEAR_BITS( xEventGroup, uxBitsToClear )
605 #ifndef traceEVENT_GROUP_CLEAR_BITS_FROM_ISR
606 #define traceEVENT_GROUP_CLEAR_BITS_FROM_ISR( xEventGroup, uxBitsToClear )
609 #ifndef traceEVENT_GROUP_SET_BITS
610 #define traceEVENT_GROUP_SET_BITS( xEventGroup, uxBitsToSet )
613 #ifndef traceEVENT_GROUP_SET_BITS_FROM_ISR
614 #define traceEVENT_GROUP_SET_BITS_FROM_ISR( xEventGroup, uxBitsToSet )
617 #ifndef traceEVENT_GROUP_DELETE
618 #define traceEVENT_GROUP_DELETE( xEventGroup )
621 #ifndef tracePEND_FUNC_CALL
622 #define tracePEND_FUNC_CALL(xFunctionToPend, pvParameter1, ulParameter2, ret)
625 #ifndef tracePEND_FUNC_CALL_FROM_ISR
626 #define tracePEND_FUNC_CALL_FROM_ISR(xFunctionToPend, pvParameter1, ulParameter2, ret)
629 #ifndef traceQUEUE_REGISTRY_ADD
630 #define traceQUEUE_REGISTRY_ADD(xQueue, pcQueueName)
633 #ifndef traceTASK_NOTIFY_TAKE_BLOCK
634 #define traceTASK_NOTIFY_TAKE_BLOCK()
637 #ifndef traceTASK_NOTIFY_TAKE
638 #define traceTASK_NOTIFY_TAKE()
641 #ifndef traceTASK_NOTIFY_WAIT_BLOCK
642 #define traceTASK_NOTIFY_WAIT_BLOCK()
645 #ifndef traceTASK_NOTIFY_WAIT
646 #define traceTASK_NOTIFY_WAIT()
649 #ifndef traceTASK_NOTIFY
650 #define traceTASK_NOTIFY()
653 #ifndef traceTASK_NOTIFY_FROM_ISR
654 #define traceTASK_NOTIFY_FROM_ISR()
657 #ifndef traceTASK_NOTIFY_GIVE_FROM_ISR
658 #define traceTASK_NOTIFY_GIVE_FROM_ISR()
661 #ifndef configGENERATE_RUN_TIME_STATS
662 #define configGENERATE_RUN_TIME_STATS 0
665 #if ( configGENERATE_RUN_TIME_STATS == 1 )
667 #ifndef portCONFIGURE_TIMER_FOR_RUN_TIME_STATS
668 #error If configGENERATE_RUN_TIME_STATS is defined then portCONFIGURE_TIMER_FOR_RUN_TIME_STATS must also be defined. portCONFIGURE_TIMER_FOR_RUN_TIME_STATS should call a port layer function to setup a peripheral timer/counter that can then be used as the run time counter time base.
671 #ifndef portGET_RUN_TIME_COUNTER_VALUE
672 #ifndef portALT_GET_RUN_TIME_COUNTER_VALUE
673 #error If configGENERATE_RUN_TIME_STATS is defined then either portGET_RUN_TIME_COUNTER_VALUE or portALT_GET_RUN_TIME_COUNTER_VALUE must also be defined. See the examples provided and the FreeRTOS web site for more information.
679 #ifndef portCONFIGURE_TIMER_FOR_RUN_TIME_STATS
680 #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
683 #ifndef configUSE_MALLOC_FAILED_HOOK
684 #define configUSE_MALLOC_FAILED_HOOK 0
687 #ifndef portPRIVILEGE_BIT
688 #define portPRIVILEGE_BIT ( ( UBaseType_t ) 0x00 )
691 #ifndef portYIELD_WITHIN_API
692 #define portYIELD_WITHIN_API portYIELD
695 #ifndef portSUPPRESS_TICKS_AND_SLEEP
696 #define portSUPPRESS_TICKS_AND_SLEEP( xExpectedIdleTime )
699 #ifndef configEXPECTED_IDLE_TIME_BEFORE_SLEEP
700 #define configEXPECTED_IDLE_TIME_BEFORE_SLEEP 2
703 #if configEXPECTED_IDLE_TIME_BEFORE_SLEEP < 2
704 #error configEXPECTED_IDLE_TIME_BEFORE_SLEEP must not be less than 2
707 #ifndef configUSE_TICKLESS_IDLE
708 #define configUSE_TICKLESS_IDLE 0
711 #ifndef configPRE_SLEEP_PROCESSING
712 #define configPRE_SLEEP_PROCESSING( x )
715 #ifndef configPOST_SLEEP_PROCESSING
716 #define configPOST_SLEEP_PROCESSING( x )
719 #ifndef configUSE_QUEUE_SETS
720 #define configUSE_QUEUE_SETS 0
723 #ifndef portTASK_USES_FLOATING_POINT
724 #define portTASK_USES_FLOATING_POINT()
727 #ifndef configUSE_TIME_SLICING
728 #define configUSE_TIME_SLICING 1
731 #ifndef configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS
732 #define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS 0
735 #ifndef configUSE_STATS_FORMATTING_FUNCTIONS
736 #define configUSE_STATS_FORMATTING_FUNCTIONS 0
739 #ifndef portASSERT_IF_INTERRUPT_PRIORITY_INVALID
740 #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
743 #ifndef configUSE_TRACE_FACILITY
744 #define configUSE_TRACE_FACILITY 0
747 #ifndef mtCOVERAGE_TEST_MARKER
748 #define mtCOVERAGE_TEST_MARKER()
751 #ifndef mtCOVERAGE_TEST_DELAY
752 #define mtCOVERAGE_TEST_DELAY()
755 #ifndef portASSERT_IF_IN_ISR
756 #define portASSERT_IF_IN_ISR()
759 #ifndef configUSE_PORT_OPTIMISED_TASK_SELECTION
760 #define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
763 #ifndef configAPPLICATION_ALLOCATED_HEAP
764 #define configAPPLICATION_ALLOCATED_HEAP 0
767 #ifndef configUSE_TASK_NOTIFICATIONS
768 #define configUSE_TASK_NOTIFICATIONS 1
771 #ifndef portTICK_TYPE_IS_ATOMIC
772 #define portTICK_TYPE_IS_ATOMIC 0
775 #ifndef configSUPPORT_STATIC_ALLOCATION
777 #define configSUPPORT_STATIC_ALLOCATION 1
780 #ifndef configSUPPORT_DYNAMIC_ALLOCATION
782 #define configSUPPORT_DYNAMIC_ALLOCATION 1
786 #if( configUSE_TICKLESS_IDLE != 0 )
787 #if( INCLUDE_vTaskSuspend != 1 )
788 #error INCLUDE_vTaskSuspend must be set to 1 if configUSE_TICKLESS_IDLE is not set to 0
792 #if( ( configSUPPORT_STATIC_ALLOCATION == 0 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 0 ) )
793 #error configSUPPORT_STATIC_ALLOCATION and configSUPPORT_DYNAMIC_ALLOCATION cannot both be 0, but can both be 1.
796 #if( ( configUSE_RECURSIVE_MUTEXES == 1 ) && ( configUSE_MUTEXES != 1 ) )
797 #error configUSE_MUTEXES must be set to 1 to use recursive mutexes
800 #if( portTICK_TYPE_IS_ATOMIC == 0 )
804 #define portTICK_TYPE_ENTER_CRITICAL() portENTER_CRITICAL()
805 #define portTICK_TYPE_EXIT_CRITICAL() portEXIT_CRITICAL()
806 #define portTICK_TYPE_SET_INTERRUPT_MASK_FROM_ISR() portSET_INTERRUPT_MASK_FROM_ISR()
807 #define portTICK_TYPE_CLEAR_INTERRUPT_MASK_FROM_ISR( x ) portCLEAR_INTERRUPT_MASK_FROM_ISR( ( x ) )
811 #define portTICK_TYPE_ENTER_CRITICAL()
812 #define portTICK_TYPE_EXIT_CRITICAL()
813 #define portTICK_TYPE_SET_INTERRUPT_MASK_FROM_ISR() 0
814 #define portTICK_TYPE_CLEAR_INTERRUPT_MASK_FROM_ISR( x ) ( void ) x
819 #ifndef configENABLE_BACKWARD_COMPATIBILITY
820 #define configENABLE_BACKWARD_COMPATIBILITY 1
823 #if configENABLE_BACKWARD_COMPATIBILITY == 1
824 #define eTaskStateGet eTaskGetState
825 #define portTickType TickType_t
826 #define xTaskHandle TaskHandle_t
827 #define xQueueHandle QueueHandle_t
828 #define xSemaphoreHandle SemaphoreHandle_t
829 #define xQueueSetHandle QueueSetHandle_t
830 #define xQueueSetMemberHandle QueueSetMemberHandle_t
831 #define xTimeOutType TimeOut_t
832 #define xMemoryRegion MemoryRegion_t
833 #define xTaskParameters TaskParameters_t
834 #define xTaskStatusType TaskStatus_t
835 #define xTimerHandle TimerHandle_t
836 #define xCoRoutineHandle CoRoutineHandle_t
837 #define pdTASK_HOOK_CODE TaskHookFunction_t
838 #define portTICK_RATE_MS portTICK_PERIOD_MS
839 #define portTICK_RATE_MICROSECONDS portTICK_PERIOD_MICROSECONDS
840 #define pcTaskGetTaskName pcTaskGetName
841 #define pcTimerGetTimerName pcTimerGetName
842 #define pcQueueGetQueueName pcQueueGetName
843 #define vTaskGetTaskInfo vTaskGetInfo
847 #define tmrTIMER_CALLBACK TimerCallbackFunction_t
848 #define pdTASK_CODE TaskFunction_t
849 #define xListItem ListItem_t
853 #if( configUSE_ALTERNATIVE_API != 0 )
854 #error The alternative API was deprecated some time ago, and was removed in FreeRTOS V9.0 0
861 #ifndef configUSE_TASK_FPU_SUPPORT
862 #define configUSE_TASK_FPU_SUPPORT 1
910 #if ( portUSING_MPU_WRAPPERS == 1 )
911 xMPU_SETTINGS xDummy2;
917 #if ( portSTACK_GROWTH > 0 )
920 #if ( portCRITICAL_NESTING_IN_TCB == 1 )
923 #if ( configUSE_TRACE_FACILITY == 1 )
926 #if ( configUSE_MUTEXES == 1 )
929 #if ( configUSE_APPLICATION_TASK_TAG == 1 )
932 #if( configNUM_THREAD_LOCAL_STORAGE_POINTERS > 0 )
933 void *pvDummy15[ configNUM_THREAD_LOCAL_STORAGE_POINTERS ];
935 #if ( configGENERATE_RUN_TIME_STATS == 1 )
938 #if ( configUSE_NEWLIB_REENTRANT == 1 )
939 struct _reent xDummy17;
941 #if ( configUSE_TASK_NOTIFICATIONS == 1 )
945 #if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
975 uint8_t ucDummy5[ 2 ];
977 #if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
981 #if ( configUSE_QUEUE_SETS == 1 )
985 #if ( configUSE_TRACE_FACILITY == 1 )
1011 #if( configUSE_TRACE_FACILITY == 1 )
1015 #if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
1040 void *pvDummy5[ 2 ];
1041 #if( configUSE_TRACE_FACILITY == 1 )
1045 #if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
Definition: FreeRTOS.h:875
Definition: FreeRTOS.h:965
#define configMAX_TASK_NAME_LEN
The maximum length of a task name.
Definition: FreeRTOSConfig.h:82
Definition: FreeRTOS.h:1035
uint32_t TickType_t
FreeRTOS definition for a single tick.
Definition: portmacro.h:98
unsigned long UBaseType_t
FreeRTOS definition for unsigned long ints.
Definition: portmacro.h:92
Definition: FreeRTOS.h:882
Definition: FreeRTOS.h:908
Definition: FreeRTOS.h:1007
Definition: FreeRTOS.h:889