(self, env_name: str)
| 1378 | ) |
| 1379 | |
| 1380 | def _artifacts_dir(self, env_name: str) -> Path: |
| 1381 | # fbuild emits artifacts (firmware.*, bootloader.bin, partitions.bin, |
| 1382 | # boot_app0.bin) into .fbuild/build/<env>/release/. PlatformIO's |
| 1383 | # ESP-IDF post-build steps put the same set into .pio/build/<env>/. |
| 1384 | # Whichever backend ran the compile is where the artifacts live. |
| 1385 | if self.use_fbuild: |
| 1386 | return self.build_dir / ".fbuild" / "build" / env_name / "release" |
| 1387 | return self.build_dir / ".pio" / "build" / env_name |
| 1388 | |
| 1389 | def get_merged_bin_path(self, example: str) -> Optional[Path]: |
| 1390 | """Get path to merged binary if it exists. |
no outgoing calls
no test coverage detected