mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-16 04:21:56 +00:00
This reintroduces support for static service in the form of a new API, BT_GATT_SERVICE_DEFINE, and changes the internal services (GAP/GATT) to be defined as const as they are never register/unregistered. Internal service needed to be renamed in order to keep the same order as before since the section elements are sorted by name. The result is the following (make ram_report): before: gatt.c 572 0.66% cf_cfg 32 0.04% db 8 0.01% db_hash 16 0.02% db_hash_work 32 0.04% gap_attrs 180 0.21% gap_svc 12 0.01% gatt_attrs 160 0.18% gatt_sc 80 0.09% gatt_svc 12 0.01% sc_ccc_cfg 32 0.04% subscriptions 8 0.01% after: gatt.c 210 0.24% cf_cfg 32 0.04% db 8 0.01% db_hash 16 0.02% db_hash_work 32 0.04% gatt_sc 80 0.09% last_static_handle 2 0.00% sc_ccc_cfg 32 0.04% subscriptions 8 0.01% Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> |
||
---|---|---|
.. | ||
app_smem_aligned.ld | ||
app_smem_unaligned.ld | ||
app_smem.ld | ||
common-ram.ld | ||
common-rom.ld | ||
debug-sections.ld | ||
intlist.ld | ||
kobject-rom.ld | ||
kobject-text.ld | ||
kobject.ld | ||
linker-defs.h | ||
linker-tool-gcc.h | ||
linker-tool.h | ||
priv_stacks-noinit.ld | ||
priv_stacks-rom.ld | ||
priv_stacks-text.ld | ||
priv_stacks.ld | ||
rel-sections.ld | ||
section_tags.h | ||
sections.h |