fix(modem_etm): fixed the compile issue

This commit is contained in:
laokaiyao
2025-08-19 15:54:50 +08:00
parent 2044fba6e7
commit 093a444d74
5 changed files with 30 additions and 2 deletions

View File

@@ -267,6 +267,18 @@ config SOC_AHB_GDMA_SUPPORT_PSRAM
bool
default y
config SOC_ETM_GROUPS
int
default 1
config SOC_ETM_CHANNELS_PER_GROUP
int
default 50
config SOC_MODEM_SUPPORT_ETM
bool
default y
config SOC_GPIO_PORT
int
default 1

View File

@@ -185,6 +185,13 @@
#define SOC_GDMA_SUPPORT_SLEEP_RETENTION 1
#define SOC_AHB_GDMA_SUPPORT_PSRAM 1
/*-------------------------- ETM CAPS --------------------------------------*/
#define SOC_ETM_GROUPS 1U // Number of ETM groups
#define SOC_ETM_CHANNELS_PER_GROUP 50 // Number of ETM channels in the group
/*-------------------------- MODEM CAPS --------------------------------------*/
#define SOC_MODEM_SUPPORT_ETM 1
/*-------------------------- GPIO CAPS ---------------------------------------*/
// ESP32-H4 has 1 GPIO peripheral
#define SOC_GPIO_PORT 1U