diff --git a/samples/suit/recovery/prj.conf b/samples/suit/recovery/prj.conf index 9aff7421c393..97681ae7ba04 100644 --- a/samples/suit/recovery/prj.conf +++ b/samples/suit/recovery/prj.conf @@ -66,8 +66,13 @@ CONFIG_BT_DEVICE_NAME="SUIT Recovery" ######## # Disable unneeded drivers, peripherals and features to optimize for size + CONFIG_SIZE_OPTIMIZATIONS=y +# Enable LTO +CONFIG_LTO=y +CONFIG_ISR_TABLES_LOCAL_DECLARATION=y + CONFIG_I2C=n CONFIG_WATCHDOG=n CONFIG_SPI=n diff --git a/samples/suit/recovery/sysbuild/hci_ipc.conf b/samples/suit/recovery/sysbuild/hci_ipc.conf index d0f32e600333..9a0e3805ff22 100644 --- a/samples/suit/recovery/sysbuild/hci_ipc.conf +++ b/samples/suit/recovery/sysbuild/hci_ipc.conf @@ -45,6 +45,11 @@ CONFIG_PRINTK=n CONFIG_SIZE_OPTIMIZATIONS=y +# Enable LTO +CONFIG_LTO=y +CONFIG_ISR_TABLES_LOCAL_DECLARATION=y + + CONFIG_BT_CTLR_CRYPTO=n CONFIG_ENTROPY_GENERATOR=y