Files
esp-idf/examples/system
Hrushikesh Bhosale bb60a07e86 fix(examples/system/ota/otatool): fix serial port contention in pytest
The otatool pytest closes the serial port and then immediately launches
otatool_example.py as a subprocess that re-opens the same port via
esptool. This fails intermittently because pytest-embedded's
QueueFeederThread may still hold the FD when close() returns, and the
OS has not fully released the serial port by the time the subprocess
tries to open it.

Add a delay after serial close and a 3-attempt retry loop around the
subprocess to handle transient serial port contention.

(cherry picked from commit 926d5ee6ad)
2026-04-17 14:36:58 +05:30
..
2018-10-26 13:14:19 +08:00

System Examples

Configuration and management of memory, interrupts, WDT (watchdog timer), OTA (over the air updates), deep sleep logging, and event loops.

See the README.md file in the upper level examples directory for more information about examples.