update shim packages

This commit is contained in:
github-actions[bot]
2026-03-14 21:33:41 +00:00
commit 8fcd620050
60 changed files with 4138 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import os
import sys
TOOLCHAIN_DIR = os.path.join(os.path.dirname(__file__), "toolchain")
def _run(name):
binary = os.path.join(TOOLCHAIN_DIR, "bin", name)
os.execvp(binary, [binary] + sys.argv[1:])
def _run_gcc():
_run("arm-none-eabi-gcc")
def _run_objcopy():
_run("arm-none-eabi-objcopy")
def _run_size():
_run("arm-none-eabi-size")
def smoketest():
import subprocess
gcc = os.path.join(TOOLCHAIN_DIR, "bin", "arm-none-eabi-gcc")
subprocess.run([gcc, "--version"], check=True)