Microchip® Advanced Software Framework

common/services/freertos/sam/unit_tests/freertos_usart_master/FreeRTOSConfig.h File Reference

FreeRTOS configuration.

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

#include <stdint.h>
#include <sysclk.h>

Macros

#define configASSERT(x)
 
#define configCHECK_FOR_STACK_OVERFLOW   2
 
#define configCOMMAND_INT_MAX_OUTPUT_SIZE   400
 
#define configCPU_CLOCK_HZ   ( sysclk_get_cpu_hz() )
 
#define configGENERATE_RUN_TIME_STATS   0
 
#define configIDLE_SHOULD_YIELD   1
 
#define configKERNEL_INTERRUPT_PRIORITY   ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
 
#define configLIBRARY_LOWEST_INTERRUPT_PRIORITY   0x0f
 
#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY   10
 
#define configMAX_CO_ROUTINE_PRIORITIES   ( 2 )
 
#define configMAX_PRIORITIES   ( 5UL )
 
#define configMAX_SYSCALL_INTERRUPT_PRIORITY   ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
 
#define configMAX_TASK_NAME_LEN   ( 10 )
 
#define configMINIMAL_STACK_SIZE   ( ( unsigned short ) 130 )
 
#define configPRIO_BITS   4 /* 15 priority levels */
 
#define configQUEUE_REGISTRY_SIZE   8
 
#define configTICK_RATE_HZ   ( ( portTickType ) 1000 )
 
#define configTIMER_QUEUE_LENGTH   5
 
#define configTIMER_TASK_PRIORITY   ( configMAX_PRIORITIES - 1 )
 
#define configTIMER_TASK_STACK_DEPTH   ( configMINIMAL_STACK_SIZE * 2 )
 
#define configTOTAL_HEAP_SIZE   ( ( size_t ) ( 16384 ) )
 
#define configUSE_16_BIT_TICKS   0
 
#define configUSE_APPLICATION_TASK_TAG   0
 
#define configUSE_CO_ROUTINES   0
 
#define configUSE_COUNTING_SEMAPHORES   1
 
#define configUSE_IDLE_HOOK   0
 
#define configUSE_MALLOC_FAILED_HOOK   1
 
#define configUSE_MUTEXES   1
 
#define configUSE_PORT_OPTIMISED_TASK_SELECTION   1
 
#define configUSE_PREEMPTION   1
 
#define configUSE_RECURSIVE_MUTEXES   1
 
#define configUSE_TICK_HOOK   0
 
#define configUSE_TICKLESS_IDLE   0
 
#define configUSE_TIMERS   1
 
#define configUSE_TRACE_FACILITY   1
 
#define INCLUDE_MODULE_TEST   0
 
#define INCLUDE_uxTaskPriorityGet   1
 
#define INCLUDE_vTaskCleanUpResources   1
 
#define INCLUDE_vTaskDelay   1
 
#define INCLUDE_vTaskDelayUntil   1
 
#define INCLUDE_vTaskDelete   1
 
#define INCLUDE_vTaskPrioritySet   1
 
#define INCLUDE_vTaskSuspend   1
 
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
 
#define portGET_RUN_TIME_COUNTER_VALUE()
 
#define vPortSVCHandler   SVC_Handler
 
#define xPortPendSVHandler   PendSV_Handler
 
#define xPortSysTickHandler   SysTick_Handler
 

Functions

void assert_triggered (const char *file, uint32_t line)
 
void configure_timer_for_run_time_stats (void)
 
uint32_t get_run_time_counter_value (void)
 

#define configASSERT (   x)
#define configCHECK_FOR_STACK_OVERFLOW   2
#define configCOMMAND_INT_MAX_OUTPUT_SIZE   400
#define configCPU_CLOCK_HZ   ( sysclk_get_cpu_hz() )
#define configGENERATE_RUN_TIME_STATS   0
#define configIDLE_SHOULD_YIELD   1
#define configKERNEL_INTERRUPT_PRIORITY   ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
#define configLIBRARY_LOWEST_INTERRUPT_PRIORITY   0x0f
#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY   10
#define configMAX_CO_ROUTINE_PRIORITIES   ( 2 )
#define configMAX_PRIORITIES   ( 5UL )
#define configMAX_SYSCALL_INTERRUPT_PRIORITY   ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
#define configMAX_TASK_NAME_LEN   ( 10 )
#define configMINIMAL_STACK_SIZE   ( ( unsigned short ) 130 )
#define configPRIO_BITS   4 /* 15 priority levels */
#define configQUEUE_REGISTRY_SIZE   8
#define configTICK_RATE_HZ   ( ( portTickType ) 1000 )
#define configTIMER_QUEUE_LENGTH   5
#define configTIMER_TASK_PRIORITY   ( configMAX_PRIORITIES - 1 )
#define configTIMER_TASK_STACK_DEPTH   ( configMINIMAL_STACK_SIZE * 2 )
#define configTOTAL_HEAP_SIZE   ( ( size_t ) ( 16384 ) )
#define configUSE_16_BIT_TICKS   0
#define configUSE_APPLICATION_TASK_TAG   0
#define configUSE_CO_ROUTINES   0
#define configUSE_COUNTING_SEMAPHORES   1
#define configUSE_IDLE_HOOK   0
#define configUSE_MALLOC_FAILED_HOOK   1
#define configUSE_MUTEXES   1
#define configUSE_PORT_OPTIMISED_TASK_SELECTION   1
#define configUSE_PREEMPTION   1
#define configUSE_RECURSIVE_MUTEXES   1
#define configUSE_TICK_HOOK   0
#define configUSE_TICKLESS_IDLE   0
#define configUSE_TIMERS   1
#define configUSE_TRACE_FACILITY   1
#define INCLUDE_MODULE_TEST   0
#define INCLUDE_uxTaskPriorityGet   1
#define INCLUDE_vTaskCleanUpResources   1
#define INCLUDE_vTaskDelay   1
#define INCLUDE_vTaskDelayUntil   1
#define INCLUDE_vTaskDelete   1
#define INCLUDE_vTaskPrioritySet   1
#define INCLUDE_vTaskSuspend   1
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS ( )
#define portGET_RUN_TIME_COUNTER_VALUE ( )
#define vPortSVCHandler   SVC_Handler
#define xPortPendSVHandler   PendSV_Handler
#define xPortSysTickHandler   SysTick_Handler

void assert_triggered ( const char *  file,
uint32_t  line 
)
void configure_timer_for_run_time_stats ( void  )
uint32_t get_run_time_counter_value ( void  )