Jiang Jiang Jian
1de3fc4a2c
Merge branch 'bugfix/btdm_master_dont_send_pair_req_#13686' into 'master'
...
component/bt: Fix the bug of master don't send pair request to the slave when the sec_act set to the value of ESP_BLE_SEC_ENCRYPT.
See merge request !1376
2017-11-02 15:49:27 +08:00
XiaXiaotian
42cefc173f
refractor WiFi clock setting
...
Do not set WiFi clock in PHY initializing function, move it to WiFi
start/stop function.
2017-11-02 15:24:21 +08:00
wangmengyang
bd6394db92
component/bt: clean up WIFI_CLK_EN_REG settings for Bluetooth
...
1. move settings of WIFI_CLK_EN_REG for bluetooth into controller init/deinit APIs
2. modify the bit mask used in phy_rf init/deinit to use WIFI-BT shared bits
2017-11-02 15:24:21 +08:00
Jiang Jiang Jian
da178e446d
Merge branch 'feature/increase_dynamic_tx_buffer_number' into 'master'
...
Feature/increase dynamic tx buffer number
See merge request !1473
2017-11-02 15:09:37 +08:00
zhiweijian
481e436587
Component/bt: modify close event and disconnection event params
...
- modify close event params
- modify disconnection event params
- modify connect event params
2017-11-01 10:40:03 +08:00
XiaXiaotian
50b6912bf8
Increase maximum number of WiFi dynamic transmitting buffer
2017-10-31 15:18:20 +08:00
XiaXiaotian
87d3986b87
Fix the return value of esp_now_send()
2017-10-31 15:18:20 +08:00
Jiang Jiang Jian
19aa3c72e9
Merge branch 'bugfix/wrong_ap_info_in_all_channel_scan' into 'master'
...
Wifi: bugfix of get wrong ap information in all channel scan
See merge request !1470
2017-10-31 15:15:07 +08:00
Jiang Jiang Jian
939b46596f
Merge branch 'bugfix/btdm_unable_use_esp_ble_gatts_get_attr_value_after_long_write' into 'master'
...
component/bt: Fix the bug cann't use esp_ble_gatts_get_attr_value to get the att…
See merge request !1381
2017-10-31 14:45:17 +08:00
Jiang Jiang Jian
07f92f0bd1
Merge branch 'bugfix/btdm_smp_decide_association_model' into 'master'
...
component/bt: Fix bug of function smp_decide_association_model
See merge request !1377
2017-10-31 14:34:41 +08:00
Jiang Jiang Jian
c4bb378e4c
Merge branch 'bugfix/btdm_set_MAX_L2CAP_CHANNELS_error' into 'master'
...
component/bt: Fix bug of set MAX_L2CAP_CHANNELS error
See merge request !1448
2017-10-31 14:32:53 +08:00
Deng Xin
ccfbecd25f
Wifi: bugfix of get wrong ap information in all channel scan
...
fix the issue get wrong ap information in all channel scan
2017-10-31 11:35:11 +08:00
Jiang Jiang Jian
97dffbfc47
Merge branch 'bugfix/btdm_disable_role_switch' into 'master'
...
component/bt: disable the use of ROLE_SWITCH feature for classic BT as workaround
See merge request !1446
2017-10-31 11:31:15 +08:00
Jiang Jiang Jian
182cd1ce4d
Merge branch 'bugfix/btdm_fix_crash_when_set_device_name_null' into 'master'
...
component/bt: fix crash when set device name NULL
See merge request !1462
2017-10-31 11:17:49 +08:00
Jiang Jiang Jian
5b19cf23fc
Merge branch 'feature/reduce_default_wifi_static_buffer_number' into 'master'
...
esp32: reduce default wifi static tx buffer
See merge request !1465
2017-10-31 11:16:22 +08:00
Angus Gratton
696dfbcfee
Merge branch 'bugfix/fix_tcp_crash' into 'master'
...
fix tcp crash
See merge request !1444
2017-10-31 06:18:49 +08:00
Darian Leung
b908b3cd58
unit_tests/Update unit test timer divider
...
This commit updates various test cases throughout esp-idf such that
the values used for timer divider pass the assertions in the timer component.
Timer divider values must be between 2 to 65536
2017-10-30 19:42:16 +08:00
Liu Zhi Fu
1195ced75c
esp32: reduce default wifi static tx buffer
...
Modify the the default WiFi static tx buffer from 32 to 16
2017-10-28 12:15:40 +08:00
Angus Gratton
7c9b24b407
Merge branch 'bugfix/fix_uart_vfs_test_error' into 'master'
...
bugfix(uart): Don't disable console uart peripheral
See merge request !1456
2017-10-27 19:20:13 +08:00
Jiang Jiang Jian
a9b63b796e
Merge branch 'bugfix/btdm_cpu_core' into 'master'
...
component/bt : fix bug of sw interrupt cause to run btdm to different cpu core.
See merge request !1434
2017-10-27 18:36:59 +08:00
Wangjialin
102eb96c8b
bugfix(uart): Don't disable console UART peripheral
2017-10-27 16:46:10 +08:00
zhiweijian
15c75974de
component/bt: fix crash when set device name NULL
2017-10-27 15:21:00 +08:00
Angus Gratton
ffeecde9e2
Merge branch 'feature/docs_update_timer_api' into 'master'
...
Timer API docs update, refactored example
See merge request !1316
2017-10-27 13:31:18 +08:00
krzychb
9b7d5d76a7
Timer API docs update, refactored example
2017-10-27 07:13:59 +02:00
Ivan Grokhotkov
00bf160f94
Merge branch 'bugfix/pthread_once' into 'master'
...
[pthread] Perform init_routine execution outside of the mutex
See merge request !1453
2017-10-27 09:21:55 +08:00
Angus Gratton
3338f1074f
Merge branch 'bugfix/set_cppflags' into 'master'
...
Ensure that C++ and C compilers get the same preprocessor setup (from github)
See merge request !1459
2017-10-26 20:21:49 +08:00
Andreas Pokorny
2a1906cf50
Ensure that C++ and C compilers get the same preprocessor setup
...
CPPFLAGS is applied for both languages while CFLAGS only for C
Signed-off-by: Andreas Pokorny <andreas.pokorny@siemens.com>
2017-10-26 13:04:41 +02:00
Angus Gratton
9159e2b807
Merge branch 'bugfix/panic_handler_debugexception' into 'master'
...
panic handler: Print correct PC & backtrace for debug exceptions
See merge request !1441
2017-10-26 15:49:30 +08:00
Angus Gratton
f5b3a370cd
Merge branch 'feature/adc2_driver' into 'master'
...
feature(adc2): add support to use ADC2 when WIFI is disabled
See merge request !1237
2017-10-26 15:48:48 +08:00
Angus Gratton
baf1641c29
Merge branch 'bugfix/uart_set_default_idle_time_to_zero' into 'master'
...
bugfix(uart): set default tx idle num
See merge request !1419
2017-10-26 15:17:45 +08:00
Angus Gratton
5c5d5f0acb
Merge branch 'bugfix/tcpip_stack_overflow_logging_printf' into 'master'
...
lwip: Increase minimum TCP/IP task stack size if log level is Debug or Verbose
See merge request !1396
2017-10-26 15:09:22 +08:00
michael
87f2b27dc4
refactor(rtc): re-organize code in rtc_module.c
2017-10-26 14:35:30 +08:00
michael
d30f3e7aa8
example(adc2): add example and test case for adc2.
...
closes #461
2017-10-26 14:35:30 +08:00
esp32de
7c0020bfd0
feat(adc2): append adc2 support and api and the lock with WIFI module
...
append adc support and api
- esp_err_t adc2_config_width(adc_bits_width_t width_bit);
- esp_err_t adc2_config_channel_atten(adc2_channel_t channel, adc_atten_t atten);
- int adc2_get_voltage(adc2_channel_t channel);
2017-10-26 14:35:29 +08:00
Kedar Sovani
07992b08e8
[pthread] Perform init_routine execution outside of the mutex
...
The mutex is common across all the threads. It needn't be held across
the init_routine() call as long as the 'once' behaviour is guaranteed
Saw a deadlock case, where init_routine of one thread was waiting for
the completion of init_routine in another thread.
t2: wait for command
t1: pthread_once:
lock once_mux
init_routine:
inform thread t2
wait for signal from t2
t2: received command
pthread_once
lock once_mux (already held by t1)
---- Deadlock ----
2017-10-25 13:57:39 +05:30
Wangjialin
303b9f60db
bugfix(uart): set default tx idle num
...
Reported from:
https://github.com/espressif/esp-idf/issues/703
https://github.com/espressif/esp-idf/issues/917
In uart driver we didn't change the default value of tx idle num, so there would be a delay after tx FIFO is empty.
1. Add API to set tx idle interval before next data transmission. (The UART hardware can add an interval after tx FIFO is empty).
2. Set default tx idle interval to zero.
3. Add hardware disable in uart driver delete function.
2017-10-25 13:29:02 +08:00
baohongde
3dab0fd340
component/bt: Fix bug of set MAX_L2CAP_CHANNELS error
2017-10-25 12:02:41 +08:00
island
4e7de126dc
component/bt: Fix scan problem of bonded device using public address
2017-10-25 11:52:03 +08:00
Tian Hao
85eb5d4374
component/bt : fix bug of sw interrupt cause to run btdm to different cpu core.
...
1. add sw interrupt cause osi to controller.
2. modify the kconfig to improve the option view.
3. add option of the cpu core which bluedroid run.
4. add option of the cpu core which bluetooth controller run.
2017-10-24 16:13:58 +08:00
wangmengyang
837678e4f3
component/bt: disable the use of ROLE_SWITCH feature for classic BT as workaround
2017-10-24 14:44:53 +08:00
michael
a6ac5b33c9
feat(rtc): open adc*(dac)_pad_get_io_num functions to public.
2017-10-24 12:06:14 +08:00
michael
cff8d30c25
refactor(rtc): change register writing from macros to structures in *_struct.h
2017-10-24 12:05:52 +08:00
zhangyanjiao
18dcbfa1e2
fix tcp crash
2017-10-24 09:44:44 +08:00
Ivan Grokhotkov
552ba35da5
add missing ioctl declaration
...
Previously ioctl was declared as a macro in lwip/sockets.h.
Disabling LWIP_POSIX_SOCKETS_IO_NAMES removed that declaration.
This adds sys/ioctl.h file and the missing declaration.
Also adds missing includes in vfs.c.
2017-10-23 19:47:33 +08:00
Angus Gratton
2c2e7f6303
Merge branch 'bugfix/optmize_ipv6_event' into 'master'
...
bugfix: add netif info in event message when got ipv6 address
See merge request !959
2017-10-23 17:00:10 +08:00
Angus Gratton
c61060e673
panic handler: Print correct PC & backtrace for debug exceptions
2017-10-23 15:46:43 +08:00
baohongde
84a55f9ee4
component/bt: Fix bug of function smp_decide_association_model
2017-10-23 15:34:02 +08:00
yulong
a9a423a025
component/bt: Added the sec_act != BTM_BLE_SEC_ENCRYPT check in the btm_ble_set_encryption function when the sec_act is BTM_BLE_SEC_ENCRYPT_NO_MITM or BTM_BLE_SEC_ENCRYPT_MITM.
2017-10-23 15:12:36 +08:00
Yulong
da32fbce7a
component/bt: Fix the bug of can't pair if master send pair req but slave don't send sec req.
2017-10-23 15:12:36 +08:00
Tian Zhong Xing
55e95b04bd
bugfix: add netif info in event message when got ipv6 address
2017-10-23 13:50:43 +08:00