mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'feat/soc_usb_fsls_phy_num_backport_v6.0' into 'release/v6.0'
feat(soc): add SOC_USB_FSLS_PHY_NUM for USB-OTG targets (backport v6.0) See merge request espressif/esp-idf!47937
This commit is contained in:
@@ -1006,3 +1006,7 @@ config SOC_RCC_IS_INDEPENDENT
|
||||
config SOC_USB_OTG_PERIPH_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_USB_FSLS_PHY_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
@@ -539,3 +539,4 @@
|
||||
|
||||
/*-------------------------- USB CAPS ----------------------------------------*/
|
||||
#define SOC_USB_OTG_PERIPH_NUM (1U)
|
||||
#define SOC_USB_FSLS_PHY_NUM (1U)
|
||||
|
||||
@@ -1163,6 +1163,10 @@ config SOC_USB_OTG_PERIPH_NUM
|
||||
int
|
||||
default 2
|
||||
|
||||
config SOC_USB_FSLS_PHY_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_USB_UTMI_PHY_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
@@ -430,6 +430,7 @@
|
||||
|
||||
// USB OTG Caps
|
||||
#define SOC_USB_OTG_PERIPH_NUM (2U)
|
||||
#define SOC_USB_FSLS_PHY_NUM (1U)
|
||||
|
||||
// USB PHY Caps
|
||||
#define SOC_USB_UTMI_PHY_NUM (1U)
|
||||
|
||||
@@ -747,6 +747,10 @@ config SOC_USB_OTG_PERIPH_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_USB_FSLS_PHY_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_SHA_DMA_MAX_BUFFER_SIZE
|
||||
int
|
||||
default 3968
|
||||
|
||||
@@ -341,6 +341,7 @@
|
||||
|
||||
/*-------------------------- USB CAPS ----------------------------------------*/
|
||||
#define SOC_USB_OTG_PERIPH_NUM (1U)
|
||||
#define SOC_USB_FSLS_PHY_NUM (1U)
|
||||
|
||||
/*--------------------------- SHA CAPS ---------------------------------------*/
|
||||
/* Max amount of bytes in a single DMA operation is 4095,
|
||||
|
||||
@@ -867,6 +867,10 @@ config SOC_USB_OTG_PERIPH_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_USB_FSLS_PHY_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_SHA_DMA_MAX_BUFFER_SIZE
|
||||
int
|
||||
default 3968
|
||||
|
||||
@@ -360,6 +360,7 @@
|
||||
|
||||
/*-------------------------- USB CAPS ----------------------------------------*/
|
||||
#define SOC_USB_OTG_PERIPH_NUM (1U)
|
||||
#define SOC_USB_FSLS_PHY_NUM (1U)
|
||||
|
||||
/*--------------------------- SHA CAPS ---------------------------------------*/
|
||||
/* Max amount of bytes in a single DMA operation is 4095,
|
||||
|
||||
Reference in New Issue
Block a user