Skip to content

Commit 74ffd03

Browse files
committed
Fix RTT tests to specify MCU for serial commands
1 parent 78d07dc commit 74ffd03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-rtt.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
run: |
7676
. .venv/bin/activate
7777
serial=$(sed -n '1p' serials.txt)
78-
timeout 5 bmlab-rtt --serial $serial --timeout 3 | tee rtt-serial1.txt || true
78+
timeout 5 bmlab-rtt --serial $serial --mcu STM32F103RE --timeout 3 | tee rtt-serial1.txt || true
7979
8080
if [ ! -s rtt-serial1.txt ]; then
8181
echo "Test 1 failed: no RTT output"
@@ -85,7 +85,8 @@ jobs:
8585
- name: Test 2 — RTT auto-detect device
8686
run: |
8787
. .venv/bin/activate
88-
timeout 5 bmlab-rtt --timeout 3 | tee rtt-auto.txt || true
88+
serial=$(sed -n '1p' serials.txt)
89+
timeout 5 bmlab-rtt --serial $serial --timeout 3 | tee rtt-auto.txt || true
8990
9091
if [ ! -s rtt-auto.txt ]; then
9192
echo "Test 2 failed: no RTT output"

0 commit comments

Comments
 (0)