refactor(tests): add missing sdkconfig files in the driver test

This commit is contained in:
morris
2026-01-02 23:41:41 +08:00
parent b4a987ae30
commit 980e8289a1
8 changed files with 28 additions and 7 deletions
@@ -13,11 +13,11 @@
static const char *TAG = "touch_wakeup";
#define EXAMPLE_TOUCH_SAMPLE_CFG_NUM 1
#define EXAMPLE_TOUCH_CHANNEL_NUM 3
#define EXAMPLE_TOUCH_CHANNEL_NUM 2
#define EXAMPLE_TOUCH_CHAN_INIT_SCAN_TIMES 3
// If you want to change the wake-up channels, please make sure the channel GPIOs won't conflict to the EXT wakeup GPIOs
static int s_channel_id[EXAMPLE_TOUCH_CHANNEL_NUM] = {7, 8, 9};
static int s_channel_id[EXAMPLE_TOUCH_CHANNEL_NUM] = {8, 9};
// Active threshold to benchmark ratio. (i.e., touch will be activated when data >= benchmark * (1 + ratio))
static float s_thresh2bm_ratio[EXAMPLE_TOUCH_CHANNEL_NUM] = {
@@ -7,6 +7,14 @@ from pytest_embedded_idf.utils import soc_filtered_targets
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'deep_sleep',
'light_sleep',
],
indirect=True,
)
@idf_parametrize(
'target',
soc_filtered_targets('SOC_TOUCH_SENSOR_SUPPORTED == 1 and SOC_PM_SUPPORT_TOUCH_SENSOR_WAKEUP == 1'),