From 5061760293541e67a4a18ec5ed35ef809a8563e2 Mon Sep 17 00:00:00 2001 From: Sylvio Alves Date: Thu, 12 Aug 2021 07:50:07 -0300 Subject: [PATCH] linker: esp32: update linker with recent iterable bt_conn_cb section was added into common-rom.ld and as current ESP has limited segment section number, it needs to be moved out from there. Signed-off-by: Sylvio Alves --- soc/xtensa/esp32/linker.ld | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/soc/xtensa/esp32/linker.ld b/soc/xtensa/esp32/linker.ld index eb43f112933..76be1f7bcae 100644 --- a/soc/xtensa/esp32/linker.ld +++ b/soc/xtensa/esp32/linker.ld @@ -281,6 +281,10 @@ _net_buf_pool_list = _esp_net_buf_pool_list; Z_LINK_ITERABLE_ALIGNED(bt_l2cap_br_fixed_chan, 4); #endif +#if defined(CONFIG_BT_CONN) + Z_LINK_ITERABLE_ALIGNED(bt_conn_cb, 4) +#endif + Z_LINK_ITERABLE_ALIGNED(bt_gatt_service_static, 4); #if defined(CONFIG_BT_MESH)