[SOLVED] Systemview FREERTOS INCLUDE_pxTaskGetStackStart

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Systemview FREERTOS INCLUDE_pxTaskGetStackStart

    Hello,
    In systemview documentation is recommended to include INCLUDE_pxTaskGetStackStart in FreeRTOSconfig.h. This will cause inclusion "pStack = pxTaskGetStackStart(pxTaskStatusArray[x].xHandle);" in file SEGGER_SYSVIEW_FreeRTOS.c, such function is defined as extern. However such function is not available in FreeRTOS source files.
    How to correctly initialize start of stack in such a case? What do you recommend? I am using 8.2.3 version of stack.
    rum
  • Hi,

    pxTaskGetStackStart is added with the FreeRTOS patch for SystemView.
    You can either apply the patch to your FreeRTOS Source, or use the current version V2.30,
    which does not require pxTaskGetStackStart.

    Best regards
    Johannes
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.