Liu Zhi Fu
31ca811240
lwip: fix the assertion in tcp_pcb_purge()
...
Fix the assertion in tcp_pcb_purge().
2018-07-09 10:33:13 +08:00
Liu Zhi Fu
febb0cb3da
lwip: disable ETHARP_TRUST_IP_MAC by default
...
Disable ETHARP_TRUST_IP_MAC by default because:
1. The LAN peer may not be trustful
2. The LAN peer may has problem to update its ARP entry
2018-07-09 10:26:05 +08:00
Ivan Grokhotkov
d128ff3ecd
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile
...
INTERRUPT and CCOUNT registers will change outside of program control.
Making the inline assembly used to read these registers volatile
indicates this fact to the compiler.
Fixes https://github.com/espressif/esp-idf/issues/2127
2018-07-05 17:21:55 +08:00
Ivan Grokhotkov
debe83c3b5
esp32: force pure math functions from libgcc to be linked from ROM
2018-07-05 17:19:01 +08:00
Ivan Grokhotkov
5752e4d588
esp32: fix addresses of some libgcc functions in ROM ld script
2018-07-05 17:18:54 +08:00
Angus Gratton
66dad0c506
Merge branch 'bugfix/console_performance' into 'release/v3.1'
...
idf_monitor: Fix console performance
See merge request idf/esp-idf!2687
2018-07-05 11:42:00 +08:00
Xia Xiaotian
fffbcbb78b
esp32: Change channel state information(CSI) data type from unsigned char to singed char
2018-07-04 11:47:57 +08:00
Roland Dobai
b8937e5522
idf_monitor: Fix console performance
...
51e42d8e92
introduced filtering options which handles the last (unterminated) line
with a delay. This introduced poor performance for console applications
when the user interacts with the ESP32 device in the same line because
there is an artificial delay for each key-press.
bb152030a0
decreased the delay but there are still delays for each key-presses.
The current fix makes only one delay per line instead of each
key-presses. When an unterminated line is detected then no more
"delayed" print is used for the given line.
Fixes https://github.com/espressif/esp-idf/issues/2054
2018-07-03 09:15:46 +02:00
Angus Gratton
0a2e4967ef
doc: Clarify some Eclipse setup steps
2018-07-02 11:42:29 +10:00
Angus Gratton
cbc5ef4bc6
Merge branch 'docs/eclipse_regex' into 'master'
...
Docs: Fix bugs in Eclipse setup in CN
See merge request idf/esp-idf!2620
2018-07-02 11:41:12 +10:00
Jiang Jiang Jian
aec8dfdc8e
Merge branch 'bugfix/coex_bug_v3.1' into 'release/v3.1'
...
esp32: fix coex bug(Backport v3.1)
See merge request idf/esp-idf!2675
2018-07-02 09:40:45 +08:00
Tian Hao
3ad712ba86
esp32: fix coex bug
...
1. fix BLE connection missing in coex mode
2. modify other parameters to make coex priority more reasonable
3. fix modem sleep procedure trap cause Wifi disable RF when BT is
working. Such cause that BR/EDR is difficult to be connected, BLE
connection stability decrease and so on.
4. modify BR/EDR coexist duration to imrove BR/EDR connect success
ratio.
5. Due to the hardware coexist bug, BLE scan interval/window should
be less than 0x100(about 160ms). Therefore, it will cause BLE cannot
scan any advertising packet while WiFi have higher priority
behaviour(such like RX beacon, scan, TX/RX VO packets and etc.).
2018-06-30 22:40:09 +08:00
Jiang Jiang Jian
b31e16039e
Merge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg_v3.1' into 'release/v3.1'
...
Component/bt: fix register multi service change when register multi gattc for v3.1
See merge request idf/esp-idf!2668
2018-06-30 11:30:59 +08:00
Jiang Jiang Jian
16bb663c74
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'
...
component/bt: Fix some bad point calculations of BT GAP of v3.1
See merge request idf/esp-idf!2669
2018-06-29 22:16:15 +08:00
Jiang Jiang Jian
4bd6486b41
Merge branch 'bugfix/btdm_bt_remove_device_disconnect_v3.1' into 'release/v3.1'
...
component/bt: Fix bug of BT and BLE remove bond device of v3.1
See merge request idf/esp-idf!2670
2018-06-29 22:15:53 +08:00
baohongde
1340de576e
component/bt: Fix bug of BT and BLE remove bond device of v3.1
...
1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device will only remove BT bond key and disconnect BT device.
A cherry-pick of MR !2562
2018-06-29 20:09:19 +08:00
baohongde
92ea676c38
component/bt: Fix some bad point calculations of BT GAP of v3.1
...
Closes https://github.com/espressif/esp-idf/issues/2103
A cherry-pick of MR !2655
2018-06-29 20:01:51 +08:00
zhiweijian
8335933cdf
Component/bt: fix register multi service change when register multi gattc
2018-06-29 19:54:22 +08:00
Jiang Jiang Jian
f198339ec0
Merge branch 'bugfix/esp_err_name_idf_path_v3.1' into 'release/v3.1'
...
docs: fix error code reference build issue (v3.1)
See merge request idf/esp-idf!2607
2018-06-29 19:23:49 +08:00
Jiang Jiang Jian
f4f563bc7b
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'
...
component/bt: fix stop adv error in dual core for v3.1
See merge request idf/esp-idf!2661
2018-06-29 19:22:28 +08:00
Jiang Jiang Jian
a95678bfcd
Merge branch 'bugfix/assert_v3.1' into 'release/v3.1'
...
assert: Fix. Move useful functions from wrapped assert functions (v3.1)
See merge request idf/esp-idf!2605
2018-06-29 19:20:35 +08:00
Jiang Jiang Jian
dadfcc35b3
Merge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'
...
bt : fix read rssi conflict when in dual mode
See merge request idf/esp-idf!2618
2018-06-29 19:18:15 +08:00
Jiang Jiang Jian
7535226679
Merge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request_v3.1' into 'release/v3.1'
...
component/bt: Fix bug: Respond with the Error Response when receiving a request…
See merge request idf/esp-idf!2662
2018-06-29 19:15:03 +08:00
Jiang Jiang Jian
35364c365f
Merge branch 'bugfix/btdm_some_ble_hid_bugs_v3.1' into 'release/v3.1'
...
component/bt: Fix some hid bugs of v3.1
See merge request idf/esp-idf!2663
2018-06-29 19:14:41 +08:00
Jiang Jiang Jian
2d7798e091
Merge branch 'bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_modem_sleep_prevent_dfs_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2660
2018-06-29 18:45:47 +08:00
Jiang Jiang Jian
d945191e08
Merge branch 'bugfix/btdm_rm_assert_in_isr_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_rm_assert_in_isr_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2659
2018-06-29 18:45:30 +08:00
Jiang Jiang Jian
a0014d91b9
Merge branch 'bugfix/btdm_singular_sleep_time_corr_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_singular_sleep_time_correction_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2658
2018-06-29 18:44:20 +08:00
baohongde
ebc3df0038
component/bt: Fix some hid bugs of v3.1
...
1. Property of HID Information is Read
2. Property of HID Control Point is WriteWithoutResponse
A cherry-pick of MR !2628
2018-06-29 15:42:46 +08:00
baohongde
85127bcbbd
component/bt: Fix bug: Respond with the Error Response when receiving a request that it does not support into v3.1
...
A cherry-pick of MR !2591
2018-06-29 15:19:19 +08:00
Jiang Jiang Jian
364e587b46
Merge branch 'feature/optimize_wifi_memory_v3.1' into 'release/v3.1'
...
Optimize WiFi memory (backport v3.1)
See merge request idf/esp-idf!2651
2018-06-29 15:13:00 +08:00
zwj
6752163800
component/bt: fix stop adv error in dual core
2018-06-29 15:09:11 +08:00
Jiang Jiang Jian
ddb05d0719
Merge branch 'bugfix/btdm_fix_no_adv_packet_v3.1' into 'release/v3.1'
...
component/bt: fix no adv packets for v3.1
See merge request idf/esp-idf!2653
2018-06-29 14:59:10 +08:00
wangmengyang
125828edaf
prevent Dynamic Frequency Scaling when using bluetooth modem sleep
...
This constraint will be elimiated after the issue is fixed
2018-06-29 14:49:23 +08:00
wangmengyang
d7f5c3e55f
component/bt: remove the call of assert in time conversion functions which can be caused in ISR
2018-06-29 14:40:54 +08:00
wangmengyang
eebbe2d008
component/bt: fix the cornered case caused by singular finetime correction value upon waking up from sleep
...
1. revert previous changes that adds 1-slot margin for first master Tx event, since this bugfix can handle that case
2018-06-29 14:29:53 +08:00
zwj
9ca4dc0626
component/bt: fix no adv packets
2018-06-29 10:23:46 +08:00
Liu Zhi Fu
dd73e2a453
Optimize WiFi memory
...
Optimize wifi memory (b987c01d)
1. Decrease WiFi task stack size by 512 Bytes
2. Modify WiFi NVS configuration array from static to dynamic
3. Move interrupt/RX relating variables from .bss segment to .data segment
4. Modify WiFi management short buffer from static to dynamic
5. Remove some useless WiFi buffer space
2018-06-28 21:27:24 +08:00
Jiang Jiang Jian
07b1e2053c
Merge branch 'mesh/update_libs_v3.1' into 'release/v3.1'
...
mesh: update libs(backport3.1)
See merge request idf/esp-idf!2630
2018-06-28 16:09:29 +08:00
Jiang Jiang Jian
999f86320e
Merge branch 'bugfix/btdm_conn_stress_test_assert_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_conn_stress_test_assert_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2632
2018-06-28 14:23:39 +08:00
wangmengyang
3c188abdd7
component/bt: add 1 slot margin to program the 1st master Tx event during BLE connection
...
this will resolve the issue of failure of BLE connection stress test with sleep enabled
2018-06-27 18:13:17 +08:00
Jiang Jiang Jian
698d3bafa5
Merge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp_v3.1' into 'release/v3.1'
...
Component/bt: fix slave can not receive long packets in smp for v3.1
See merge request idf/esp-idf!2626
2018-06-27 18:10:24 +08:00
Ivan Grokhotkov
fcf0324a66
Merge branch 'feature/move_to_soc_rtc_gpio_desc_v3.1' into 'release/v3.1'
...
soc: Fix check_long_hold_gpio and move def to soc (v3.1 backport)
See merge request idf/esp-idf!2622
2018-06-27 15:55:46 +08:00
qiyueixa
3c4c838c2b
mesh: update libs
...
1. add APIs to set/get announce interval values.
2. add API to enable/disable the min rate to 6Mbps for data packages.
3. add APIs to set/get RSSI threshold values.
4. fix ap_loss.
2018-06-26 21:49:23 +08:00
Jiang Jiang Jian
36adefc8a8
Merge branch 'feature/btdm_controller_to_host_flow_control_v3.1' into 'release/v3.1'
...
component/bt: Add Controller to Host Flow Control into v3.1
See merge request idf/esp-idf!2613
2018-06-26 17:07:18 +08:00
zhiweijian
e8ff79d6b4
Component/bt: fix slave can not receive long packets in smp
2018-06-26 16:44:04 +08:00
Konstantin Kondrashov
baa6c19700
soc: Fix check_long_hold_gpio and move def to soc
...
Fix factory_reset_pin init as input
Move definition a structure rtc_gpio_desc to soc
Closes https://github.com/espressif/esp-idf/issues/2030
2018-06-26 12:47:55 +05:00
Tian Hao
e3dedb74c5
bt : fix read rssi conflict when in dual mode
2018-06-26 11:54:39 +08:00
baohongde
f406174be5
component/bt: Add Controller to Host Flow Control into v3.1
...
A cherry-pick of MR !2493
2018-06-25 20:38:21 +08:00
Ivan Grokhotkov
5ebb70ecc5
Merge branch 'bugfix/app_partition_fallback_v31' into 'release/v3.1'
...
partition_table: Support same fallback logic as bootloader for default boot partition (v3.1 backport)
See merge request idf/esp-idf!2597
2018-06-25 14:59:03 +08:00
Jiang Jiang Jian
8437b63845
Merge branch 'bugfix/wifi_support_null_mode_again_v3.1' into 'release/v3.1'
...
support WiFi null mode again
See merge request idf/esp-idf!2578
2018-06-25 14:54:40 +08:00