From 5290410828f7fa2d26e3bc5a17195f559d93f6ea Mon Sep 17 00:00:00 2001 From: DonBrus <8736534+DonBrus@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:04:15 +0100 Subject: [PATCH] compile library as .a This enables finer optimizations by the linker when integrating this library in an executable that doesn't necessarily use all of its features. Without this flag, some statically allocated class instances, e.g. RNG, will take up space even when not used, although the executable might have been compiled with space optimization enabled and garbage collection for data sections. This reduction of memory usage can be quite significant in standard arduino platforms (e.g. 328p). --- library.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/library.properties b/library.properties index e4887a90..09fc3ef2 100644 --- a/library.properties +++ b/library.properties @@ -7,3 +7,4 @@ paragraph=All cryptographic algorithms have been optimized for 8-bit Arduino pla category=Other url=https://rweather.github.io/arduinolibs/crypto.html architectures=* +dot_a_linkage=true