70 #ifndef INC_FREERTOS_H 71 #define INC_FREERTOS_H 98 #include "FreeRTOSConfig.h" 112 #ifndef configMINIMAL_STACK_SIZE 113 #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. 116 #ifndef configMAX_PRIORITIES 117 #error Missing definition: configMAX_PRIORITIES must be defined in FreeRTOSConfig.h. See the Configuration section of the FreeRTOS API documentation for details. 120 #ifndef configUSE_PREEMPTION 121 #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. 124 #ifndef configUSE_IDLE_HOOK 125 #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. 128 #ifndef configUSE_TICK_HOOK 129 #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. 132 #ifndef configUSE_16_BIT_TICKS 133 #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. 136 #ifndef configMAX_PRIORITIES 137 #error configMAX_PRIORITIES must be defined to be greater than or equal to 1. 140 #ifndef configUSE_CO_ROUTINES 141 #define configUSE_CO_ROUTINES 0 144 #ifndef INCLUDE_vTaskPrioritySet 145 #define INCLUDE_vTaskPrioritySet 0 148 #ifndef INCLUDE_uxTaskPriorityGet 149 #define INCLUDE_uxTaskPriorityGet 0 152 #ifndef INCLUDE_vTaskDelete 153 #define INCLUDE_vTaskDelete 0 156 #ifndef INCLUDE_vTaskSuspend 157 #define INCLUDE_vTaskSuspend 0 160 #ifndef INCLUDE_vTaskDelayUntil 161 #define INCLUDE_vTaskDelayUntil 0 164 #ifndef INCLUDE_vTaskDelay 165 #define INCLUDE_vTaskDelay 0 168 #ifndef INCLUDE_xTaskGetIdleTaskHandle 169 #define INCLUDE_xTaskGetIdleTaskHandle 0 172 #ifndef INCLUDE_xTaskAbortDelay 173 #define INCLUDE_xTaskAbortDelay 0 176 #ifndef INCLUDE_xQueueGetMutexHolder 177 #define INCLUDE_xQueueGetMutexHolder 0 180 #ifndef INCLUDE_xSemaphoreGetMutexHolder 181 #define INCLUDE_xSemaphoreGetMutexHolder INCLUDE_xQueueGetMutexHolder 184 #ifndef INCLUDE_xTaskGetTaskHandle 185 #define INCLUDE_xTaskGetTaskHandle 0 188 #ifndef INCLUDE_uxTaskGetStackHighWaterMark 189 #define INCLUDE_uxTaskGetStackHighWaterMark 0 192 #ifndef INCLUDE_eTaskGetState 193 #define INCLUDE_eTaskGetState 0 196 #ifndef INCLUDE_xTaskResumeFromISR 197 #define INCLUDE_xTaskResumeFromISR 1 200 #ifndef INCLUDE_xTimerPendFunctionCall 201 #define INCLUDE_xTimerPendFunctionCall 0 204 #ifndef INCLUDE_xTaskGetSchedulerState 205 #define INCLUDE_xTaskGetSchedulerState 0 208 #ifndef INCLUDE_xTaskGetCurrentTaskHandle 209 #define INCLUDE_xTaskGetCurrentTaskHandle 0 212 #if configUSE_CO_ROUTINES != 0 213 #ifndef configMAX_CO_ROUTINE_PRIORITIES 214 #error configMAX_CO_ROUTINE_PRIORITIES must be greater than or equal to 1. 218 #ifndef configUSE_DAEMON_TASK_STARTUP_HOOK 219 #define configUSE_DAEMON_TASK_STARTUP_HOOK 0 222 #ifndef configUSE_APPLICATION_TASK_TAG 223 #define configUSE_APPLICATION_TASK_TAG 0 226 #ifndef configNUM_THREAD_LOCAL_STORAGE_POINTERS 227 #define configNUM_THREAD_LOCAL_STORAGE_POINTERS 0 230 #ifndef configUSE_RECURSIVE_MUTEXES 231 #define configUSE_RECURSIVE_MUTEXES 0 234 #ifndef configUSE_MUTEXES 235 #define configUSE_MUTEXES 0 238 #ifndef configUSE_TIMERS 239 #define configUSE_TIMERS 0 242 #ifndef configUSE_COUNTING_SEMAPHORES 243 #define configUSE_COUNTING_SEMAPHORES 0 246 #ifndef configUSE_ALTERNATIVE_API 247 #define configUSE_ALTERNATIVE_API 0 250 #ifndef portCRITICAL_NESTING_IN_TCB 251 #define portCRITICAL_NESTING_IN_TCB 0 254 #ifndef configMAX_TASK_NAME_LEN 255 #define configMAX_TASK_NAME_LEN 16 258 #ifndef configIDLE_SHOULD_YIELD 259 #define configIDLE_SHOULD_YIELD 1 262 #if configMAX_TASK_NAME_LEN < 1 263 #error configMAX_TASK_NAME_LEN must be set to a minimum of 1 in FreeRTOSConfig.h 267 #define configASSERT( x ) 268 #define configASSERT_DEFINED 0 270 #define configASSERT_DEFINED 1 274 #if configUSE_TIMERS == 1 276 #ifndef configTIMER_TASK_PRIORITY 277 #error If configUSE_TIMERS is set to 1 then configTIMER_TASK_PRIORITY must also be defined. 280 #ifndef configTIMER_QUEUE_LENGTH 281 #error If configUSE_TIMERS is set to 1 then configTIMER_QUEUE_LENGTH must also be defined. 284 #ifndef configTIMER_TASK_STACK_DEPTH 285 #error If configUSE_TIMERS is set to 1 then configTIMER_TASK_STACK_DEPTH must also be defined. 290 #ifndef portSET_INTERRUPT_MASK_FROM_ISR 291 #define portSET_INTERRUPT_MASK_FROM_ISR() 0 294 #ifndef portCLEAR_INTERRUPT_MASK_FROM_ISR 295 #define portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedStatusValue ) ( void ) uxSavedStatusValue 298 #ifndef portCLEAN_UP_TCB 299 #define portCLEAN_UP_TCB( pxTCB ) ( void ) pxTCB 302 #ifndef portPRE_TASK_DELETE_HOOK 303 #define portPRE_TASK_DELETE_HOOK( pvTaskToDelete, pxYieldPending ) 306 #ifndef portSETUP_TCB 307 #define portSETUP_TCB( pxTCB ) ( void ) pxTCB 310 #ifndef configQUEUE_REGISTRY_SIZE 311 #define configQUEUE_REGISTRY_SIZE 0U 314 #if ( configQUEUE_REGISTRY_SIZE < 1 ) 315 #define vQueueAddToRegistry( xQueue, pcName ) 316 #define vQueueUnregisterQueue( xQueue ) 317 #define pcQueueGetName( xQueue ) 320 #ifndef portPOINTER_SIZE_TYPE 321 #define portPOINTER_SIZE_TYPE uint32_t 337 #ifndef traceTASK_SWITCHED_IN 340 #define traceTASK_SWITCHED_IN() 343 #ifndef traceINCREASE_TICK_COUNT 346 #define traceINCREASE_TICK_COUNT( x ) 349 #ifndef traceLOW_POWER_IDLE_BEGIN 351 #define traceLOW_POWER_IDLE_BEGIN() 354 #ifndef traceLOW_POWER_IDLE_END 356 #define traceLOW_POWER_IDLE_END() 359 #ifndef traceTASK_SWITCHED_OUT 362 #define traceTASK_SWITCHED_OUT() 365 #ifndef traceTASK_PRIORITY_INHERIT 371 #define traceTASK_PRIORITY_INHERIT( pxTCBOfMutexHolder, uxInheritedPriority ) 374 #ifndef traceTASK_PRIORITY_DISINHERIT 379 #define traceTASK_PRIORITY_DISINHERIT( pxTCBOfMutexHolder, uxOriginalPriority ) 382 #ifndef traceBLOCKING_ON_QUEUE_RECEIVE 387 #define traceBLOCKING_ON_QUEUE_RECEIVE( pxQueue ) 390 #ifndef traceBLOCKING_ON_QUEUE_SEND 395 #define traceBLOCKING_ON_QUEUE_SEND( pxQueue ) 398 #ifndef configCHECK_FOR_STACK_OVERFLOW 399 #define configCHECK_FOR_STACK_OVERFLOW 0 404 #ifndef traceMOVED_TASK_TO_READY_STATE 405 #define traceMOVED_TASK_TO_READY_STATE( pxTCB ) 408 #ifndef tracePOST_MOVED_TASK_TO_READY_STATE 409 #define tracePOST_MOVED_TASK_TO_READY_STATE( pxTCB ) 412 #ifndef traceQUEUE_CREATE 413 #define traceQUEUE_CREATE( pxNewQueue ) 416 #ifndef traceQUEUE_CREATE_FAILED 417 #define traceQUEUE_CREATE_FAILED( ucQueueType ) 420 #ifndef traceCREATE_MUTEX 421 #define traceCREATE_MUTEX( pxNewQueue ) 424 #ifndef traceCREATE_MUTEX_FAILED 425 #define traceCREATE_MUTEX_FAILED() 428 #ifndef traceGIVE_MUTEX_RECURSIVE 429 #define traceGIVE_MUTEX_RECURSIVE( pxMutex ) 432 #ifndef traceGIVE_MUTEX_RECURSIVE_FAILED 433 #define traceGIVE_MUTEX_RECURSIVE_FAILED( pxMutex ) 436 #ifndef traceTAKE_MUTEX_RECURSIVE 437 #define traceTAKE_MUTEX_RECURSIVE( pxMutex ) 440 #ifndef traceTAKE_MUTEX_RECURSIVE_FAILED 441 #define traceTAKE_MUTEX_RECURSIVE_FAILED( pxMutex ) 444 #ifndef traceCREATE_COUNTING_SEMAPHORE 445 #define traceCREATE_COUNTING_SEMAPHORE() 448 #ifndef traceCREATE_COUNTING_SEMAPHORE_FAILED 449 #define traceCREATE_COUNTING_SEMAPHORE_FAILED() 452 #ifndef traceQUEUE_SEND 453 #define traceQUEUE_SEND( pxQueue ) 456 #ifndef traceQUEUE_SEND_FAILED 457 #define traceQUEUE_SEND_FAILED( pxQueue ) 460 #ifndef traceQUEUE_RECEIVE 461 #define traceQUEUE_RECEIVE( pxQueue ) 464 #ifndef traceQUEUE_PEEK 465 #define traceQUEUE_PEEK( pxQueue ) 468 #ifndef traceQUEUE_PEEK_FROM_ISR 469 #define traceQUEUE_PEEK_FROM_ISR( pxQueue ) 472 #ifndef traceQUEUE_RECEIVE_FAILED 473 #define traceQUEUE_RECEIVE_FAILED( pxQueue ) 476 #ifndef traceQUEUE_SEND_FROM_ISR 477 #define traceQUEUE_SEND_FROM_ISR( pxQueue ) 480 #ifndef traceQUEUE_SEND_FROM_ISR_FAILED 481 #define traceQUEUE_SEND_FROM_ISR_FAILED( pxQueue ) 484 #ifndef traceQUEUE_RECEIVE_FROM_ISR 485 #define traceQUEUE_RECEIVE_FROM_ISR( pxQueue ) 488 #ifndef traceQUEUE_RECEIVE_FROM_ISR_FAILED 489 #define traceQUEUE_RECEIVE_FROM_ISR_FAILED( pxQueue ) 492 #ifndef traceQUEUE_PEEK_FROM_ISR_FAILED 493 #define traceQUEUE_PEEK_FROM_ISR_FAILED( pxQueue ) 496 #ifndef traceQUEUE_DELETE 497 #define traceQUEUE_DELETE( pxQueue ) 500 #ifndef traceTASK_CREATE 501 #define traceTASK_CREATE( pxNewTCB ) 504 #ifndef traceTASK_CREATE_FAILED 505 #define traceTASK_CREATE_FAILED() 508 #ifndef traceTASK_DELETE 509 #define traceTASK_DELETE( pxTaskToDelete ) 512 #ifndef traceTASK_DELAY_UNTIL 513 #define traceTASK_DELAY_UNTIL( x ) 516 #ifndef traceTASK_DELAY 517 #define traceTASK_DELAY() 520 #ifndef traceTASK_PRIORITY_SET 521 #define traceTASK_PRIORITY_SET( pxTask, uxNewPriority ) 524 #ifndef traceTASK_SUSPEND 525 #define traceTASK_SUSPEND( pxTaskToSuspend ) 528 #ifndef traceTASK_RESUME 529 #define traceTASK_RESUME( pxTaskToResume ) 532 #ifndef traceTASK_RESUME_FROM_ISR 533 #define traceTASK_RESUME_FROM_ISR( pxTaskToResume ) 536 #ifndef traceTASK_INCREMENT_TICK 537 #define traceTASK_INCREMENT_TICK( xTickCount ) 540 #ifndef traceTIMER_CREATE 541 #define traceTIMER_CREATE( pxNewTimer ) 544 #ifndef traceTIMER_CREATE_FAILED 545 #define traceTIMER_CREATE_FAILED() 548 #ifndef traceTIMER_COMMAND_SEND 549 #define traceTIMER_COMMAND_SEND( xTimer, xMessageID, xMessageValueValue, xReturn ) 552 #ifndef traceTIMER_EXPIRED 553 #define traceTIMER_EXPIRED( pxTimer ) 556 #ifndef traceTIMER_COMMAND_RECEIVED 557 #define traceTIMER_COMMAND_RECEIVED( pxTimer, xMessageID, xMessageValue ) 561 #define traceMALLOC( pvAddress, uiSize ) 565 #define traceFREE( pvAddress, uiSize ) 568 #ifndef traceEVENT_GROUP_CREATE 569 #define traceEVENT_GROUP_CREATE( xEventGroup ) 572 #ifndef traceEVENT_GROUP_CREATE_FAILED 573 #define traceEVENT_GROUP_CREATE_FAILED() 576 #ifndef traceEVENT_GROUP_SYNC_BLOCK 577 #define traceEVENT_GROUP_SYNC_BLOCK( xEventGroup, uxBitsToSet, uxBitsToWaitFor ) 580 #ifndef traceEVENT_GROUP_SYNC_END 581 #define traceEVENT_GROUP_SYNC_END( xEventGroup, uxBitsToSet, uxBitsToWaitFor, xTimeoutOccurred ) ( void ) xTimeoutOccurred 584 #ifndef traceEVENT_GROUP_WAIT_BITS_BLOCK 585 #define traceEVENT_GROUP_WAIT_BITS_BLOCK( xEventGroup, uxBitsToWaitFor ) 588 #ifndef traceEVENT_GROUP_WAIT_BITS_END 589 #define traceEVENT_GROUP_WAIT_BITS_END( xEventGroup, uxBitsToWaitFor, xTimeoutOccurred ) ( void ) xTimeoutOccurred 592 #ifndef traceEVENT_GROUP_CLEAR_BITS 593 #define traceEVENT_GROUP_CLEAR_BITS( xEventGroup, uxBitsToClear ) 596 #ifndef traceEVENT_GROUP_CLEAR_BITS_FROM_ISR 597 #define traceEVENT_GROUP_CLEAR_BITS_FROM_ISR( xEventGroup, uxBitsToClear ) 600 #ifndef traceEVENT_GROUP_SET_BITS 601 #define traceEVENT_GROUP_SET_BITS( xEventGroup, uxBitsToSet ) 604 #ifndef traceEVENT_GROUP_SET_BITS_FROM_ISR 605 #define traceEVENT_GROUP_SET_BITS_FROM_ISR( xEventGroup, uxBitsToSet ) 608 #ifndef traceEVENT_GROUP_DELETE 609 #define traceEVENT_GROUP_DELETE( xEventGroup ) 612 #ifndef tracePEND_FUNC_CALL 613 #define tracePEND_FUNC_CALL(xFunctionToPend, pvParameter1, ulParameter2, ret) 616 #ifndef tracePEND_FUNC_CALL_FROM_ISR 617 #define tracePEND_FUNC_CALL_FROM_ISR(xFunctionToPend, pvParameter1, ulParameter2, ret) 620 #ifndef traceQUEUE_REGISTRY_ADD 621 #define traceQUEUE_REGISTRY_ADD(xQueue, pcQueueName) 624 #ifndef traceTASK_NOTIFY_TAKE_BLOCK 625 #define traceTASK_NOTIFY_TAKE_BLOCK() 628 #ifndef traceTASK_NOTIFY_TAKE 629 #define traceTASK_NOTIFY_TAKE() 632 #ifndef traceTASK_NOTIFY_WAIT_BLOCK 633 #define traceTASK_NOTIFY_WAIT_BLOCK() 636 #ifndef traceTASK_NOTIFY_WAIT 637 #define traceTASK_NOTIFY_WAIT() 640 #ifndef traceTASK_NOTIFY 641 #define traceTASK_NOTIFY() 644 #ifndef traceTASK_NOTIFY_FROM_ISR 645 #define traceTASK_NOTIFY_FROM_ISR() 648 #ifndef traceTASK_NOTIFY_GIVE_FROM_ISR 649 #define traceTASK_NOTIFY_GIVE_FROM_ISR() 652 #ifndef configGENERATE_RUN_TIME_STATS 653 #define configGENERATE_RUN_TIME_STATS 0 656 #if ( configGENERATE_RUN_TIME_STATS == 1 ) 658 #ifndef portCONFIGURE_TIMER_FOR_RUN_TIME_STATS 659 #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. 662 #ifndef portGET_RUN_TIME_COUNTER_VALUE 663 #ifndef portALT_GET_RUN_TIME_COUNTER_VALUE 664 #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. 670 #ifndef portCONFIGURE_TIMER_FOR_RUN_TIME_STATS 671 #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() 674 #ifndef configUSE_MALLOC_FAILED_HOOK 675 #define configUSE_MALLOC_FAILED_HOOK 0 678 #ifndef portPRIVILEGE_BIT 679 #define portPRIVILEGE_BIT ( ( UBaseType_t ) 0x00 ) 682 #ifndef portYIELD_WITHIN_API 683 #define portYIELD_WITHIN_API portYIELD 686 #ifndef portSUPPRESS_TICKS_AND_SLEEP 687 #define portSUPPRESS_TICKS_AND_SLEEP( xExpectedIdleTime ) 690 #ifndef configEXPECTED_IDLE_TIME_BEFORE_SLEEP 691 #define configEXPECTED_IDLE_TIME_BEFORE_SLEEP 2 694 #if configEXPECTED_IDLE_TIME_BEFORE_SLEEP < 2 695 #error configEXPECTED_IDLE_TIME_BEFORE_SLEEP must not be less than 2 698 #ifndef configUSE_TICKLESS_IDLE 699 #define configUSE_TICKLESS_IDLE 0 702 #ifndef configPRE_SLEEP_PROCESSING 703 #define configPRE_SLEEP_PROCESSING( x ) 706 #ifndef configPOST_SLEEP_PROCESSING 707 #define configPOST_SLEEP_PROCESSING( x ) 710 #ifndef configUSE_QUEUE_SETS 711 #define configUSE_QUEUE_SETS 0 714 #ifndef portTASK_USES_FLOATING_POINT 715 #define portTASK_USES_FLOATING_POINT() 718 #ifndef configUSE_TIME_SLICING 719 #define configUSE_TIME_SLICING 1 722 #ifndef configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS 723 #define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS 0 726 #ifndef configUSE_NEWLIB_REENTRANT 727 #define configUSE_NEWLIB_REENTRANT 0 730 #ifndef configUSE_STATS_FORMATTING_FUNCTIONS 731 #define configUSE_STATS_FORMATTING_FUNCTIONS 0 734 #ifndef portASSERT_IF_INTERRUPT_PRIORITY_INVALID 735 #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() 738 #ifndef configUSE_TRACE_FACILITY 739 #define configUSE_TRACE_FACILITY 0 742 #ifndef mtCOVERAGE_TEST_MARKER 743 #define mtCOVERAGE_TEST_MARKER() 746 #ifndef mtCOVERAGE_TEST_DELAY 747 #define mtCOVERAGE_TEST_DELAY() 750 #ifndef portASSERT_IF_IN_ISR 751 #define portASSERT_IF_IN_ISR() 754 #ifndef configUSE_PORT_OPTIMISED_TASK_SELECTION 755 #define configUSE_PORT_OPTIMISED_TASK_SELECTION 0 758 #ifndef configAPPLICATION_ALLOCATED_HEAP 759 #define configAPPLICATION_ALLOCATED_HEAP 0 762 #ifndef configUSE_TASK_NOTIFICATIONS 763 #define configUSE_TASK_NOTIFICATIONS 1 766 #ifndef portTICK_TYPE_IS_ATOMIC 767 #define portTICK_TYPE_IS_ATOMIC 0 770 #ifndef configSUPPORT_STATIC_ALLOCATION 772 #define configSUPPORT_STATIC_ALLOCATION 0 775 #ifndef configSUPPORT_DYNAMIC_ALLOCATION 777 #define configSUPPORT_DYNAMIC_ALLOCATION 1 781 #if( configUSE_TICKLESS_IDLE != 0 ) 782 #if( INCLUDE_vTaskSuspend != 1 ) 783 #error INCLUDE_vTaskSuspend must be set to 1 if configUSE_TICKLESS_IDLE is not set to 0 787 #if( ( portUSING_MPU_WRAPPERS == 1 ) && ( configSUPPORT_STATIC_ALLOCATION != 1 ) ) 788 #error configSUPPORT_STATIC_ALLOCATION must be set to 1 in FreeRTOSConfig.h when the MPU is used. 791 #if( ( configSUPPORT_STATIC_ALLOCATION == 0 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 0 ) ) 792 #error configSUPPORT_STATIC_ALLOCATION and configSUPPORT_DYNAMIC_ALLOCATION cannot both be 0, but can both be 1. 795 #if( ( configUSE_RECURSIVE_MUTEXES == 1 ) && ( configUSE_MUTEXES != 1 ) ) 796 #error configUSE_MUTEXES must be set to 1 to use recursive mutexes 799 #if( portTICK_TYPE_IS_ATOMIC == 0 ) 803 #define portTICK_TYPE_ENTER_CRITICAL() portENTER_CRITICAL() 804 #define portTICK_TYPE_EXIT_CRITICAL() portEXIT_CRITICAL() 805 #define portTICK_TYPE_SET_INTERRUPT_MASK_FROM_ISR() portSET_INTERRUPT_MASK_FROM_ISR() 806 #define portTICK_TYPE_CLEAR_INTERRUPT_MASK_FROM_ISR( x ) portCLEAR_INTERRUPT_MASK_FROM_ISR( ( x ) ) 810 #define portTICK_TYPE_ENTER_CRITICAL() 811 #define portTICK_TYPE_EXIT_CRITICAL() 812 #define portTICK_TYPE_SET_INTERRUPT_MASK_FROM_ISR() 0 813 #define portTICK_TYPE_CLEAR_INTERRUPT_MASK_FROM_ISR( x ) ( void ) x 818 #ifndef configENABLE_BACKWARD_COMPATIBILITY 819 #define configENABLE_BACKWARD_COMPATIBILITY 1 822 #if configENABLE_BACKWARD_COMPATIBILITY == 1 823 #define eTaskStateGet eTaskGetState 824 #define portTickType TickType_t 825 #define xTaskHandle TaskHandle_t 826 #define xQueueHandle QueueHandle_t 827 #define xSemaphoreHandle SemaphoreHandle_t 828 #define xQueueSetHandle QueueSetHandle_t 829 #define xQueueSetMemberHandle QueueSetMemberHandle_t 830 #define xTimeOutType TimeOut_t 831 #define xMemoryRegion MemoryRegion_t 832 #define xTaskParameters TaskParameters_t 833 #define xTaskStatusType TaskStatus_t 834 #define xTimerHandle TimerHandle_t 835 #define xCoRoutineHandle CoRoutineHandle_t 836 #define pdTASK_HOOK_CODE TaskHookFunction_t 837 #define portTICK_RATE_MS portTICK_PERIOD_MS 838 #define pcTaskGetTaskName pcTaskGetName 839 #define pcTimerGetTimerName pcTimerGetName 843 #define tmrTIMER_CALLBACK TimerCallbackFunction_t 844 #define pdTASK_CODE TaskFunction_t 845 #define xListItem ListItem_t 849 #if( configUSE_ALTERNATIVE_API != 0 ) 850 #error The alternative API was deprecated some time ago, and was removed in FreeRTOS V9.0 0 857 #ifndef configUSE_TASK_FPU_SUPPORT 858 #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 ) 921 UBaseType_t uxDummy9;
923 #if ( configUSE_TRACE_FACILITY == 1 ) 924 UBaseType_t uxDummy10[ 2 ];
926 #if ( configUSE_MUTEXES == 1 ) 927 UBaseType_t uxDummy12[ 2 ];
929 #if ( configUSE_APPLICATION_TASK_TAG == 1 ) 932 #if( configNUM_THREAD_LOCAL_STORAGE_POINTERS > 0 ) 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 ) ) 976 UBaseType_t uxDummy4[ 3 ];
977 uint8_t ucDummy5[ 2 ];
979 #if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) 983 #if ( configUSE_QUEUE_SETS == 1 ) 987 #if ( configUSE_TRACE_FACILITY == 1 ) 988 UBaseType_t uxDummy8;
1014 #if( configUSE_TRACE_FACILITY == 1 ) 1015 UBaseType_t uxDummy3;
1018 #if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) 1044 void *pvDummy5[ 2 ];
1045 #if( configUSE_TRACE_FACILITY == 1 ) 1046 UBaseType_t uxDummy6;
1049 #if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) uint32_t ulDummy18
Definition: FreeRTOS.h:942
Definition: FreeRTOS.h:871
void * pvDummy1
Definition: FreeRTOS.h:1040
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS
Definition: FreeRTOS.h:227
StaticQueue_t StaticSemaphore_t
Definition: FreeRTOS.h:993
UBaseType_t uxDummy2
Definition: FreeRTOS.h:972
UBaseType_t uxDummy4
Definition: FreeRTOS.h:1043
TickType_t xDummy3
Definition: FreeRTOS.h:1042
UBaseType_t uxDummy1
Definition: FreeRTOS.h:889
TickType_t xDummy1
Definition: FreeRTOS.h:873
TickType_t xDummy1
Definition: FreeRTOS.h:1011
Definition: FreeRTOS.h:907
struct xSTATIC_TCB StaticTask_t
void * pvDummy2
Definition: FreeRTOS.h:890
void * pxDummy1
Definition: FreeRTOS.h:909
TickType_t xDummy1
Definition: FreeRTOS.h:881
void * pvDummy2
Definition: FreeRTOS.h:971
StaticList_t xDummy2
Definition: FreeRTOS.h:1012
struct xSTATIC_LIST StaticList_t
Definition: FreeRTOS.h:887
struct xSTATIC_EVENT_GROUP StaticEventGroup_t
Definition: FreeRTOS.h:879
void * pvDummy2[4]
Definition: FreeRTOS.h:874
struct xSTATIC_TIMER StaticTimer_t
uint8_t ucDummy19
Definition: FreeRTOS.h:943
UBaseType_t uxDummy5
Definition: FreeRTOS.h:914
StaticListItem_t xDummy2
Definition: FreeRTOS.h:1041
Definition: FreeRTOS.h:1009
struct xSTATIC_QUEUE StaticQueue_t
#define configMAX_TASK_NAME_LEN
Definition: FreeRTOS.h:255
StaticMiniListItem_t xDummy3
Definition: FreeRTOS.h:891
void * pxDummy6
Definition: FreeRTOS.h:915
Definition: FreeRTOS.h:965
Definition: FreeRTOS.h:1038