Skip to content

Commit 3645095

Browse files
committed
Update RTT testing timeout and improve log file checks; refine README description
1 parent 2566392 commit 3645095

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/test-rtt.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,16 @@ jobs:
100100
serial2=$(sed -n '2p' serials.txt)
101101
serial3=$(sed -n '3p' serials.txt)
102102
103+
echo "Testing serials: $serial1 $serial2 $serial3"
104+
103105
mkdir -p rtt_logs_serial
104106
# Serial devices are processed sequentially (USB driver limitation)
105-
# Total timeout: 3 seconds per device * 3 devices + overhead
106-
timeout 15 bmlab-rtt --serial $serial1 $serial2 $serial3 --mcu STM32F103RE --output-dir rtt_logs_serial --timeout 3 || true
107+
# Each device: ~3s RTT + ~2s connect/disconnect = ~5s
108+
# Total: 3 devices * 5s = 15s + 10s buffer = 25s
109+
timeout 25 bmlab-rtt --serial $serial1 $serial2 $serial3 --mcu STM32F103RE --output-dir rtt_logs_serial --timeout 3 || true
110+
111+
echo "Checking log files..."
112+
ls -lh rtt_logs_serial/
107113
108114
# Check that log files were created
109115
for s in $serial1 $serial2 $serial3; do

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# bmlab-toolkit
22

3-
CI/CD toolkit for flashing and testing embedded devices.
3+
Toolkit for flashing and testing embedded devices.
44

55
## Features
66

0 commit comments

Comments
 (0)