[SOLVED] Removing SystemView from target fro production build

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

  • Hi Sid,

    Thank you for your inquiry.
    The generic approach that would work for any SystemView instrumentation is to encapsulate all SystemView calls with e.g. #if DEBUG or similar.

    In the case of FreeRTOS it is sufficient to make the include of the SEGGER_SYSVIEW_FreeRTOS.h conditional in the FreeRTOSConfig.h file though.

    Best regards,
    Nino
    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.