mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
pytest_gcov hardcoded `__idf_<component>.dir/` as the per-component CMake intermediate directory where each .gcda is expected to land. The directory name is build-system specific (Build system v1 uses `__idf_<component>.dir`, Build system v2 uses `_idf_<component>.dir`). Asserting on a single literal made every test_gcov_uart run fail under Build system v2 even though the chip was streaming valid coverage data and the host-side UartGcovCapture was writing the files to the build's actual layout. Probe `CMakeFiles/*_<component>.dir/` and prefer the candidate whose .gcno files were emitted by the active build, so the assertion follows the build output rather than dictating it.
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 |
|---|
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.