console: Fix building issue when serial JTAG is set

Closes https://github.com/espressif/esp-idf/issues/10707
This commit is contained in:
Guillaume Souchere
2023-04-20 09:50:42 +02:00
committed by Marius Vikhammer
parent 2300982af9
commit c84f0b25ac
4 changed files with 47 additions and 12 deletions

View File

@@ -28,6 +28,10 @@
#error This example is incompatible with USB CDC console. Please try "console_usb" example instead.
#endif // CONFIG_ESP_CONSOLE_USB_CDC
#ifdef CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
#error This example is incompatible with USB serial JTAG console.
#endif // CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
static const char* TAG = "example";
#define PROMPT_STR CONFIG_IDF_TARGET