Hi, I dont understand how to include PATH for Tracealyzer in platform.ini
https://percepio.com/getstarted/latest/html/esp-idf.html
I did almost all steps, but my menuconfig when i am calling it from pio: pio run -t menuconfig
Non consist anything about Tracealyzer, so I pass this definition like build_flags = -D …
[env:denky32]
platform = espressif32
board = denky32
framework = espidf, arduino
monitor_raw = yes
monitor_speed = 115200
debug_tool = esp-prog
debug_init_break = tbreak setup
debug_speed = 20000
debug_server = C:/Users/phoenix_jtag/.platformio/packages/tool-openocd-esp32/bin/openocd.exe
-s C:/Users/phoenix_jtag/.platformio/packages/tool-openocd-esp32/share/openocd/scripts
-f interface/ftdi/esp32_devkitj_v1.cfg
-f board/esp32-wrover.cfg
build_flags =
-D CMAKE_EXPORT_COMPILE_COMMANDS=ON
-D CONFIG_PERCEPIO_TRACERECORDER_ENABLED
-I"C:/Program Files/Percepio/Tracealyzer 4/ESP-IDF_FreeRTOS/TraceRecorder/include"
-I"C:/Program Files/Percepio/Tracealyzer 4/ESP-IDF_FreeRTOS/TraceRecorder/kernelports/ESP-IDF_FreeRTOS"
lib_extra_dirs =
"C:/Program Files/Percepio/Tracealyzer 4/ESP-IDF_FreeRTOS/TraceRecorder/kernelports/ESP-IDF_FreeRTOS"
And during of compilation we have:
#include <trcConfig.h>
^~~~~~~~~~~~~
compilation terminated.
*** [.pio\build\denky32\app_trace\sys_view\Sample\Config\SEGGER_SYSVIEW_Config_FreeRTOS.o] Error 1
So, how is possible to include this library - taking in account that she must be included during of compilation of esp-arduino libraries (recompilation of static libs happens, when we making some conf with menuconfig) ???