15 static char mac_addr_buf[MAC_ADDRESS_BUFFER_SIZE];
21 this->
tusb_cfg_ = TINYUSB_DEFAULT_CONFIG();
22 this->
tusb_cfg_.port = TINYUSB_PORT_FULL_SPEED_0;
37#if !(CFG_TUD_CDC > 0 || CFG_TUD_MSC > 0 || CFG_TUD_NCM > 0)
38 if (this->
tusb_cfg_.descriptor.full_speed_config ==
nullptr) {
39 ESP_LOGE(TAG,
"No USB class configured");
45 esp_err_t result = tinyusb_driver_install(&this->
tusb_cfg_);
46 if (result != ESP_OK) {
47 ESP_LOGE(TAG,
"tinyusb_driver_install failed: %s", esp_err_to_name(result));