diff --git a/components/app_trace/Kconfig b/components/app_trace/Kconfig index 5eb4eea747..064f9cf7c0 100644 --- a/components/app_trace/Kconfig +++ b/components/app_trace/Kconfig @@ -99,6 +99,14 @@ menu "Application Level Tracing" endchoice + config SYSVIEW_MAX_TASKS + int "Maximum supported tasks" + depends on SYSVIEW_ENABLE + range 1 64 + default 16 + help + Configures maximum supported tasks in sysview debug + config SYSVIEW_EVT_OVERFLOW_ENABLE bool "Trace Buffer Overflow Event" depends on SYSVIEW_ENABLE diff --git a/components/app_trace/sys_view/Sample/OS/SEGGER_SYSVIEW_FreeRTOS.h b/components/app_trace/sys_view/Sample/OS/SEGGER_SYSVIEW_FreeRTOS.h index 6d4f876238..a13af030b6 100644 --- a/components/app_trace/sys_view/Sample/OS/SEGGER_SYSVIEW_FreeRTOS.h +++ b/components/app_trace/sys_view/Sample/OS/SEGGER_SYSVIEW_FreeRTOS.h @@ -80,7 +80,7 @@ Notes: #define portSTACK_GROWTH ( -1 ) #endif -#define SYSVIEW_FREERTOS_MAX_NOF_TASKS 16 +#define SYSVIEW_FREERTOS_MAX_NOF_TASKS CONFIG_SYSVIEW_MAX_TASKS /********************************************************************* *