FreeRTOS configuration.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include <stdint.h>
#include "sysclk.h"
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 1 |
#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 5 |
#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)0x5000) |
#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 0 |
#define configUSE_TRACE_FACILITY 0 |
#define INCLUDE_MODULE_TEST 0 |
#define INCLUDE_uxTaskPriorityGet 0 |
#define INCLUDE_vTaskCleanUpResources 0 |
#define INCLUDE_vTaskDelay 1 |
#define INCLUDE_vTaskDelayUntil 0 |
#define INCLUDE_vTaskDelete 1 |
#define INCLUDE_vTaskPrioritySet 1 |
#define INCLUDE_vTaskSuspend 0 |
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS | ( | ) | configure_timer_for_run_time_stats() |
#define portGET_RUN_TIME_COUNTER_VALUE | ( | ) | get_run_time_counter_value() |
void assert_triggered | ( | const char * | file, |
uint32_t | line | ||
) |
References taskENTER_CRITICAL, and taskEXIT_CRITICAL.
void configure_timer_for_run_time_stats | ( | void | ) |
References clocks_per_10th_ms, configCPU_CLOCK_HZ, pmc_enable_periph_clk(), tc_init(), tc_start(), and tc_write_rc().
uint32_t get_run_time_counter_value | ( | void | ) |