From: Mahavir Jain Date: Tue, 5 Feb 2019 12:48:24 +0000 (+0530) Subject: sys_view: expose max tasks configuration parameter X-Git-Tag: v3.3-beta2~59^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e00bac2bd58ad24e35b5c9083398889ddc74525b;p=esp-idf sys_view: expose max tasks configuration parameter --- 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 /********************************************************************* *