Bluetooth: GATT: Make use of Z_STRUCT_SECTION_ITERABLE
This makes use of Z_STRUCT_SECTION_ITERABLE to define static service sections. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
a1e25b91ff
commit
8b9920fd77
3 changed files with 9 additions and 19 deletions
|
@ -94,9 +94,9 @@
|
|||
|
||||
SECTION_DATA_PROLOGUE(_bt_services_area,,SUBALIGN(4))
|
||||
{
|
||||
_bt_services_start = .;
|
||||
KEEP(*(SORT_BY_NAME("._bt_services.static.*")))
|
||||
_bt_services_end = .;
|
||||
_bt_gatt_service_static_list_start = .;
|
||||
KEEP(*(SORT_BY_NAME("._bt_gatt_service_static.static.*")))
|
||||
_bt_gatt_service_static_list_end = .;
|
||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
|
||||
#if defined(CONFIG_SETTINGS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue