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

Function ensure_platform_installed

ci/compiler/package_manager.py:337–345  ·  view source on GitHub ↗

Ensure the required platform is installed for the board.

(board: "Board")

Source from the content-addressed store, hash-verified

335
336
337def ensure_platform_installed(board: "Board") -> bool:
338 """Ensure the required platform is installed for the board."""
339 if not board.platform_needs_install:
340 return True
341
342 # Platform installation is handled by existing platform management code
343 # This is a placeholder for future platform installation logic
344 print(f"Platform installation needed for {board.board_name}: {board.platform}")
345 return True

Callers 1

_init_platformio_buildFunction · 0.90

Calls 1

printFunction · 0.50

Tested by

no test coverage detected