Fit Mini Repeater with approved optional service cuts
This commit is contained in:
1 parent
7a9d099039
commit
55f67f9062
30 files changed
+1259
-34
No files matched your search
@@ -21,13 +21,27 @@ lib_deps = ${stm32_base.lib_deps}
|
||||
extends = lora_e5_mini
|
||||
board_upload.maximum_size = 245760 ; 240 KiB app, 16 KiB LittleFS
|
||||
; GCC 14.2 emits a materially smaller LTO image than the platform's GCC 12
|
||||
; default, preserving the deployed filesystem boundary without cutting roles.
|
||||
; default. Retain it rather than adopting the experimental GCC 15 toolchain.
|
||||
platform_packages =
|
||||
platformio/toolchain-gccarmnoneeabi@^1.140201.0
|
||||
build_unflags = -Os
|
||||
extra_scripts = ${stm32_base.extra_scripts}
|
||||
post:scripts/stm32_mini_size.py
|
||||
build_flags = ${lora_e5_mini.build_flags}
|
||||
-Oz ; GCC 12's strongest size profile preserves the deployed 16 KiB filesystem boundary
|
||||
; Equivalent compact arithmetic and unused timer wrappers leave room for the
|
||||
; routing, host-service bridge and live USB/MQTT logging on this 256 KiB part.
|
||||
-D ED25519_COMPACT_SHA512=1
|
||||
-D ED25519_COMPACT_SCALAR=1
|
||||
-D ED25519_COMPACT_FIELD=1
|
||||
-D RADIOLIB_TONE_UNSUPPORTED
|
||||
-D HAL_TIM_MODULE_ONLY
|
||||
-Oz
|
||||
-flto
|
||||
-fno-caller-saves
|
||||
-fno-tree-dominator-opts
|
||||
-fno-reorder-blocks
|
||||
-fno-reorder-functions
|
||||
-fno-tree-switch-conversion
|
||||
-fno-inline-small-functions ; reduce flash without moving the deployed filesystem boundary
|
||||
-fipa-pta
|
||||
-fmerge-all-constants
|
||||
@@ -44,6 +58,10 @@ build_flags = ${lora_e5_mini.build_flags}
|
||||
-D MESH_ENABLE_CLOCK_SYNC=0 ; preserve the 16 KiB filesystem on this 256 KiB part
|
||||
-D MESH_ENABLE_FLOOD_GROUP_MODERATION=0 ; keep core routing and radio scheduling in flash
|
||||
-D MESH_PACKET_LOGGING_COMPACT=1 ; retain complete RX/TX bytes without the duplicate parsed RX line
|
||||
; User-approved Mini Repeater cuts only; other boards keep their defaults.
|
||||
-D MESH_ENABLE_CARRIER_TOOLS=0
|
||||
-D MESH_ENABLE_MANAGEMENT_REPORTING=0
|
||||
-D MESH_ENABLE_PACKET_FILE_LOGGING=0
|
||||
-D MESH_ENABLE_RECENT_REPEATERS=1
|
||||
-D LORA_TX_POWER=22
|
||||
-D ADVERT_NAME='"wio-e5-mini Repeater"'
|
||||
|
||||
Reference in new issue
Block a user