Get the path to build_info.json for a specific board. Args: board_name: Name of the board (e.g., 'uno', 'esp32dev') Returns: Path to build_info.json file or None if not found
(self, board_name: str)
| 116 | return sorted(boards) |
| 117 | |
| 118 | def get_build_info_path(self, board_name: str) -> Optional[Path]: |
| 119 | """ |
| 120 | Get the path to build_info.json for a specific board. |
| 121 | |
| 122 | Args: |
| 123 | board_name: Name of the board (e.g., 'uno', 'esp32dev') |
| 124 | |
| 125 | Returns: |
| 126 | Path to build_info.json file or None if not found |
| 127 | """ |
| 128 | build_info_path = self.build_dir / board_name / "build_info.json" |
| 129 | if build_info_path.exists(): |
| 130 | return build_info_path |
| 131 | return None |
| 132 | |
| 133 | def load_build_info(self, board_name: str) -> Optional[dict[str, Any]]: |
| 134 | """ |