esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2

Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
This commit is contained in:
Ivan Grokhotkov
2022-01-18 18:39:06 +01:00
parent 141b7356fb
commit 80c9ef7b89
10 changed files with 84 additions and 62 deletions

View File

@@ -140,6 +140,7 @@ int dfu_custom_handle_req(struct usb_setup_packet *pSetup,
typedef void(*usb_dfu_detach_routine_t)(int delay);
void usb_dfu_set_detach_cb(usb_dfu_detach_routine_t cb);
void usb_dfu_force_detach(void);
#ifdef __cplusplus