Enhance unit test default sdkconfig files
The sdkconfig.defaults files were enhanced to test the component against all individual configurations for more granularity, as well as with all combinations to ensure consistency and integrity across all configurations.
This commit is contained in:
@@ -4,6 +4,4 @@ CONFIG_ESP_TASK_WDT_INIT=n
|
|||||||
# Relay Channel Driver Default Configuration for Testing
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
# Keep this as short as possible for tests
|
# Keep this as short as possible for tests
|
||||||
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
CONFIG_RELAY_CHN_COUNT=2
|
CONFIG_RELAY_CHN_COUNT=8
|
||||||
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
|
||||||
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
|
||||||
@@ -9,7 +9,6 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions/part_nvs.csv"
|
|||||||
# Relay Channel Driver Default Configuration for Testing
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
# Keep this as short as possible for tests
|
# Keep this as short as possible for tests
|
||||||
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
CONFIG_RELAY_CHN_COUNT=2
|
CONFIG_RELAY_CHN_COUNT=8
|
||||||
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
|
||||||
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
||||||
CONFIG_RELAY_CHN_NVS_CUSTOM_PARTITION=y
|
CONFIG_RELAY_CHN_NVS_CUSTOM_PARTITION=y
|
||||||
17
test_apps/sdkconfig.defaults.multi.full
Normal file
17
test_apps/sdkconfig.defaults.multi.full
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Disable task WDT for tests
|
||||||
|
CONFIG_ESP_TASK_WDT_INIT=n
|
||||||
|
|
||||||
|
# Partition configuration
|
||||||
|
CONFIG_PARTITION_TABLE_SINGLE_APP=y
|
||||||
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||||
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions/part_nvs.csv"
|
||||||
|
|
||||||
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
|
# Keep this as short as possible for tests
|
||||||
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
|
CONFIG_RELAY_CHN_COUNT=8
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_RUN_LIMIT=y
|
||||||
|
CONFIG_RELAY_CHN_RUN_LIMIT_MIN_SEC=1
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
||||||
|
CONFIG_RELAY_CHN_NVS_CUSTOM_PARTITION=y
|
||||||
8
test_apps/sdkconfig.defaults.multi.nvs
Normal file
8
test_apps/sdkconfig.defaults.multi.nvs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Disable task WDT for tests
|
||||||
|
CONFIG_ESP_TASK_WDT_INIT=n
|
||||||
|
|
||||||
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
|
# Keep this as short as possible for tests
|
||||||
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
|
CONFIG_RELAY_CHN_COUNT=8
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
||||||
9
test_apps/sdkconfig.defaults.multi.run_limit
Normal file
9
test_apps/sdkconfig.defaults.multi.run_limit
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Disable task WDT for tests
|
||||||
|
CONFIG_ESP_TASK_WDT_INIT=n
|
||||||
|
|
||||||
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
|
# Keep this as short as possible for tests
|
||||||
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
|
CONFIG_RELAY_CHN_COUNT=8
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_RUN_LIMIT=y
|
||||||
|
CONFIG_RELAY_CHN_RUN_LIMIT_MIN_SEC=1
|
||||||
8
test_apps/sdkconfig.defaults.multi.tilt
Normal file
8
test_apps/sdkconfig.defaults.multi.tilt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Disable task WDT for tests
|
||||||
|
CONFIG_ESP_TASK_WDT_INIT=n
|
||||||
|
|
||||||
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
|
# Keep this as short as possible for tests
|
||||||
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
|
CONFIG_RELAY_CHN_COUNT=8
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
||||||
@@ -4,6 +4,3 @@ CONFIG_ESP_TASK_WDT_INIT=n
|
|||||||
# Relay Channel Driver Default Configuration for Testing
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
# Keep this as short as possible for tests
|
# Keep this as short as possible for tests
|
||||||
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
CONFIG_RELAY_CHN_COUNT=1
|
|
||||||
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
|
||||||
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
|
||||||
@@ -9,7 +9,5 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions/part_nvs.csv"
|
|||||||
# Relay Channel Driver Default Configuration for Testing
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
# Keep this as short as possible for tests
|
# Keep this as short as possible for tests
|
||||||
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
CONFIG_RELAY_CHN_COUNT=1
|
|
||||||
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
|
||||||
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
||||||
CONFIG_RELAY_CHN_NVS_CUSTOM_PARTITION=y
|
CONFIG_RELAY_CHN_NVS_CUSTOM_PARTITION=y
|
||||||
16
test_apps/sdkconfig.defaults.single.full
Normal file
16
test_apps/sdkconfig.defaults.single.full
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Disable task WDT for tests
|
||||||
|
CONFIG_ESP_TASK_WDT_INIT=n
|
||||||
|
|
||||||
|
# Partition configuration
|
||||||
|
CONFIG_PARTITION_TABLE_SINGLE_APP=y
|
||||||
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||||
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions/part_nvs.csv"
|
||||||
|
|
||||||
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
|
# Keep this as short as possible for tests
|
||||||
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_RUN_LIMIT=y
|
||||||
|
CONFIG_RELAY_CHN_RUN_LIMIT_MIN_SEC=1
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
||||||
|
CONFIG_RELAY_CHN_NVS_CUSTOM_PARTITION=y
|
||||||
7
test_apps/sdkconfig.defaults.single.nvs
Normal file
7
test_apps/sdkconfig.defaults.single.nvs
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Disable task WDT for tests
|
||||||
|
CONFIG_ESP_TASK_WDT_INIT=n
|
||||||
|
|
||||||
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
|
# Keep this as short as possible for tests
|
||||||
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_NVS=y
|
||||||
8
test_apps/sdkconfig.defaults.single.run_limit
Normal file
8
test_apps/sdkconfig.defaults.single.run_limit
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Disable task WDT for tests
|
||||||
|
CONFIG_ESP_TASK_WDT_INIT=n
|
||||||
|
|
||||||
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
|
# Keep this as short as possible for tests
|
||||||
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_RUN_LIMIT=y
|
||||||
|
CONFIG_RELAY_CHN_RUN_LIMIT_MIN_SEC=1
|
||||||
7
test_apps/sdkconfig.defaults.single.tilt
Normal file
7
test_apps/sdkconfig.defaults.single.tilt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Disable task WDT for tests
|
||||||
|
CONFIG_ESP_TASK_WDT_INIT=n
|
||||||
|
|
||||||
|
# Relay Channel Driver Default Configuration for Testing
|
||||||
|
# Keep this as short as possible for tests
|
||||||
|
CONFIG_RELAY_CHN_OPPOSITE_INERTIA_MS=200
|
||||||
|
CONFIG_RELAY_CHN_ENABLE_TILTING=y
|
||||||
Reference in New Issue
Block a user