mpbuild 0.9__tar.gz → 0.9.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mpbuild-0.9.1/.claude/settings.local.json +9 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/PKG-INFO +1 -1
- {mpbuild-0.9 → mpbuild-0.9.1}/pyproject.toml +1 -1
- mpbuild-0.9.1/src/mpbuild/.build.py.swp +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/build.py +2 -2
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/interactive.py +26 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/.gitignore +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/.pre-commit-config.yaml +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/.python-version +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/LICENSE +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/README.md +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/requirements-dev.lock +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/requirements.lock +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/__init__.py +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/__main__.py +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/board_database.py +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/check_images.py +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/cli.py +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/completions.py +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/find_boards.py +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/list_boards.py +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/src/mpbuild/py.typed +0 -0
- {mpbuild-0.9 → mpbuild-0.9.1}/uv.lock +0 -0
|
Binary file
|
|
@@ -23,7 +23,7 @@ BUILD_CONTAINERS = {
|
|
|
23
23
|
"renesas-ra": ARM_BUILD_CONTAINER,
|
|
24
24
|
"samd": ARM_BUILD_CONTAINER,
|
|
25
25
|
"psoc6": "ifxmakers/mpy-mtb-ci",
|
|
26
|
-
"esp32": "espressif/idf:v5.4.
|
|
26
|
+
"esp32": "espressif/idf:v5.4.2",
|
|
27
27
|
"esp8266": "larsks/esp-open-sdk",
|
|
28
28
|
"unix": "gcc:12-bookworm", # Special, doesn't have boards
|
|
29
29
|
}
|
|
@@ -182,7 +182,7 @@ def build_board(
|
|
|
182
182
|
docker_interactive=sys.stdin.isatty(),
|
|
183
183
|
)
|
|
184
184
|
|
|
185
|
-
title = "
|
|
185
|
+
title = "Clean" if do_clean else "Build"
|
|
186
186
|
title += f" {port}/{board}" + (f" ({variant})" if variant else "")
|
|
187
187
|
print(Panel(build_cmd, title=title, title_align="left", padding=1))
|
|
188
188
|
|
|
@@ -50,6 +50,32 @@ class BoardDetails(Static):
|
|
|
50
50
|
if self.board.url:
|
|
51
51
|
content += f"\n**URL:** {self.board.url}\n"
|
|
52
52
|
|
|
53
|
+
# Add pins information
|
|
54
|
+
pins = self.board.pins
|
|
55
|
+
if pins:
|
|
56
|
+
content += f"\n**Pins:** ({len(pins)} pins)\n"
|
|
57
|
+
|
|
58
|
+
# Group pins by type for better display
|
|
59
|
+
cpu_pins = [p for p in pins if not p.functional_name or p.functional_name == p.mcu_pin]
|
|
60
|
+
board_pins = [p for p in pins if p.functional_name and p.functional_name != p.mcu_pin]
|
|
61
|
+
|
|
62
|
+
if board_pins:
|
|
63
|
+
content += "\n*Board Pins:*\n"
|
|
64
|
+
for pin in sorted(board_pins, key=lambda p: p.functional_name):
|
|
65
|
+
content += f"- {pin.functional_name} → {pin.mcu_pin}\n"
|
|
66
|
+
|
|
67
|
+
if cpu_pins:
|
|
68
|
+
content += "\n*CPU Pins:*\n"
|
|
69
|
+
# Show only first 20 CPU pins to avoid overwhelming the display
|
|
70
|
+
displayed_pins = sorted(cpu_pins, key=lambda p: p.mcu_pin)[:20]
|
|
71
|
+
for pin in displayed_pins:
|
|
72
|
+
content += f"- {pin.mcu_pin}\n"
|
|
73
|
+
|
|
74
|
+
if len(cpu_pins) > 20:
|
|
75
|
+
content += f"... and {len(cpu_pins) - 20} more CPU pins\n"
|
|
76
|
+
else:
|
|
77
|
+
content += f"\n**Pins:** No pins.csv file found\n"
|
|
78
|
+
|
|
53
79
|
self.update(content)
|
|
54
80
|
|
|
55
81
|
def compose(self) -> ComposeResult:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|