XiaXiaotian
acff7e58d2
fix the issue that wpa2 assert when disconnect from AP
2018-03-15 14:42:31 +08:00
Jiang Jiang Jian
0f45323879
Merge branch 'bugfix/btdm_string_to_bdaddr_error_when_opening_nano' into 'master'
...
component/bt: Fix bug: string_to_bdaddr() error when opening nano
See merge request idf/esp-idf!1981
(cherry picked from commit 047870fd80
)
54320d5f
component/bt: Fix bug: string_to_bdaddr() error when opening nano
2018-03-15 14:15:31 +08:00
Jiang Jiang Jian
48ea4bc7f4
Merge branch 'bugfix/btdm_add_param_check_in_gap_set_prefer_conn_params' into 'master'
...
Component/bt: add_params_check_in_prefer_conn_params()
See merge request idf/esp-idf!1944
(cherry picked from commit db690e3f85
)
b09d681d
Component/bt: add_params_check_in_prefer_conn_params()
2018-03-15 12:07:01 +08:00
Jiang Jiang Jian
69686ae8a9
Merge branch 'bugfix/btdm_fix_set_error_channel_map_in_adv_params' into 'master'
...
Component/bt: fix set error params and return callback when start adv
See merge request idf/esp-idf!1943
(cherry picked from commit 702b46108c
)
4056878c
Component/bt: fix set error params and add callback in adv params
2018-03-15 12:04:56 +08:00
Angus Gratton
c82adcae1b
Merge branch 'bugfix/redirect_psram_muxes_to_single_mux' into 'master'
...
Fake S32C1I operation for muxes in PSRAM
See merge request idf/esp-idf!1688
2018-03-14 17:51:50 +08:00
Tian Hao
c574ad90df
component/esp32: fix esp_timer bug
...
1. fix the bug that cause esp_timer_get_time is not accuracy(the max margin may be 106s).
2. fix the bug that causes esp timer come too early.
2018-03-13 15:03:54 +08:00
baohongde
1d03398a64
component/bt: Fix bug of a2dp cleanup bug when connected in v3.0
2018-03-12 16:36:11 +08:00
Jiang Jiang Jian
daf1d05576
Merge branch 'cherry-pick-17e8d49f' into 'release/v3.0'
...
Merge branch 'bugfix/btdm_update_pktLen_have_no_callback' into 'release/v3.0'
See merge request idf/esp-idf!2010
2018-03-09 16:29:35 +08:00
Jiang Jiang Jian
816a98c3ad
Merge branch 'bugfix/fix_some_wifi_bugs_v3.0' into 'release/v3.0'
...
esp32: fix some WiFi bugs
See merge request idf/esp-idf!1987
2018-03-09 16:21:40 +08:00
zhiweijian
ebfc47c34b
Component/bt: clear start/stop adv callback when complete
2018-03-09 11:14:11 +08:00
zhiweijian
681805b6c7
Component/bt: fix get attr value error after prepare write
2018-03-09 11:10:04 +08:00
Jiang Jiang Jian
392b0b89e3
Merge branch 'bugfix/wifi_lwip_close_socket_when_tcp_connecting_v3.0' into 'release/v3.0'
...
Close socket request will abort tcp write/connect
See merge request idf/esp-idf!1741
2018-03-08 20:28:42 +08:00
Liu Zhi Fu
229be8c025
esp32: fix some WiFi bugs
...
1. Fix esp_wifi_deinit causes system crash issue
2. Fix QoS AC map issue
2018-03-06 16:59:24 +08:00
Jiang Jiang Jian
e4fb19000a
Merge branch 'bugfix/btdm_update_pktLen_have_no_callback' into 'master'
...
component/bt: Fix bug:update pktlen have no callback
See merge request idf/esp-idf!1913
(cherry picked from commit 17e8d49f26
)
acdad323
component/bt: Fix bug:update pktlen have no callback
2018-03-05 16:15:39 +08:00
Jiang Jiang Jian
0e640c61bd
Merge branch 'bugfix/btdm_mem_leak_of_bt_3.0' into 'release/v3.0'
...
component/bt: Fix mem leak of bt in v3.0
See merge request idf/esp-idf!1925
2018-03-05 16:07:08 +08:00
baohongde
5e48c2bfef
component/bt: Fix mem leak of bt in v3.0
2018-03-02 03:53:07 +00:00
Darian Leung
55c179a599
esp_adc_cal/Add eFuse functionality and update calibration method
...
This commit updates the esp_adc_cal ocmponent to support eFuse functionality.
The method of calibraiton has also been changed
2018-02-26 21:52:00 +08:00
Jiang Jiang Jian
1181b65f7d
Merge branch 'cherry-pick-22dcdce9' into 'release/v3.0'
...
Merge branch 'bugfix/btdm_scan_result_of_adv_type_wrong' into 'release/v3.0'
See merge request idf/esp-idf!1914
2018-02-24 10:24:17 +08:00
Jiang Jiang Jian
3b116ae0cb
Merge branch 'bugfix/btdm_a2dp_task_stack_size_for_v3.0' into 'release/v3.0'
...
component/bt: make A2DP sink task size configurable through menuconfig
See merge request idf/esp-idf!1890
2018-02-24 10:18:12 +08:00
Jiang Jiang Jian
54b595ed51
Merge branch 'bugfix/btdm_alarm_free_for_v3.0' into 'release/v3.0'
...
component/bt: free timer resources after using them
See merge request idf/esp-idf!1888
2018-02-24 10:17:15 +08:00
Angus Gratton
f7eecfcc67
heap: Fix bug when realloc moves data between heaps
...
When realloc-ing to a smaller buffer size which ends up allocated in a different heap, the heap
structure is corrupted. This can only happen:
* If heap checking is Comprehensive (meaning buffers are never shrunk in place) and the heap the buffer was originally allocated in is full.
* Calling heap_caps_realloc() to deliberately move a buffer to a different capabilities type, and shrink it at the same time.
Probable fix for https://github.com/espressif/esp-idf/issues/1582
Probably the same issue:
https://www.esp32.com/viewtopic.php?f=2&t=4583
https://www.esp32.com/viewtopic.php?f=13&t=3717
2018-02-09 19:24:37 +08:00
Jiang Jiang Jian
eac9eb36d1
Merge branch 'bugfix/btdm_scan_result_of_adv_type_wrong' into 'master'
...
component/bt: Fix bug:scan result of adv type is wrong
See merge request idf/esp-idf!1897
(cherry picked from commit 22dcdce949
)
79fd3f4f
component/bt: Fix bug:scan result of adv type is wrong
2018-02-06 15:53:16 +08:00
wangmengyang
9bfb2f0cab
component/bt: make A2DP sink task size configurable through menuconfig
...
1. make the A2DP sink task stack size configurable through menuconfig
# Conflicts:
# components/bt/Kconfig
# components/bt/bluedroid/api/include/esp_a2dp_api.h
# components/bt/bluedroid/btc/profile/std/a2dp/btc_a2dp_sink.c
# components/bt/bluedroid/btc/profile/std/a2dp/btc_a2dp_source.c
# components/bt/bluedroid/osi/include/thread.h
2018-02-05 19:47:58 +08:00
Angus Gratton
963fa0fd3a
Update cJSON to v1.7.1
...
* Fix buffer overflow issue in cJSON 1.6.0
* Change cJSON structure to git submodule
Closes https://github.com/espressif/esp-idf/issues/1577
2018-02-05 14:52:39 +08:00
Jiang Jiang Jian
8856cc055a
Merge branch 'bugfix/btdm_fix_stop_adv_no_callback_when_adv_has_been_stoped_for_v30' into 'release/v3.0'
...
Component/bt: fix stop adv no callback when adv has been stoped for v3.0
See merge request idf/esp-idf!1857
2018-02-01 20:15:51 +08:00
wangmengyang
fab14106c8
component/bt: free timer resources after using them
...
Bluedroid use a set of timer function pairs such as btu_start_timer/btu_stop_timer, btu_sys_start_timer/btu_sys_stop_timer for use, in a lack of timer release functions. Thus the timers may be exhausted after some event sequence such as repetition of connection/reconnection with different devices. The maximum timer number used in bluedroid is given by ALARM_CBS_NUM which is 30 for now. This bugfix borrowed some update from bluedroid in Andoroid 7.0, which add timer release functions which promote the recycle of timer resources.
# Conflicts:
# components/bt/bluedroid/stack/btu/btu_task.c
# components/bt/bluedroid/stack/gatt/gatt_main.c
# components/bt/bluedroid/stack/rfcomm/port_utils.c
# components/bt/bluedroid/stack/rfcomm/rfc_utils.c
2018-02-01 13:52:19 +08:00
zhiweijian
154294e79f
Component/bt: fix stop adv no callback when adv has been stoped
2018-01-31 20:24:02 +08:00
Jiang Jiang Jian
e1d965e4b9
Merge branch 'bugfix/btdm_fix_BT_load_boned_in_smp_for_v30' into 'release/v3.0'
...
Component/bt: fix bt loads all the bonded devices in smp for v3.0
See merge request idf/esp-idf!1856
2018-01-31 16:45:58 +08:00
Ivan Grokhotkov
95f6f88aa7
Merge branch 'bugfix/sysview_timer_1core' into 'master'
...
sysview: fix compilation in 1 core mode, refactor timer choices
See merge request idf/esp-idf!1822
(cherry picked from commit 0f22a53fc2
)
c3d82157
sysview: fix compilation in 1 core mode, refactor timer choices
2018-01-29 17:29:23 +08:00
zhiweijian
621794abb5
Component/bt: fix bt load boned in smp
2018-01-26 14:45:36 +08:00
zhiweijian
ab22836859
Component/bt: fix bonded device list error after reboot
2018-01-26 02:04:56 +00:00
Jiang Jiang Jian
9539d44158
Merge branch 'cherry-pick-c25be19e' into 'release/v3.0'
...
Merge branch 'bugfix/multi_ping_crash' into 'release/v3.0'
See merge request !1851
2018-01-25 23:12:56 +08:00
Jiang Jiang Jian
b6b8af498c
Merge branch 'bugfix/fix_uart_related_bug' into 'release/v3.0'
...
driver(uart): merge uart related bugfixes into v3.0
See merge request !1845
2018-01-25 19:34:04 +08:00
Wu Jian Gang
194b1324d2
Merge branch 'bugfix/multi_ping_crash' into 'master'
...
fix(ping): fix crash when multi-ping
See merge request !1768
2018-01-25 19:21:46 +08:00
Jiang Jiang Jian
7a030ff8d6
Merge branch 'cherry-pick-02821571' into 'release/v3.0'
...
Merge branch 'bugfix/xRingbufferSend_timeout_bug' into 'release/v3.0'
See merge request !1843
2018-01-25 16:13:46 +08:00
kooho
3a6be05945
driver(uart):merge branch into v3.0 which fixed three bug related with uart
...
1. uart fifo reset
2. uart pattern interrupt
3. uart buffered_len error.
2018-01-24 21:27:31 +08:00
Ivan Grokhotkov
d1c536258c
Merge branch 'bugfix/xRingbufferSend_timeout_bug' into 'master'
...
bugfix(ringbuffer): Fix ringbuffer_send timeout bug
See merge request !1823
2018-01-24 17:00:24 +08:00
XiaXiaotian
5a1247246c
fix espnow memory leak
2018-01-24 16:20:20 +08:00
Jiang Jiang Jian
45758b6be0
Merge branch 'cherry-pick-ce2e4cbc' into 'release/v3.0'
...
Merge branch 'bugfix/log_hex_buffer_pr1519' into 'release/v3.0'
See merge request !1839
2018-01-24 15:55:46 +08:00
Jiang Jiang Jian
6183de959a
Merge branch 'bugfix/wifi_fix_sniffer_rx_misc_data_assert_v3.0' into 'release/v3.0'
...
Fix the bug that in sniffer mode it asserts when receive misc data at first
See merge request !1833
2018-01-23 22:52:10 +08:00
Jiang Jiang Jian
e9a4eb57b9
Merge branch 'bugfix/log_hex_buffer_pr1519' into 'master'
...
Fix hexdump comment and array size. See issue #1518 .
See merge request !1832
2018-01-23 22:45:55 +08:00
XiaXiaotian
891c1f4a2b
Fix the bug that in sniffer mode it asserts when receive misc data at first.
...
close github issue#1037 WiFi Promiscuous filter breaks w/
WIFI_PROMIS_FILTER_MASK_ALL and issue#1404
esp_wifi_set_promiscuous_filter set WIFI_PROMIS_FILTER_MASK_ALL error
2018-01-23 19:12:37 +08:00
Tian Hao
f5c962d8b2
component/bt : fix the bug of pscan when interrupt react slowly
2018-01-23 14:16:02 +08:00
me-no-dev
c68fd9d545
mdns: Fix case where service is NULL and that will cause exception
2018-01-22 23:27:24 +08:00
me-no-dev
d6c06ed0b5
mdns: Fix issue with some mDNS parsers
...
Some mDNS parser have issue with zero terminated TXT lists. This fix targets to overcome this issue. Found and tested with jmdns.
2018-01-22 23:27:20 +08:00
me-no-dev
8baa6b9d8b
Import mDNS changes
2018-01-22 23:27:14 +08:00
Jiang Jiang Jian
df93f672e3
Merge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'
...
component/bt: Fix bug when pair with random address
See merge request !1784
2018-01-16 18:18:00 +08:00
Jiang Jiang Jian
4a55009f3e
Merge branch 'bugfix/fix_rare_ci_example_build_errors' into 'release/v3.0'
...
cherry-pick fix rare ci example build errors to release v3.0
See merge request !1813
2018-01-16 17:13:08 +08:00
Jiang Jiang Jian
dfcff0a5bf
Merge branch 'bugfix/btdm_discon_when_upd_conn_params_in_smp_for_v3.0' into 'release/v3.0'
...
component/bt: fix disconnect after connection params update in smp for v3.0
See merge request !1805
2018-01-16 16:41:26 +08:00
Jiang Jiang Jian
ff3566e40b
Merge branch 'bugfix/btdm_fix_conn_params_update_failed_in_SMP_for_v3.0' into 'release/v3.0'
...
Component/bt: fix update connection params error in smp for v3.0
See merge request !1809
2018-01-16 16:38:36 +08:00
Anton Maklakov
93c18bb2b4
build system: Fix undefined variables
...
make/project.mk:315: warning: undefined variable `CC'
make/project.mk:316: warning: undefined variable `LD'
make/project.mk:317: warning: undefined variable `AR'
make/project.mk:62: warning: undefined variable `MAKECMDGOALS'
components/partition_table/Makefile.projbuild:24: warning: undefined variable `quote'
components/bootloader/Makefile.projbuild:123: warning: undefined variable 'BOOTLOADER_DIGEST_BIN'
components/bootloader/Makefile.projbuild:123: warning: undefined variable 'SECURE_BOOTLOADER_KEY'
2018-01-16 09:51:08 +08:00
XiaXiaotian
c5f63bf701
Fix two wifi bugs
...
1. Fix the bug that receiving beacon time is not correct.
2. close github issue#233 esp_wifi_restore() bug.
2018-01-15 20:42:44 +08:00
zhiweijian
ced95c7fb0
Component/bt: fix update connection params error in smp for v3.0
2018-01-15 19:55:50 +08:00
Jiang Jiang Jian
309fb23ffc
Merge branch 'cherry-pick-c401a74b' into 'release/v3.0'
...
Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'
See merge request !1800
2018-01-15 18:49:25 +08:00
Jiang Jiang Jian
e9a230c20c
Merge branch 'cherry-pick-0cd97cec' into 'release/v3.0'
...
Merge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'
See merge request !1799
2018-01-15 18:49:11 +08:00
Jiang Jiang Jian
b0c7f28aed
Merge branch 'bugfix/fix_qos_bug_in_11g_mode_v3.0' into 'release/v3.0'
...
Bugfix/fix qos bug in 11g mode v3.0
See merge request !1790
2018-01-15 18:26:30 +08:00
zhiweijian
7bc1e7608c
component/bt: fix disconnect after connection params update in smp
2018-01-15 17:12:23 +08:00
Jiang Jiang Jian
449ce1bad9
Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'
...
component/bt: disable Secure Connections to workaround AES encryption issue
See merge request !1719
2018-01-15 14:47:28 +08:00
Jiang Jiang Jian
424a5e2705
Merge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'
...
component/bt: Fix bug when add device to whitelist twice
See merge request !1700
2018-01-15 14:46:13 +08:00
Liu Zhi Fu
9b0c252e67
esp32: fix qos bug in 11g mode
...
Fix qos bug in 11g mode (release/v3.0 - 8e861901)
2018-01-12 14:14:20 +08:00
Ivan Grokhotkov
2a55629556
Merge branch 'feature/toolchain-80-g6c4433a-v30' into 'release/v3.0'
...
Toolchain: Update to version 1.22.0-80-g6c4433a (v3.0 backport)
See merge request !1772
2018-01-11 21:45:11 +08:00
Angus Gratton
b523660199
build: Remove explict -lstdc++-psram-workaround
...
This is now handled internally to the toolchain.
2018-01-11 10:32:28 +11:00
Jiang Jiang Jian
150be549eb
Merge branch 'cherry-pick-675844c4' into 'release/v3.0'
...
Merge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'
See merge request !1773
2018-01-10 20:58:47 +08:00
Jiang Jiang Jian
10898a33ed
Merge branch 'cherry-pick-16391c27' into 'release/v3.0'
...
Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'
See merge request !1774
2018-01-10 20:58:33 +08:00
Jiang Jiang Jian
404a6b3782
Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'
...
Fix bug that when we do full calibration init data bin is not used
See merge request !1746
2018-01-10 17:02:08 +08:00
Jiang Jiang Jian
29f999361e
Merge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'
...
bug fix of assert happen in PSRAM
See merge request !1745
2018-01-10 16:48:04 +08:00
zhiweijian
7d3e8998d8
Component/bt: fix can not remove boned device if it is connected
2018-01-10 10:46:11 +08:00
Jiang Jiang Jian
e276b98fe4
Merge branch 'bugfix/BLE_SM_Security_Flags_pr1320_v30' into 'release/v3.0'
...
bt: Fix ble sm security flags (v3.0 backport)
See merge request !1754
2018-01-09 15:49:04 +08:00
Jiang Jiang Jian
de7381b77e
Merge branch 'bugfix/btdm_avrc_connect_state_evt_for_v3.0' into 'release/v3.0'
...
component/bt: add AVRC event for remote features indication
See merge request !1734
2018-01-09 15:39:02 +08:00
wangmengyang
645d9b9590
component/bt: add AVRC event for remote features indication
...
1. remove the feature mask parameter from AVRC connection state event, as the AVCTP connection can be initiated by remote device before service discovery to remote device is performed. \
In this case, AVRCP connection state event may not be reported after connection initated by remote device is established.
2. remove ESP_AVRC_CT_MAX_EVT
3. add more documentations to AVRC APIs
2018-01-08 19:43:54 +08:00
Tim Cook
eb408e50c4
n btm_sec_save_le_key() set BTM_SEC_LE_LINK_KEY_KNOWN (and BTM_SEC_LE_LINK_KEY_AUTHED if MITM was used) when process a local Long Term Key (key type BTM_LE_KEY_LENC). This is because these flags share bits with the BTM_SEC_FLAG_LKEY_KNOWN (and BTM_SEC_FLAG_LKEY_AUTHED) flag in btm_api.h. Without this code a link that is encrypted via SM pairing where only the local device exchanges the LTK (peer does not send its LTK) will not allow GATT operations that require encryption (request will be incorrectly rejected with insufficient authentication reason, regardless of if MITM is required).
...
Merges https://github.com/espressif/esp-idf/pull/1320
2018-01-08 10:37:19 +11:00
Tim Cook
60da98ee0b
set ble_rsp_key member of structure bte_appl_cfg in function bta_dm_co_ble_set_rsp_key_req (function incorrectly uses ble_init_key member).
...
Merges https://github.com/espressif/esp-idf/pull/1320
2018-01-08 10:37:18 +11:00
baohongde
314f6f371c
component/bt: Standardize code
...
Reported from github:
https://github.com/espressif/esp-idf/issues/1402
https://github.com/espressif/esp-idf/issues/1403
2018-01-05 19:31:53 +08:00
XiaXiaotian
27c28eb1e6
Close socket request will abort tcp write/connect
...
When tcp write/connect is running, close socket request will abort
it and continue to delete netconn and close tcp. Do not immediately
return after aborting tcp write/connect. Otherwise, tcp close
requeset will block and tcp write/connect will crash.
2018-01-03 11:23:57 +08:00
Per Malmberg
2cc07d0c4c
Fix regression in i2c_master_read() which rejected all data lenths.
2018-01-02 10:01:23 +11:00
Jiang Jiang Jian
da81b97e17
Merge branch 'bugfix/recompile_with_new_psram_toolchain_v3.0' into 'release/v3.0'
...
recompile wifi lib with new toolchain 1.22.0-78-g4b87650
See merge request !1729
2017-12-29 18:33:46 +08:00
Jiang Jiang Jian
15e65aad1b
Merge branch 'bugfix/build_bt_lib_with_updated_toolchain' into 'release/v3.0'
...
component/bt: build libbtdm_app.a with updated toolchain for ESP-IDF v3.0
See merge request !1727
2017-12-29 18:26:41 +08:00
XiaXiaotian
281874d380
recompile wifi lib with new toolchain 1.22.0-78-g4b87650
2017-12-29 16:42:05 +08:00
wangmengyang
3f3d8746fc
component/bt: build libbtdm_app.a with updated toolchain for ESP-IDF v3.0
2017-12-29 15:24:02 +08:00
Angus Gratton
9065498a5a
esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround
...
Turns out some app memory around 0x3ffdc000 is also used by APP CPU.
This is a workaround until code to remove the 176KB limit is committed.
2017-12-29 09:11:50 +11:00
Jiang Jiang Jian
c695a4e468
Merge branch 'cherry-pick-566fab02' into 'release/v3.0'
...
Merge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'
See merge request !1716
2017-12-28 22:07:46 +08:00
Jiang Jiang Jian
755b163d4e
Merge branch 'cherry-pick-7d0d2854' into 'release/v3.0'
...
Merge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'
See merge request !1715
2017-12-28 22:07:27 +08:00
Jiang Jiang Jian
b6ebbb5662
Merge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'
...
component/bt: Fix bug of disconnected fail during pairing
See merge request !1672
2017-12-27 18:05:24 +08:00
Jiang Jiang Jian
38d58f1c2e
Merge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'
...
component/bt: Fix bug of adding device to white list has no callback when while list is full
See merge request !1689
2017-12-27 18:04:25 +08:00
Darian Leung
ecc6080117
freertos: prvCheckTasksWaitingTermination bugfix
...
Bugfix to prevent a self deleting no affinity task's memory from being freed by the
idle task of the other core before the self deleting no affinity task is able to context
switch out. prvCheckTasksWaitingTermination now checks if the task is still on
pxCurrentTCB before freeing task memory.
2017-12-27 16:54:29 +08:00
krzychb
9b57d4aa0d
RMT API docs update, new example
2017-12-27 16:54:28 +08:00
kooho
48fda0f27b
add NACK for the last byte to read
2017-12-27 16:54:27 +08:00
Jeroen Domburg
41baf59287
Fix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams the enable/reset bits of SPI3 in when 80MHz mode is selected anymore
2017-12-27 16:54:26 +08:00
Angus Gratton
87f7d1875d
esp32: Fix backwards compatibility for pre-v2.1 bootloaders
...
Older bootloaders don't set RTC_XTAL_FREQ_REG or call rtc_clk_init(),
app needs to pick this up.
Reported at
https://esp32.com/viewtopic.php?f=2&t=3939&p=17836
2017-12-27 16:54:25 +08:00
Piyush Shah
545c7e5cdd
freertos/ringbuf: Added an API xRingbufferCreateNoSplit()
...
This is a wrapper API for creating a Ring Buffer, which ensures that
the ringbuffer can hold the given number of items, each item being of the
same given length.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-12-27 16:54:25 +08:00
Piyush Shah
ef6fe211b8
freertos/ringbuf: Add an API xRingbufferIsNextItemWrapped()
...
Useful to check if the next item to receive is wrapped or not.
This is valid only if the ring buffer is initialised with type
RINGBUF_TYPE_ALLOWSPLIT.
This is as per the feature request here:
https://github.com/espressif/esp-idf/issues/806
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-12-27 16:54:25 +08:00
Piyush Shah
50637f638f
freertos/ringbuf: Add an API xRingbufferGetCurFreeSize() to fetch current free size available
...
The earlier available API (xRingbufferGetMaxItemSize())just gives
a static max entry value possible for given ring buffer.
There was a feature request for an API which could provide
a real time available buffer size. See below:
https://github.com/espressif/esp-idf/issues/806
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-12-27 16:54:25 +08:00
Angus Gratton
c4b861ad65
log: Remove non-static TAG variables
2017-12-27 16:54:24 +08:00
Chuck Todd
492b926d50
i2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects
...
A couple of typos referencing tx_ring_buf when rx_ring_buf, slv_tx_mux
instead of slv_rx_mux.
Also, I2C_ENTER_CRITICAL()/I2C_EXIT_CRITICAL() usage was not consistent.
Only some of the _set_ functions had them. Most of the _get_ function
had them? It is my understanding that they should be wrapped around
writes, not reads? (I think we still need the lock for reading pairs of consistent values)
Also, the ticks_to_wait timeout handling in i2c_master_cmd_begin() would
not handle integer rollover correctly.
Merges https://github.com/espressif/esp-idf/pull/1180
2017-12-27 16:54:24 +08:00
Fabiano Kovalski
b5f8cf0f03
driver(i2c): corrected timeout range for i2c_set_timeout.
...
Merges https://github.com/espressif/esp-idf/pull/1353
2017-12-27 16:54:24 +08:00
Wangjialin
c4bb528c61
bugfix(i2c): use queue instead of event group for internal commands
...
Reported from github:
https://github.com/espressif/esp-idf/issues/1312
https://github.com/espressif/esp-idf/issues/1193
Issues:
1. We used to use event group in the driver, which would cause:
a. longer operation time since the event group are based on FreeRTOS timer.
b. Operation fails if the timer queue is not long enough.
2. There might be some issue with event group, we will still try to provide a small test code in other branch.
modification:
1. use queue instead of event-bit for internal commands
2. use queue overwrite for cmd_done event
2017-12-27 16:54:23 +08:00
Kewal
5afafb0050
fix typo for heap cap free size
2017-12-27 16:54:22 +08:00
Ivan Grokhotkov
42e411dafc
bootloader: don't log anything before uart_console_configure is called
2017-12-27 16:54:21 +08:00
Ivan Grokhotkov
fbff8eb95b
esp32: fix incorrect clock enable bit name for UART0
...
Closes https://github.com/espressif/esp-idf/issues/1301
2017-12-27 16:54:21 +08:00
Ivan Grokhotkov
c778951547
fatfs: fix double free in bailout path of esp_vfs_fat_sdmmc_mount
...
Fixes https://github.com/espressif/esp-idf/issues/1370
2017-12-27 16:54:21 +08:00
Ivan Grokhotkov
a0776b2f21
sdspi: use response timeout passed from upper layer
...
Previously SDSPI host driver would rely on retry count when waiting for
the card to read or write data. This caused different timeout times
depending on CPU frequency and card clock frequency. In practice, card
performance does not depend on these two factors.
This change uses timeout_ms field of sdmmc_command_t introduced
previously for SDMMC host.
Fixes https://esp32.com/viewtopic.php?f=2&t=3440&p=16037 and similar
issues related to SDSPI timeouts.
2017-12-27 16:54:21 +08:00
Ivan Grokhotkov
ae30d1bc7b
fatfs: fix deinit not called for SDSPI host
...
Closes https://github.com/espressif/esp-idf/issues/1362
2017-12-27 16:54:21 +08:00
Ivan Grokhotkov
242f8ea743
docs: add information about execution time of ULP instructions
2017-12-27 16:54:20 +08:00
Ivan Grokhotkov
5c1506f796
ulp: document the need to wait for RTC to be ready for wakeup
2017-12-27 16:54:20 +08:00
Ivan Grokhotkov
103559153f
ulp: mention that instructions array must be declared in local scope
...
Closes https://github.com/espressif/esp-idf/issues/1327
2017-12-27 16:54:20 +08:00
Ivan Grokhotkov
e8fbd6e288
time: rename time source option from FRC to "high-resolution timer"
...
libc time function now rely on esp_timer_get_time as the source of
high-resolution time, rather than FRC1 timer. Internally, on the ESP32
esp_timer implementation uses FRC2 timer.
- Change help text and labels in Kconfig to use "high-resolution timer"
instead of FRC1. Keep existing Kconfig option name to be backwards
compatible.
- Change references to "FRC1" in the source code to "FRC".
2017-12-27 16:54:19 +08:00
Ivan Grokhotkov
50b710d267
newlib/time: fix compilation error when only RTC is used as clock source
...
Fixes https://github.com/espressif/esp-idf/issues/1245
2017-12-27 16:54:19 +08:00
Ivan Grokhotkov
f4554c81fc
vfs/fatfs: use structures with bit fields for FAT date/time
...
Replace explicit masks and shifts with bit fields when working with FATFS date and time representations. Also zero-initialize remaining members of struct tm.
Fixes https://github.com/espressif/esp-idf/issues/1369 .
2017-12-27 16:54:19 +08:00
Ivan Grokhotkov
96be8f2efa
vfs/fatfs: fix stat call failing when called for mount point
...
FATFS does not support f_stat call for drive root. When handling stat
for drive root, don't call f_stat and just return struct st with S_IFDIR
flag set.
Closes #984
2017-12-27 16:54:19 +08:00
Ivan Grokhotkov
033124be14
spiffs: make OBJ_META_LEN configurable, make mtime support optional
...
- SPIFFS_OBJ_META_LEN can be set in sdkconfig
- mtime support can be enabled in sdkconfig, if META_LENGTH is sufficient
- add test for mtime updates
2017-12-27 16:54:18 +08:00
luc lebosse
b4c1bdb11b
Unify the time file creation for SPIFFS and SD
2017-12-27 16:54:18 +08:00
Paul Reimer
8388e1be54
Add #include guards and __cplusplus guards to esp_debug.h
...
Merges https://github.com/espressif/esp-idf/pull/1358
2017-12-27 16:54:16 +08:00
robotrovsky
21912b95f4
Bugfix I_DELAY macro
...
When compiling
> const ulp_insn_t program[] = {
> I_DELAY(1)
> };
with the xtensa-esp32-elf-g++ compiler i always got the error:
> sorry, unimplemented: non-trivial designated initializers not supported
>
> };
This was due to the different order in the macro and the struct. The struct has another order of the fields (opcode, unused, cycles) vs (cycles, unused, opcode):
> struct {
> uint32_t cycles : 16; /*!< Number of cycles to sleep */
> uint32_t unused : 12; /*!< Unused */
> uint32_t opcode : 4; /*!< Opcode (OPCODE_DELAY) */
> } delay; /*!< Format of DELAY instruction */
After updating the order in the macro it is possible to compile with the g++ compiler.
Merges https://github.com/espressif/esp-idf/pull/1310
2017-12-27 16:54:16 +08:00
Ivan Grokhotkov
3085eb7ec6
openssl: add feature check for MBEDTLS_SSL_ALPN
...
Fixes https://github.com/espressif/esp-idf/issues/1342
2017-12-27 16:54:16 +08:00
Mahavir Jain
8ed44ace4b
heap_trace: fix bug in realloc for copying trace record
...
Closes https://github.com/espressif/esp-idf/issues/1354
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2017-12-27 16:54:15 +08:00
Mahavir Jain
58accf05cf
docs: fix i2s code snippet for interrupt flags setting
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2017-12-27 16:54:15 +08:00
Ivan Grokhotkov
66fe94f816
docs: add FreeRTOS API docs
...
- Use `code` tags instead of a mix of `<pre></pre>` and
`@verbatim .. @endverbatim`
- Remove manually added function prototypes from comment blocks
- Remove of grouping (`\defgroup`) — some extra work is needed
to make groups compatible with the way we auto-generate API
reference from Doxygen XML files. It's pretty easy to add the
grouping directives back if/when we implement support for
Doxygen groups in the later stages of documentation build
process.
- Hide private APIs under `@cond .. @endcond`
- Convert some comments into Doxygen-compatible ones
- Fix various documentation issues: missing documentation for
some parameters, mismatch between parameter names in comment
block and in function prototype.
- Add doxygen comments for functions which didn't have them
(thread local storage).
- Add [out] param tags where necessary
- Redefine `xTaskCreate` and `xTaskCreateStatic` as inline
functions instead of macros.
2017-12-27 16:54:14 +08:00
Darian Leung
df6adbd5bf
freertos/fix SMP bug with Idle task clean up
...
This commit backports vTaskDelete() behavior from FreeRTOS v9.0.0 which
allows for the immediate freeing of task memory if the task being deleted
is not currently running and not pinned to the other core. This commit also
fixes a bug in prvCheckTasksWaitingTermination which prevented the
Idle Task from cleaning up all tasks awaiting deletion. Each iteration of the Idle
Task should traverse the xTasksWaitingTermination list and clean up all tasks
not pinned to the other core. The previous implementation would cause
prvCheckTasksWaitingTermination to return when encountering a task
pinned to the other core whilst traversing the xTasksWaitingTermination list.
The test case for vTaskDelete() has been updated to test for the bugfix and
backported deletion behavior.
2017-12-27 16:54:14 +08:00
Roman Valls Guimera
ce3ccc18fa
Update cJSON to 1.6.0
...
* Fixes compilation errors/warnings with gcc 7.2.0
Merges https://github.com/espressif/esp-idf/pull/1163
2017-12-27 16:54:13 +08:00
Roman Valls Guimera
36d6e4e2c7
Fix compilation errors when using gcc-7.2.0 for the crosstool-ng toolchain
...
* Change snprintf for strlcat does not complain w/gcc7.2.0 and it is safer, thanks @projectgus
* Use proper quotes for character literals
Merges https://github.com/espressif/esp-idf/pull/1163
2017-12-27 16:54:13 +08:00
Angus Gratton
a4d45a0a4d
spi_flash: Add option to log warnings if (spuriously) writing zero bits to ones
...
Won't work for SPIFFS, maybe some other implementations?
2017-12-27 16:54:12 +08:00
Angus Gratton
38170d465c
spi_flash: Add option to verify all writes by reading back data
...
Helpful when debugging SPI flash hardware related issues.
TW15203
2017-12-27 16:54:12 +08:00
Ivan Grokhotkov
17ac80867b
Merge branch 'bugfix/btdm_fix_memory_leak_for_SMP_V3.0' into 'release/v3.0'
...
component/bt: fix memory leak in SMP_V3.0
See merge request !1691
2017-12-22 14:34:44 +08:00
Jiang Jiang Jian
05605920ae
Merge branch 'bugfix/esp_timer_overflow_bugs' into 'release/v3.0'
...
esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct
See merge request !1663
2017-12-20 13:31:41 +08:00
Jiang Jiang Jian
121e5a7847
Merge branch 'feature/eth_set_mac_addr_for_3.0' into 'release/v3.0'
...
emac:add set_eth_mac api
See merge request !1692
2017-12-20 13:31:22 +08:00
zhiweijian
031ab556a9
component/bt: fix memory leak in SMP
...
- fix memory leak in smp
- fix log error in config_parse
2017-12-20 10:28:04 +08:00
Jack
4837f93968
esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct
2017-12-19 20:07:45 +08:00
Jiang Jiang Jian
717b1697df
Merge branch 'bugfix/fix_some_wifi_bugs_v3.0' into 'release/v3.0'
...
Fix some wifi bugs
See merge request !1679
2017-12-19 17:42:19 +08:00
Jiang Jiang Jian
b5942dc400
Merge branch 'bugfix/btdm_send_data_length_req_after_read_feature_complete_for_V3.0' into 'release/v3.0'
...
component/bt: send data length req after read feature complete for v3.0
See merge request !1665
2017-12-19 17:38:45 +08:00
Jiang Jiang Jian
72d4de442a
Merge branch 'bugfix/btdm_mem_release_for_v3_0' into 'release/v3.0'
...
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
See merge request !1662
2017-12-19 17:24:47 +08:00
Yulong
7e488b0c6b
component/bt: Optimized broadcast callback function, send the callback function to the application after the controller confirms receipt of the broadcast start.
...
1. optimiz the ble stop adv callback function.
2. added the osi_mutex_unlock in the bta_gattc_wait4_service_change_ccc_cback function when the p_timer_param == NULL || p_conn == NULL.
2017-12-15 18:17:02 +08:00
XiaXiaotian
3a4cf72f30
Fix some wifi bugs
...
1. change first scanning channel to adjust different country code.
2. fix a bug that system crashes when station disconnects from AP.
2017-12-15 17:56:30 +08:00
shangke
710e69feca
emac:add set_eth_mac api
2017-12-15 17:15:53 +08:00
Tian Hao
489f5efbd1
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
...
1. fix the bug. Modify the condition that esp_bt_controller_mem_release() shoud be only called before esp_bt_controller_init() or after esp_bt_controller_deinit()
2. modify the example to use esp_bt_controller_mem_release()
2017-12-13 11:37:31 +08:00
zhiweijian
3a70e61477
Component/bt: send data length request by host after read feature complete
2017-12-12 20:02:36 +08:00
Tian Hao
043ef32651
component/btdm : change bt.h name to esp_bt.h to form the name prefix
2017-12-08 20:56:43 +08:00
krzychb
eae3b45170
LEDC Driver: Added back original definitions of 'duty_resolution' and 'clock_divider'. This update is to provide backward compatibility with ESP-IDF 2.1.
2017-12-07 20:52:54 +08:00
zhangyanjiao
cc46b5054a
when netconn created directly,netconn_delete() will not call netconn_free(),
...
which will lead to memory leak
Closes https://github.com/espressif/esp-idf/issues/784
2017-12-07 20:51:37 +08:00
Jiang Jiang Jian
22489d7021
Merge branch 'bugfix/wdt_periph_enable' into 'master'
...
watchdogs: make sure timer group peripherals are enabled
See merge request !1623
2017-12-01 22:06:43 +08:00
Jiang Jiang Jian
c44487143d
Merge branch 'bugfix/btdm_connect_stable_optimiz' into 'master'
...
component/bt: Optimiz the ble connection performance.
See merge request !1618
2017-12-01 21:35:17 +08:00
Ivan Grokhotkov
08048ff76a
Merge branch 'feature/btdm_avrc_metadata' into 'master'
...
Feature/btdm avrc metadata: implemented AVRCP metadata and notification register commands
See merge request !1624
2017-12-01 20:31:25 +08:00
Ivan Grokhotkov
f58c5b21ec
watchdog: increase default INT WDT interval if SPIRAM is used
...
Running heap_caps_check_integrity for 4MB of PSRAM can take longer than
the default WDT interval, 300ms.
2017-12-01 20:10:26 +08:00
Ivan Grokhotkov
15b6b64c99
watchdog: enable INT WDT unit test
2017-12-01 20:10:26 +08:00
Ivan Grokhotkov
bd1d631134
watchdogs: make sure timer group peripherals are enabled
2017-12-01 20:10:26 +08:00
yulong
96f120c0d4
component/bt: Optimiz the ble connection performance.
2017-12-01 20:02:14 +08:00
Jiang Jiang Jian
85fc06e3bb
Merge branch 'bugfix/flash_1v8_enable_vddsdio_reg' into 'master'
...
bootloader: Only apply VDDSDIO 1.8V->1.9V if regulator is enabled
See merge request !1601
2017-12-01 19:34:45 +08:00
Jiang Jiang Jian
96cd6f8626
Merge branch 'bugfix/update_libstdcxx_psram' into 'master'
...
libstdc++: update the library built with PSRAM workaround
See merge request !1588
2017-12-01 19:34:29 +08:00
Jiang Jiang Jian
c672fc54fd
Merge branch 'feature/ledc_more_meaningful_parameter_names' into 'master'
...
Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resoluti…
See merge request !1440
2017-12-01 19:33:53 +08:00
Jiang Jiang Jian
7702e0f45b
Merge branch 'bugfix/btdm_con_discon_test_crash_#16055' into 'master'
...
component/bt: Fix the bug when write ccc sometimes will lead to repeatedly release the memory.
See merge request !1599
2017-12-01 19:32:39 +08:00
pufstudio
86fa1820b7
component/bt: Add AVRCP medadata attribute support so A2DP can show track title, album, etc.
...
Merges https://github.com/espressif/esp-idf/pull/1078
2017-12-01 19:28:52 +08:00
Jiang Jiang Jian
1f7e42c0b7
Merge branch 'bugfix/fix_some_wifi_bugs' into 'master'
...
Fix some wifi lib bugs
See merge request !1626
2017-12-01 19:22:18 +08:00
Jiang Jiang Jian
aece22f763
Merge branch 'bugfix/tw16581_dhcps_default_behaviour_changed' into 'master'
...
fix the dhcps default behaviour chenged by dns
See merge request !1612
2017-12-01 19:21:26 +08:00
Jiang Jiang Jian
7ec7352534
Merge branch 'bugfix/small_fixes_from_github' into 'master'
...
Small fixes by users from GitHub
See merge request !1620
2017-12-01 19:21:10 +08:00
krzychb
866b84b9f8
Typo fix. Closes https://github.com/espressif/esp-idf/issue/1323
2017-12-01 09:06:08 +01:00
XiaXiaotian
aaa17b8740
Fix some wifi lib bugs
...
1. Add a hide API for station to receive and process probe request
frame.
2. Fix an issue that wifi/bt coexistence crashes in PSRAM version.
3. Fix an issue that the API for clearing vendor ie can not work.
4. Fix an issue that wifi stop and reboot leads watchdog.
2017-12-01 15:00:49 +08:00
Ivan Grokhotkov
af63ca1522
Merge branch 'bugfix/pthread_local_storage_spinlock' into 'master'
...
pthreads: Remove potentially blocking mutex from idle task cleanup path
See merge request !1621
2017-12-01 14:42:29 +08:00
Jiang Jiang Jian
015233d2dc
Merge branch 'bugfix/btdm_mem_leak_lead_to_WDT_#16592' into 'master'
...
compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.
See merge request !1610
2017-12-01 12:24:04 +08:00
Angus Gratton
89407a5770
pthread: Use spinlock not semaphore mutex to protect TLS key list
2017-12-01 14:28:07 +11:00
yulong
a0992ad442
component/bt: Remove the p_tle->param reset to 0 when free the p_timer_param pointer.
2017-11-30 16:15:22 +08:00
Yulong
5b243b1d01
component/bt: Added the mutex lock protect the ccc free when disconnect.
2017-11-30 02:45:26 -05:00
Jiang Jiang Jian
582b731c23
Merge branch 'bugfix/active_scan' into 'master'
...
component/bt : fix actvie scan cannot send scan_req in a certain case
See merge request !1608
2017-11-30 15:06:20 +08:00
Ivan Grokhotkov
cc600bd517
Merge branch 'bugfix/fix_lwip_macros' into 'master'
...
lwip: Change socket API macros to static-inline
See merge request !1614
2017-11-30 10:28:20 +08:00
Kedar Sovani
1c0543fb17
lwip: Change socket API macros to static-inline
2017-11-29 11:42:14 +05:30
Ivan Grokhotkov
f0547d58e4
esp_timer: add documentation, expose profiling option in Kconfig
2017-11-29 11:44:46 +08:00
Ivan Grokhotkov
6e7eb3c776
esp_timer: fix for the case when timer is deleted in callback
...
Timer callback can delete the timer. If CONFIG_ESP_TIMER_PROFILING was
enabled, this caused an access to invalid (freed) memory.
This fix adds a pointer to track the timer while executing the callback.
This is needed so that we can check if callback deletes the timer,
in which case we won't try updating profiling counters for this timer
after the callback is done.
2017-11-29 11:44:46 +08:00
yulong
7353307ca5
component/bt: reset the p_cmd_list pointer after release the mem.
2017-11-29 10:50:03 +08:00
Angus Gratton
1d5389668b
Merge branch 'feature/dhcp_server_options_menuconfig' into 'master'
...
dhcpserver: Option to change lease time multiplier and number of max
See merge request !1595
2017-11-29 07:07:09 +08:00
Tian Hao
59931cd63b
component/bt : fix actvie scan cannot send scan_req in a certain case
2017-11-28 20:11:40 +08:00
zhangyanjiao
e315d7ca08
fix the dhcps default behaviour chenged by dns
...
Closes https://github.com/espressif/esp-idf/issues/1285
2017-11-28 16:39:00 +08:00
yulong
5b9131cc60
compoent/bt: Fix the bug when do the BLE pressure test will lead to memory leak will appear WDT.
2017-11-28 15:43:33 +08:00
Krzysztof Bociurko
626ad5f577
dhcpserver: Option to change lease time multiplier and number of max
...
stations connected to it.
Merges: https://github.com/espressif/esp-idf/pull/1206
2017-11-28 15:58:03 +11:00
Jiang Jiang Jian
0554bc59a2
Merge branch 'bugfix/tw16551_buffer_overflow' into 'master'
...
fix buffer overflow
See merge request !1605
2017-11-27 22:18:58 +08:00
Jiang Jiang Jian
a83fbd3364
Merge branch 'bugfix/tw16287_tcp_send_succeed_after_station_disconnect' into 'master'
...
In STA mode, tcp_send cannot catch err after disconnect station
See merge request !1540
2017-11-27 21:30:46 +08:00
Jiang Jiang Jian
886047fb46
Merge branch 'bugfix/TW16564_tcp_connect/disconnect_crash' into 'master'
...
fix tcp connect/disconnect carsh
See merge request !1598
2017-11-27 21:30:11 +08:00
Jiang Jiang Jian
7980255498
Merge branch 'bugfix/btdm_scan_lead_to_conn_error' into 'master'
...
component/bt: Fixed the bug when stop scan if not set back the scan params will …
See merge request !1590
2017-11-27 21:21:13 +08:00
zhangyanjiao
768bbcd8aa
fix buffer overflow in ipc.c
2017-11-27 18:47:40 +08:00
Ivan Grokhotkov
9e530fd063
Merge branch 'bugfix/allow_external_stack' into 'master'
...
freertos: fix a bug for incorrect check of allow-external-stack
See merge request !1596
2017-11-27 16:31:27 +08:00
zhangyanjiao
0b644ee515
fix tcp connect/disconnect carsh
2017-11-27 10:18:58 +08:00
Angus Gratton
fccc30d2d5
bootloader: Only apply VDDSDIO 1.8V->1.9V if regulator is enabled
...
Fixes bug if regulator is disabled via efuse.
2017-11-27 10:33:41 +11:00
Angus Gratton
75ff6dce15
Merge branch 'docs/esp_ipc' into 'master'
...
docs/ipc documentation
See merge request !1584
2017-11-27 07:24:37 +08:00
Angus Gratton
5e7478a055
Merge branch 'bugfix/ledc_fade_scale' into 'master'
...
driver(LEDC): add scale value check in ledc_set_fade API
See merge request !1583
2017-11-27 07:23:19 +08:00
Yulong
c71318ce88
component/bt: Fix the bug when write ccc sometimes will lead to repeatedly release the memory.
2017-11-25 05:06:14 -05:00
Darian Leung
4c13b2f391
docs/ipc documentation
...
This commit updates doxygen comments in the IPC header files and adds an rst
docs page.
2017-11-24 15:31:28 +08:00
Kedar Sovani
e7743d090d
freertos: fix a bug for incorrect check of allow-external-stack
2017-11-24 09:53:47 +05:30
Angus Gratton
02304ad83e
Merge branch 'feature/freertos_backported_functions' into 'master'
...
freertos/backport and test v9.0.0 functions
See merge request !1515
2017-11-24 08:49:59 +08:00
Jiang Jiang Jian
e5b2c1cf4c
Merge branch 'bugfix/btdm_corret_bt_h_comment' into 'master'
...
component/bt: Correct the ESP_BLE_PWR_TYPE_CONN_HDL0-9 comment in the bt.h file t…
See merge request !1570
2017-11-24 00:14:14 +08:00
Jiang Jiang Jian
082f5716c6
Merge branch 'feature/enable_disable_ampdu_rx_tx_independently' into 'master'
...
Feature/enable disable ampdu rx tx independently
See merge request !1560
2017-11-23 22:22:43 +08:00
Yulong
177c92f15e
component/bt: Change the code format.
2017-11-23 06:42:04 -05:00
Yulong
2458d15d2d
component/bt: recovery the scan parameter to the controller before start scan.
2017-11-23 06:36:00 -05:00
panfeng
b553c925b1
bugfix: while scale equals 0 will cause crash
2017-11-23 17:56:18 +08:00
Yulong
f14699068d
component/bt: Fixed the bug when stop scan if not set back the scan params will lead to connection request sent the empty packet to the peer device.
2017-11-23 03:54:29 -05:00
Ivan Grokhotkov
983ec73413
libstdc++: update the library built with PSRAM workaround
2017-11-23 15:34:23 +08:00
Darian Leung
c1d101dd41
freertos/backport and test v9.0.0 functions
...
This commit backports the following features from FreeRTOS v9.0.0
- uxSemaphoreGetCount()
- vTimerSetTimerId(), xTimerGetPeriod(), xTimerGetExpiryTime()
- xTimerCreateStatic()
- xEventGroupCreateStatic()
- uxSemaphoreGetCount()
Functions backported previously
- xTaskCreateStatic()
- xQueueCreateStatic()
- xSemaphoreCreateBinaryStatic(), xSemaphoreCreateCountingStatic()
- xSemaphoreCreateMutexStatic(), xSemaphoreCreateRecursiveMutexStatic()
- pcQueueGetName()
- vTaskSetThreadLocalStoragePointer()
- pvTaskGetThreadLocalStoragePointer()
Unit tests were also written for the functions above (except for pcQueueGetName
which is tested in a separate Queue Registry MR). The original tlsp and del cb test case
was deleted and integrated into the test cases of this MR.
2017-11-23 14:18:09 +08:00
Ivan Grokhotkov
b669b415e6
Merge branch 'feature/cxx_exceptions_emg_pool' into 'master'
...
esp32: Adds C++ exceptions emergency pool size menuconfig option
See merge request !1561
2017-11-23 13:02:49 +08:00
Amey Inamdar
edb2400742
pthread: Added support for pthread condition variables
...
This is required for std::condition_variable support
Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
2017-11-23 11:26:51 +08:00
Alexey Gerenkov
7df96718a2
esp32: Adds C++ exceptions emergency pool size menuconfig option
2017-11-23 06:14:11 +03:00
Liu Zhi Fu
3f6a8f1430
esp32: add options to disable/enable TX/RX AMPDU independently
...
Make menuconfig can disable/enable TX/RX AMPDU independently
2017-11-23 09:42:31 +08:00
Ivan Grokhotkov
597ce3b800
Merge branch 'bugfix/ringbuf_buflen_bugfix' into 'master'
...
Bugfix/ringbuf buflen bugfix
See merge request !1562
2017-11-22 22:30:11 +08:00
Ivan Grokhotkov
c237c5c966
Merge branch 'bugfix/gpio_disable_api' into 'master'
...
driver: GPIO can be disabled by calling gpio_set_direction
See merge request !1575
2017-11-22 22:26:54 +08:00
Ivan Grokhotkov
cf47012111
Merge branch 'feature/prs_from_github' into 'master'
...
PRs from Github
See merge request !1578
2017-11-22 22:26:40 +08:00