feat(soc): Add soc_caps macros for sleep support
- modify console example to use the new SOC_LIGHT_SLEEP_SUPPORTED and SOC_DEEP_SLEEP_SUPPORTED macros when registering sleep commands - remove exclusion of esp32p4 in basic and advanced example in .build-test-rules.yml - replace exclusion of esp32p4 for deep and light sleep tests with newly introduced macro - remove the temporary disable check for esp32p4 and uses the SOC_LIGHT_SLEEP_SUPPORTED maccro instead.
This commit is contained in:
@@ -171,6 +171,14 @@ config SOC_RNG_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_LIGHT_SLEEP_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_DEEP_SLEEP_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL
|
||||
int
|
||||
default 5
|
||||
|
||||
@@ -100,6 +100,8 @@
|
||||
#define SOC_WDT_SUPPORTED 1
|
||||
#define SOC_SPI_FLASH_SUPPORTED 1
|
||||
#define SOC_RNG_SUPPORTED 1
|
||||
#define SOC_LIGHT_SLEEP_SUPPORTED 1
|
||||
#define SOC_DEEP_SLEEP_SUPPORTED 1
|
||||
|
||||
#if SOC_CAPS_ECO_VER < 200
|
||||
#define SOC_DPORT_WORKAROUND 1
|
||||
|
||||
Reference in New Issue
Block a user