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:
igor.masar
2025-07-10 14:52:47 +02:00
parent f8ebe0c936
commit 84a5812d55
29 changed files with 168 additions and 280 deletions
+1 -1
View File
@@ -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"