From 79b69bfd7efc8f16e7854709b3a6fd669afd4059 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Tue, 2 Dec 2025 09:29:34 +0100 Subject: [PATCH] Add WHOLE_ARCHIVE property. Signed-off-by: Pol Henarejos --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 93c650a..4ccd9f1 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,3 +3,4 @@ idf_component_register( INCLUDE_DIRS . fs rng usb led ../tinycbor/src REQUIRES bootloader_support esp_partition esp_tinyusb efuse mbedtls ) +idf_component_set_property(${COMPONENT_NAME} WHOLE_ARCHIVE ON)