Open acruise opened 10 months ago
The XTSTR
macro is only used in the system info command:
https://github.com/jbtronics/ESP32Console/blob/8369b9566014e67a6fa6b816d56b657734ab57dd/src/ESP32Console/Commands/SystemCommands.cpp#L87
You could just simply comment this line out, and it should work.
But the macro is also pretty simple, as it just returns the value of the define constant as a string. You should be able to emulate it with something like this:
#define __STR(x) #x
#define XTSTR(x) __STR(x)
Hi there, I was idly trying to use ESP32Console on an ESP32-C3 board, which is RiscV rather than xtensa, so the
XTSTR
macro isn't available... How hard would it be to use a fallback? :)