platformio/platformio-core

Add "break" support to "pio test" ?

開放

#5,310 建立於 2025年11月12日

 (0 則留言) (0 個反應) (0 位負責人)Python (791 個分叉)batch import
help wantedunit testing

倉庫指標

星標
 (7,329 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南