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

Function _create_board_info

ci/compiled_size.py:11–17  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

9
10
11def _create_board_info(path: Path) -> dict[str, Any]:
12 build_info = json.loads(path.read_text())
13 assert build_info.keys(), f"No boards found in {build_info}"
14 assert len(build_info.keys()) == 1, (
15 f"Multiple boards found in {build_info}, so correct board should be specified"
16 )
17 return build_info[next(iter(build_info))]
18
19
20def _find_build_info(board: str, example: str | None = None) -> Path:

Callers 1

check_firmware_sizeFunction · 0.85

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected