MCPcopy Create free account
hub / github.com/FastLED/FastLED / copy_esp32_qemu_artifacts

Function copy_esp32_qemu_artifacts

ci/compiler/output_utils.py:127–148  ·  view source on GitHub ↗

Copy all ESP32 QEMU artifacts to the specified output directory. Args: build_dir: Build directory path board: Board configuration sketch_name: Name of the sketch output_path: Target output path (directory or firmware.bin file) Returns: True if succes

(
    build_dir: Path, board: Board, sketch_name: str, output_path: str
)

Source from the content-addressed store, hash-verified

125
126
127def copy_esp32_qemu_artifacts(
128 build_dir: Path, board: Board, sketch_name: str, output_path: str
129) -> bool:
130 """Copy all ESP32 QEMU artifacts to the specified output directory.
131
132 Args:
133 build_dir: Build directory path
134 board: Board configuration
135 sketch_name: Name of the sketch
136 output_path: Target output path (directory or firmware.bin file)
137
138 Returns:
139 True if successful, False otherwise
140 """
141 print("🔧 ESP32 QEMU mode detected - collecting all required artifacts")
142
143 # Validate flash mode for QEMU compatibility
144 validate_esp32_flash_mode_for_qemu(build_dir, board)
145
146 # Use the new ESP32ArtifactManager for clean artifact handling
147 manager = ESP32ArtifactManager(build_dir, board.board_name)
148 return manager.copy_qemu_artifacts(output_path, sketch_name)
149
150
151def copy_build_artifact(

Callers 1

copy_build_artifactFunction · 0.85

Calls 4

copy_qemu_artifactsMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected