Skip to content

Commit ae88bbe

Browse files
NikhitaR-IFXactions-user
authored andcommitted
tests/ports/psoc6: Tests skip check.
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
1 parent 3701780 commit ae88bbe

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/ports/psoc6/board_ext_hw/multi/pdm_pcm_rx.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import os
2-
from machine import PDM_PCM, Pin
32
import machine
3+
from machine import PDM_PCM, Pin
44
import time
55

66
# Allocate pin based on board
77
board = os.uname().machine
8-
if "CY8CPROTO-062-4343W" in board:
8+
if "CY8CPROTO-062-4343W with PSoC62" in board:
99
clk_pin = "P10_4"
1010
data_pin = "P10_5"
1111
send_signal_to_tx_pin = "P10_3"
@@ -16,17 +16,17 @@
1616
print("SKIP")
1717
raise SystemExit
1818

19+
print("*** PDM_PCM tests - RX ***")
20+
21+
send_signal = Pin(send_signal_to_tx_pin, mode=Pin.OUT, pull=Pin.PULL_DOWN, value=False)
22+
send_signal.value(0)
23+
1924

2025
def generate_exp_seq(data):
2126
exp_seq = bytearray(data * 64)
2227
return exp_seq
2328

2429

25-
print("*** PDM_PCM tests - RX ***")
26-
27-
send_signal = Pin(send_signal_to_tx_pin, mode=Pin.OUT, pull=Pin.PULL_DOWN, value=False)
28-
send_signal.value(0)
29-
3030
print("1. blocking read implementation ")
3131

3232
_sampling_rate = [8000, 16000, 32000, 48000, 22050, 44100]

0 commit comments

Comments
 (0)