Microchip® Advanced Software Framework

FreeRTOSConfig.h File Reference

FreeRTOS configuration.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include "board.h"

Macros

#define configCPU_CLOCK_HZ   ( CHIP_FREQ_CPU_MAX ) /* Hz clk gen */
 
#define configDBG   0
 
#define configHEAP_INIT   0
 
#define configIDLE_SHOULD_YIELD   1
 
#define configKERNEL_INTERRUPT_PRIORITY   (0x0f << 4) /* Priority 15, or 255 as only the top four bits are implemented. This is the lowest priority. */
 
#define configMAX_CO_ROUTINE_PRIORITIES   (2)
 
#define configMAX_PRIORITIES   ( 4 )
 
#define configMAX_SYSCALL_INTERRUPT_PRIORITY   (0x05 << 4) /* Priority 5, or 80 as only the top four bits are implemented. */
 
#define configMAX_TASK_NAME_LEN   ( 20 )
 
#define configMINIMAL_STACK_SIZE   ( ( unsigned portSHORT ) 128 )
 
#define configPBA_CLOCK_HZ   ( CHIP_FREQ_CPU_MAX )
 
#define configTICK_RATE_HZ   ( ( portTickType ) 1000 )
 
#define configTICK_TC_CHANNEL   2
 
#define configTICK_USE_TC   0
 
#define configTOTAL_HEAP_SIZE   ( ( size_t ) ( 0x4000 ) )
 
#define configUSE_16_BIT_TICKS   0
 
#define configUSE_CO_ROUTINES   0
 
#define configUSE_IDLE_HOOK   1
 
#define configUSE_PREEMPTION   1
 
#define configUSE_TICK_HOOK   0
 
#define configUSE_TRACE_FACILITY   0
 
#define INCLUDE_uxTaskPriorityGet   0
 
#define INCLUDE_vTaskCleanUpResources   0
 
#define INCLUDE_vTaskDelay   1
 
#define INCLUDE_vTaskDelayUntil   0
 
#define INCLUDE_vTaskDelete   0
 
#define INCLUDE_vTaskPrioritySet   1
 
#define INCLUDE_vTaskSuspend   1
 
#define INCLUDE_xTaskGetCurrentTaskHandle   0
 
#define INCLUDE_xTaskGetSchedulerState   0
 
#define vPortSVCHandler   SVC_Handler
 
#define xPortPendSVHandler   PendSV_Handler
 
#define xPortSysTickHandler   SysTick_Handler
 

#define configCPU_CLOCK_HZ   ( CHIP_FREQ_CPU_MAX ) /* Hz clk gen */
#define configDBG   0
#define configHEAP_INIT   0
#define configIDLE_SHOULD_YIELD   1
#define configKERNEL_INTERRUPT_PRIORITY   (0x0f << 4) /* Priority 15, or 255 as only the top four bits are implemented. This is the lowest priority. */
#define configMAX_CO_ROUTINE_PRIORITIES   (2)
#define configMAX_PRIORITIES   ( 4 )
#define configMAX_SYSCALL_INTERRUPT_PRIORITY   (0x05 << 4) /* Priority 5, or 80 as only the top four bits are implemented. */
#define configMAX_TASK_NAME_LEN   ( 20 )

Referenced by prvInitialiseNewTask().

#define configMINIMAL_STACK_SIZE   ( ( unsigned portSHORT ) 128 )

Referenced by vTaskStartScheduler().

#define configPBA_CLOCK_HZ   ( CHIP_FREQ_CPU_MAX )
#define configTICK_RATE_HZ   ( ( portTickType ) 1000 )
#define configTICK_TC_CHANNEL   2
#define configTICK_USE_TC   0
#define configTOTAL_HEAP_SIZE   ( ( size_t ) ( 0x4000 ) )
#define configUSE_16_BIT_TICKS   0
#define configUSE_CO_ROUTINES   0
#define configUSE_IDLE_HOOK   1
#define configUSE_PREEMPTION   1
#define configUSE_TICK_HOOK   0
#define configUSE_TRACE_FACILITY   0
#define INCLUDE_uxTaskPriorityGet   0
#define INCLUDE_vTaskCleanUpResources   0
#define INCLUDE_vTaskDelay   1
#define INCLUDE_vTaskDelayUntil   0
#define INCLUDE_vTaskDelete   0
#define INCLUDE_vTaskPrioritySet   1
#define INCLUDE_vTaskSuspend   1
#define INCLUDE_xTaskGetCurrentTaskHandle   0
#define INCLUDE_xTaskGetSchedulerState   0
#define vPortSVCHandler   SVC_Handler
#define xPortPendSVHandler   PendSV_Handler
#define xPortSysTickHandler   SysTick_Handler