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
When using ESP32TinyUSB in PlatformIO project, I define USE_ESP_IDF_LOG and the TAG in the platformio.ini. This way I am able to use Arduino Core log_x functions, both for serial and file logging. However, when I build the PIO project, it fails with the following:
<command-line>: error: expected unqualified-id before string constant
.pio/libdeps/esp32-s2-saola-1/ESP32TinyUSB/src/host/msc/vfs/diskio_rawmsc.cpp:28:20: note: in expansion of macro 'TAG'
static const char *TAG = "msc_rawflash";
If I delete the TAG line (or enclose it with #ifndef TAG ... #endif) the error goes away, I can compile my project.
The text was updated successfully, but these errors were encountered:
When using ESP32TinyUSB in PlatformIO project, I define USE_ESP_IDF_LOG and the TAG in the platformio.ini. This way I am able to use Arduino Core log_x functions, both for serial and file logging. However, when I build the PIO project, it fails with the following:
If I delete the TAG line (or enclose it with #ifndef TAG ... #endif) the error goes away, I can compile my project.
The text was updated successfully, but these errors were encountered: