chore: firmware patch

This commit is contained in:
Ben Allfree
2025-11-30 10:00:46 -08:00
parent 09ef8dab58
commit 31aa974f39
+13 -13
View File
@@ -17,7 +17,7 @@ index cc742c6c1..545b0923a 100644
\ No newline at end of file
diff --git a/bin/mpm_pio.py b/bin/mpm_pio.py
new file mode 100644
index 000000000..0ad9a63bf
index 000000000..486e7c1cc
--- /dev/null
+++ b/bin/mpm_pio.py
@@ -0,0 +1,74 @@
@@ -83,9 +83,9 @@ index 000000000..0ad9a63bf
+ print(f"MPM: Added {_nanopb_generator} to PATH")
+
+# Use the installed `mpm` package
+from mesh_plugin_manager.build import init_plugins # type: ignore[import]
+from mesh_plugin_manager.build_utils import scan_plugins # type: ignore[import]
+from mesh_plugin_manager.proto import generate_all_protobuf_files # type: ignore[import]
+from mpm.build import init_plugins # type: ignore[import]
+from mpm.build_utils import scan_plugins # type: ignore[import]
+from mpm.proto import generate_all_protobuf_files # type: ignore[import]
+
+# Auto-initialize when imported by PlatformIO (not when run as __main__)
+if __name__ != "__main__":
@@ -272,7 +272,7 @@ index 000000000..4faef7774
\ No newline at end of file
diff --git a/poetry.lock b/poetry.lock
new file mode 100644
index 000000000..a876e15d6
index 000000000..f3e0ebd0f
--- /dev/null
+++ b/poetry.lock
@@ -0,0 +1,468 @@
@@ -583,14 +583,14 @@ index 000000000..a876e15d6
+
+[[package]]
+name = "mesh-plugin-manager"
+version = "0.1.0"
+description = "Mesh Plugin Manager - A lightweight package manager for Meshtastic plugins"
+version = "1.0.0"
+description = ""
+optional = false
+python-versions = ">=3.8"
+python-versions = ">=3.14"
+groups = ["main"]
+files = [
+ {file = "mesh_plugin_manager-0.1.0-py3-none-any.whl", hash = "sha256:e9fc06642a600e6b988b9ca2467aff8f6c5c3a2528a2ab911ea624b113f369a7"},
+ {file = "mesh_plugin_manager-0.1.0.tar.gz", hash = "sha256:b511775f643cf7191846ba00d93b128d09f720ec1fe2c58e1740a26f0233a8a9"},
+ {file = "mesh_plugin_manager-1.0.0-py3-none-any.whl", hash = "sha256:e98fcceeaaba37d24a4831892abf77d44ffec8ad94e8895245bf857a3a0c4334"},
+ {file = "mesh_plugin_manager-1.0.0.tar.gz", hash = "sha256:58a607e2a89de609a71ed797cebaa6baf32f1b276005c1206a37f1974e0b87c5"},
+]
+
+[package.dependencies]
@@ -743,10 +743,10 @@ index 000000000..a876e15d6
+[metadata]
+lock-version = "2.1"
+python-versions = ">=3.14"
+content-hash = "9e246602fc28ff3dd8175d6715b38876954c5c57498db9286c94e80f9919278e"
+content-hash = "ee2d4092588dc9bdf6c361a299dbbbaed90b489bbaeb9b2580184f3e06e51b88"
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 000000000..6dc4fc91a
index 000000000..0c47b1ea6
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,15 @@
@@ -757,7 +757,7 @@ index 000000000..6dc4fc91a
+authors = [{ name = "Your Name", email = "you@example.com" }]
+readme = "README.md"
+requires-python = ">=3.14"
+dependencies = ["mesh-plugin-manager (>=0.1.0,<0.2.0)"]
+dependencies = ["mesh-plugin-manager (>=0.1.0,<2.0.0)"]
+
+[build-system]
+requires = ["poetry-core>=2.0.0,<3.0.0"]