Get all available information for a board. Args: board_name: Name of the board Returns: AllInfoResult with ok, info, and error fields
(self, board_name: str)
| 279 | return ToolchainAliasesResult(ok=True, aliases=aliases, error="") |
| 280 | |
| 281 | def get_all_info(self, board_name: str) -> AllInfoResult: |
| 282 | """ |
| 283 | Get all available information for a board. |
| 284 | |
| 285 | Args: |
| 286 | board_name: Name of the board |
| 287 | |
| 288 | Returns: |
| 289 | AllInfoResult with ok, info, and error fields |
| 290 | """ |
| 291 | data = self.load_build_info(board_name) |
| 292 | if not data: |
| 293 | return AllInfoResult( |
| 294 | ok=False, info={}, error=f"Build info not found for {board_name}" |
| 295 | ) |
| 296 | |
| 297 | board_key = self.create_board_key_from_build_info(data, board_name) |
| 298 | if not board_key: |
| 299 | return AllInfoResult( |
| 300 | ok=False, info={}, error="Board key not found in build_info.json" |
| 301 | ) |
| 302 | |
| 303 | return AllInfoResult(ok=True, info=data[board_key], error="") |
| 304 | |
| 305 | def compare_defines(self, board1: str, board2: str) -> CompareDefinesResult: |
| 306 | """ |
nothing calls this directly
no test coverage detected