forked from espressif/esp-idf
timer: fix wrong kconfig soc caps
This commit is contained in:
@@ -431,6 +431,10 @@ config SOC_TIMER_GROUP_COUNTER_BIT_WIDTH
|
|||||||
int
|
int
|
||||||
default 64
|
default 64
|
||||||
|
|
||||||
|
config SOC_TIMER_GROUP_TOTAL_TIMERS
|
||||||
|
int
|
||||||
|
default 4
|
||||||
|
|
||||||
config SOC_TOUCH_VERSION_1
|
config SOC_TOUCH_VERSION_1
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
@@ -249,7 +249,7 @@
|
|||||||
#define SOC_TIMER_GROUPS (2)
|
#define SOC_TIMER_GROUPS (2)
|
||||||
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (2)
|
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (2)
|
||||||
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (64)
|
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (64)
|
||||||
#define SOC_TIMER_GROUP_TOTAL_TIMERS (SOC_TIMER_GROUPS * SOC_TIMER_GROUP_TIMERS_PER_GROUP)
|
#define SOC_TIMER_GROUP_TOTAL_TIMERS (4)
|
||||||
|
|
||||||
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
||||||
#define SOC_TOUCH_VERSION_1 (1) /*!<Hardware version of touch sensor */
|
#define SOC_TOUCH_VERSION_1 (1) /*!<Hardware version of touch sensor */
|
||||||
|
@@ -528,8 +528,8 @@ config SOC_TIMER_GROUPS
|
|||||||
default 2
|
default 2
|
||||||
|
|
||||||
config SOC_TIMER_GROUP_TIMERS_PER_GROUP
|
config SOC_TIMER_GROUP_TIMERS_PER_GROUP
|
||||||
bool
|
int
|
||||||
default y
|
default 1
|
||||||
|
|
||||||
config SOC_TIMER_GROUP_COUNTER_BIT_WIDTH
|
config SOC_TIMER_GROUP_COUNTER_BIT_WIDTH
|
||||||
int
|
int
|
||||||
@@ -539,6 +539,10 @@ config SOC_TIMER_GROUP_SUPPORT_XTAL
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_TIMER_GROUP_TOTAL_TIMERS
|
||||||
|
int
|
||||||
|
default 2
|
||||||
|
|
||||||
config SOC_TOUCH_SENSOR_NUM
|
config SOC_TOUCH_SENSOR_NUM
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
@@ -264,10 +264,10 @@
|
|||||||
|
|
||||||
/*--------------------------- TIMER GROUP CAPS ---------------------------------------*/
|
/*--------------------------- TIMER GROUP CAPS ---------------------------------------*/
|
||||||
#define SOC_TIMER_GROUPS (2)
|
#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_COUNTER_BIT_WIDTH (54)
|
||||||
#define SOC_TIMER_GROUP_SUPPORT_XTAL (1)
|
#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 -------------------------------*/
|
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
||||||
#define SOC_TOUCH_SENSOR_NUM (0) /*! No touch sensors on ESP32-C3 */
|
#define SOC_TOUCH_SENSOR_NUM (0) /*! No touch sensors on ESP32-C3 */
|
||||||
|
@@ -508,8 +508,8 @@ config SOC_TIMER_GROUPS
|
|||||||
default 2
|
default 2
|
||||||
|
|
||||||
config SOC_TIMER_GROUP_TIMERS_PER_GROUP
|
config SOC_TIMER_GROUP_TIMERS_PER_GROUP
|
||||||
bool
|
int
|
||||||
default y
|
default 1
|
||||||
|
|
||||||
config SOC_TIMER_GROUP_COUNTER_BIT_WIDTH
|
config SOC_TIMER_GROUP_COUNTER_BIT_WIDTH
|
||||||
int
|
int
|
||||||
@@ -519,6 +519,10 @@ config SOC_TIMER_GROUP_SUPPORT_XTAL
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_TIMER_GROUP_TOTAL_TIMERS
|
||||||
|
int
|
||||||
|
default 2
|
||||||
|
|
||||||
config SOC_TOUCH_SENSOR_NUM
|
config SOC_TOUCH_SENSOR_NUM
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
@@ -258,10 +258,10 @@
|
|||||||
|
|
||||||
/*--------------------------- TIMER GROUP CAPS ---------------------------------------*/
|
/*--------------------------- TIMER GROUP CAPS ---------------------------------------*/
|
||||||
#define SOC_TIMER_GROUPS (2)
|
#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_COUNTER_BIT_WIDTH (54)
|
||||||
#define SOC_TIMER_GROUP_SUPPORT_XTAL (1)
|
#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 -------------------------------*/
|
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
||||||
#define SOC_TOUCH_SENSOR_NUM (0) /*! No touch sensors on ESP32-C3 */
|
#define SOC_TOUCH_SENSOR_NUM (0) /*! No touch sensors on ESP32-C3 */
|
||||||
|
@@ -507,10 +507,6 @@ config SOC_SYSTIMER_BIT_WIDTH_HI
|
|||||||
int
|
int
|
||||||
default 32
|
default 32
|
||||||
|
|
||||||
config SOC_TIMER_GROUP_COUNTER_BIT_WIDTH
|
|
||||||
int
|
|
||||||
default 64
|
|
||||||
|
|
||||||
config SOC_TIMER_GROUPS
|
config SOC_TIMER_GROUPS
|
||||||
int
|
int
|
||||||
default 2
|
default 2
|
||||||
@@ -519,10 +515,18 @@ config SOC_TIMER_GROUP_TIMERS_PER_GROUP
|
|||||||
int
|
int
|
||||||
default 2
|
default 2
|
||||||
|
|
||||||
|
config SOC_TIMER_GROUP_COUNTER_BIT_WIDTH
|
||||||
|
int
|
||||||
|
default 64
|
||||||
|
|
||||||
config SOC_TIMER_GROUP_SUPPORT_XTAL
|
config SOC_TIMER_GROUP_SUPPORT_XTAL
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_TIMER_GROUP_TOTAL_TIMERS
|
||||||
|
int
|
||||||
|
default 4
|
||||||
|
|
||||||
config SOC_TOUCH_VERSION_2
|
config SOC_TOUCH_VERSION_2
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
@@ -248,11 +248,11 @@
|
|||||||
#define SOC_SYSTIMER_BIT_WIDTH_HI (32) // Bit width of systimer high part
|
#define SOC_SYSTIMER_BIT_WIDTH_HI (32) // Bit width of systimer high part
|
||||||
|
|
||||||
/*-------------------------- TIMER GROUP CAPS --------------------------------*/
|
/*-------------------------- TIMER GROUP CAPS --------------------------------*/
|
||||||
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (64)
|
|
||||||
#define SOC_TIMER_GROUPS (2)
|
#define SOC_TIMER_GROUPS (2)
|
||||||
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (2)
|
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (2)
|
||||||
|
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (64)
|
||||||
#define SOC_TIMER_GROUP_SUPPORT_XTAL (1)
|
#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 (4)
|
||||||
|
|
||||||
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
||||||
#define SOC_TOUCH_VERSION_2 (1) /*!<Hardware version of touch sensor */
|
#define SOC_TOUCH_VERSION_2 (1) /*!<Hardware version of touch sensor */
|
||||||
|
@@ -643,6 +643,10 @@ config SOC_TIMER_GROUP_SUPPORT_XTAL
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_TIMER_GROUP_TOTAL_TIMERS
|
||||||
|
int
|
||||||
|
default 4
|
||||||
|
|
||||||
config SOC_TOUCH_SENSOR_NUM
|
config SOC_TOUCH_SENSOR_NUM
|
||||||
int
|
int
|
||||||
default 15
|
default 15
|
||||||
|
@@ -238,7 +238,7 @@
|
|||||||
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (2)
|
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (2)
|
||||||
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (54)
|
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (54)
|
||||||
#define SOC_TIMER_GROUP_SUPPORT_XTAL (1)
|
#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 (4)
|
||||||
|
|
||||||
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
||||||
#define SOC_TOUCH_SENSOR_NUM (15) /*! 15 Touch channels */
|
#define SOC_TOUCH_SENSOR_NUM (15) /*! 15 Touch channels */
|
||||||
|
@@ -411,6 +411,10 @@ config SOC_TIMER_GROUP_SUPPORT_XTAL
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_TIMER_GROUP_TOTAL_TIMERS
|
||||||
|
int
|
||||||
|
default 1
|
||||||
|
|
||||||
config SOC_TOUCH_SENSOR_NUM
|
config SOC_TOUCH_SENSOR_NUM
|
||||||
int
|
int
|
||||||
default 0
|
default 0
|
||||||
|
@@ -211,7 +211,7 @@
|
|||||||
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (1U)
|
#define SOC_TIMER_GROUP_TIMERS_PER_GROUP (1U)
|
||||||
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (54)
|
#define SOC_TIMER_GROUP_COUNTER_BIT_WIDTH (54)
|
||||||
#define SOC_TIMER_GROUP_SUPPORT_XTAL (1)
|
#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 (1U)
|
||||||
|
|
||||||
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
|
||||||
#define SOC_TOUCH_SENSOR_NUM (0U) /*! No touch sensors on ESP8684 */
|
#define SOC_TOUCH_SENSOR_NUM (0U) /*! No touch sensors on ESP8684 */
|
||||||
|
Reference in New Issue
Block a user