mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
example/system: remove app_trace_to_host example. Instead use app_trace_basic
This commit is contained in:
@@ -292,7 +292,7 @@ How To Use It
|
||||
|
||||
In order to use logging via trace module, users need to perform the following steps:
|
||||
|
||||
1. On the target side, the special vprintf-like function ``esp_apptrace_vprintf`` needs to be installed. It sends log data to the host. Example code is provided in :example:`system/app_trace_to_host`.
|
||||
1. On the target side, the special vprintf-like function ``esp_apptrace_vprintf`` needs to be installed. It sends log data to the host. Example usage ``esp_log_set_vprintf(esp_apptrace_vprintf);``. To send log data to uart again ``esp_log_set_vprintf(vprintf);``
|
||||
2. Follow instructions in items 2-5 in `Application Specific Tracing`_.
|
||||
3. To print out collected log records, run the following command in terminal: ``$IDF_PATH/tools/esp_app_trace/logtrace_proc.py /path/to/trace/file /path/to/program/elf/file``.
|
||||
|
||||
|
Reference in New Issue
Block a user