]> granicus.if.org Git - esp-idf/commit
component/bt : decrease memory consumption by conn number
authorTian Hao <tianhao@espressif.com>
Fri, 15 Jun 2018 13:40:51 +0000 (21:40 +0800)
committerbot <bot@espressif.com>
Tue, 14 Aug 2018 02:29:17 +0000 (02:29 +0000)
commitee787085f937a582c3b70692f0d19b58cdb2de7d
tree63621a3eac169a01857d45b6f86b9039211b01b0
parenta85a8aef62e4d0b915c0638cf16b5aa320d368ca
component/bt : decrease memory consumption by conn number

1. BLE only with 9(max) connection will decrease 3K DRAM
2. BR/EDR only with 7(max) connection will decrease 16K DRAM
3. Any of BLE or BR/EDR connection number decrease will also decrease DRAM consumption
4. Decrease one BLE connection will save about 1KB DRAM
5. Decrease one BR/EDR ACL connection will save about 1.2KB DRAM
6. Decrease one BR/EDR SCO/eSCO will save 2KB DRAM.
7. fix some definition and kconfig
8. remove 1.2k of vhci tx cache and make .bss & .data to heap about 1.4K
9. modify BT Reserved Memory size and modify example to support new bt kconfig
30 files changed:
components/bt/Kconfig
components/bt/bluedroid/hci/hci_hal_h4.c
components/bt/bt.c
components/bt/include/esp_bt.h
components/bt/lib
components/esp32/ld/esp32.rom.ld
components/soc/include/soc/soc_memory_layout.h
examples/bluetooth/a2dp_sink/sdkconfig.defaults
examples/bluetooth/a2dp_source/sdkconfig.defaults
examples/bluetooth/ble_adv/sdkconfig.defaults
examples/bluetooth/ble_eddystone/sdkconfig.defaults
examples/bluetooth/ble_hid_device_demo/sdkconfig.defaults
examples/bluetooth/ble_ibeacon/sdkconfig.defaults
examples/bluetooth/ble_spp_client/sdkconfig.defaults
examples/bluetooth/ble_spp_server/sdkconfig.defaults
examples/bluetooth/ble_throughput/throughput_client/sdkconfig.defaults
examples/bluetooth/ble_throughput/throughput_server/sdkconfig.defaults
examples/bluetooth/blufi/sdkconfig.defaults
examples/bluetooth/bt_discovery/sdkconfig.defaults
examples/bluetooth/bt_spp_acceptor/sdkconfig.defaults
examples/bluetooth/bt_spp_initiator/sdkconfig.defaults
examples/bluetooth/bt_spp_vfs_acceptor/sdkconfig.defaults
examples/bluetooth/bt_spp_vfs_initiator/sdkconfig.defaults
examples/bluetooth/controller_hci_uart/sdkconfig.defaults
examples/bluetooth/gatt_client/sdkconfig.defaults
examples/bluetooth/gatt_security_client/sdkconfig.defaults
examples/bluetooth/gatt_security_server/sdkconfig.defaults
examples/bluetooth/gatt_server/sdkconfig.defaults
examples/bluetooth/gatt_server_service_table/sdkconfig.defaults
examples/bluetooth/gattc_multi_connect/sdkconfig.defaults