mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(usb_phy): Move USB PHY implementation to esp_hw_support
Moved USB PHY source and headers from `usb/` to `esp_hw_support/` to better reflect their hardware-specific nature. Replaced use of public GPIO driver APIs with internal LL (Low-Level) APIs for more precise hardware control and alignment with ESP-IDF HAL best practices. Deleted deprecated PHY helper functions. Consolidated all SoC-specific declarations under `usb_periph.h`. BREAKING CHANGE: deprecated USB PHY APIs have been removed; update callers to use the new interfaces in esp_hw_support/usb_phy.h
This commit is contained in:
@@ -17,7 +17,7 @@ Warning: The USB Host Library API is still a beta version and may be subject to
|
||||
#include "freertos/queue.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "esp_private/critical_section.h"
|
||||
#include "soc/usb_dwc_periph.h"
|
||||
#include "soc/usb_periph.h"
|
||||
#include "esp_err.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_heap_caps.h"
|
||||
|
||||
Reference in New Issue
Block a user