Skip to content

[TW#18931] Custom SystemView events not supported #22

@chrta

Description

@chrta

I would like to add my own event to a SystemView trace. In the firmware i added this besides enabling the SystemView tracing functionality:

SEGGER_SYSVIEW_RecordU32(apiSlowID_OFFSET + apiID_MY_EVENT_INDEX, payload)

But when i start the trace via openocd, i get:

SEGGER: Unsupported event ID 383!

This is generated in this line: https://github.com/espressif/openocd-esp32/blob/master/src/target/esp108_apptrace.c#L1797

Is there a generic way to enable custom events without the need for everyone to modify the openocd source and recompile openocd?
Is it possible to just remove the check (event_id > SYSVIEW_EVENT_ID_MAX)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions