esp-idf/components
Hrishikesh Dhayagude 4abe47437f components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM
Problem:
The new API esp_bt_mem_release() that was added freed BTDM data to heap from esp_bt_controller_mem_release().
Now with the BT memory optimization commit ee787085f9,
the BTDM data is optimized and reduced to only 32 bytes which is not sufficient amount to be added to heap.
So, using the API leads to assert saying that the region is too small.

Solution:
Modify heap_caps_add_region_with_caps to return ESP_ERR_INVALID_SIZE in case the range is too small to create a new heap.
Do not assert if return value is ESP_ERR_INVALID_SIZE

This also fixes using API esp_bt_controller_mem_release() with ESP_BT_MODE_BTDM

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-31 14:28:23 +00:00
..
app_trace app_trace: Fix tmo initialization 2018-08-29 10:55:39 +08:00
app_update Merge branch 'bugfix/app_update_test' into 'master' 2018-08-27 08:46:02 +08:00
asio asio: initial idf port of asio library without ssl 2018-07-30 06:28:43 +00:00
aws_iot aws-iot: Update to 3.0.1 release 2018-08-07 11:28:54 +05:30
bootloader bootloader: Don't use check_python_dependencies in the bootloader command 2018-08-23 11:41:40 +02:00
bootloader_support Merge branch 'feature/rtc_cpu_freq_config' into 'master' 2018-08-22 11:32:08 +08:00
bt components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM 2018-08-31 14:28:23 +00:00
coap gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 2018-07-09 13:22:24 +03:00
console console: Suppress unused warning asprintf result 2018-07-24 06:08:48 +00:00
cxx gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 2018-07-09 13:22:24 +03:00
driver sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
esp32 Merge branch 'bugfix/esp_wifi_disconnect_fail' into 'master' 2018-08-31 21:01:12 +08:00
esp_adc_cal bugfix/Fix BLK3_RESERVED_FLAG register and other minor bugs 2018-03-16 15:51:36 +08:00
esp_http_client Merge branch 'bugfix/http_write_data' into 'master' 2018-08-22 16:49:29 +08:00
esp_https_ota esp_https_ota: Add support for HTTPS based ota feature 2018-08-03 16:47:07 +05:30
esp-tls esp-tls: Add support for network timeout 2018-08-21 09:07:07 +00:00
espcoredump coredump: Adds support for ROM ELF file to 'espcoredump' script 2018-07-05 22:20:20 +03:00
esptool_py make: Use order-only prereq to check python dependencies 2018-08-23 08:28:57 +02:00
ethernet driver, ethernet: fix non-static inline functions 2018-08-29 12:49:15 +08:00
expat expat: add source of entropy 2018-08-02 11:02:45 +02:00
fatfs Erase flash before the first use added. 2018-07-31 08:45:43 +03:00
freertos freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test 2018-08-21 12:19:33 +10:00
heap components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM 2018-08-31 14:28:23 +00:00
http_server Http Server : Add a simple light weight HTTP Server Component. 2018-07-20 15:49:17 +05:30
idf_test test: fix bug of BTSTK_GATT_25007 2018-08-28 12:00:15 +08:00
jsmn
json cJSON : Include only source file objects 2018-04-30 13:51:54 +05:30
libsodium gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 2018-07-09 13:22:24 +03:00
log doc: fix the level inconsistent issue in Kconfig document 2018-06-05 10:36:18 +00:00
lwip Merge branch 'feature/ci_fuzzer_tests_lwip' into 'master' 2018-08-27 16:25:21 +08:00
mbedtls mbedtls: Don't unnecessarily grow the result of a hardware bignum operation 2018-08-28 09:08:43 +00:00
mdns mdns: Fix a portion of the queries are issued with the wildcard query type 2018-08-14 07:25:08 +00:00
micro-ecc micro-ecc: update to v1.0 2018-06-10 21:20:55 +08:00
newlib syscalls: fix type conversion for _raise_r stub 2018-08-29 12:49:15 +08:00
nghttp gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 2018-07-09 13:22:24 +03:00
nvs_flash nvs_flash: Fix nvs_set_blob hang when partition is near to FULL 2018-08-21 17:08:46 +05:30
openssl Merge branch 'bugfix/fixes_from_github' into 'master' 2018-07-13 15:03:50 +08:00
partition_table make: Use order-only prereq to check python dependencies 2018-08-23 08:28:57 +02:00
pthread pthread: fix esp_pthread.h to compatible with c++ 2018-07-11 14:21:09 +08:00
sdmmc sdmmc: update unit tests for ESP_eMMC_TestBoard_V1 2018-08-30 13:14:26 +08:00
smartconfig_ack smartconfig_ack.c : Fixed the declaration of remote_ip in sc_ack_send_task() 2018-07-03 16:28:24 +05:30
soc sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
spi_flash app_update: Add API for getting sha256_of_partition 2018-08-13 13:59:07 +05:00
spiffs spiffs: test: check for truncation in snprintf call 2018-08-29 12:49:15 +08:00
tcpip_adapter emac:optimise tcpip_adapter and fix emac_dev.c 2018-08-20 19:52:48 +08:00
ulp ulp: add tests for jumps instruction 2018-08-13 16:48:27 +00:00
vfs asio: initial idf port of asio library without ssl 2018-07-30 06:28:43 +00:00
wear_levelling Build test applicatoin on host failer fixed. 2018-07-31 08:45:43 +03:00
wpa_supplicant wpa_supplicant: removed unrequired header dir include from component.mk 2018-07-30 11:17:11 +05:30
xtensa-debug-module remove executable permission from source files 2018-05-29 20:07:45 +08:00