summaryrefslogtreecommitdiff
path: root/tests/renesas-ra/i2c.py
diff options
context:
space:
mode:
authorTakeo Takahashi <takeo.takahashi.xv@renesas.com>2023-01-13 21:28:15 +0900
committerDamien George <damien@micropython.org>2023-04-27 14:12:53 +1000
commitdc7de6ed839dfd9c0a538fd1375f2adb77a68205 (patch)
tree0499167bd799c13ce64b8c701528a34c348ae76f /tests/renesas-ra/i2c.py
parent82a59a824c77c933a622498b9005dc50a026904e (diff)
renesas-ra: Change MICROPY_HW_BOARD_NAME definition to product name.
Changes in this commit: - Change MICROPY_HW_BOARD_NAME definition to match the product name. - Rename board folder's name to match the product name style. - Change related files like Makefile, document descriptions, test cases, CI and tools. Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
Diffstat (limited to 'tests/renesas-ra/i2c.py')
-rw-r--r--tests/renesas-ra/i2c.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/renesas-ra/i2c.py b/tests/renesas-ra/i2c.py
index bb22509e4..3991f7175 100644
--- a/tests/renesas-ra/i2c.py
+++ b/tests/renesas-ra/i2c.py
@@ -2,11 +2,11 @@ import os
import time
n = os.uname().machine
-if "RA6M2_EK" in n:
+if "EK-RA6M2" in n:
i2c_id = 2
-elif "RA6M1_EK" in n:
+elif "EK-RA6M1" in n:
i2c_id = 0
-elif ("RA4M1_CLICKER" in n) or ("RA4M1_EK" in n) or ("RA4W1_EK" in n):
+elif ("RA4M1 CLICKER" in n) or ("EK-RA4M1" in n) or ("EK-RA4W1" in n):
print("SKIP")
raise SystemExit
else: