platformio/platformio-core

Add "break" support to "pio test" ?

Open

#5 310 ouverte le 12 nov. 2025

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Python (791 forks)batch import
help wantedunit testing

Métriques du dépôt

Stars
 (7 329 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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?

Guide contributeur