FreeRTOS configuration.
Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
#include <sysclk.h>
#include <stdint.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 | ) | if( ( x ) == 0 ) assert_triggered( __FILE__, __LINE__ ) |
Referenced by configure_interrupt_controller(), configure_rx_dma(), create_peripheral_control_semaphores(), create_task_command(), create_usart_tasks(), delete_task_command(), FreeRTOS_CLIRegisterCommand(), freertos_spi_master_init(), freertos_twi_master_init(), freertos_uart_serial_init(), freertos_uart_serial_read_packet(), freertos_usart_serial_init(), freertos_usart_serial_read_packet(), local_uart_handler(), local_usart_handler(), main(), multi_parameter_echo_command(), pcTaskGetName(), portTASK_FUNCTION(), prvHeapInit(), prvInitialiseNewStreamBuffer(), prvInitialiseTaskLists(), prvReadBytesFromBuffer(), prvWriteBytesToBuffer(), pvPortMalloc(), run_time_stats_command(), task_stats_command(), three_parameter_echo_command(), usart_echo_tx_task(), uxQueueMessagesWaiting(), uxQueueMessagesWaitingFromISR(), uxQueueSpacesAvailable(), vApplicationMallocFailedHook(), vEventGroupDelete(), vPortDefineHeapRegions(), vPortFree(), vPrimeStackInitTask(), vQueueDelete(), vStreamBufferDelete(), vTaskIncrementTick(), vTaskPlaceOnEventList(), vTaskPlaceOnUnorderedEventList(), vTaskRemoveFromUnorderedEventList(), vTaskSetTimeOutState(), vTaskStartScheduler(), vTaskSwitchContext(), xEventGroupClearBits(), xEventGroupSetBits(), xEventGroupSync(), xEventGroupWaitBits(), xQueueGenericCreate(), xQueueGenericReceive(), xQueueGenericReset(), xQueueGenericSend(), xQueueGenericSendFromISR(), xQueueGiveFromISR(), xQueueIsQueueEmptyFromISR(), xQueueIsQueueFullFromISR(), xQueuePeek(), xQueuePeekFromISR(), xQueueReceive(), xQueueReceiveFromISR(), xQueueSemaphoreTake(), xStreamBufferBytesAvailable(), xStreamBufferIsEmpty(), xStreamBufferIsFull(), xStreamBufferReceive(), xStreamBufferReceiveCompletedFromISR(), xStreamBufferReceiveFromISR(), xStreamBufferReset(), xStreamBufferSend(), xStreamBufferSendCompletedFromISR(), xStreamBufferSendFromISR(), xStreamBufferSetTriggerLevel(), xStreamBufferSpacesAvailable(), xTaskCheckForTimeOut(), xTaskRemoveFromEventList(), xTaskRemoveFromUnorderedEventList(), and xTaskResumeAll().
#define configCHECK_FOR_STACK_OVERFLOW 2 |
#define configCOMMAND_INT_MAX_OUTPUT_SIZE 400 |
#define configCPU_CLOCK_HZ ( sysclk_get_cpu_hz() ) |
Referenced by configure_timer_for_run_time_stats(), and get_run_time_counter_value().
#define configENABLE_BACKWARD_COMPATIBILITY 1 |
#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 |
Referenced by configure_interrupt_controller().
#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 10 |
Referenced by configure_interrupt_controller(), and create_usart_tasks().
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) |
Referenced by prvInitialiseCoRoutineLists(), and xCoRoutineCreate().
#define configMAX_PRIORITIES ( 5UL ) |
Referenced by os_hook_init(), prvInitialiseTaskLists(), prvInitialiseTCBVariables(), and xCoRoutineCreate().
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) |
Referenced by app_widget_launch_lpm_sleep().
#define configMAX_TASK_NAME_LEN ( 10 ) |
Referenced by prvInitialiseTCBVariables().
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 160 ) |
#define configPRIO_BITS 4 /* 15 priority levels */ |
#define configQUEUE_REGISTRY_SIZE 8 |
#define configTICK_RATE_HZ ( ( portTickType ) 1000 ) |
Referenced by get_run_time_counter_value().
#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 ) ) |
Referenced by prvHeapInit().
#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_STATS_FORMATTING_FUNCTIONS 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 | ( | ) | configure_timer_for_run_time_stats() |
Referenced by vTaskStartScheduler().
#define portGET_RUN_TIME_COUNTER_VALUE | ( | ) | get_run_time_counter_value() |
Referenced by vTaskSwitchContext().
#define vPortSVCHandler SVC_Handler |
#define xPortPendSVHandler PendSV_Handler |
#define xPortSysTickHandler SysTick_Handler |
Referenced by 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 | ) |