True iff fbuild produced artifacts for ``board_name`` anywhere we look. Probes every candidate release dir from :func:`_candidate_fbuild_release_dirs` — fbuild's ESP32 / AVR / Teensy orchestrators populate this directory during compile, so its presence is the canonical fbuild-vs-PIO
(
project_root: Path, build_root: Path, board_name: str
)
| 65 | |
| 66 | |
| 67 | def was_compiled_with_fbuild( |
| 68 | project_root: Path, build_root: Path, board_name: str |
| 69 | ) -> bool: |
| 70 | """True iff fbuild produced artifacts for ``board_name`` anywhere we look. |
| 71 | |
| 72 | Probes every candidate release dir from |
| 73 | :func:`_candidate_fbuild_release_dirs` — fbuild's ESP32 / AVR / Teensy |
| 74 | orchestrators populate this directory during compile, so its presence is |
| 75 | the canonical fbuild-vs-PIO backend signal for post-compile tooling. |
| 76 | """ |
| 77 | return any( |
| 78 | cand.exists() |
| 79 | for cand in _candidate_fbuild_release_dirs(project_root, build_root, board_name) |
| 80 | ) |
| 81 | |
| 82 | |
| 83 | def _find_existing_compile_db( |
no test coverage detected