jtag.cpp: ENABLE_ESP_USB_JTAG -> ENABLE_ESP_USB
This commit is contained in:
parent
0ce9fcb050
commit
b870ee4c4f
|
|
@ -42,7 +42,7 @@
|
||||||
#ifdef ENABLE_DIRTYJTAG
|
#ifdef ENABLE_DIRTYJTAG
|
||||||
#include "dirtyJtag.hpp"
|
#include "dirtyJtag.hpp"
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_ESP_USB_JTAG
|
#ifdef ENABLE_ESP_USB
|
||||||
#include "esp_usb_jtag.hpp"
|
#include "esp_usb_jtag.hpp"
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_CH347
|
#ifdef ENABLE_CH347
|
||||||
|
|
@ -162,7 +162,7 @@ Jtag::Jtag(const cable_t &cable, const jtag_pins_conf_t *pin_conf,
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case MODE_ESP:
|
case MODE_ESP:
|
||||||
#ifdef ENABLE_ESP_USB_JTAG
|
#ifdef ENABLE_ESP_USB
|
||||||
_jtag = new esp_usb_jtag(clkHZ, verbose, 0x303a, 0x1001);
|
_jtag = new esp_usb_jtag(clkHZ, verbose, 0x303a, 0x1001);
|
||||||
#else
|
#else
|
||||||
std::cerr << "Jtag: support for esp32s3 cable was not enabled at compile time" << std::endl;
|
std::cerr << "Jtag: support for esp32s3 cable was not enabled at compile time" << std::endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue