]> granicus.if.org Git - esp-idf/commitdiff
sys_view: expose max tasks configuration parameter
authorMahavir Jain <mahavir@espressif.com>
Tue, 5 Feb 2019 12:48:24 +0000 (18:18 +0530)
committerMahavir Jain <mahavir@espressif.com>
Tue, 5 Feb 2019 12:48:24 +0000 (18:18 +0530)
components/app_trace/Kconfig
components/app_trace/sys_view/Sample/OS/SEGGER_SYSVIEW_FreeRTOS.h

index 5eb4eea74743f0ea7d1c7dfbf7bba52a0717ee99..064f9cf7c005a53aafd5d9cb7aaa147957eb706e 100644 (file)
@@ -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
index 6d4f8762387645c0e06092e5e98a7de7169e90e3..a13af030b6babdbf6e5abe8c4a3834cd837c079c 100644 (file)
@@ -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
 
 /*********************************************************************
 *