HPM APP
HPMicro Application solution
FreeRTOSConfig.h File Reference
#include "board.h"

Go to the source code of this file.

Macros

#define configMTIME_BASE_ADDRESS   (0)
 
#define configMTIMECMP_BASE_ADDRESS   (0)
 
#define configUSE_PREEMPTION   1
 
#define configCPU_CLOCK_HZ   ((uint32_t) 24000000)
 
#define configTICK_RATE_HZ   ((TickType_t) 1000)
 
#define configMAX_PRIORITIES   (32)
 
#define configMINIMAL_STACK_SIZE   (256)
 
#define configMAX_TASK_NAME_LEN   16
 
#define configUSE_16_BIT_TICKS   0
 
#define configIDLE_SHOULD_YIELD   0
 
#define configUSE_APPLICATION_TASK_TAG   0
 
#define configGENERATE_RUN_TIME_STATS   0
 
#define configUSE_COUNTING_SEMAPHORES   1
 
#define configUSE_MUTEXES   1
 
#define configSUPPORT_STATIC_ALLOCATION   0
 
#define configSUPPORT_DYNAMIC_ALLOCATION   1
 
#define configTOTAL_HEAP_SIZE   ((size_t) (20 * 1024))
 
#define configUSE_IDLE_HOOK   0
 
#define configUSE_TICK_HOOK   0
 
#define configCHECK_FOR_STACK_OVERFLOW   0
 
#define configUSE_RECURSIVE_MUTEXES   1
 
#define configUSE_MALLOC_FAILED_HOOK   0
 
#define configUSE_DAEMON_TASK_STARTUP_HOOK   0
 
#define configGENERATE_RUN_TIME_STATS   0
 
#define configUSE_TRACE_FACILITY   1
 
#define configUSE_STATS_FORMATTING_FUNCTIONS   0
 
#define INCLUDE_vTaskPrioritySet   1
 
#define INCLUDE_uxTaskPriorityGet   1
 
#define INCLUDE_vTaskDelete   1
 
#define INCLUDE_vTaskCleanUpResources   1
 
#define INCLUDE_vTaskSuspend   1
 
#define INCLUDE_vTaskDelayUntil   1
 
#define INCLUDE_vTaskDelay   1
 
#define INCLUDE_xTaskGetCurrentTaskHandle   1
 
#define INCLUDE_xTimerPendFunctionCall   1
 
#define INCLUDE_eTaskGetState   1
 
#define INCLUDE_xTaskAbortDelay   1
 
#define INCLUDE_xTaskGetHandle   1
 
#define INCLUDE_xSemaphoreGetMutexHolder   1
 
#define configUSE_CO_ROUTINES   0
 
#define configMAX_CO_ROUTINE_PRIORITIES   2
 
#define configUSE_TIMERS   1
 
#define configTIMER_TASK_PRIORITY   (configMAX_PRIORITIES - 1)
 
#define configTIMER_QUEUE_LENGTH   4
 
#define configTIMER_TASK_STACK_DEPTH   (configMINIMAL_STACK_SIZE)
 
#define uartPRIMARY_PRIORITY   (configMAX_PRIORITIES - 3)
 
#define configASSERT(x)   if ((x) == 0) { taskDISABLE_INTERRUPTS(); __asm volatile("ebreak"); for (;;); }
 
#define configCOMMAND_INT_MAX_OUTPUT_SIZE   2096
 
#define configINCLUDE_QUERY_HEAP_COMMAND   1
 
#define configSETUP_TICK_INTERRUPT()   vConfigureTickInterrupt()
 
#define configCLEAR_TICK_INTERRUPT()   vClearTickInterrupt()
 
#define configPRE_SLEEP_PROCESSING(uxExpectedIdleTime)   vPreSleepProcessing(uxExpectedIdleTime);
 
#define configPOST_SLEEP_PROCESSING(uxExpectedIdleTime)   vPostSleepProcessing(uxExpectedIdleTime);
 
#define fabs(x)   __builtin_fabs(x)
 
#define configHSP_ENABLE   0
 

Functions

void vAssertCalled (const char *pcFile, unsigned long ulLine)
 
void vConfigureTickInterrupt (void)
 
void vClearTickInterrupt (void)
 
void vPreSleepProcessing (unsigned long uxExpectedIdleTime)
 
void vPostSleepProcessing (unsigned long uxExpectedIdleTime)
 

Macro Definition Documentation

◆ configASSERT

#define configASSERT (   x)    if ((x) == 0) { taskDISABLE_INTERRUPTS(); __asm volatile("ebreak"); for (;;); }

◆ configCHECK_FOR_STACK_OVERFLOW

#define configCHECK_FOR_STACK_OVERFLOW   0

◆ configCLEAR_TICK_INTERRUPT

#define configCLEAR_TICK_INTERRUPT ( )    vClearTickInterrupt()

◆ configCOMMAND_INT_MAX_OUTPUT_SIZE

#define configCOMMAND_INT_MAX_OUTPUT_SIZE   2096

◆ configCPU_CLOCK_HZ

#define configCPU_CLOCK_HZ   ((uint32_t) 24000000)

◆ configGENERATE_RUN_TIME_STATS [1/2]

#define configGENERATE_RUN_TIME_STATS   0

◆ configGENERATE_RUN_TIME_STATS [2/2]

#define configGENERATE_RUN_TIME_STATS   0

◆ configHSP_ENABLE

#define configHSP_ENABLE   0

◆ configIDLE_SHOULD_YIELD

#define configIDLE_SHOULD_YIELD   0

◆ configINCLUDE_QUERY_HEAP_COMMAND

#define configINCLUDE_QUERY_HEAP_COMMAND   1

◆ configMAX_CO_ROUTINE_PRIORITIES

