Stephen Casner
eb9f77247a
Revise memory diagnostics to use task handle not task name
...
In addition, aggregation of the sizes of blocks allocated by each task
to get a total is now done in new mem_debug_malloc_dump_totals() so it
is not necessary to dump info for each individual heap block into an
array for the app code. Only the blocks belonging to specific tasks
will be dumped when those tasks are selected by the user for a
detailed list of blocks.
This change in the memory diagnostic API is indicated by a change in
the conditional configENABLE_MEMORY_DEBUG_DUMP from 1 to 2.
2017-11-01 00:32:39 -07:00
Stephen Casner
88ab5d4830
Return region tag in mem_debug_malloc_dump()
...
Also in mem_init_dog() avoid making a byte access to the task name in
the debug block because that fails for the IRAM heap region.
2017-10-22 00:25:10 -07:00
Stephen Casner
241ecad44e
Return stack size and usage in task status array
...
These values are in place of the stack base pointer that was not being set.
2017-10-19 23:47:24 -07:00
Mark Webb-Johnson
1b7bdfaa0e
Use OVMS section parameters to control FreeRtos memory and task debugging
2017-10-19 15:57:02 +08:00
Stephen Casner
ab27c84cae
Add heap debugging functions
2017-10-19 00:10:45 -07:00
Jiang Jiang Jian
90aafbd25b
Merge branch 'feature/ip_route_base_on_source_ip_v2.1' into 'release/v2.1'
...
Broadcast IP route based on source IP address.
See merge request !1218
2017-09-30 16:04:03 +08:00
Jiang Jiang Jian
b95a6b01ba
Merge branch 'bugfix/btdm_update_lib_for_2_1_1' into 'release/v2.1'
...
component/bt : update libbtdm_app.a
See merge request !1283
2017-09-30 15:53:34 +08:00
Jiang Jiang Jian
151c6d9016
Merge branch 'bugfix/btdm_fixbugs_for_ble_v2.1' into 'release/v2.1'
...
component/bt: fix ble bugs for v2.1
See merge request !1261
2017-09-30 15:53:00 +08:00
Angus Gratton
3eeaae0573
Merge branch 'bugfix/bt_sdp_server_continuation_2.1' into 'release/v2.1'
...
bluedroid: Add continuation offset check to SDP server (backport to v2.1)
See merge request !1324
2017-09-27 11:14:26 +08:00
Angus Gratton
43b25e2a2f
bluedroid: Add continuation offset check to SDP server
...
Fix for CVE-2017-0785
https://android.googlesource.com/platform/system/bt/+/818cf6f%5E%21/#F0
2017-09-27 10:02:31 +10:00
Tian Hao
8e3de3fbde
component/bt : update libbtdm_app.a
...
1. fix 0x3ffc0000 overwite bug
2. no cswitch jump table
3. fix hci controller to host flow control bug
4. fix SMP negtive LTK replay bug
5. btdm .data init bug
6. fix scan fail after long time bug
7. change pll track interrupt bits
2017-09-25 18:33:24 +08:00
zhiweijian
691c8693e6
Component/bt: add random address check for set_rand_addr()
2017-09-22 20:19:02 +08:00
zhiweijian
25b0a4f514
Component/bt: abnormal behavior for update conn param command
2017-09-22 20:19:02 +08:00
Tian Hao
fbdec19c23
component/bt : fix btc security storage bug
...
1. Remove the bond_device global variable.
2. Fix bond_device add cause memory exception
3. Modify the code location.
4. modify thread security
5. remove esp_ble_clear_bond_device_list() API
6. modify esp_ble_get_gond_device_list() to return list immediately, rather than wait event.
7. modify the gatt_security_server demo to show how to remove all the bonded devices.
8. fix some code bugs may cause something error.
9. modify gatt_security_server demo
2017-09-22 20:19:02 +08:00
Tian Hao
4fd437d466
component/bt : support remove bonded device
...
1. add feature of remove bonded devices.
2. fix SMP key size bug
3. fix privacy bug
4. fix gatt set value bug
5. add gatt security client demo
6. change gatt server/gatt client demo
2017-09-22 20:19:02 +08:00
Ivan Grokhotkov
00b5f82c41
Merge branch 'bugfix/fix_set_locked_channel_typo_of_smartconfig' into 'release/v2.1'
...
fix set locked channel typo of smartconfig
See merge request !1156
2017-09-19 14:06:33 +08:00
Ivan Grokhotkov
3062790128
gitlab-ci: use specific version of build container
2017-09-18 18:26:27 +08:00
XiaXiaotian
024f853964
Broadcast IP route based on source IP address.
...
If destination IP address of the packet is broadcast address, firstly compare
source IP address with the that of each network interface. If it matches,
packet is forwarded from the interface.
2017-09-05 17:51:15 +08:00
XiaXiaotian
cf185846f5
fix set locked channel typo of smartconfig
2017-08-25 16:25:03 +08:00
Wu Jian Gang
7138fb0290
Merge branch 'bugfix/xtal_freq_40_2.1' into 'release/v2.1'
...
esp32: by default, set 40MHz crystal frequency
See merge request !1143
2017-08-24 20:40:11 +08:00
Ivan Grokhotkov
b7f7a92c5d
esp32: by default, set 40MHz crystal frequency
2017-08-23 16:39:22 +08:00
Ivan Grokhotkov
27574a31e7
Merge branch 'feature/tw12244_add_more_comments_for_wifi_api_v2.1' into 'release/v2.1'
...
docs: add wifi doc
See merge request !1046
2017-07-24 19:42:36 +08:00
Liu Zhi Fu
8134140acd
docs: add wifi doc
...
Add more comments about WiFi API usage
2017-07-24 14:52:00 +08:00
Ivan Grokhotkov
efdbc63b5f
Merge branch 'cherry-pick-292c2abd' into 'release/v2.1'
...
Merge branch 'bugfix/init_nvs_in_bluetooth' into 'master'
See merge request !1031
2017-07-23 14:35:33 +08:00
Ivan Grokhotkov
1891382db6
examples: add missing nvs_flash.h include
2017-07-20 17:53:39 +08:00
Ivan Grokhotkov
16cd517410
Merge branch 'bugfix/tw14046_scan_assert_in_non_sleep_mode' into 'release/v2.1'
...
Fix the bug that scan assert in non sleep mode.
See merge request !1023
2017-07-20 14:57:04 +08:00
Ivan Grokhotkov
8fc78a958a
Merge branch 'bugfix/init_nvs_in_bluetooth' into 'master'
...
bt: call nvs_flash_init in examples, show error if NVS is not initialized
See merge request !1003
2017-07-20 14:26:14 +08:00
Ivan Grokhotkov
3cbaf98d29
Merge branch 'bugfix/btdm_rx_losing' into 'release/v2.1'
...
component/bt : update libbtadm_app.a (easing syncerr to fix RX packet losing bug)
See merge request !1029
2017-07-20 14:19:49 +08:00
Tian Hao
b2d41a3506
component/bt : update libbtadm_app.a (easing syncerr to fix RX packet losing bug)
2017-07-20 11:51:28 +08:00
XiaXiaotian
5d1ec0da02
Fix the bug that scan assert in non sleep mode.
2017-07-19 14:12:14 +08:00
Jiang Jiang Jian
6a9e9759ea
Merge branch 'bugfix/l2cap_disc_tmo' into 'release/v2.1'
...
component/bt: fix a bug for L2CAP state machine to access lcb after it is released
See merge request !1015
2017-07-18 19:49:05 +08:00
wangmengyang
0de622e4f6
component/bt: fix a bug for L2CAP state machine to access lcb after it is released
...
cherry-pick commit 6da84eff
2017-07-17 21:30:40 +08:00
Ivan Grokhotkov
fc67a8b1b9
Merge branch 'cherry-pick-5d736f7eca' into 'release/v2.1'
...
mbedtls: Fix memory leak in initial ECDH exchange if OOM/failure occurs
See merge request !995
2017-07-17 21:18:32 +08:00
Jiang Jiang Jian
41f43164e2
Merge branch 'cherry-pick-0c28b3bc' into 'release/v2.1'
...
Merge branch 'bugfix/btdm_update_connect_params_for_gattc' into 'master'
See merge request !996
2017-07-17 21:10:54 +08:00
Jiang Jiang Jian
2236ab7bd4
Merge branch 'cherry-pick-5ac0503c' into 'release/v2.1'
...
Merge branch 'bugfix/btdm_modify_BTA_GATTC_KNOWN_SR_MAX_for_Multi-connection' into 'master'
See merge request !999
2017-07-17 21:10:30 +08:00
Jiang Jiang Jian
a281359db0
Merge branch 'cherry-pick-4ec2abbf' into 'release/v2.1'
...
Merge branch 'feature/some_refactor_for_tcpip_adapter' into 'master'
See merge request !1000
2017-07-17 21:10:04 +08:00
Jiang Jiang Jian
1fb777cc49
Merge branch 'feature/some_refactor_for_tcpip_adapter' into 'master'
...
tcpip_adapter: not remove netif when tcpip adapter is stopped
See merge request !943
2017-07-13 22:16:58 +08:00
Jiang Jiang Jian
92facb6884
Merge branch 'bugfix/btdm_modify_BTA_GATTC_KNOWN_SR_MAX_for_Multi-connection' into 'master'
...
component/bt: modify BTA_GATTC_KNOWN_SR_MAX for Multi-connection bug
See merge request !992
2017-07-13 21:55:36 +08:00
Ivan Grokhotkov
eb38883217
Merge branch 'bugfix/btdm_update_connect_params_for_gattc' into 'master'
...
component/bt: bugfix update connect params for gattc
See merge request !991
2017-07-13 16:08:02 +08:00
Angus Gratton
5d736f7eca
mbedtls: Fix memory leak in initial ECDH exchange if OOM/failure occurs
...
In ecp_mul_comb(), if (!p_eq_g && grp->T == NULL) and ecp_precompute_comb() fails (which can happen due to OOM), then the new array of points T was leaked.
2017-07-13 15:55:57 +08:00
Ivan Grokhotkov
bdc499aea7
Merge branch 'cherry-pick-94877972' into 'release/v2.1'
...
freertos: Bump idle stack size to 1KB, min stack to 768 bytes, make configurable
See merge request !981
2017-07-12 22:39:12 +08:00
Angus Gratton
99dbfb3539
Merge branch 'bugfix/minimal_stack_size' into 'master'
...
freertos: Bump idle stack size to 1KB, min stack to 768 bytes, make configurable
See merge request !979
2017-07-12 04:24:18 +08:00
Jiang Jiang Jian
8d3e1a2a79
Merge branch 'bugfix/btdm_blufi_aes_cfb128_for_v2.1' into 'release/v2.1'
...
component/bt : comment out set_key_dec for res cfb128(software crypt)
See merge request !972
2017-07-09 11:52:23 +08:00
Jiang Jiang Jian
f33b0fd4c9
Merge branch 'bugfix/btdm_update_lib_for_v2.1' into 'release/v2.1'
...
component/bt : update lib for fix register reg(follow V2.1 RC)
See merge request !973
2017-07-08 23:29:37 +08:00
Tian Hao
b99551b48f
component/bt : update lib for fix register reg(follow V2.1 RC)
2017-07-08 22:48:26 +08:00
Tian Hao
6c04e3ee6a
component/bt : comment out set_key_dec for res cfb128(software crypt)
2017-07-08 22:46:02 +08:00
Jiang Jiang Jian
6878c4e329
Merge branch 'cherry-pick-7a79d31d' into 'release/v2.1'
...
fix reg operation missing
See merge request !966
2017-07-08 15:46:58 +08:00
Jiang Jiang Jian
f54a656932
Merge branch 'bugfix/make_low_rate_work' into 'release/v2.1'
...
esp32: udpate wifi lib to make low rate work
See merge request !967
2017-07-08 01:11:26 +08:00
Liu Zhi Fu
305564cd59
esp32: udpate wifi lib to make low rate work
...
Make low rate feature work
2017-07-07 22:47:39 +08:00
Tian Hao
6bceb41bf7
fix reg operation missing
2017-07-07 22:44:05 +08:00