feat(freertos): Added a Kconfig option for FreeRTOS Timer Service task name

This commit adds a Kconfig option for setting a custom name for the
FreeRTOS Timer Service task.
This commit is contained in:
Sudeep Mohanty 2023-09-08 16:13:06 +02:00
parent 51846b497b
commit 371ad531ee
2 changed files with 7 additions and 0 deletions

View File

@ -167,6 +167,12 @@ menu "FreeRTOS"
Enable backward compatibility with APIs prior to FreeRTOS v8.0.0. (see
configENABLE_BACKWARD_COMPATIBILITY documentation for more details).
config FREERTOS_TIMER_SERVICE_TASK_NAME
string "configTIMER_SERVICE_TASK_NAME"
default "Tmr Svc"
help
Sets the timer task's name (see configTIMER_SERVICE_TASK_NAME documentation for more details).
config FREERTOS_TIMER_TASK_PRIORITY
int "configTIMER_TASK_PRIORITY"
range 1 25

View File

@ -175,6 +175,7 @@
#define configTIMER_TASK_PRIORITY CONFIG_FREERTOS_TIMER_TASK_PRIORITY
#define configTIMER_QUEUE_LENGTH CONFIG_FREERTOS_TIMER_QUEUE_LENGTH
#define configTIMER_TASK_STACK_DEPTH CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH
#define configTIMER_SERVICE_TASK_NAME CONFIG_FREERTOS_TIMER_SERVICE_TASK_NAME
/* -------------------- API Includes ----------------------- */