diff --git a/tests/psoc6/i2c_hard.py b/tests/psoc6/i2c_hard.py deleted file mode 100644 index e818af709135..000000000000 --- a/tests/psoc6/i2c_hard.py +++ /dev/null @@ -1,16 +0,0 @@ -### I2C -import os -from machine import I2C - -# Allocate pin based on board -machine = os.uname().machine -if "CY8CPROTO-062-4343W" in machine: - scl_pin = "P6_0" - sda_pin = "P6_1" -elif "CY8CPROTO-063-BLE" in machine: - scl_pin = "P6_4" - sda_pin = "P6_5" - -i2c = I2C(scl=scl_pin, sda=sda_pin, freq=400000) - -print(i2c.scan()) diff --git a/tests/psoc6/i2c_hard.py.exp b/tests/psoc6/i2c_hard.py.exp deleted file mode 100644 index fe51488c7066..000000000000 --- a/tests/psoc6/i2c_hard.py.exp +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/psoc6/i2c_soft.py b/tests/psoc6/i2c_soft.py deleted file mode 100644 index 4178f19363a9..000000000000 --- a/tests/psoc6/i2c_soft.py +++ /dev/null @@ -1,16 +0,0 @@ -#### SoftI2C -import os -from machine import SoftI2C - -# Allocate pin based on board -machine = os.uname().machine -if "CY8CPROTO-062-4343W" in machine: - scl_pin = "P6_0" - sda_pin = "P6_1" -elif "CY8CPROTO-063-BLE" in machine: - scl_pin = "P6_4" - sda_pin = "P6_5" - -si2c = SoftI2C(scl=scl_pin, sda=sda_pin, freq=400000) - -print(si2c.scan()) diff --git a/tests/psoc6/i2c_soft.py.exp b/tests/psoc6/i2c_soft.py.exp deleted file mode 100644 index fe51488c7066..000000000000 --- a/tests/psoc6/i2c_soft.py.exp +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/psoc6/pin.py b/tests/psoc6/pin.py deleted file mode 100644 index 8c7ba1574ef9..000000000000 --- a/tests/psoc6/pin.py +++ /dev/null @@ -1,34 +0,0 @@ -import os -from machine import Pin -import time -import machine - -# Allocate pin based on board -machine = os.uname().machine -if "CY8CPROTO-062-4343W" in machine: - pin1_name = "P13_7" - pin2_name = "P0_4" -elif "CY8CPROTO-063-BLE" in machine: - pin1_name = "P6_3" - pin2_name = "P0_4" - -# Tests for Output pin -# Instantiate output pin for led operation -# Constr -p1 = Pin(pin1_name) -p1.init(Pin.OUT) - -p1.value(0) # Led glows -print(p1.value()) # None - -p1.off() # Switches off led -print(p1.off()) # None - -p1.value(False) # Led glows -print(p1.value()) # None - -# Tests for Input pin -# Instantiate input pin for button operation -p2 = Pin(pin2_name, Pin.IN) -p2.value() -print(p2.value()) # 1 - button is released diff --git a/tests/psoc6/pin.py.exp b/tests/psoc6/pin.py.exp deleted file mode 100644 index 37df6a5b2f32..000000000000 --- a/tests/psoc6/pin.py.exp +++ /dev/null @@ -1,4 +0,0 @@ -None -None -None -1 diff --git a/tests/psoc6/pwm.py b/tests/psoc6/pwm.py deleted file mode 100644 index 16aeafa99220..000000000000 --- a/tests/psoc6/pwm.py +++ /dev/null @@ -1,17 +0,0 @@ -### PWM -import os -from machine import PWM - -# Allocate pin based on board -machine = os.uname().machine -if "CY8CPROTO-062-4343W" in machine: - pin_name = "P12_0" -elif "CY8CPROTO-063-BLE" in machine: - pin_name = "P6_3" - -pwm = PWM(pin_name, freq=50, duty_u16=8192) -print(pwm) -print(pwm.freq()) -print(pwm.duty_u16()) -pwm.duty_ns(1000) -print(pwm.duty_ns()) diff --git a/tests/psoc6/pwm.py.exp b/tests/psoc6/pwm.py.exp deleted file mode 100644 index e74c028c06a3..000000000000 --- a/tests/psoc6/pwm.py.exp +++ /dev/null @@ -1,4 +0,0 @@ -frequency=50 duty_cycle=8192.000000 -50 -8192.0 -1000.0