(version, platforms, skip_build)
| 334 | return None |
| 335 | |
| 336 | def build_all(version, platforms, skip_build): |
| 337 | for platform in platforms: |
| 338 | # First build command must be "idf.py build", otherwise it fails to execute "idf.py elf" |
| 339 | # We check if the ELF file exists and run the correct command |
| 340 | # This can lead to code caching issues, so sometimes a clean build is required |
| 341 | if find_elf_file(platform) is None: |
| 342 | if not build_first(version, platform, skip_build): |
| 343 | return False |
| 344 | else: |
| 345 | if not build_consecutively(version, platform, skip_build): |
| 346 | return False |
| 347 | return True |
| 348 | |
| 349 | def wait_for_process(process): |
| 350 | buffer = [] |
no test coverage detected