I'm trying to reroute the ESP logging functionality through the JTAG interface. While trying to implement it in my own project I quickly defaulted to the "app_trace_to_host_example". This works just fine as long as i don't try to change it to C++.
The only changes i do is rename the file "app_trace_to_host_example_main.c" to "app_trace_to_host_example_main.cpp". Add the C guard to "app_main" as such (on line 88):
- extern "C" void app_main()
- extern "C" {
- #include "esp_app_trace.h"
- }
Does anybody know how I can get this functionality in a C++ project?
Thanks in advance!
Brice