Skip to content

Commit b60cc41

Browse files
committed
rollback to v0.18.0
1 parent 423527b commit b60cc41

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

device/esp_tinyusb/idf_component.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ targets:
1111
dependencies:
1212
idf: '>=5.0' # IDF 4.x contains TinyUSB as submodule
1313
tinyusb:
14-
version: '>=0.17.0~2' # 0.17.0~2 is the first version that supports deinit
14+
# TODO: Revert after IEC-403
15+
# version: '>=0.17.0~2' # 0.17.0~2 is the first version that supports deinit
16+
version: '^0.18.0'
1517
public: true

device/esp_tinyusb/tinyusb_task.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,6 @@ static void tinyusb_device_task(void *arg)
8383
goto desc_free;
8484
}
8585

86-
#if TUSB_VERSION_NUMBER >= 1900
87-
// Workaround for changing the bvalid override in the tinyusb v0.19.0
88-
if (task_ctx->rhport == TINYUSB_PORT_FULL_SPEED_0) {
89-
USB_DWC_FS.gotgctl_reg.bvalidoven = 0;
90-
}
91-
#if (SOC_USB_OTG_PERIPH_NUM > 1)
92-
else if (task_ctx->rhport == TINYUSB_PORT_HIGH_SPEED_0) {
93-
USB_DWC_HS.gotgctl_reg.bvalidoven = 0;
94-
}
95-
#endif // SOC_USB_OTG_PERIPH_NUM > 1
96-
#endif // TUSB_VERSION_NUMBER >= 1900
97-
9886
#if (CONFIG_IDF_TARGET_ESP32P4)
9987
if (task_ctx->vbus_monitor_cfg.gpio_num != GPIO_NUM_NC) {
10088
if (tinyusb_vbus_monitor_init(&task_ctx->vbus_monitor_cfg) != ESP_OK) {

0 commit comments

Comments
 (0)