You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, copying the resulting libesp32.a to PlatformIO's arduinoespressif32 framework still results in an undefined reference error when referencing esp_apptrace_vprintf(). I have also tried copying all generated libraries, but that just results in further error. Looking through the readable parts of libesp32.a, I cannot see any reference to apptrace being enabled.
Code
#include <Arduino.h>
#include "esp_app_trace.h"
#include "esp_log.h"
void setup() {
// put your setup code here, to run once:
esp_log_set_vprintf(esp_apptrace_vprintf);
}
void loop() {
// put your main code here, to run repeatedly:
ESP_LOGV("TEST","Test log message");
esp_apptrace_flush(ESP_APPTRACE_DEST_TRAX, 100000);
vTaskDelay(1000/portTICK_PERIOD_MS);
}
Maybe it's in another lib? Are you sure it ends up in libesp32? Why not copy the whole rebuild SDK by using ./tools/copy-to-arduino.sh (adjust core path to your pio install). In any case, this has nothing to do with this repository :) it only builds and packs. Can not interfere in any way with IDF or what it builds
Hardware
Board: ESP32-WROOM
Core Installation version:
IDE name: VSCode/PlatformIO
Flash Frequency: 80 MHZ
PSRAM enabled: no
Upload Speed: 15200
Computer OS: Mac OSX
Description
I have run the builder script to try and enable app trace with the following config settings
CONFIG_ESP32_APPTRACE_DEST_TRAX=y
CONFIG_ESP32_APPTRACE_ENABLE=y
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
CONFIG_ESP32_APPTRACE_ONPANIC_HOST_FLUSH_TMO=-1
CONFIG_ESP32_APPTRACE_POSTMORTEM_FLUSH_THRESH=0
CONFIG_ESP32_APPTRACE_PENDING_DATA_SIZE_MAX=0
However, copying the resulting libesp32.a to PlatformIO's arduinoespressif32 framework still results in an undefined reference error when referencing
esp_apptrace_vprintf()
. I have also tried copying all generated libraries, but that just results in further error. Looking through the readable parts of libesp32.a, I cannot see any reference to apptrace being enabled.Code
Compiler Messages
The text was updated successfully, but these errors were encountered: