feat(soc): support esp32s31 lp_aon & rtc_wdt & rtc_timer

This commit is contained in:
wuzhenghui
2026-02-11 15:03:35 +08:00
parent 0249f682dc
commit 0b27301a09
48 changed files with 790 additions and 543 deletions
@@ -135,7 +135,7 @@ config SOC_RTC_MEM_SUPPORTED
bool
default y
config SOC_RTC_TIMER_V1_SUPPORTED
config SOC_RTC_TIMER_SUPPORTED
bool
default y
@@ -699,6 +699,10 @@ config SOC_LP_TIMER_BIT_WIDTH_HI
int
default 16
config SOC_RTC_TIMER_V1
bool
default y
config SOC_TOUCH_SENSOR_VERSION
int
default 2
@@ -61,7 +61,7 @@
#define SOC_RTC_FAST_MEM_SUPPORTED 1
#define SOC_RTC_SLOW_MEM_SUPPORTED 1
#define SOC_RTC_MEM_SUPPORTED 1
#define SOC_RTC_TIMER_V1_SUPPORTED 1
#define SOC_RTC_TIMER_SUPPORTED 1
#define SOC_PSRAM_DMA_CAPABLE 1
#define SOC_XT_WDT_SUPPORTED 1
#define SOC_I2S_SUPPORTED 1
@@ -296,7 +296,7 @@
/*-------------------------- LP_TIMER CAPS ----------------------------------*/
#define SOC_LP_TIMER_BIT_WIDTH_LO 32 // Bit width of lp_timer low part
#define SOC_LP_TIMER_BIT_WIDTH_HI 16 // Bit width of lp_timer high part
#define SOC_RTC_TIMER_SUPPORTED SOC_RTC_TIMER_V1_SUPPORTED
#define SOC_RTC_TIMER_V1 1
/*-------------------------- TOUCH SENSOR CAPS -------------------------------*/
#define SOC_TOUCH_SENSOR_VERSION (2) /*!< Hardware version of touch sensor */