Arduino v3.3.1

This commit is contained in:
Jason2866
2025-09-17 00:09:47 +02:00
parent d408614d66
commit 8715c1708f
389 changed files with 2101 additions and 100083 deletions
+12
View File
@@ -0,0 +1,12 @@
def configure_board(env):
if "arduino" in env.get("PIOFRAMEWORK", []):
deps = ["https://github.com/M5Stack/M5Unified.git"]
# Install libraries using PlatformIO Library Manager
from pathlib import Path
from platformio.package.manager.library import LibraryPackageManager
lib_dir = Path(env.subst("$PROJECT_DIR")) / ".pio" / "libdeps" / env.subst("$PIOENV")
lm = LibraryPackageManager(package_dir=lib_dir)
for lib in deps:
lm.install(lib)