This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches

Been having trouble integrating systemview for tracing FreeRTOS application. I came across this thread, and even tried replacing the files with what's inside the PatchedFiles.zip folder, and I see there's an #include "SEGGER_SYSVIEW_FreeRTOS.h" inside FreeRTOSConfig.h, but upon compiling I start seeing a bunch of undefined reference errors including undefined reference to SEGGER_SYSVIEW_RecordVoid'`
Looks like traceTASK functions are invoked but it can't seem to find the reference. Anything obvious that I haven't figured out?
Parents Reply
  • In that case, let us not focus on official support direction as that would be not likely to be prioritized on personal projects scope.

    Let us focus on trying to fix this or a workaround

    I see there's an #include "SEGGER_SYSVIEW_FreeRTOS.h" inside FreeRTOSConfig.h, but upon compiling I start seeing a bunch of undefined reference errors including undefined reference to SEGGER_SYSVIEW_RecordVoid'`

     I downloaded SystemView Target source files and able to see that Sample\FreeRTOSVx\SEGGER_SYSVIEW_FreeRTOS.h file and the SEGGER_SYSVIEW.c where the implementation for SEGGER_SYSVIEW_RecordVoid exists. Try pulling these into your project

Children
Related