FreeRTOS Tetris
Macros | Typedefs | Functions
FreeRTOS Configurations

Some FreeRTOS configurations. More...

Collaboration diagram for FreeRTOS Configurations:

Macros

#define configUSE_PREEMPTION   1
 Whether to use preemption or not.
 
#define configUSE_IDLE_HOOK   1
 Whether to use the idle hook.

 
#define configUSE_TICK_HOOK   0
 Whether to use the tick rate hook.
 
#define configTICK_RATE_HZ   ( ( TickType_t ) 1000 )
 The tick rate.
 
#define configMINIMAL_STACK_SIZE   ( ( unsigned short ) 4 )
 The minimal stack size. This can be made smaller if required.
 
#define configTOTAL_HEAP_SIZE   ( ( size_t ) ( 32 * 1024 ) )
 The total heap size.
 
#define configMAX_TASK_NAME_LEN   ( 16 )
 The maximum length of a task name.
 
#define configUSE_TRACE_FACILITY   1
 Whether to use the trace facility.
 
#define configUSE_STATS_FORMATTING_FUNCTIONS   1
 Whether use stats formatting functions.
 
#define configGENERATE_RUN_TIME_STATS   1
 Enable/Disable runtime stats generation.
 
#define configUSE_16_BIT_TICKS   0
 Enable/Disable 16-bit ticks (32-bit default)
 
#define configIDLE_SHOULD_YIELD   1
 Enable/Disable idle task yields.
 
#define configUSE_CO_ROUTINES   1
 Enable/Disable co-routines.
 
#define configUSE_MUTEXES   1
 Enable/Disable Mutexes.
 
#define configUSE_TASK_NOTIFICATIONS   1
 Enable/Disable task notifications.
 
#define configUSE_COUNTING_SEMAPHORES   1
 Enable/Disable counting semaphores.
 
#define configUSE_ALTERNATIVE_API   0
 Enable/Disable an alternative API.
 
#define configUSE_RECURSIVE_MUTEXES   1
 Enable/Disable recursive Mutexes

 
#define configCHECK_FOR_STACK_OVERFLOW   0
 Whether to check for stack overflow. Do not use this option on the PC port.
 
#define configUSE_APPLICATION_TASK_TAG   1
 Enable/Disable application task tags.
 
#define configQUEUE_REGISTRY_SIZE   0
 Set the queue registry size.
 
#define configMAX_SYSCALL_INTERRUPT_PRIORITY   1
 Set the maximum syscall interrupt priority.
 
#define configMAX_PRIORITIES   ( 10 )
 Set the maximum number of priorities.
 
#define configMAX_CO_ROUTINE_PRIORITIES   ( 2 )
 Set the maximum number of co-routines.
 
#define INCLUDE_vTaskPrioritySet   1
 Enable/Disable vTaskPrioritySet()
 
#define INCLUDE_uxTaskPriorityGet   1
 Enable/Disable uxTaskPriorityGet()

 
#define INCLUDE_vTaskDelete   1
 Enable/Disable vTaskDelete()
 
#define INCLUDE_vTaskCleanUpResources   1
 Enable/Disable vTaskCleanUpResources()
 
#define INCLUDE_vTaskSuspend   1
 Enable/Disable vTaskSuspend()
 
#define INCLUDE_vTaskDelayUntil   1
 Enable/Disable vTaskDelayUntil()
 
#define INCLUDE_vTaskDelay   1
 Enable/Disable vTaskDelay()
 
#define INCLUDE_uxTaskGetStackHighWaterMark   0
 Enable/Disable vTaskGetStackHighWaterMark(). Do not use this option on the PC port.
 
#define INCLUDE_xTaskGetSchedulerState   1
 Enable/Disable xTaskGetSchedulerState()

 
#define traceQUEUE_SEND(pxQueue)   vMainQueueSendPassed()
 
#define configTIMER_SERVICE_TASK_NAME   "Tmr Svc"
 
#define configTIMER_TASK_PRIORITY   (configMAX_PRIORITIES - 1)
 Set the priority of the timer task.
 
#define configTIMER_TASK_STACK_DEPTH   (configMINIMAL_STACK_SIZE*2)
 Set the stack depth of the timer task.
 
#define configTIMER_QUEUE_LENGTH   10
 Set the queue length of the timer.
 
#define portMAX_DELAY   ( TickType_t ) 0xffffffffUL
 The maximum possible delay.
 
#define portTICK_TYPE_IS_ATOMIC   1
 32-bit tick type on a 32-bit architecture, so reads of the tick count do not need to be guarded with a critical section.
 
#define portSTACK_GROWTH   ( -1 )
 The stack growth.
 
#define portTICK_PERIOD_MS   ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
 The tick period in ms.
 
#define portTICK_PERIOD_MICROSECONDS   ( ( TickType_t ) 1000000 / configTICK_RATE_HZ )
 The tick period in us.
 
#define portBYTE_ALIGNMENT   4
 The byte alignment.
 
#define portREMOVE_STATIC_QUALIFIER
 Whether to remove the static qualifier.
 

Typedefs

typedef portSTACK_TYPE StackType_t
 FreeRTOS defintions for the Stack Type.
 
typedef long BaseType_t
 FreeRTOS definition for long ints.
 
typedef unsigned long UBaseType_t
 FreeRTOS definition for unsigned long ints.
 
typedef uint32_t TickType_t
 FreeRTOS definition for a single tick.
 

Functions

void vMainQueueSendPassed (void)
 

Detailed Description

Some FreeRTOS configurations.

Macro Definition Documentation

◆ configTIMER_SERVICE_TASK_NAME

#define configTIMER_SERVICE_TASK_NAME   "Tmr Svc"

#include <FreeRTOSConfig.h>

Set the name of the timer service task