Fit Mini Repeater with approved optional service cuts

This commit is contained in:
mikecarper committed 2026-10-17 19:35:05 -07:00
1 parent 7a9d099039
commit 55f67f9062
30 files changed
+1259 -34

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
"""Retain the measured Mini Repeater size policy in the final LTO link."""
Import("env")
# PlatformIO's build_flags apply these to compilation, but do not pass them
# 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":
env.Append(LINKFLAGS=[
"-fno-caller-saves",
"-fno-tree-dominator-opts",
"-fno-reorder-blocks",
"-fno-reorder-functions",
"-fno-tree-switch-conversion",
])