mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(sleep/usb): support usb as wakeup source from light sleep
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
BOT
co-authored by
Cursor
parent
a6928be465
commit
4625335d93
@@ -1187,6 +1187,10 @@ config SOC_USB_UTMI_PHY_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_PM_SUPPORT_USB_WAKEUP
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_PARLIO_TX_UNIT_MAX_DATA_WIDTH
|
||||
int
|
||||
default 16
|
||||
|
||||
@@ -440,6 +440,7 @@
|
||||
|
||||
// USB PHY Caps
|
||||
#define SOC_USB_UTMI_PHY_NUM (1U)
|
||||
#define SOC_PM_SUPPORT_USB_WAKEUP (1U)
|
||||
|
||||
/*-------------------------- PARLIO CAPS --------------------------------------*/
|
||||
#define SOC_PARLIO_TX_UNIT_MAX_DATA_WIDTH 16 /*!< Number of data lines of the TX unit */
|
||||
|
||||
@@ -387,6 +387,10 @@ config SOC_USB_UTMI_PHY_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_PM_SUPPORT_USB_WAKEUP
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_PHY_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -128,6 +128,7 @@
|
||||
#define SOC_USB_OTG_PERIPH_NUM (1U)
|
||||
#define SOC_USB_FSLS_PHY_NUM (0U)
|
||||
#define SOC_USB_UTMI_PHY_NUM (1U)
|
||||
#define SOC_PM_SUPPORT_USB_WAKEUP (1U)
|
||||
|
||||
#define SOC_PHY_SUPPORTED 1
|
||||
#define SOC_WIFI_SUPPORTED 1
|
||||
|
||||
Reference in New Issue
Block a user