title: FreeRTOS - vTaskList undefined reference
body: <p>I am trying to use vTaskList function to monitor tasks being used.
  In order to use vTaskList, I configure the macro below.</p>
  
  <pre><code>#define configUSE_TRACE_FACILITY        1
  #define configUSE_STATS_FORMATTING_FUNCTIONS 1
  </code></pre>
  
  <p>and below is task code to display task list.</p>
  
  <pre class="lang-c prettyprint-override"><code>  void TASK_LIST()
      {
          signed char pWriteBuffer[2048];
          for(;;)
          {
              vTaskList(pWriteBuffer);
              printf("task_name   task_state  priority   stack  tasK_num\n");
              printf("%s\n", pWriteBuffer);
          }
          vTaskDelete(NULL);
          return;
      }
  </code></pre>
  
  <p>However, the error just showed up for undefined reference</p>
  
  <p>What caused this error? </p>
  
  <p>Thank you.</p>
  
  <blockquote>
    <p>Ps. For my original situation, there is no macro for
    configUSE_STATS_FORMATTING_FUNCTIONS in FreeRTOSConfig.h. so I add it
    manually.</p>
  </blockquote>
  
  <p>Now I am searching building command to build whole project
  <a href="https://i.stack.imgur.com/jrIn1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jrIn1.png" alt="enter image description here"></a></p>