#define configMAX_CO_ROUTINE_PRIORITIES   2

◆ configMAX_PRIORITIES

#define configMAX_PRIORITIES   (32)

◆ configMAX_TASK_NAME_LEN

#define configMAX_TASK_NAME_LEN   16

◆ configMINIMAL_STACK_SIZE

#define configMINIMAL_STACK_SIZE   (256)

◆ configMTIME_BASE_ADDRESS

#define configMTIME_BASE_ADDRESS   (0)

◆ configMTIMECMP_BASE_ADDRESS

#define configMTIMECMP_BASE_ADDRESS   (0)

◆ configPOST_SLEEP_PROCESSING

#define configPOST_SLEEP_PROCESSING (   uxExpectedIdleTime)    vPostSleepProcessing(uxExpectedIdleTime);

◆ configPRE_SLEEP_PROCESSING

#define configPRE_SLEEP_PROCESSING (   uxExpectedIdleTime)    vPreSleepProcessing(uxExpectedIdleTime);

◆ configSETUP_TICK_INTERRUPT

#define configSETUP_TICK_INTERRUPT ( )    vConfigureTickInterrupt()

◆ configSUPPORT_DYNAMIC_ALLOCATION

#define configSUPPORT_DYNAMIC_ALLOCATION   1

◆ configSUPPORT_STATIC_ALLOCATION

#define configSUPPORT_STATIC_ALLOCATION   0

◆ configTICK_RATE_HZ

#define configTICK_RATE_HZ   ((TickType_t) 1000)

◆ configTIMER_QUEUE_LENGTH

#define configTIMER_QUEUE_LENGTH   4

◆ configTIMER_TASK_PRIORITY

#define configTIMER_TASK_PRIORITY   (configMAX_PRIORITIES - 1)

◆ configTIMER_TASK_STACK_DEPTH

#define configTIMER_TASK_STACK_DEPTH   (configMINIMAL_STACK_SIZE)

◆ configTOTAL_HEAP_SIZE

#define configTOTAL_HEAP_SIZE   ((size_t) (20 * 1024))

◆ configUSE_16_BIT_TICKS

#define configUSE_16_BIT_TICKS   0

◆ configUSE_APPLICATION_TASK_TAG

#define configUSE_APPLICATION_TASK_TAG   0

◆ configUSE_CO_ROUTINES

#define configUSE_CO_ROUTINES   0

◆ configUSE_COUNTING_SEMAPHORES

#define configUSE_COUNTING_SEMAPHORES   1

◆ configUSE_DAEMON_TASK_STARTUP_HOOK

#define configUSE_DAEMON_TASK_STARTUP_HOOK   0

◆ configUSE_IDLE_HOOK

#define configUSE_IDLE_HOOK   0

◆ configUSE_MALLOC_FAILED_HOOK

#define configUSE_MALLOC_FAILED_HOOK   0

◆ configUSE_MUTEXES

#define configUSE_MUTEXES   1

◆ configUSE_PREEMPTION

#define configUSE_PREEMPTION   1

◆ configUSE_RECURSIVE_MUTEXES

#define configUSE_RECURSIVE_MUTEXES   1

◆ configUSE_STATS_FORMATTING_FUNCTIONS

#define configUSE_STATS_FORMATTING_FUNCTIONS   0

◆ configUSE_TICK_HOOK

#define configUSE_TICK_HOOK   0

◆ configUSE_TIMERS

#define configUSE_TIMERS   1

◆ configUSE_TRACE_FACILITY

#define configUSE_TRACE_FACILITY   1

◆ fabs

#define fabs (   x)    __builtin_fabs(x)

◆ INCLUDE_eTaskGetState

#define INCLUDE_eTaskGetState   1

◆ INCLUDE_uxTaskPriorityGet

#define INCLUDE_uxTaskPriorityGet   1

◆ INCLUDE_vTaskCleanUpResources

#define INCLUDE_vTaskCleanUpResources   1

◆ INCLUDE_vTaskDelay

#define INCLUDE_vTaskDelay   1

◆ INCLUDE_vTaskDelayUntil

#define INCLUDE_vTaskDelayUntil   1

◆ INCLUDE_vTaskDelete

#define INCLUDE_vTaskDelete   1

◆ INCLUDE_vTaskPrioritySet

#define INCLUDE_vTaskPrioritySet   1

◆ INCLUDE_vTaskSuspend

#define INCLUDE_vTaskSuspend   1

◆ INCLUDE_xSemaphoreGetMutexHolder

#define INCLUDE_xSemaphoreGetMutexHolder   1

◆ INCLUDE_xTaskAbortDelay

#define INCLUDE_xTaskAbortDelay   1

◆ INCLUDE_xTaskGetCurrentTaskHandle

#define INCLUDE_xTaskGetCurrentTaskHandle   1

◆ INCLUDE_xTaskGetHandle

#define INCLUDE_xTaskGetHandle   1

◆ INCLUDE_xTimerPendFunctionCall

#define INCLUDE_xTimerPendFunctionCall   1

◆ uartPRIMARY_PRIORITY

#define uartPRIMARY_PRIORITY   (configMAX_PRIORITIES - 3)

Function Documentation

◆ vAssertCalled()

void vAssertCalled ( const char *  pcFile,
unsigned long  ulLine 
)

◆ vClearTickInterrupt()

void vClearTickInterrupt ( void  )

◆ vConfigureTickInterrupt()

void vConfigureTickInterrupt ( void  )

◆ vPostSleepProcessing()

void vPostSleepProcessing ( unsigned long  uxExpectedIdleTime)

◆ vPreSleepProcessing()

void vPreSleepProcessing ( unsigned long  uxExpectedIdleTime)