Recover constrained firmware flash and update USB dispatch fixtures

This commit is contained in:
mikecarper committed 2026-10-28 02:51:56 -07:00
1 parent 7390e29086
commit 4261889095
15 files changed
+195 -102

No files matched your search

+12
View File
@@ -6,6 +6,18 @@ Import("env")
# to the LTO driver automatically. Keep this list matched by the profile test.
# No compiler/ABI, flash boundary or capacity check is overridden here.
if env["PIOENV"] == "wio-e5-mini_repeater":
import importlib.util
from pathlib import Path
# Reuse the qualified RAK CLI's equivalent libc reply copies. Restrict
# this flag to CommonCLI.cpp; radio, framework and other objects retain
# the existing optimizer recipe.
source = Path(__file__).resolve().with_name("nrf52_flash_trim.py")
spec = importlib.util.spec_from_file_location("mesh_mini_cli_replies", source)
replies = importlib.util.module_from_spec(spec)
spec.loader.exec_module(replies)
env.AddBuildMiddleware(replies.compile_shared_cli_replies, "*CommonCLI.cpp")
env.Append(LINKFLAGS=[
"-fno-caller-saves",
"-fno-tree-dominator-opts",