summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-04-17 23:51:50 +0700
committerGitHub <[email protected]>2025-04-17 23:51:50 +0700
commitedbea218b92fe20215e9fc0cfd69208babc08259 (patch)
tree7d68485de85de4a8e2485a2da1b2418d93fec5da /test
parente426c8c8769515597f22b48b203cf61035194638 (diff)
parent46d2d4199ea31babbffff51f9eaa65eda81c659b (diff)
Merge pull request #3086 from hathach/ci-add-picow-host
Ci add picow host test
Diffstat (limited to 'test')
-rwxr-xr-xtest/hil/hil_test.py2
-rw-r--r--test/hil/tinyusb.json14
2 files changed, 15 insertions, 1 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index 14ab4e63a..f292bca15 100755
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -543,7 +543,7 @@ def test_example(board, f1, example):
print(f'Flashing {fw_name}.elf')
# flash firmware. It may fail randomly, retry a few times
- max_rety = 2
+ max_rety = 3
for i in range(max_rety):
ret = globals()[f'flash_{board["flasher"]["name"].lower()}'](board, fw_name)
if ret.returncode == 0:
diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json
index 8f39eb32e..8a835e4c0 100644
--- a/test/hil/tinyusb.json
+++ b/test/hil/tinyusb.json
@@ -127,6 +127,20 @@
}
},
{
+ "name": "raspberry_pi_pico_w",
+ "uid": "E6614C311B764A37",
+ "tests": {
+ "device": false, "host": true, "dual": false,
+ "dev_attached": [{"vid_pid": "1a86_55d4", "serial": "52D2023934"}]
+ },
+ "flasher": {
+ "name": "openocd",
+ "uid": "E6633861A3819D38",
+ "args": "-f interface/cmsis-dap.cfg -f target/rp2040.cfg -c \"adapter speed 5000\""
+ },
+ "comment": "Test native host"
+ },
+ {
"name": "raspberry_pi_pico2",
"uid": "560AE75E1C7152C9",
"build" : {