File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,7 @@ targets:
1111dependencies :
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
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments