mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-25 17:58:46 +00: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:
@@ -7,7 +7,7 @@
|
||||
#include <stddef.h>
|
||||
#include "soc/interrupts.h"
|
||||
#include "soc/gpio_sig_map.h"
|
||||
#include "soc/usb_dwc_periph.h"
|
||||
#include "soc/usb_periph.h"
|
||||
#include "soc/usb_dwc_struct.h"
|
||||
|
||||
/* -------------------------------- Private --------------------------------- */
|
||||
|
Reference in New Issue
Block a user