FreeRTOS configuration.
Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
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 cli_cdc_rx_notify(), configure_interrupt_controller(), configure_rx_dma(), create_peripheral_control_semaphores(), create_task_command(), create_twi_eeprom_test_task(), create_usart_cli_task(), create_usart_echo_test_tasks(), create_usb_cdc_cli_task(), delete_task_command(), eTaskGetState(), FreeRTOS_CLIRegisterCommand(), 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(), pcTimerGetName(), portTASK_FUNCTION(), prvCheckForValidListAndQueue(), prvDeleteTCB(), prvInitialiseNewStreamBuffer(), prvInitialiseNewTask(), prvInitialiseNewTimer(), prvProcessExpiredTimer(), prvProcessReceivedCommands(), prvReadBytesFromBuffer(), prvSwitchTimerLists(), prvTaskIsTaskSuspended(), prvWriteBytesToBuffer(), pvTimerGetTimerID(), run_time_stats_command(), task_stats_command(), three_parameter_echo_command(), usart_command_console_task(), usart_echo_rx_task(), usart_echo_tx_task(), uxQueueMessagesWaiting(), uxQueueMessagesWaitingFromISR(), uxQueueSpacesAvailable(), vEventGroupDelete(), vPortFree(), vQueueDelete(), vStreamBufferDelete(), vTaskDelay(), vTaskDelayUntil(), vTaskDelete(), vTaskNotifyGiveFromISR(), vTaskPlaceOnEventList(), vTaskPlaceOnEventListRestricted(), vTaskPlaceOnUnorderedEventList(), vTaskPriorityDisinheritAfterTimeout(), vTaskPrioritySet(), vTaskRemoveFromUnorderedEventList(), vTaskResume(), vTaskSetTimeOutState(), vTaskStartScheduler(), vTaskSuspend(), vTimerSetTimerID(), xEventGroupClearBits(), xEventGroupSetBits(), xEventGroupSync(), xEventGroupWaitBits(), xQueueCreateCountingSemaphore(), xQueueGenericCreate(), xQueueGenericReset(), xQueueGenericSend(), xQueueGenericSendFromISR(), xQueueGiveFromISR(), xQueueGiveMutexRecursive(), xQueueIsQueueEmptyFromISR(), xQueueIsQueueFullFromISR(), xQueuePeek(), xQueuePeekFromISR(), xQueueReceive(), xQueueReceiveFromISR(), xQueueSemaphoreTake(), xQueueTakeMutexRecursive(), xStreamBufferBytesAvailable(), xStreamBufferGenericCreate(), xStreamBufferIsEmpty(), xStreamBufferIsFull(), xStreamBufferReceive(), xStreamBufferReceiveCompletedFromISR(), xStreamBufferReceiveFromISR(), xStreamBufferReset(), xStreamBufferSend(), xStreamBufferSendCompletedFromISR(), xStreamBufferSendFromISR(), xStreamBufferSetTriggerLevel(), xStreamBufferSpacesAvailable(), xTaskCheckForTimeOut(), xTaskGenericNotify(), xTaskGenericNotifyFromISR(), xTaskPriorityDisinherit(), xTaskRemoveFromEventList(), xTaskResumeAll(), xTaskResumeFromISR(), xTimerGenericCommand(), xTimerGetExpiryTime(), xTimerGetPeriod(), xTimerGetTimerDaemonTaskHandle(), and xTimerIsTimerActive().
#define configCHECK_FOR_STACK_OVERFLOW 2 |
#define configCOMMAND_INT_MAX_OUTPUT_SIZE 400 |
Referenced by usart_command_console_task(), and usb_cdc_command_console_task().
#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 |
#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 ) |
Referenced by prvInitialiseNewTask(), and prvWriteNameToBuffer().
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 160 ) |
Referenced by create_task_command(), and vTaskStartScheduler().
#define configPRIO_BITS 4 /* 15 priority levels */ |
#define configQUEUE_REGISTRY_SIZE 8 |
Referenced by pcQueueGetName(), vQueueAddToRegistry(), and vQueueUnregisterQueue().
#define configTICK_RATE_HZ ( ( portTickType ) 1000 ) |
Referenced by get_run_time_counter_value().
#define configTIMER_QUEUE_LENGTH 5 |
Referenced by prvCheckForValidListAndQueue().
#define configTIMER_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) |
Referenced by prvCheckForValidListAndQueue().
#define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 ) |
Referenced by prvCheckForValidListAndQueue().
#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_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 uxTaskGetSystemState(), and vTaskSwitchContext().
#define vPortSVCHandler SVC_Handler |
#define xPortPendSVHandler PendSV_Handler |
#define xPortSysTickHandler SysTick_Handler |
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, and configCPU_CLOCK_HZ.
uint32_t get_run_time_counter_value | ( | void | ) |