platformio/platformio-core

Add "break" support to "pio test" ?

オープン

#5,310 opened on 2025/11/12

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (791 件のフォーク)batch import
help wantedunit testing

Repository metrics

Stars
 (7,329 個のスター)
PR merge metrics
 (平均マージ 109d 16h) (30d で 5 merged PRs)

説明

For STM32 via ST-Link, the RTS and DTR modes to reset an uploaded test app don't work. The documented workaround is to add a 2s startup delay.

To considerably speed things up when running multiple tests, pio test could send a BREAK on the serial port, which does an immediate reset.

Would it be possible to add an option to send a break once connected to the USB serial port?

コントリビューターガイド