Files
MeshCore/tools/hil/nrf52_crypto_benchmark.ld
T
mikecarper 08b1c8826c Save RAK repeater flash while retaining fast field arithmetic
Use compact scalar crypto, reviewed GNSS version parsing and shared CLI reply copies for RAK3401/RAK4631 repeaters. Preserve keys, protocols, commands and configured capacities.

Both Reduced images save 11,580 bytes. SWD measurements on the RAK3401 found scalar-only signing still near 50.9 ms and key exchange near 38 ms. Keep compact field arithmetic off: its extra 4.3 KiB saving adds about a quarter second and delays radio servicing.

Validate Full and Reduced production OTA packages on both boards, focused crypto/GPS/CLI tests, and linked ARM crypto outputs. Include the RAM benchmark harness and scoped results. No live RF packet-loss qualification is claimed.
2026-10-27 11:41:32 -07:00

10 lines
301 B
Plaintext

ENTRY(bench_start)
MEMORY { RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K }
SECTIONS {
.text : { KEEP(*(.entry)) *(.text*) *(.rodata*) } > RAM
.ARM.exidx : { *(.ARM.exidx*) } > RAM
.data : { *(.data*) } > RAM
.bss (NOLOAD) : { *(.bss*) *(COMMON) } > RAM
/DISCARD/ : { *(.comment*) *(.note*) }
}