]> granicus.if.org Git - esp-idf/commit
component/bt:separate the SMP, GATT module set the macro output the function.
authorYulong <huangyulong@espressif.com>
Tue, 25 Apr 2017 08:55:29 +0000 (04:55 -0400)
committerYulong <huangyulong@espressif.com>
Tue, 25 Apr 2017 08:55:29 +0000 (04:55 -0400)
commit5544f98add14058727bc49ba894597d4dce62bd8
treee0eabfa8369252732bf4cf9e44bd6e5b14acfbc1
parent45999b69d669e4bdd7ed87a08cb1cd31141188d9
component/bt:separate the SMP, GATT module set the macro output the function.

1. close classic bt, can save 233k code size;
2. close smp module, can save 136k code size;
3. close gattc module, can save 24k code size;
4. close gatts module, can save 16k code size;
4. close the bluedroid stack log, can save 120k code size.
15 files changed:
components/bt/bluedroid/bta/dm/bta_dm_act.c
components/bt/bluedroid/bta/dm/bta_dm_pm.c
components/bt/bluedroid/stack/btm/btm_acl.c
components/bt/bluedroid/stack/btm/btm_ble_gap.c
components/bt/bluedroid/stack/btm/btm_inq.c
components/bt/bluedroid/stack/btm/btm_main.c
components/bt/bluedroid/stack/btm/btm_sec.c
components/bt/bluedroid/stack/btu/btu_hcif.c
components/bt/bluedroid/stack/gatt/att_protocol.c
components/bt/bluedroid/stack/gatt/gatt_main.c
components/bt/bluedroid/stack/l2cap/l2c_api.c
components/bt/bluedroid/stack/l2cap/l2c_ble.c
components/bt/bluedroid/stack/l2cap/l2c_link.c
components/bt/bluedroid/stack/l2cap/l2c_main.c
components/bt/bluedroid/stack/l2cap/l2c_utils.c