mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(gdma): reserve the SOC_GDMA_PAIRS_PER_GROUP
Closes https://github.com/espressif/esp-idf/issues/12798
This commit is contained in:
parent
692d15abbe
commit
b893744fd1
@ -399,6 +399,10 @@ config SOC_GDMA_NUM_GROUPS_MAX
|
|||||||
int
|
int
|
||||||
default 1
|
default 1
|
||||||
|
|
||||||
|
config SOC_GDMA_PAIRS_PER_GROUP
|
||||||
|
int
|
||||||
|
default 5
|
||||||
|
|
||||||
config SOC_GDMA_PAIRS_PER_GROUP_MAX
|
config SOC_GDMA_PAIRS_PER_GROUP_MAX
|
||||||
int
|
int
|
||||||
default 5
|
default 5
|
||||||
|
@ -156,7 +156,8 @@
|
|||||||
/*-------------------------- GDMA CAPS ---------------------------------------*/
|
/*-------------------------- GDMA CAPS ---------------------------------------*/
|
||||||
#define SOC_AHB_GDMA_VERSION 1U
|
#define SOC_AHB_GDMA_VERSION 1U
|
||||||
#define SOC_GDMA_NUM_GROUPS_MAX 1U
|
#define SOC_GDMA_NUM_GROUPS_MAX 1U
|
||||||
#define SOC_GDMA_PAIRS_PER_GROUP_MAX 5
|
#define SOC_GDMA_PAIRS_PER_GROUP 5 // esp32s3 has only one kind of GDMA, which is AHB GDMA, and it has 5 pairs in total.
|
||||||
|
#define SOC_GDMA_PAIRS_PER_GROUP_MAX 5 // when there're multiple GDMA instances, this macro represents the maximum number of GDMA pairs in the same group.
|
||||||
#define SOC_AHB_GDMA_SUPPORT_PSRAM 1
|
#define SOC_AHB_GDMA_SUPPORT_PSRAM 1
|
||||||
|
|
||||||
/*-------------------------- GPIO CAPS ---------------------------------------*/
|
/*-------------------------- GPIO CAPS ---------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user