timer: fix wrong kconfig soc caps

This commit is contained in:
morris
2021-12-16 23:13:09 +08:00
parent f6cedb0533
commit b170aba93a
12 changed files with 41 additions and 17 deletions

View File

@@ -528,8 +528,8 @@ config SOC_TIMER_GROUPS
default 2
config SOC_TIMER_GROUP_TIMERS_PER_GROUP
bool
default y
int
default 1
config SOC_TIMER_GROUP_COUNTER_BIT_WIDTH
int
@@ -539,6 +539,10 @@ config SOC_TIMER_GROUP_SUPPORT_XTAL
bool
default y
config SOC_TIMER_GROUP_TOTAL_TIMERS
int
default 2
config SOC_TOUCH_SENSOR_NUM
bool
default n

View File

@@ -264,10 +264,10 @@
/*--------------------------- TIMER GROUP CAPS ---------------------------------------*/
#define SOC_TIMER_GROUPS (2)
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (1)
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (1U)
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (54)
#define SOC_TIMER_GROUP_SUPPORT_XTAL (1)
#define SOC_TIMER_GROUP_TOTAL_TIMERS (SOC_TIMER_GROUPS * SOC_TIMER_GROUP_TIMERS_PER_GROUP)
#define SOC_TIMER_GROUP_TOTAL_TIMERS (2)
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
#define SOC_TOUCH_SENSOR_NUM (0) /*! No touch sensors on ESP32-C3 */