# SEGGER SystemView for ESP-IDF [](https://components.espressif.com/components/espressif/esp_sysview) This component integrates SEGGER SystemView with ESP-IDF and is distributed as a managed component. ## Install (managed component) Add a dependency in your project's `idf_component.yml`: ```yaml dependencies: espressif/esp_sysview: ^1 ``` Configure SystemView tracing in `idf.py menuconfig`: - Enable tracing: `CONFIG_ESP_TRACING_ENABLE` - Select trace library: Component config > ESP Trace Configuration > Trace library > External library from component registry `CONFIG_ESP_TRACE_LIB_EXTERNAL` - Select timestamp source: Component config > ESP Trace Configuration > Trace timestamp source - Configure event filters: Component config > SEGGER SystemView Configuration ## Function tracing When `CONFIG_ESP_TRACE_FUNCTION_TRACE` is enabled, this component implements the `esp_trace` function-trace encoder callbacks and sends enter/exit events through a dedicated SystemView module (`ESP_FunctionTrace`). Host-driven start/stop (over JTAG or UART) is propagated to the function-trace runtime so recording follows the SystemView session. Addresses are sent as `U32`. SystemView records them as raw addresses. Symbols can be mapped to function names offline against the ELF file (for example with `addr2line`). ## Documentation and examples - ESP-IDF examples: - `examples/system/sysview_tracing/` (basic SystemView tracing) - `examples/system/sysview_tracing_heap_log/README.md` (heap tracing) - SEGGER SystemView documentation for host-side tooling. ## License Apache 2.0. See `LICENSE` file.
97e990452c8df6056adcf11410a3cbaa2301a8f1
idf.py add-dependency "espressif/esp_sysview^1.1.0"