From a903b126b90fcf7a0e6d36a16bb6daa65e5cd6cb Mon Sep 17 00:00:00 2001 From: NikhitaR-IFX Date: Tue, 11 Jul 2023 18:27:19 +0530 Subject: [PATCH] tests/psoc6: Added exp files for ADC related tests. Signed-off-by: NikhitaR-IFX --- tests/psoc6/adc.py.exp | 5 +++++ tests/psoc6/adcblock.py.exp | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 tests/psoc6/adc.py.exp create mode 100644 tests/psoc6/adcblock.py.exp diff --git a/tests/psoc6/adc.py.exp b/tests/psoc6/adc.py.exp new file mode 100644 index 0000000000000..a4d8ce296edb3 --- /dev/null +++ b/tests/psoc6/adc.py.exp @@ -0,0 +1,5 @@ + + +False +True +Invalid ADC Pin diff --git a/tests/psoc6/adcblock.py.exp b/tests/psoc6/adcblock.py.exp new file mode 100644 index 0000000000000..1d474b83f7aba --- /dev/null +++ b/tests/psoc6/adcblock.py.exp @@ -0,0 +1,4 @@ +TypeError: Specified ADC id not supported. Currently only block 0 is configured! +TypeError: Invalid bits. Current ADC configuration supports only 12 bits resolution! +TypeError: Wrong pin specified for the mentioned channel +False