1#if defined(USE_ESP32_VARIANT_ESP32P4) || defined(USE_ESP32_VARIANT_ESP32S2) || defined(USE_ESP32_VARIANT_ESP32S3)
8static const char *TAG =
"tinyusb";
13 static char mac_addr_buf[13];
21 .string_descriptor_count =
SIZE,
22 .external_phy =
false,
25 esp_err_t result = tinyusb_driver_install(&this->
tusb_cfg_);
26 if (result != ESP_OK) {
34 " Product ID: 0x%04X\n"
35 " Vendor ID: 0x%04X\n"
36 " Manufacturer: '%s'\n"
virtual void mark_failed()
Mark this component as failed.
tinyusb_config_t tusb_cfg_
const char * string_descriptor_[SIZE]
tusb_desc_device_t usb_descriptor_
void dump_config() override
void get_mac_address_into_buffer(std::span< char, 13 > buf)
Get the device MAC address into the given buffer, in lowercase hex notation.