From bd3a2f5bd15ad8e713c572c79bf281af941ef7ef Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Tue, 19 Mar 2024 09:28:18 +0100 Subject: [PATCH] samples: Bluetooth: hci_ipc: Use LTO when building ISO features Use Link Time Optimisation (LTO) when building Controller with Isochronous channels support. nRF53x SoCs has 256KB flash and using speed optimisation, which is the default today, overflows flash when adding new features related to ISO support. Signed-off-by: Vinayak Kariappa Chettimada --- .../bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf b/samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf index 3377273dd9a..8fbd3d3af2d 100644 --- a/samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf +++ b/samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf @@ -9,6 +9,9 @@ CONFIG_IPC_SERVICE_BACKEND_RPMSG_WQ_STACK_SIZE=512 CONFIG_HEAP_MEM_POOL_SIZE=8192 CONFIG_CBPRINTF_REDUCED_INTEGRAL=y +CONFIG_ISR_TABLES_LOCAL_DECLARATION=y +CONFIG_LTO=y + CONFIG_BT=y CONFIG_BT_HCI_RAW=y CONFIG_BT_MAX_CONN=2