()
| 80 | |
| 81 | |
| 82 | def parse_args() -> argparse.Namespace: |
| 83 | parser = argparse.ArgumentParser( |
| 84 | description="Convert a binary file to ELF using map file." |
| 85 | ) |
| 86 | parser.add_argument("--first", action="store_true", help="Inspect the first board") |
| 87 | parser.add_argument("--cwd", type=Path, help="Custom working directory") |
| 88 | |
| 89 | return parser.parse_args() |
| 90 | |
| 91 | |
| 92 | def load_build_info(build_info_path: Path) -> dict[str, Any]: |