diff --git a/components/app_trace/Kconfig b/components/app_trace/Kconfig index 5eb4eea74..064f9cf7c 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 6d4f87623..a13af030b 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 /********************************************************************* *