ble linker

This commit is contained in:
Ben V. Brown
2022-10-21 23:11:05 +11:00
parent 721c7d36f3
commit 8a857ce757

View File

@@ -32,7 +32,7 @@ SECTIONS
{ {
PROVIDE(__metal_chicken_bit = 0); PROVIDE(__metal_chicken_bit = 0);
.text : .text :
{ {
. = ALIGN(4); . = ALIGN(4);
__text_code_start__ = .; __text_code_start__ = .;
@@ -73,9 +73,19 @@ SECTIONS
*bl702_xip_sflash_ext*.o* \ *bl702_xip_sflash_ext*.o* \
*bl702_ef_ctrl*.o*) .rodata*) *bl702_ef_ctrl*.o*) .rodata*)
*(.rodata)
*(.rodata.*)
*(.srodata) *(.srodata)
*(.srodata.*) *(.srodata.*)
_bt_gatt_service_static_list_start = .;
KEEP(*(SORT_BY_NAME("._bt_gatt_service_static.static.*")))
_bt_gatt_service_static_list_end = .;
_bt_l2cap_fixed_chan_list_start = .;
KEEP(*(SORT_BY_NAME("._bt_l2cap_fixed_chan.static.*")))
_bt_l2cap_fixed_chan_list_end = .;
. = ALIGN(4); . = ALIGN(4);
__text_code_end__ = .; __text_code_end__ = .;
} > xip_memory } > xip_memory