pycom/pycom-esp-idf

System View Tracing Support

cmisztur opened this issue · 0 comments

Following a post here, I am trying to use GDB and System View Tracing. Is this possible?

cd ~/esp/pycom-esp-idf/examples/wifi/scan
make menuconfig
-- SystemView Tracing Enable [*]
make -j8 all
cd ~/esp/pycom-micropython-sigfox/esp32
python get_idf_libs.py --idflibs $IDF_PATH/examples/wifi/scan/build
In file included from D:/msys32/home/chris/esp/pycom-espidf/components/app_trace/sys_view/Sample/  Config/SEGGER_SYSVIEW_Config_FreeRTOS.c:73:0:
D:/msys32/home/chris/esp/pycom-esp-idf/components/esp32/include/esp_clk.h:77:26: error: unknown ty  pe name 'rtc_slow_freq_t'
 void select_rtc_slow_clk(rtc_slow_freq_t slow_clk);
                          ^
make[1]: *** [/home/chris/esp/pycom-esp-idf/make/component_wrapper.mk:274: sys_view/Sample/Config/  SEGGER_SYSVIEW_Config_FreeRTOS.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC build/bootloader_support/src/esp_image_format.o
make: *** [D:/msys32/home/chris/esp/pycom-esp-idf/make/project.mk:450: component-app_trace build]   Error 2
make: *** Waiting for unfinished jobs....