You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** Booting Zephyr OS build zephyr-v2.5.0-3742-g0622bde3bf22 ***
Running test suite adc_basic_test
===================================================================
START - test_adc_emul_single_value
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_single_value in 0.18 seconds
===================================================================
START - test_adc_emul_single_value_2ch
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_single_value_2ch in 0.18 seconds
===================================================================
START - test_adc_emul_custom_function
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_custom_function in 0.18 seconds
===================================================================
START - test_adc_emul_custom_function_2ch
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_custom_function_2ch in 0.18 seconds
===================================================================
START - test_adc_emul_custom_function_and_value
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_custom_function_and_value in 0.18 seconds
===================================================================
START - test_adc_emul_gain
E: Selected ADC gain is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_gain in 0.18 seconds
===================================================================
START - test_adc_emul_input_higher_than_ref
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_input_higher_than_ref in 0.18 seconds
===================================================================
START - test_adc_emul_reference
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_reference in 0.18 seconds
===================================================================
START - test_adc_emul_ref_voltage_set
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_ref_voltage_set in 0.18 seconds
===================================================================
Test suite adc_basic_test failed.
To Reproduce
Failed to run testcase tests/drivers/adc/adc_emul/
Steps to reproduce the behavior:
export ZEPHYR_SDK_INSTALL_DIR=~/zephyr-sdk-0.12.4
twister -p sam_e70b_xplained --device-testing --device-serial /dev/ttyACM1 -T tests/drivers/adc/adc_emul/
see error
*** Booting Zephyr OS build zephyr-v2.5.0-3742-g0622bde3bf22 ***
Running test suite adc_basic_test
===================================================================
START - test_adc_emul_single_value
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_single_value in 0.18 seconds
===================================================================
START - test_adc_emul_single_value_2ch
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_single_value_2ch in 0.18 seconds
===================================================================
START - test_adc_emul_custom_function
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_custom_function in 0.18 seconds
===================================================================
START - test_adc_emul_custom_function_2ch
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_custom_function_2ch in 0.18 seconds
===================================================================
START - test_adc_emul_custom_function_and_value
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_custom_function_and_value in 0.18 seconds
===================================================================
START - test_adc_emul_gain
E: Selected ADC gain is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_gain in 0.18 seconds
===================================================================
START - test_adc_emul_input_higher_than_ref
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_input_higher_than_ref in 0.18 seconds
===================================================================
START - test_adc_emul_reference
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_reference in 0.18 seconds
===================================================================
START - test_adc_emul_ref_voltage_set
E: Selected reference is not valid
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_emul/src/main.c:64: channel_setup: (ret is non-zero)
Setting up of the 0 channel failed with code -22
FAIL - test_adc_emul_ref_voltage_set in 0.18 seconds
===================================================================
Test suite adc_basic_test failed.
===================================================================
PROJECT EXECUTION FAILED
Environment
OS: Fedora33
Toolchain:zephyr-sdk-0.12.4
Commit ID: 0622bde
The text was updated successfully, but these errors were encountered: