Jiang Jiang Jian
2060ee9a54
Merge branch 'bugfix/udpv6_fail_to_receive_data_for_the_first_time_for_3.1' into 'release/v3.1'
...
lw-ip:udpv6 failed to receive data for the first time for 3.1(backport 3.1)
See merge request espressif/esp-idf!10994
2020-10-27 14:04:26 +08:00
xueyunfei
42474815cf
udpv6 failed to receive data for the first time for 3.1
2020-10-27 10:20:04 +08:00
He Yin Ling
64b0bc221f
Merge branch 'feature/move_auto_test_script_to_new_repo_3.1' into 'release/v3.1'
...
ci: move auto_test_script to new repo (backport 3.1)
See merge request espressif/esp-idf!10929
2020-10-24 09:26:28 +08:00
Chen Yu Dong
59cc60defb
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-10-24 09:26:22 +08:00
Jiang Jiang Jian
2325777cee
Merge branch 'bugfix/fix_receiving_packets_from_myself_v3.1' into 'release/v3.1'
...
esp_wifi: drop receiving packets from myself (backport v3.1)
See merge request espressif/esp-idf!10560
2020-09-24 22:33:36 +08:00
Jiang Jiang Jian
05da1aab8a
Merge branch 'bugfix/param_check_instant_tx_octets_adv_ubderrun_v3.1' into 'release/v3.1'
...
component/bt: add connect parameter, fix instant reverse
See merge request espressif/esp-idf!9487
2020-09-24 22:33:19 +08:00
wangcheng
bff634a925
component/bt: add connect parameter, fix instant reverse.
2020-09-23 22:03:16 +08:00
Jiang Jiang Jian
fcd51092b2
Merge branch 'bugfix/bt_interrupt_disable_timing_error_v3.1' into 'release/v3.1'
...
This MR is intended to fix Bluetooth event scheduling when WiFi is also enabled. (backport v3.1)
See merge request espressif/esp-idf!10054
2020-09-23 19:30:39 +08:00
Jiang Jiang Jian
aea29b01c8
Merge branch 'bugfix/fix_ipv6_nd6_issue_v3.1' into 'release/v3.1'
...
fix ipv6 nd6 issue.(backport v3.1)
See merge request espressif/esp-idf!10532
2020-09-23 18:56:57 +08:00
Jiang Jiang Jian
f3a1e65a9d
Merge branch 'bugfix/backport_some_lwip_bugs_0917_v3.1' into 'release/v3.1'
...
lw-ip:backport bugfix lw-ip for v3.1
See merge request espressif/esp-idf!10505
2020-09-23 14:07:36 +08:00
Jiang Jiang Jian
a981063bf0
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v3.1' into 'release/v3.1'
...
wifi: Fix spin lock allocation in PSRAM bug(v3.1)
See merge request espressif/esp-idf!10541
2020-09-23 13:54:13 +08:00
xiehang
f36d745a9f
esp_wifi: drop receiving packets from myself
2020-09-23 11:32:25 +08:00
xueyunfei
c3457fda21
backport bugfix lwip for v3.1
2020-09-22 15:45:05 +08:00
Jiang Jiang Jian
ee7671f473
Merge branch 'bugfix/fix_some_wifi_bugs_0907_v3.1' into 'release/v3.1'
...
bugfix: fix softap mode wpa memory leak (backport v3.1)
See merge request espressif/esp-idf!10325
2020-09-22 11:52:17 +08:00
dongyou
18fdfe2bca
Fix spin lock allocation in PSRAM bug
2020-09-22 11:51:15 +08:00
ChenJianxing
76f200ff3d
fix ipv6 nd6 issue.(backport v3.1)
2020-09-21 14:42:35 +08:00
ronghulin
c94fbd29d1
bugfix: fix softap mode wpa memory leak
2020-09-11 11:00:11 +08:00
Chinmay Chhajed
3feeb2a42e
This MR is intended to fix Bluetooth event scheduling when WiFi is also enabled.
...
The global interrupts will be disabled before taking current
time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.
Also fixes ble crash issue triggered by ble event irq miss(0x20000)
2020-09-07 13:52:03 +00:00
He Yin Ling
a5be5acf2f
Merge branch 'bugfix/remove_auto_conn_case_v3.1' into 'release/v3.1'
...
test: remove auto conn case because we do not support this anymore (v3.1)
See merge request espressif/esp-idf!9945
2020-09-07 20:46:54 +08:00
Jiang Jiang Jian
62c061848f
Merge branch 'cherry-pick-19736dbe' into 'release/v3.1'
...
wpa_supplicant: Fix some memleaks and invalid memory access(backport V3.1)
See merge request espressif/esp-idf!10032
2020-08-26 17:22:57 +08:00
Hou Chen Yao
4ebd498dff
remove auto conn case because we do not support this anymore
2020-08-24 06:24:11 +00:00
Michael (XIAO Xufeng)
913bf687f2
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v3.1' into 'release/v3.1'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v3.1)
See merge request espressif/esp-idf!9964
2020-08-17 14:48:54 +08:00
Jiang Jiang Jian
97faf68d55
Merge branch 'bugfix/supplicant_general_fixes_33' into 'release/v3.3'
...
wpa_supplicant: Fix some memleaks and invalid memory access(backport V3.3)
See merge request espressif/esp-idf!8741
(cherry picked from commit 19736dbedc
)
b91bba1a
wpa_supplicant: Fix some memleaks and invalid memory access
2020-08-13 11:26:57 +08:00
Jiang Jiang Jian
d772da5ca2
Merge branch 'bugfix/bt_linkup_fallback_event_v3.1' into 'release/v3.1'
...
Bluedroid: Fixes cases having fallback to link up event. (v3.1)
See merge request espressif/esp-idf!9807
2020-08-07 14:09:11 +08:00
dongyou
15250a747a
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
...
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-06 17:30:01 +08:00
Jiang Jiang Jian
8fb6fe9b0b
Merge branch 'bugfix/fix_fragment_issue_v3.1' into 'release/v3.1'
...
eps_wifi: Fix WiFi fragment issue (backport v3.1)
See merge request espressif/esp-idf!9880
2020-08-04 12:23:50 +08:00
He Yin Ling
ad03217fc1
Merge branch 'bugfix/checkout_ref_auto_test_script_v3.1' into 'release/v3.1'
...
CI: IT jobs use incorrect auto test script branch (v3.1)
See merge request espressif/esp-idf!9869
2020-08-01 11:38:37 +08:00
xiehang
869b2ff014
eps_wifi: Fix WiFi fragment issue
2020-07-31 20:39:01 +08:00
Chen Yudong
e3498c2e27
test: fix auto test script uses incorrect branch
2020-07-30 14:15:52 +08:00
Michael (XIAO Xufeng)
95978a0d37
Merge branch 'bugfix/mcpwm_period_error_v3.1' into 'release/v3.1'
...
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v3.1)
See merge request espressif/esp-idf!7189
2020-07-28 15:15:14 +08:00
Chinmay Chhajed
7f0462dae1
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-07-27 14:09:30 +05:30
Angus Gratton
7e1c1485e8
Merge branch 'ci/workaround_multiple_ci_failures_v3.1' into 'release/v3.1'
...
CI: workaround multiple ci failures (v3.1)
See merge request espressif/esp-idf!9689
2020-07-22 11:56:15 +08:00
He Yin Ling
e2a7cc38b6
CI: do not run cases likely to fail
2020-07-19 15:46:59 +08:00
He Yin Ling
008b5c53ac
CI: disable cases with test env SSC_T5_1
2020-07-19 15:46:50 +08:00
He Yin Ling
32e01f4c5a
CI: remove incorrect MTU related cases
2020-07-19 15:43:42 +08:00
Jiang Jiang Jian
289a12a6a2
Merge branch 'bugfix/customer_baidu_int_wdt_v3.1' into 'release/v3.1'
...
backport v3.1: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9222
2020-07-17 11:53:35 +08:00
Li Shuai
bb7752fc10
add soft solution for esp32 eco3 live lock issue
2020-07-15 01:50:31 +00:00
Jiang Jiang Jian
dbbffc816a
Merge branch 'bugfix/config_btu_stack_size_by_menuconfig_v3.1' into 'release/v3.1'
...
components/bt: Config BTU stack size by menuconifg
See merge request espressif/esp-idf!9386
2020-07-12 21:35:40 +08:00
Jiang Jiang Jian
c20892e856
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v3.1' into 'release/v3.1'
...
fix some wifi bugs 0703 (v3.1)
See merge request espressif/esp-idf!9539
2020-07-12 21:10:39 +08:00
zhangyanjiao
995c264209
esp_wifi bugfix:
...
1. Fix TX DMA buffer issue
2. API esp_wifi_get_config add acquisition sta.listen_interval
3. Configure bandwidth and phy mode to store NVS
4. Do not reset softAP's tsf except it restart
5. fix the wifi regdomain update bug
6. fix the bug for airkiss find hidden AP fail
7. fix addba and first ampdu send bar
2020-07-08 21:30:49 +08:00
Jiang Jiang Jian
a280fb325d
Merge branch 'bugfix/beacon_security_downgrade_v3.1' into 'release/v3.1'
...
Avoid parsing RSN/WPA IE's after connection (Backport v3.1)
See merge request espressif/esp-idf!9348
2020-07-02 21:29:11 +08:00
Jiang Jiang Jian
6131a7c23c
Merge branch 'feature/bt_secure_conn_downgrade_check_v3.1' into 'release/v3.1'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9335
2020-06-30 15:26:40 +08:00
baohongde
273902dd83
components/bt: Config BTU stack size by menuconifg
2020-06-29 21:25:45 +08:00
Nachiket Kukade
805b9c5859
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-06-26 16:29:03 +05:30
Chinmay Chhajed
34ad62021a
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
2020-06-25 16:18:29 +05:30
Island
12b497b328
Merge branch 'bugfix/att_buffer_count_fixed_v3.1' into 'release/v3.1'
...
Bugfix/att buffer count fixed v3.1
See merge request espressif/esp-idf!9162
2020-06-22 11:46:25 +08:00
Island
405abe9cfc
Merge branch 'bugfix/blufi_buffer_overflow_report_v3.1' into 'release/v3.1'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 3.1)
See merge request espressif/esp-idf!9196
2020-06-18 13:46:16 +08:00
wangcheng
12766b5cc7
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:28:20 +08:00
Jiang Jiang Jian
9f60e61c79
Merge branch 'bugfix/btdm_ble_assert_64_0_v3.1' into 'release/v3.1'
...
components/bt: Fix ble assert(64, 0)
See merge request espressif/esp-idf!8927
2020-06-17 11:33:26 +08:00
wangcheng
ec55ac92eb
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 15:30:20 +08:00
wangcheng
d8c48ecb99
components/bt:Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 15:29:34 +08:00
Jiang Jiang Jian
52991326d3
Merge branch 'bugfix/authmode_degrade_fix_v3.1' into 'release/v3.1'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold (backport v3.1)
See merge request espressif/esp-idf!9087
2020-06-08 14:39:43 +08:00
kapil.gupta
0245bda198
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold
2020-06-07 12:21:10 +05:30
Jiang Jiang Jian
2abf3229dd
Merge branch 'bugfix/modify_TCP_MSS_range_v3.1' into 'release/v3.1'
...
Change the default value of TCP_MSS (backport v3.1)
See merge request espressif/esp-idf!9048
2020-06-04 15:59:27 +08:00
xiehang
bd03abae8b
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
2020-06-04 12:01:15 +08:00
Jiang Jiang Jian
e90b1792e5
Merge branch 'bugfix/fix_some_wifi_bugs_0525_v3.1' into 'release/v3.1'
...
feature: optimize some wifi API (backport v3.1)
See merge request espressif/esp-idf!8890
2020-06-02 17:39:04 +08:00
Jiang Jiang Jian
e71b299f32
Merge branch 'bugfix/btdm_fix_read_multi_char_failed_v3.1' into 'release/v3.1'
...
component/bt: fix read multi-char failed when char set auto_rsp_by_app and rsp_by_stack (backport v3.1)
See merge request espressif/esp-idf!8775
2020-05-29 14:00:01 +08:00
ronghulin
b0f5823b18
feature: optimize some wifi API
...
1. optimization esp_wifi_set_max_tx_power description
2. add API esp_wifi_ap_get_sta_aid
2020-05-29 11:27:59 +08:00
He Yin Ling
4b8bb8a74a
Merge branch 'bugfix/ci_push_to_github_on_label_v3.1' into 'release/v3.1'
...
ci: Don't push to Github or deploy docs on customized pipelines (v3.1)
See merge request espressif/esp-idf!8941
2020-05-27 17:48:54 +08:00
Angus Gratton
f00e6feccf
ci: Don't push to Github or deploy docs on customized pipelines
...
BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
2020-05-27 19:09:05 +10:00
baohongde
d91ad4d93e
components/bt: Fix ble assert(64, 0)
2020-05-26 21:41:19 +08:00
Jiang Jiang Jian
d8e84cd5ed
Merge branch 'bugfix/fix_some_wifi_bugs_0427_v3.1' into 'release/v3.1'
...
Bugfix/fix some wifi bugs 0427 (v3.1)
See merge request espressif/esp-idf!8576
2020-05-22 22:55:54 +08:00
Jiang Jiang Jian
497b143495
Merge branch 'bugfix/fix_spi_flash_clock_config_error_v3.1' into 'release/v3.1'
...
flash: fix spi flash clock config error (backport v3.1)
See merge request espressif/esp-idf!8517
2020-05-22 21:11:01 +08:00
Jiang Jiang Jian
8b9e471689
Merge branch 'bugfix/psram_single_bit_error_v3.1' into 'release/v3.1'
...
psram: support psram 2T mode to fix single bit error (backport v3.1)
See merge request espressif/esp-idf!8330
2020-05-22 21:10:44 +08:00
Michael (XIAO Xufeng)
553f0323b0
Merge branch 'bugfix/timer_group_intr_enable_v3.1' into 'release/v3.1'
...
Fix timer group intr enable (backport v3.1)
See merge request espressif/esp-idf!8533
2020-05-22 00:08:25 +08:00
zhangyanjiao
36ad37a1a4
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the crash issue when fetch peer after delete the cur_peer
5. fix the timeout issue of EAPOL four-way handshake
2020-05-20 16:19:39 +08:00
zhangyanjiao
7c6480b53f
esp_wifi: Add softap channel configuration in simple_wifi example
2020-05-20 11:35:19 +08:00
Jiang Jiang Jian
d8e057b02c
Merge branch 'bugfix/btdm_fix_RPA_Public_RPA_random_err' into 'release/v3.1'
...
component/bt: Fix adv/scan not support RPA_public and RPA_random (backport v3.1)
See merge request espressif/esp-idf!8776
2020-05-18 15:04:36 +08:00
Jiang Jiang Jian
86f1a260f5
Merge branch 'bugfix/fix_switch_channel_without_discon_issue_v3.1' into 'release/v3.1'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect (backport v3.1)
See merge request espressif/esp-idf!8767
2020-05-17 18:27:41 +08:00
xiehang
18f2a0d3bc
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-17 17:15:54 +08:00
Jiang Jiang Jian
0e043ae99f
Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v3.1' into 'release/v3.1'
...
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v3.1)
See merge request espressif/esp-idf!8410
2020-05-17 17:09:03 +08:00
Jiang Jiang Jian
c70eecc8c4
Merge branch 'bufix/fix_v3.1_bluedroid_bugs' into 'release/v3.1'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 3.1)
See merge request espressif/esp-idf!8752
2020-05-16 19:56:16 +08:00
zwj
9bdf545599
component/bt: Fix adv/scan not support RPA_public and RPA_random
2020-05-15 18:32:46 +08:00
zwj
b08aee46de
:add congest direct callback and modify congest evt triger threshold
2020-05-15 17:57:47 +08:00
wangcheng
1ef2b2d32a
fix bta_dm_deinit_cb
2020-05-15 17:57:47 +08:00
wangcheng
1e72a8c850
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-15 17:57:46 +08:00
zwj
d337fb64bb
fix read multi-char failed when char set auto_rsp_by_app and rsp_by_stack
2020-05-14 19:36:45 +08:00
Jiang Jiang Jian
b30e8d1019
Merge branch 'bugfix/fix_psram_size_get_error_v3.1' into 'release/v3.1'
...
psram: fix psram size get error (backport v3.1)
See merge request espressif/esp-idf!8572
2020-05-06 16:55:15 +08:00
chenjianqiang
447032c8ff
psram: fix psram size get error
2020-04-30 15:50:12 +08:00
espressif
817fd7916f
mcpwm: fix the issue of wrong period (backport v3.1)
2020-04-28 21:37:29 +08:00
morris
af42ec93e8
timer_group: fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-28 12:45:24 +08:00
dowster
f7aa0a32b2
Fix typo with sigmadelta.h #ifdef
2020-04-28 12:45:15 +08:00
chenjianqiang
379c2482da
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-27 17:48:38 +08:00
zhangyanjiao
c78fa51d1f
wifi: fix the bug that ESP32 can't get IP address from China Mobile router
2020-04-20 20:19:21 +08:00
chenjianqiang
5df3dd147b
psram: support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 16:39:27 +08:00
Jiang Jiang Jian
8f958c8013
Merge branch 'bugfix/backport_some_wifi_bugs_0326_v3.1' into 'release/v3.1'
...
esp32: backport some WiFi fixes to v3.1
See merge request espressif/esp-idf!8296
2020-04-09 21:35:55 +08:00
liu zhifu
853bffe1e6
esp32: backport some WiFi fixes to v3.1
...
Backport following Wifi fixes:
1. Fix esp_wifi_stop() crash
esp_wifi_stop() crashes if it's called when WiFi is not initialized.
2. Fix WiFi log print level
3. Return fails if AP's configuring AP channel is out of range
4. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-08 19:35:58 +08:00
Jiang Jiang Jian
346ec3938d
Merge branch 'bugfix/btdm_backports_v3.1_0328' into 'release/v3.1'
...
Bugfix/btdm backports v3.1 0328
See merge request espressif/esp-idf!8155
2020-04-08 18:44:13 +08:00
Jiang Jiang Jian
6802f9eec1
Merge branch 'Bugfix/IPV6_multicast_adress_error_for_v3.1' into 'release/v3.1'
...
lw-ip:fix ipv6 bug that input the wrong broadcast address to return OK for v3.1
See merge request espressif/esp-idf!8190
2020-04-08 17:58:57 +08:00
Jiang Jiang Jian
fd555836b3
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v3.1' into 'release/v3.1'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.1)
See merge request espressif/esp-idf!8247
2020-04-07 13:58:28 +08:00
xiewenxiang
b66cd055bc
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.1)
2020-04-07 11:04:13 +08:00
Angus Gratton
96f16cef80
Merge branch 'backport/malloc_zero_return_null_v3.1' into 'release/v3.1'
...
backport/malloc_zero_return_null_v3.1
See merge request espressif/esp-idf!8142
2020-04-01 14:43:26 +08:00
xueyunfei
61dac00099
fix ipv6 bug that input the wrong broadcast address to return OK
2020-03-31 19:27:52 +08:00
baohongde
549269970b
components/bt: Fix assert when create conntion cancel
2020-03-28 22:05:55 +08:00
baohongde
bd21cd02b6
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-03-28 21:59:22 +08:00
Felipe Neves
8e55efaa2f
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:50:42 -03:00
Angus Gratton
94e2981d17
Merge branch 'bugfix/cmake_bugfixes_v3.1' into 'release/v3.1'
...
CMake-related bugfixes (v3.1)
See merge request espressif/esp-idf!8071
2020-03-26 16:27:34 +08:00
Jiang Jiang Jian
808bd4faee
Merge branch 'bugfix/host_and_example_bugfix_backport_to_v3.1' into 'release/v3.1'
...
Bugfix/host and example bugfix backport to v3.1
See merge request espressif/esp-idf!8064
2020-03-26 13:32:52 +08:00
Jiang Jiang Jian
6b230cdbb2
Merge branch 'bugfix/backport_some_wifi_bugs_0323_v3.1' into 'release/v3.1'
...
esp_wifi: Backport some wifi bugs 0323 (backport v3.1)
See merge request espressif/esp-idf!8092
2020-03-25 15:11:53 +08:00
Angus Gratton
80180f4709
Merge branch 'bugfix/hide_unsupported_cmake_features_v3.1' into 'release/v3.1'
...
security: Hide Secure Boot & Flash Encryption config items when using CMake (v3.1)
See merge request espressif/esp-idf!7909
2020-03-24 18:07:07 +08:00
xiehang
c5751f7fd7
esp_wifi: Update WiFi lib
...
1,Reduce WiFi bin size
2,Add TX packets size check
3,Fix scan get rssi error
4,Add wifi stop check at WiFi deinit entry
5,Return fail when setting AP's channel is out of range
6,Fix the bug for setting channel when WiFi in NULL mode
2020-03-24 15:16:33 +08:00
Renz Christian Bagaporo
9bae06ef10
cmake: fix build failure when git repo is initialized but no first commit
...
Closes https://github.com/espressif/esp-idf/issues/3920
2020-03-22 22:46:06 +08:00
Renz Bagaporo
797eff6534
ci: add test for partition_table target
2020-03-22 22:45:56 +08:00
Renz Christian Bagaporo
7db5c3ffd1
partition_table: output partition table info for partition_table target
2020-03-22 22:45:48 +08:00
gengyuchao
be5e315282
Component/bt :
...
Add handling of osi memory calloc failure.
Add length check for snprintf in osi config.
2020-03-21 13:55:54 +08:00
gengyuchao
f1ac73f496
example/ble_hid_device_demo fix the wrong mask value according to HID protocol
2020-03-21 13:55:43 +08:00
gengyuchao
295f0cc546
component/bt: Fix the issue with pointer type conversion in gattc. Unified att(db_sizedb_size) count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-03-21 13:55:26 +08:00
gengyuchao
1aee0a0357
Bulfi: Check if ble is connected before sending a message via ble. Fix the wrong wifi storage mode from WIFI_STORAGE_RAM to default WIFI_STORAGE_FLASH.
2020-03-21 13:55:17 +08:00
gengyuchao
ca1685f7a2
example/ble_throughput:
...
Fixed the throughput wasting memory and packet loss issues.
Fixed the throughput crash bug because of using the Mutex.
2020-03-21 13:55:05 +08:00
gengyuchao
75a205e381
bugfix: ble add missing gatt descriptors
2020-03-21 13:54:33 +08:00
Mahavir Jain
28f3619a90
Merge branch 'bugfix/newlib_putchar_locking_v3.1' into 'release/v3.1'
...
newlib: don't define non-thread-safe versions of getc, putc (backport v3.1)
See merge request espressif/esp-idf!8031
2020-03-20 16:58:17 +08:00
Ivan Grokhotkov
3ab91d4395
newlib: don't define non-thread-safe versions of getc, putc
...
getc, getchar, putc, putchar were defined both as functions and as
macros. The macro versions are not thread safe, and should not be used
in multithreaded applications.
Upstream fix: b0f271d1db
2020-03-19 13:01:16 +01:00
Jiang Jiang Jian
8782bd076e
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v3.1' into 'release/v3.1'
...
Bugfix/compiler err when performance optimization enabled v3.1
See merge request espressif/esp-idf!7981
2020-03-17 13:53:13 +08:00
Jiang Jiang Jian
c5ff0aff02
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue_v3.1' into 'release/v3.1'
...
bugfix: Place the Vendor Specific element at the end according to the protocol (backport v3.1)
See merge request espressif/esp-idf!7780
2020-03-17 13:44:45 +08:00
weitianhua
737dd8b2f1
Remove (x2) varible for BCM_STRNCPY_S and BCM_STRCPY_S
2020-03-14 15:09:44 +08:00
weitianhua
02789d3114
Initialize mem_start and mem_end
2020-03-14 15:07:35 +08:00
Angus Gratton
dac77846e5
security: Hide Secure Boot & Flash Encryption config items when using CMake
...
These features are not supported in the CMake build system preview, but previously
had to read the notice in the CMake Getting Started guide to know this.
Related to https://github.com/espressif/esp-idf/issues/4419
2020-03-09 11:18:07 +11:00
ronghulin
2ba75c5b07
bugfix: Place the Vendor Specific element at the end according to the protocol
2020-03-02 14:29:44 +08:00
Jiang Jiang Jian
ea6c4cb5d0
Merge branch 'feature/esp32_5p0_backport_v3p1' into 'release/v3.1'
...
backport esp32 5p0 new features to release/v3.1(backport v3.1)
See merge request espressif/esp-idf!7658
2020-03-02 11:43:15 +08:00
June
5d5bccf948
backport esp32 5p0 features to release/v3.1
2020-02-28 19:44:49 +08:00
Jiang Jiang Jian
0fc01c2b28
Merge branch 'bugfix/fix_sniffer_bug_caused_by_mode_switch_v3.1' into 'release/v3.1'
...
Fix sniffer bug caused by mode switch (backport v3.1)
See merge request espressif/esp-idf!7693
2020-02-27 14:33:23 +08:00
Angus Gratton
4cfa562b9d
Merge branch 'doc/partition_table_app_test_v3.1' into 'release/v3.1'
...
partition table: Update documentation about "test" partition type (v3.1)
See merge request espressif/esp-idf!7633
2020-02-27 09:13:30 +08:00
Jiang Jiang Jian
006be5d599
Merge branch 'feature/wifi_redo_scan_example_v3.1' into 'release/v3.1'
...
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.1)
See merge request espressif/esp-idf!7704
2020-02-25 14:22:09 +08:00
Hrudaynath Dhabe
eb6177d7f3
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.1)
2020-02-25 14:22:08 +08:00
Jiang Jiang Jian
32386575c9
Merge branch 'bugfix/btdm_allow_start_adv_again_v3.1' into 'release/v3.1'
...
component/bt: allow to send stop adv again and fix tx prog crash(backport v3.1)
See merge request espressif/esp-idf!6914
2020-02-24 20:18:09 +08:00
Jiang Jiang Jian
518ae6733a
Merge branch 'feature/dev_security_restore_backport_v3p1' into 'release/v3.1'
...
feature/dev_security_restore_backport_v3p1(backport release/v3.1)
See merge request espressif/esp-idf!7740
2020-02-24 11:47:47 +08:00
Jiang Jiang Jian
a08f588d43
Merge branch 'bugfix/mbedtls_esp_bignum_v3.1' into 'release/v3.1'
...
mbedtls: esp bignum fix for 4096 keys (v3.1)
See merge request espressif/esp-idf!7708
2020-02-24 11:43:47 +08:00
June
91c09d638f
backport mr !6031 - fix security info restore bug
2020-02-21 20:27:06 +08:00
Jiang Jiang Jian
61a66bf489
Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration_v3.1' into 'release/v3.1'
...
lw-ip: Add option to ipv6 stateless address configuration (backport v3.1)
See merge request espressif/esp-idf!7698
2020-02-21 14:54:23 +08:00
Michael (XIAO Xufeng)
a12417d9cc
Merge branch 'bugfix/i2s_timergroup_some_issues_v3.1' into 'release/v3.1'
...
bugfix(driver): fix i2s and timergroup some issues(backport v3.1)
See merge request espressif/esp-idf!7175
2020-02-20 19:12:02 +08:00
David Cermak
fe94d07dfe
mbedtls: fix hw accelerated big-num mul if operand and result overlap
...
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-02-20 11:50:46 +01:00
David Cermak
cf68e23974
mbedtls: added mpi multiplication test for large numbers
2020-02-20 10:06:58 +01:00
xiehang
d42e2ac3a5
lw-ip: Add option to ipv6 stateless address configuration
2020-02-20 14:38:14 +08:00
zhiweijian
f0afa64416
component/bt: allow to send stop adv again and fix tx prog crash
2020-02-20 14:18:33 +08:00
xiehang
df54f783f7
esp_wifi: Small refactor for ic_set_vif
2020-02-20 12:48:31 +08:00
Jiang Jiang Jian
fe9ffbf0ac
Merge branch 'bugfix/enable_ipv6_address_autoconfig_v3.1' into 'release/v3.1'
...
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v3.1)
See merge request espressif/esp-idf!7661
2020-02-20 11:45:40 +08:00
Jiang Jiang Jian
ebf9bc3051
Merge branch 'bugfix/fix_airkiss_bug_v3.1' into 'release/v3.1'
...
fix the bug for Airkiss (backport v3.1)
See merge request espressif/esp-idf!7668
2020-02-19 16:39:44 +08:00
zhangyanjiao
3f42d7a61d
fix the bug for Airkiss can't get the ip of the cellphone
2020-02-19 10:47:55 +08:00
xiehang
1a97251e27
lw-ip: Enable IPv6 stateless address autoconfiguration
2020-02-18 19:40:02 +08:00
Angus Gratton
79b7ed2d7d
partition table: Update documentation about "test" partition type
...
Reported from forum: https://esp32.com/viewtopic.php?f=13&t=10777&p=44164#p44164
2020-02-18 11:05:35 +11:00
Angus Gratton
9f72091043
Merge branch 'bugfix/doc_sphinxcontrib_dep_v3.1' into 'release/v3.1'
...
Docs: Fix sphinxcontrib dependencies (v3.1)
See merge request espressif/esp-idf!7613
2020-02-17 15:08:01 +08:00
Jiang Jiang Jian
33f3a347cc
Merge branch 'hfp_a2dp_iphone_3.1' into 'release/v3.1'
...
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 3.1]
See merge request espressif/esp-idf!7252
2020-02-15 13:32:51 +08:00
Jiang Jiang Jian
be2a7a9f15
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v3.1' into 'release/v3.1'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v3.1)
See merge request espressif/esp-idf!7444
2020-02-14 17:54:30 +08:00
Roland Dobai
8cd13848bd
Docs: Fix sphinxcontrib dependencies
2020-02-14 10:40:51 +01:00
Jiang Jiang Jian
cfacb41674
Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start_v3.1' into 'release/v3.1'
...
soc: clear PHY status when cpu start (backport v3.1)
See merge request espressif/esp-idf!7592
2020-02-14 11:35:29 +08:00
Jiang Jiang Jian
85b2cb15b5
Merge branch 'bugfix/fix_wifi_buffer_reload_issue_v3.1' into 'release/v3.1'
...
esp32: fix WiFi buffer reload issue (backport v3.1)
See merge request espressif/esp-idf!7586
2020-02-14 11:33:55 +08:00
Xia Xiaotian
f1daea79f7
soc: clear PHY status when cpu start
2020-02-13 14:30:10 +08:00
liu zhifu
63825ee9ee
esp32: fix WiFi buffer reload issue
2020-02-13 12:43:02 +08:00
Jiang Jiang Jian
e93fe8d03e
Merge branch 'bugfix/fix_double_recycle_bar_crash_issue_v3.1' into 'release/v3.1'
...
esp32: fix the crash caused by double free BAR buffer (backport v3.1)
See merge request espressif/esp-idf!7570
2020-02-13 12:03:13 +08:00
liu zhifu
f643978a5e
esp32: fix the crash caused by double free BAR buffer
2020-02-12 16:52:14 +08:00
KonstantinKondrashov
486ed20d32
esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set (fast forward)
2020-02-06 22:23:19 +00:00
Angus Gratton
af65d0828a
Merge branch 'bugfix/doc_nwdiag_v3.1' into 'release/v3.1'
...
docs: Fix nwdiag dependency for documentation build (v3.1)
See merge request espressif/esp-idf!7519
2020-02-07 06:19:46 +08:00
Roland Dobai
b20b3c0f0a
docs: Fix nwdiag dependency for documentation build
2020-02-06 17:53:22 +01:00
Angus Gratton
be1eb3b291
Merge branch 'bugfix/wps_config_init_v3.1' into 'release/v3.1'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7314
2020-02-06 14:05:53 +08:00
Hrudaynath Dhabe
ba61a56561
Fix wps config for support with gnu++11 as well as c99.
2020-01-31 05:58:35 +00:00
Angus Gratton
dee71eecd7
Merge branch 'bugfix/esp_ptr_executable_single_core_v3.1' into 'release/v3.1'
...
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory (v3.1)
See merge request espressif/esp-idf!7467
2020-01-31 12:59:29 +08:00
Angus Gratton
f18451fc4d
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
...
In single core mode, APP CPU cache region is added to the available range.
2020-01-29 10:05:04 +11:00
Angus Gratton
2fbfdf7973
Merge branch 'bugfix/ci_deploy_tags_v3.1' into 'release/v3.1'
...
ci: fix tags for internal deploy jobs (backport v3.1)
See merge request espressif/esp-idf!7292
2020-01-24 13:43:47 +08:00
Jiang Jiang Jian
af809ad0e8
Merge branch 'bugfix/wa_dport_and_intr_v3.1' into 'release/v3.1'
...
esp32: Fix for DPORT (v3.1)
See merge request espressif/esp-idf!7352
2020-01-21 10:47:53 +08:00
Ivan Grokhotkov
04a1901d2b
Merge branch 'bugfix/ci_submodule_checkout_v3.1' into 'release/v3.1'
...
ci: Clean submodules after fetching sources (v3.1)
See merge request espressif/esp-idf!7387
2020-01-20 21:54:35 +08:00
Jiang Jiang Jian
9ebf0bb363
Merge branch 'bugfix/fix_crash_when_send_udp_too_big_v3.1' into 'release/v3.1'
...
lw-ip: Drop packets larger than MTU (backport v3.1)
See merge request espressif/esp-idf!7291
2020-01-20 15:17:50 +08:00
Jiang Jiang Jian
9a680f27a4
Merge branch 'bugfix/backport_some_wifi_bugs_0107_v3.1' into 'release/v3.1'
...
backport some Wi-Fi bugs 0107 (backport v3.1)
See merge request espressif/esp-idf!7247
2020-01-20 15:15:21 +08:00
Angus Gratton
37fc756875
ci: Clean submodules after fetching sources
...
Assuming no submodule dirs contain artifacts that we can't clean
2020-01-20 12:28:03 +11:00
Jiang Jiang Jian
1d7fdf42d5
Merge branch 'bugfix/btdm_backports_v3.1_0114' into 'release/v3.1'
...
components/bt: backport release/v3.1
See merge request espressif/esp-idf!7361
2020-01-19 11:38:38 +08:00
baohongde
331cf8816e
components/bt: backport release/v3.1
...
Fix A2DP stuck when BLE's interval is too small
Fix assert due to no free element from
2020-01-16 17:22:00 +08:00
KonstantinKondrashov
3ffe77f006
esp32: Add UT for DPORT
2020-01-16 14:39:38 +08:00
KonstantinKondrashov
6f28e06a35
esp32: Fix esp_dport_access_reg_read
2020-01-16 14:39:38 +08:00
Jiang Jiang Jian
3c573510a5
Merge branch 'bugfix/btdm_fix_multi_open_evt_and_clear_blufi_prepare_write_len_v3.1' into 'release/v3.1'
...
component/bt: fix multi open evt and clear blufi prepare write len(backport v3.1)
See merge request espressif/esp-idf!7327
2020-01-16 11:48:10 +08:00
zhiweijian
0a84fe593d
component/bt: fix blufi prepare write buf len invalid
2020-01-14 17:53:36 +08:00
zhiweijian
7143d13f7a
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 17:53:27 +08:00
xiehang
20871acb55
lwip: Drop packets larger than MTU
2020-01-10 19:19:11 +08:00
Anton Maklakov
934cfdc3af
ci: fix tags for internal deploy jobs
2020-01-10 18:17:44 +07:00
Jiang Jiang Jian
30fc65fcff
Merge branch 'bugfix/btdm_avrc_category_v3.1' into 'release/v3.1'
...
components/bt: Choose AVRC category according to A2DP role
See merge request espressif/esp-idf!7179
2020-01-09 11:34:13 +08:00
weitianhua
b76ac03598
hfp a2dp iphone 3.1
2020-01-08 19:48:19 +08:00
zhangyanjiao
66bd7a276e
fix the bugs for espnow and bandwidth
2020-01-08 17:49:52 +08:00
xiehang
80e4350eb7
Update wifi lib
...
1,Fix wifi block scan crash issue.
2,Fix association request RSN information length too big lead crash
3,Fix wifi stop bug when sniffer enable
4,optimize softap power save
5,Fix some wifi timer bugs
6,Fix wifi RX bug
7,Fix the bugs for bandwidth
8,Fix the bug for espnow
9,Fix AMSDU decrypt bug
2020-01-08 17:44:26 +08:00
ronghulin
46c6dc3930
esp32: fix a WiFi RX bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2020-01-08 17:43:26 +08:00
Jiang Jiang Jian
49258593c2
Merge branch 'bugfix/fix_performance_issues_new_v3.1' into 'release/v3.1'
...
esp32: fix WiFi performance issue (backport v3.1)
See merge request espressif/esp-idf!7226
2020-01-08 14:45:17 +08:00
liu zhifu
9048b59333
esp32: fix WiFi performance issue
2020-01-06 21:40:23 +08:00
baohongde
61b15d7442
components/bt: Choose AVRC category according to A2DP role
2019-12-31 15:52:42 +08:00
xiongyu
4a9fc1026a
bugfix(driver): fix i2s and timergroup some issues
...
* fix i2s and timergroup dev array used by isr crash issue
* Closes IDFGH-2432
* Closes https://github.com/espressif/esp-idf/issues/4545
* fix i2s adc data inv issue
* Closes IDFGH-2444
* Closes https://github.com/espressif/esp-idf/issues/4557
2019-12-31 15:01:30 +08:00
Angus Gratton
0a58e59150
Merge branch 'bugfix/msys2_environment_update_v3.1' into 'release/v3.1'
...
doc: Update MSYS2 pre-compiled environment zip (v3.1)
See merge request espressif/esp-idf!7145
2019-12-31 07:00:02 +08:00
Angus Gratton
39b497cac3
doc: Update MSYS2 pre-compiled environment zip
...
Required to get working MSYS2 Python cryptography package
2019-12-30 13:41:10 +11:00
Jiang Jiang Jian
6784b2bcd5
Merge branch 'bugfix/btdm_revert_changes_of_security_mask_v3.1' into 'release/v3.1'
...
components/bt: Revert changes of security mask
See merge request espressif/esp-idf!7123
2019-12-29 14:13:09 +08:00
baohongde
1c8a5db010
components/bt: Revert changes of security mask
2019-12-25 20:18:45 +08:00
Jiang Jiang Jian
e594d27cc1
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v3.1' into 'release/v3.1'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.1)
See merge request espressif/esp-idf!5991
2019-12-23 12:57:16 +08:00
Nachiket Kukade
6beea28f56
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.1)
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-12-22 09:08:02 +00:00
Jiang Jiang Jian
9d8fef2220
Merge branch 'bugfix/put_more_rx_code_to_iram_v3.1' into 'release/v3.1'
...
wifi: Put some rx code to iram (backport v3.1)
See merge request espressif/esp-idf!7013
2019-12-18 15:28:45 +08:00
Angus Gratton
4744aa3198
Merge branch 'bugfix/doc_fix_debian_requirements_v3.1' into 'release/v3.1'
...
Docs: Update Debian & Ubuntu install prerequisites (v3.1)
See merge request espressif/esp-idf!7039
2019-12-18 07:36:14 +08:00
Roland Dobai
be24aaa0a1
Docs: Update Debian & Ubuntu install prerequisites
...
Latest versions of apt-get don't install as much packages by default
as older ones. This fix adds some missing packages discovered for an OS
derived from the latest stable Debian. These packages exist for older
Debian derivatives as well (tested with Ubuntu 16.04 LTS).
Closes https://github.com/espressif/esp-idf/issues/4480
2019-12-17 14:17:48 +01:00
xiehang
0169728ddd
esp_wifi: Put some rx code to iram
2019-12-17 20:51:26 +08:00
Angus Gratton
7c673ae5bd
Merge branch 'feature/ci_try_to_checkout_correct_branch_for_other_projects_v3.1' into 'release/v3.1'
...
CI: try to use the correct branch of other projects used in CI (backport v3.1)
See merge request espressif/esp-idf!6738
2019-12-13 14:20:40 +08:00
Jiang Jiang Jian
8de1c4b21b
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v3.1' into 'release/v3.1'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6886
2019-12-12 15:54:02 +08:00
Jiang Jiang Jian
f5b7501417
Merge branch 'bugfix/hfp_client_indication_v3.1' into 'release/v3.1'
...
component/bt: Fix bugs in HFP feature v3.1
See merge request espressif/esp-idf!6854
2019-12-12 12:16:27 +08:00
Jiang Jiang Jian
02ba857c69
Merge branch 'bugfix/phy_critical_v3.1' into 'release/v3.1'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6943
2019-12-12 12:16:21 +08:00
Jiang Jiang Jian
612a25f50c
Merge branch 'component_bt/osi_fixed_queue_v3.1' into 'release/v3.1'
...
component_bt/: Fix pointer type in fixed_queue v3.1
See merge request espressif/esp-idf!6849
2019-12-12 12:15:44 +08:00
Angus Gratton
6bfec37fa8
Merge branch 'bugfix/doc_package_versions_v3.1' into 'release/v3.1'
...
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5 (v3.1)
See merge request espressif/esp-idf!6977
2019-12-12 06:30:57 +08:00
Angus Gratton
b532e28ec4
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
2019-12-11 14:45:47 +11:00
Jiang Jiang Jian
a340a4e46e
Merge branch 'bugfix/btdm_backports_v3.1_1028' into 'release/v3.1'
...
bt: backport btdm controller fixes to v3.1
See merge request espressif/esp-idf!6526
2019-12-09 16:26:49 +08:00
Jiang Jiang Jian
0c4ca580d2
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v3.1' into 'release/v3.1'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6728
2019-12-09 14:06:47 +08:00
Tian Hao
84fccb592d
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing critical sections, such like
operating on I2C, but it may not effect when both the CPU core call it. It may cause accessing
I2C blocking and cannot recover by esp_restart(), until do HW reboot.
2019-12-09 12:55:05 +08:00
He Yin Ling
015021d57e
CI: try to use the correct branch of other projects used in CI:
...
1. revision defined in bot message
2. branch name (or tag name) of current IDF
3. CI_MERGE_REQUEST_TARGET_BRANCH_NAME
4. branch name parsed from `git describe`
5. default branch
2019-12-03 17:04:39 +11:00
weitianhua
a760a14e2a
adaptation for nano-format
2019-11-29 18:00:36 +08:00
baohongde
10fd8a09c7
components/bt: Fix AVRC metadata length error
2019-11-29 16:04:20 +08:00
weitianhua
d8339602d9
component_bt/:bugfix_hfp_client_indication_define_and_cnum_error
2019-11-27 17:09:36 +08:00
weitianhua
6cb0dbe54a
component_bt/: Fix pointer type in fixed_queue 3.1
2019-11-27 16:22:47 +08:00
Jiang Jiang Jian
efa1d4d133
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.1' into 'release/v3.1'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.1)
See merge request espressif/esp-idf!6766
2019-11-25 10:47:59 +08:00
Angus Gratton
07fa97b94c
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v3.1' into 'release/v3.1'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v3.1)
See merge request espressif/esp-idf!6606
2019-11-21 11:58:57 +08:00
Angus Gratton
462c49d646
Merge branch 'bugfix/rtc_wdt_feed' into 'release/v3.1'
...
esp32: Fix a wrong reset of the wdt feed bit
See merge request espressif/esp-idf!6751
2019-11-21 11:49:40 +08:00
KonstantinKondrashov
caea2e34a4
ci: Add test configs for 32kHz crystals
2019-11-20 16:19:57 +08:00
KonstantinKondrashov
cffeb16104
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-20 16:19:57 +08:00
Jack
4de860ec89
esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback
2019-11-19 23:00:15 +08:00
KonstantinKondrashov
be24e32da9
esp32: Fix a wrong reset of the wdt feed bit
...
There was an error with wrong using FEED:
WRITE_PERI_REG(RTC_CNTL_WDTFEED_REG, 1) - wrong [0 bit]
REG_SET_BIT(RTC_CNTL_WDTFEED_REG, RTC_CNTL_WDT_FEED) - right. [31 bit]
Closes: https://github.com/espressif/esp-idf/issues/4295
2019-11-19 12:59:41 +08:00
baohongde
26550d1cf2
components/bt: Disable some unsupported security mask
2019-11-17 13:57:46 +08:00
Jiang Jiang Jian
a87e533ba8
Merge branch 'bugfix/fix_the_bug_in_espnow_example_v3.1' into 'release/v3.1'
...
espnow: fix the bug for calling esp_wifi_set_channel (backport v3.1)
See merge request espressif/esp-idf!6695
2019-11-14 19:26:41 +08:00
zhangyanjiao
4943500058
espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled.
2019-11-13 18:01:41 +08:00
baohongde
83a9fd42e0
backport release/v3.1 1028
...
Bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
Fix LMP sniff req timeout
2019-11-04 10:32:28 +08:00
Jiang Jiang Jian
8cbe713ab8
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v3.1' into 'release/v3.1'
...
components/bt: Fix assert when deinit A2DP while playing music
See merge request espressif/esp-idf!6538
2019-11-01 11:57:27 +08:00
Jiang Jiang Jian
dbdde2ec8c
Merge branch 'bugfix/mdns_invalid_hostname_queries_v3.1' into 'release/v3.1'
...
mdns: fix crash for hostname queries (backport v3.1)
See merge request espressif/esp-idf!6500
2019-10-30 00:52:04 +08:00
baohongde
1aed045de7
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 20:13:17 +08:00
Jiang Jiang Jian
11f15798f9
Merge branch 'bugfix/btdm_disable_bt_gatt_v3.1' into 'release/v3.1'
...
components/bt: Disable BR/EDR GATT
See merge request espressif/esp-idf!6509
2019-10-29 18:16:31 +08:00
baohongde
171489153d
components/bt: Disable BR/EDR GATT
2019-10-28 11:41:45 +08:00
Marius Vikhammer
f786a25b36
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
2019-10-28 10:52:39 +08:00
Jiang Jiang Jian
23f45235de
Merge branch 'feature/esptool_v2.8_v3.1' into 'release/v3.1'
...
esptool: Bump to v2.8 release (v3.1)
See merge request espressif/esp-idf!6463
2019-10-25 11:35:22 +08:00
Angus Gratton
a302c3fc68
Merge branch 'bugfix/select_with_sdmmc_mount_v3.1' into 'release/v3.1'
...
VFS: Fix bug which occurs when driver is installed during a select() call (v3.1)
See merge request espressif/esp-idf!6432
2019-10-24 11:26:49 +08:00
Angus Gratton
9abba6b1fe
esptool: Bump to v2.8 release
2019-10-23 09:09:29 +11:00
Roland Dobai
6e25e6a991
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-22 08:23:31 +02:00
Jiang Jiang Jian
0c7e7817cb
Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.1' into 'release/v3.1'
...
esp32: fix some WiFi fixes 1009 (backport v3.1)
See merge request espressif/esp-idf!6297
2019-10-21 20:08:32 +08:00
Jiang Jiang Jian
2981e2e95f
Merge branch 'bugfix/add_kconfig_help_for_eth_gpio0_output_mode_v3.1' into 'release/v3.1'
...
ethernet: add kconfig help for GPIO0 output mode (v3.1)
See merge request espressif/esp-idf!6344
2019-10-21 10:46:53 +08:00
Jiang Jiang Jian
0fc8a5214f
Merge branch 'docs/update_bootloader_chip_revision_print_v3.1' into 'release/v3.1'
...
bootloader_support: fix logging prints around chip revision (v3.1)
See merge request espressif/esp-idf!6339
2019-10-21 10:46:37 +08:00
Jiang Jiang Jian
15e2bfd250
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v3.1' into 'release/v3.1'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v3.1)
See merge request espressif/esp-idf!6396
2019-10-21 10:43:10 +08:00
Jiang Jiang Jian
e46b00991d
Merge branch 'bugfix/pm_isr_exit_lock_v3.1' into 'release/v3.1'
...
pm: prevent interrupt nesting during esp_pm_impl_isr_hook (backport v3.1)
See merge request espressif/esp-idf!6409
2019-10-21 10:43:00 +08:00
Ivan Grokhotkov
84d16f970e
pm: prevent interrupt nesting during esp_pm_impl_isr_hook
...
Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110 ,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.
Closes https://github.com/espressif/esp-idf/issues/3057
2019-10-18 11:33:06 +02:00
Roland Dobai
c934e026b5
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-18 10:28:49 +02:00
Mahavir Jain
0d85e9abbe
bootloader_support: fix logging prints around chip revision
2019-10-18 11:18:08 +05:30
Ivan Grokhotkov
d91272f280
Merge branch 'refactor/shrink_bootloader_bin_size_3.1' into 'release/v3.1'
...
bootloader: shrink bin size (v3.1)
See merge request espressif/esp-idf!6305
2019-10-18 13:40:15 +08:00
Angus Gratton
07bcc8c055
Merge branch 'bugfix/reset_periph_modules_v3.1' into 'release/v3.1'
...
driver: Add a reset before enabling if a module is off (v3.1)
See merge request espressif/esp-idf!6018
2019-10-18 13:33:17 +08:00
suda-morris
89d71691d6
ethernet: add kconfig help for GPIO0 output mode
...
1. add kconfig help for GPIO0 output mode
2. fix wrong LAN8720 register index
2019-10-17 08:10:06 +00:00
Jiang Jiang Jian
1c89a6c4db
Merge branch 'bugfix/alt_exit_idf_monitor_v3.1' into 'release/v3.1'
...
idf_monitor: Exit with CTRL+X in menu (v3.1)
See merge request espressif/esp-idf!6293
2019-10-14 21:46:07 +08:00
liu zhifu
907878d606
esp32: fix some WiFi fixes
...
Fix following wifi bugs:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Avoid recalculating PMK if esp_wifi_set_config() is not called
6. Fix the bug that WiFi stop leads to task watchdog
7. Fix smartconfig IPC crash
8. Fix 5.5M signal test bug
9. Move wifi library check to esp32-wifi-lib ci
2019-10-12 10:18:13 +08:00
Konstantin Kondrashov
1145b0414f
rmt/driver: Add module reset before enabling
2019-10-11 19:45:08 +08:00
Konstantin Kondrashov
2d08f86958
pcnt/driver: Add module reset before enabling
2019-10-11 19:45:08 +08:00
Konstantin Kondrashov
aeda8e0c8f
sdmmc_host/driver: Add module reset before enabling
2019-10-11 19:45:08 +08:00
Konstantin Kondrashov
89d549c8a4
i2s/driver: Add module reset before enabling
2019-10-11 19:45:08 +08:00
Konstantin Kondrashov
61be3bd1a5
uart/driver: Add module reset before enabling
...
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
2019-10-11 19:45:08 +08:00
suda-morris
fd9f46a645
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-10-10 12:28:39 +08:00
Angus Gratton
f09dc866f8
Merge branch 'bugfix/freertos_xTaskNotifyGive_v3.1' into 'release/v3.1'
...
freertos: remove semicolon in xTaskNotifyGive (v3.1)
See merge request espressif/esp-idf!6272
2019-10-10 11:25:55 +08:00
Angus Gratton
42739580e4
Merge branch 'feature/add_psram_workaround_option_3.1' into 'release/v3.1'
...
make psram workaround depend on chip revison (v3.1)
See merge request espressif/esp-idf!6210
2019-10-10 11:00:56 +08:00
Per-Olov Jernberg
6a3e623b52
idf_monitor: Exit with CTRL+X in menu
...
Currently, the only way of exiting the idf_monitor program is to hit the CTRL+] button, if your keyboard doesn't have that key unless you hit another modifier key, it's not super trivial to exit.
This change adds the option to exit with CTRL+T (for menu) then hitting X (or CTRL+X) for exiting.
Closes https://github.com/espressif/esp-idf/pull/4167
Closes https://github.com/espressif/esp-idf/issues/4129
2019-10-09 11:01:45 +02:00
Jiang Jiang Jian
35f3554109
Merge branch 'feature/bluedroid_min_encr_key_size_backport_v3.1' into 'release/v3.1'
...
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.1)
See merge request espressif/esp-idf!6258
2019-10-09 16:15:47 +08:00
Prasad Alatkar
882dfb5f97
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.1)
...
- Backport(v3.1) of IDF MR!6122
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-10-09 16:15:47 +08:00
suda-morris
54b813ad69
freertos: remove semicolon in xTaskNotifyGive
2019-10-08 18:58:40 +08:00
Jiang Jiang Jian
f5b9366999
Merge branch 'bugfix/multi_heap_printf_backport_v3.1' into 'release/v3.1'
...
heap: Fix printf usage in heap poisoning (backport v3.1)
See merge request espressif/esp-idf!6089
2019-09-29 16:17:29 +08:00
Jiang Jiang Jian
704e2f4a8c
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.1(backport v3.1)
See merge request espressif/esp-idf!5938
2019-09-29 16:17:05 +08:00
Jiang Jiang Jian
7a7f2c9110
Merge branch 'bugfix/btdm_backports_v3.1_0903' into 'release/v3.1'
...
components/bt: backports release/v3.1 0903
See merge request espressif/esp-idf!5989
2019-09-29 16:16:43 +08:00
Jiang Jiang Jian
1387ecef6c
Merge branch 'bugfix/fix_cache_disable_access_psram_v3.1' into 'release/v3.1'
...
esp_wifi: Put g_promis_buf to IRAM (backport v3.1)
See merge request espressif/esp-idf!6164
2019-09-29 10:35:22 +08:00
suda-morris
b64bda7e4e
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-09-26 17:32:20 +08:00
Jiang Jiang Jian
83458426ac
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.1' into 'release/v3.1'
...
fix the bugs in smartconfig_ack (backport v3.1)
See merge request espressif/esp-idf!6075
2019-09-25 12:00:41 +08:00
baohongde
f48dbc09ae
components/bt: backports release/v3.1 0903
...
Remove xtensa/xruntime.h
Fix sending Lmp_feature_req_ext in a loop
Fix 2 bugs in r_ld_fm_sket_isr
fix memory leak when set tx power
fix data loss and send same pkt twice sometimes
fix adv data error in air sometimes
fix adv start/stop crash sometimes
bugfix btdm sleep twice after wakeup request
Fix connect fail with some speakers
clear BT/BLE interruots after controller disable
2019-09-23 17:41:58 +08:00
Angus Gratton
abf766af80
Merge branch 'feature/add_chip_min_revision_3.1' into 'release/v3.1'
...
support esp32 eco revision 2 and 3 (v3.1)
See merge request espressif/esp-idf!6138
2019-09-20 18:22:32 +08:00
xiehang
e07f7c4456
esp_wifi: Put g_promis_buf to IRAM
2019-09-19 20:37:07 +08:00
suda-morris
c0a5cb07cd
support esp32 eco revision 2 and 3
2019-09-19 17:09:37 +08:00
Angus Gratton
d6e333f014
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v3.1' into 'release/v3.1'
...
bootloader: Blocking the Factory reset during wake up from deep sleep (v3.1)
See merge request espressif/esp-idf!6025
2019-09-16 15:10:50 +08:00
Angus Gratton
06a453e18a
Merge branch 'bugfix/use_local_kconfiglib_v3.1' into 'release/v3.1'
...
Use kconfiglib from $IDF_PATH/tools/kconfig_new (v3.1)
See merge request espressif/esp-idf!6082
2019-09-13 14:48:16 +08:00
Angus Gratton
f8798d686d
Merge branch 'bugfix/add_flash_config_in_app_startup_v3.1' into 'release/v3.1'
...
bugfix(flash): add flash config in app startup (backport v3.1)
See merge request espressif/esp-idf!5925
2019-09-13 14:32:02 +08:00
KonstantinKondrashov
01d17d8694
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-09-12 22:12:25 +08:00
Darian Leung
4b05708daf
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-09-12 19:27:19 +08:00
Jiang Jiang Jian
2c780ab1cc
Merge branch 'bugfix/coex_bb_reset_lock_v3.1' into 'release/v3.1'
...
fix bug that wifi start/stop may cause crash
See merge request espressif/esp-idf!6033
2019-09-12 10:46:31 +08:00
Roland Dobai
b7529b8a85
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:42:05 +02:00
Tian Hao
a815e3ede2
fix bug that wifi start/stop may cause crash
...
1. fix bug bb reset lock flag to avoid bb reset lock unhandle,
may cause assert in vPortCPUReleaseMutexIntsDisabledInternal.
2. fix bug wifi reset mac cause task watch dog timeout
3. fix bug wifi reset mac position
2019-09-11 20:34:02 +08:00
chenjianqiang
9eb8a740a3
esp32: cpu_start: read binary image header via cache
...
When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.
2019-09-11 15:53:46 +08:00
chenjianqiang
7904cae9c1
bugfix(flash): add flash config in app startup
...
We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.
These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip
2019-09-11 15:37:18 +08:00
zhangyanjiao
8af11f1f89
smartconfig_ack.c:
...
1. fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2. fix the declaration of remote_ip in sc_ack_send_task()
2019-09-11 14:20:26 +08:00
Angus Gratton
7648859a27
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.1' into 'release/v3.1'
...
flash encryption: Add config option to disable any plaintext reflashes (3.1)
See merge request espressif/esp-idf!6049
2019-09-11 12:10:18 +08:00
Angus Gratton
a4ce828d40
flash encryption: Add config option to disable any plaintext reflashes
...
Enabled by default when Secure Boot is on, so Flash Encryption protection
is always available in case of a Secure Boot bypass.
2019-09-10 14:29:20 +10:00
Jiang Jiang Jian
a80ec4787e
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v3.1' into 'release/v3.1'
...
fix the bug for WPA_WPA2_PSK connection fail (backport v3.1)
See merge request espressif/esp-idf!6011
2019-09-10 09:49:01 +08:00
Sagar Bijwe
0449ba7f91
docs: Added more wordings to capture secure boot and flash encryption dependency.
2019-09-10 10:11:44 +10:00
zhangyanjiao
7840d64d2e
fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
2019-09-06 14:24:32 +08:00
Jiang Jiang Jian
b45ed8719c
Merge branch 'bugfix/revert_optimize_wifi_rx_v3.1' into 'release/v3.1'
...
esp32: revert WiFi RX optimization (backport v3.1)
See merge request espressif/esp-idf!5942
2019-08-30 10:59:37 +08:00
liu zhifu
87304cbcf4
esp32: revert WiFi RX optimization
...
Revert following commit since it has compatibility issue:
commit 71f1b7f424
esp32: optimize wifi rx
2019-08-29 11:06:33 +08:00
wangmengyang
7942604c22
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-08-28 15:52:09 +08:00
Jiang Jiang Jian
c86be32b6d
Merge branch 'bugfix_kconfig_deps_missing_v3.1' into 'release/v3.1'
...
kconfig: Add -MP option so .d files include empty targets (v3.1)
See merge request espressif/esp-idf!5849
2019-08-27 14:04:18 +08:00
Angus Gratton
a3d232f053
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.1' into 'release/v3.1'
...
test: fix nvs compatible case error (backport v3.1)
See merge request espressif/esp-idf!5892
2019-08-27 13:30:35 +08:00
Jiang Jiang Jian
7e538b88fb
Merge branch 'update/cjson_v1_7_12_v3.1' into 'release/v3.1'
...
Update cJSON to v1.7.12 (v3.1)
See merge request espressif/esp-idf!5853
2019-08-26 18:29:52 +08:00
Jiang Jiang Jian
e8f65b958d
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.1' into 'release/v3.1'
...
Bugfix(i2s): fixed i2s left/right channels swapped issue for v3.1.
See merge request espressif/esp-idf!5897
2019-08-26 18:29:37 +08:00
Jiang Jiang Jian
87b9f2f660
Merge branch 'bugfix/fix_the_bug_for_softap_set_authmode_v3.1' into 'release/v3.1'
...
wifi: fix the bug for softAP set authmode (backport v3.1)
See merge request espressif/esp-idf!5827
2019-08-26 18:29:18 +08:00
Jiang Jiang Jian
56bb35d9fe
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.1' into 'release/v3.1'
...
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link
See merge request espressif/esp-idf!5874
2019-08-26 18:01:51 +08:00
He Yin Ling
2edb9c4761
test: fix integration test jobs not executed:
...
naming rule for parallel test job config file is different.
rename test job config file to make it unified.
2019-08-26 15:15:25 +08:00
redchenjs
61b585ab41
Bugfix(i2s): fixed i2s left/right channels swapped issue for v3.1.
...
The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.
2019-08-26 13:55:05 +08:00
He Yin Ling
725eba3378
test: fix nvs compatible case error:
...
use new env tag for nvs compatible test case and update test config
file.
2019-08-26 09:33:19 +08:00
zhangyanjiao
4bf4384846
wifi: fix the bug for softAP set authmode
2019-08-23 16:40:40 +08:00
wangmengyang
4db0d07177
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack.
...
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-23 08:31:23 +08:00
Angus Gratton
58dc5049a5
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:59:06 +10:00
Angus Gratton
4db6f0721c
kconfig: Add -MP option so .d files include empty targets
...
Prevents make-level errors when switching IDF versions, as headers may be removed.
Similar to some mentioned here:
https://github.com/espressif/esp-idf/issues/712
2019-08-21 18:39:19 +10:00
Wang Jia Lin
fd0ecca4c9
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.1' into 'release/v3.1'
...
bugfix(flash): add spi dio address bitlen configure in psram init (backport v3.1)
See merge request espressif/esp-idf!5784
2019-08-21 16:18:53 +08:00
chenjianqiang
f21f5fd45b
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-14 21:30:58 +08:00
Angus Gratton
9196bc7a53
Merge branch 'bugfix/supplicant_security_fixes_v3.1' into 'release/v3.1'
...
wpa_supplicant: Fix sprintf security bugs. (v3.1)
See merge request espressif/esp-idf!5466
2019-08-13 09:28:33 +08:00
Sagar Bijwe
da3239c336
wpa_supplicant: Fix sprintf security bugs.
...
Revert back to using os_snprintf instead of sprintf.
Closes WIFI-624
2019-08-12 06:30:02 +00:00
Jiang Jiang Jian
b94341c4e0
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.1' into 'release/v3.1'
...
fix wifi bugs for authmode and multi ssid (backport v3.1)
See merge request espressif/esp-idf!5730
2019-08-11 17:07:48 +08:00
Jiang Jiang Jian
30547ae02c
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.1' into 'release/v3.1'
...
esp32: Dis interrupts up to 5 lvl for DPORT (v3.1)
See merge request espressif/esp-idf!5715
2019-08-11 16:55:39 +08:00
Jiang Jiang Jian
941ec097bb
Merge branch 'bugfix/cmake_extra_component_dirs_v3.1' into 'release/v3.1'
...
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS (backport v3.1)
See merge request espressif/esp-idf!5493
2019-08-11 16:55:11 +08:00
Jiang Jiang Jian
a5db2f0f2d
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.1' into 'release/v3.1'
...
fix the watchdog bug during WiFi scan and BLE scan(v3.1)
See merge request espressif/esp-idf!5542
2019-08-09 14:06:03 +08:00
zhangyanjiao
adf6ed9c8c
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-08 17:45:28 +08:00
zhangyanjiao
6020bd5261
wifi: fix wifi bugs for authmode and multi ssid
2019-08-08 17:44:14 +08:00
Konstantin Kondrashov
c69a410012
esp32: Add UTs for DPORT and Hi-interrupt
2019-08-08 15:10:23 +08:00
Jiang Jiang Jian
d8d868db6c
Merge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.1' into 'release/v3.1'
...
esp_wifi: add esp_wifi_internal_ioctl declared (v3.1)
See merge request espressif/esp-idf!5706
2019-08-07 20:49:04 +08:00
Konstantin Kondrashov
687a62fb1e
esp32: Dis interrupts up to 5 lvl for DPORT
...
Disable interrupts for both DPORT workarounds up to 5 lvl.
Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
2019-08-07 20:10:06 +08:00
xiehang
86300427dc
esp_wifi: add esp_wifi_internal_ioctl declared
2019-08-07 11:14:18 +08:00
Jiang Jiang Jian
cbf12758c2
Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.1' into 'release/v3.1'
...
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM (v3.1)
See merge request espressif/esp-idf!5619
2019-08-04 15:58:46 +08:00
Jiang Jiang Jian
3c60c55476
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.1' into 'release/v3.1'
...
bugfix(flash): improve spi cs timing settings for flash (backport v3.1)
See merge request espressif/esp-idf!5512
2019-07-31 23:39:19 +08:00
chenjianqiang
963fe19abf
bugfix(flash): improve spi cs timing settings for flash
...
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
2019-07-31 18:15:44 +08:00
Jiang Jiang Jian
cad3e23b08
Merge branch 'bugfix/btdm_mem_leak_v3.1' into 'release/v3.1'
...
components/bt: Fix memory leak about rfcomm
See merge request espressif/esp-idf!5624
2019-07-30 23:41:44 +08:00
Angus Gratton
6a6313c429
Merge branch 'bugfix/docs_recover_some_build_time_v3.1' into 'release/v3.1'
...
docs: Remove building of zipped HTML docs from build process and consequently...
See merge request espressif/esp-idf!5641
2019-07-29 19:17:36 +08:00
krzychb
7ba0310a58
docs: Remove building of zipped HTML docs from build process and consequently from Downloads as many users don't use that. We are still providing PDF documentation for people who prefer viewing docs off-line. Removal of this build step is expected to save almost 10 minutes of build time and resolve issue of build failures because of hitting 40 min build time limit on Read The Docs.
2019-07-28 01:35:45 +02:00
baohongde
ba7a0fa4ec
components/bt: Fix memory leak about rfcomm
2019-07-25 17:13:31 +08:00
xiehang
6af07b800a
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-25 14:43:01 +08:00
zhangyanjiao
16a96dccf0
fix the watchdog bug during WiFi scan and BLE scan
2019-07-19 15:04:26 +08:00
Jiang Jiang Jian
a33c5f1713
Merge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex_v3.1' into 'release/v3.1'
...
component/bt: fix rxwinsz assert in ble and wifi coex(backport v3.1)
See merge request espressif/esp-idf!5451
2019-07-18 18:37:12 +08:00
Jiang Jiang Jian
da23381ff6
Merge branch 'bugfix/backport_some_wifi_bugs_201907_v3.1' into 'release/v3.1'
...
Backport some wifi bugs 201907 v3.1 (backport v3.1)
See merge request espressif/esp-idf!5524
2019-07-18 18:37:09 +08:00
Angus Gratton
6692c3ffb8
Merge branch 'bugfix/libsodium_test_timeouts_v3.1' into 'release/v3.1'
...
test: Set timeout of libsodium ed25519_convert test to 60s (v3.1)
See merge request espressif/esp-idf!5556
2019-07-18 15:29:56 +08:00
Angus Gratton
931b3c07af
test: Set timeout of libsodium ed25519_convert test to 60s
...
Test takes 28s-29s to run in some configs, can fail in CI.
2019-07-17 13:52:01 +10:00
xiehang
b994682736
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF
...
1. Modfy wifi_country struct
2. Add md5 check esp_wifi_types.h
3. Add md5 check esp_wifi.h
2019-07-17 10:01:36 +08:00
liu zhifu
896d597adf
esp32: fix wifi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-07-17 09:55:01 +08:00
liu zhifu
e0dee8cfae
esp32: fix WPS/WPA2-Enterprise memory leak
...
Fix WPS and WPA2-Enterprise memory leak bug.
2019-07-17 09:53:06 +08:00
liu zhifu
71f1b7f424
esp32: optimize wifi rx
...
Optimize WiFi receiving performance.
2019-07-17 09:53:06 +08:00
liu zhifu
8a1a8309e3
esp32: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-07-17 09:53:06 +08:00
Jiang Jiang Jian
8949ed717b
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.1' into 'release/v3.1'
...
bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.1)
See merge request espressif/esp-idf!5503
2019-07-16 18:41:15 +08:00
Angus Gratton
813c6a25a1
Merge branch 'bugfix/error_on_unknown_component_v3.1' into 'release/v3.1'
...
cmake: error out when component is not found (backport 3.1)
See merge request espressif/esp-idf!5489
2019-07-12 15:01:45 +08:00
chenjianqiang
4bce69b69a
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-11 15:26:58 +08:00
Renz Christian Bagaporo
0138827492
cmake: refactor finding components
2019-07-10 19:04:44 +08:00
Renz Christian Bagaporo
2fa98e031c
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS
...
Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253
2019-07-10 19:04:44 +08:00
Renz Christian Bagaporo
2e81c7c0cd
cmake: error out when component is not found
...
Closes https://github.com/espressif/esp-idf/issues/3637
2019-07-10 11:58:38 +08:00
Angus Gratton
737c8d4944
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.1' into 'release/v3.1'
...
bugfix(UART): fixed two UART issues for v3.1
See merge request espressif/esp-idf!5478
2019-07-10 10:18:34 +08:00
Jiang Jiang Jian
cc125f1d13
Merge branch 'bugfix/btdm_can_not_get_informations_of_song_v3.1' into 'release/v3.1'
...
components/bt: Fix iphone can't get song's informations
See merge request espressif/esp-idf!5474
2019-07-09 15:19:28 +08:00
kooho
e03df25be9
bugfix(UART): fixed two UART issues:
...
1. uart_wait_tx_done works incorrect when sending a byte of data.
2. uart_set_rx_timeout sets an incorrect rx timeout value when ref_tick is enabled.
2019-07-09 14:06:59 +08:00
baohongde
572c858935
components/bt: Fix iphone can't get song's informations
2019-07-08 19:49:20 +08:00
Angus Gratton
c7dc2570b4
Merge branch 'fix/nvs_util_keylen_3.1' into 'release/v3.1'
...
nvs_util: Add check for keylen in input csv (v3.1)
See merge request espressif/esp-idf!5397
2019-07-08 15:19:43 +08:00
zhiweijian
ae4e0330cc
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 21:33:30 +08:00
Jiang Jiang Jian
ed211b44d7
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v3.1' into 'release/v3.1'
...
mbedtls: Fix mbedtls_mpi_exp_mod() set n and s values (v3.1)
See merge request idf/esp-idf!5357
2019-07-02 11:59:25 +08:00
Jiang Jiang Jian
5175d55adc
Merge branch 'bugfix/softap_send_deauth_to_STA_when_handshake_fails_v3.1' into 'release/v3.1'
...
wifi: softAP send deauth to the STA when 4-way handshake fails v3.1
See merge request idf/esp-idf!5364
2019-07-02 11:23:34 +08:00
Angus Gratton
881e1c37fd
Merge branch 'bugfix/correct_cmake_docs' into 'release/v3.1'
...
docs/en: fix cmake getting started docs for v3.1 branch
See merge request idf/esp-idf!5418
2019-07-02 08:44:38 +08:00
Mahavir Jain
4e25f20c82
docs/en: fix cmake getting started docs
2019-07-01 12:22:34 +05:30
Angus Gratton
559a9def5b
Merge branch 'fix/update_curr_page_state_3.1' into 'release/v3.1'
...
nvs_util: Set previous page state to FULL before creating new page (v3.1)
See merge request idf/esp-idf!5329
2019-07-01 14:20:46 +08:00
Angus Gratton
d9b5d7744c
Merge branch 'bugfix/select_init_sem_v3.1' into 'release/v3.1'
...
VFS: Allocate socket select semaphore outside ISR (backport v3.1)
See merge request idf/esp-idf!4988
2019-07-01 14:20:01 +08:00
huchaoru
79a0fc780e
modify WIFI_CONN_0904 case about disconnect event
2019-07-01 11:52:52 +08:00
zhangyanjiao
e8980a7bda
wifi: softAP sends deauth to the STA when 4-way handshake fails
2019-07-01 11:52:27 +08:00
Jiang Jiang Jian
b575737c0c
Merge branch 'bugfix/fix_wpa2_vulnerability_and_lwip_window_scale_v3.1' into 'release/v3.1'
...
esp32/lfix wpa2-enterprise vulnerability and support lwindow scale (backport v3.1)
See merge request idf/esp-idf!5410
2019-07-01 11:31:39 +08:00
liu zhifu
1d04e5f7f8
esp32/lwip: fix wpa2-enterprise vulnerability and support lwip window scale
...
1. Fix WiFi wpa2-enterprise vulnerability bug
2. Support LWIP window scale
2019-06-30 18:13:55 +08:00
Jiang Jiang Jian
9adf8a7aa9
Merge branch 'bugfix/xTaskIncrementTick_v3.1' into 'release/v3.1'
...
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.1)
See merge request idf/esp-idf!5036
2019-06-30 18:01:14 +08:00
Jiang Jiang Jian
91262682c1
Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.1' into 'release/v3.1'
...
esp32: fix some WiFi bugs 0508 (backport v3.1)
See merge request idf/esp-idf!5139
2019-06-30 17:56:52 +08:00
liu zhifu
c4e72db390
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Fix the bug that WiFi stop leads to task watchdog
2019-06-30 16:14:07 +08:00
Shivani Tipnis
8a2ff86c87
nvs_util: Add check for keylen in input csv
2019-06-28 12:10:27 +05:30
Jiang Jiang Jian
df4df2f493
Merge branch 'bugfix/spi_flash_deadlock_v3.1' into 'release/v3.1'
...
spi_flash: raise priority of the task performing spi_flash operation
See merge request idf/esp-idf!5360
2019-06-28 11:11:43 +08:00
Konstantin Kondrashov
4764977c3c
freertos/test: Add unit tests for xTaskIncrementTick
2019-06-28 02:19:19 +00:00
Konstantin Kondrashov
7f081efbc6
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
...
xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.
Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.
Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
2019-06-28 02:19:19 +00:00
Jiang Jiang Jian
3b2d5e5a4f
Merge branch 'bugfix/fix_some_wps_bugs_v3.1' into 'release/v3.1'
...
wps: add overlap event (backport v3.1)
See merge request idf/esp-idf!5205
2019-06-27 19:18:58 +08:00
Jiang Jiang Jian
df12d488fb
Merge branch 'bugfix/btdm_backport_3_bugs_v3.1' into 'release/v3.1'
...
Bugfix/btdm backport 3 bugs v3.1
See merge request idf/esp-idf!5177
2019-06-27 14:30:55 +08:00
xiehang
63013e1060
wps: add overlap event (backport v3.1)
2019-06-27 11:44:31 +08:00
Angus Gratton
42426a986c
Merge branch 'bugfix/console_allow_buffered_v3.1' into 'release/v3.1'
...
console example: use buffered stdout by default (backport v3.1)
See merge request idf/esp-idf!5300
2019-06-27 08:33:26 +08:00
Angus Gratton
b526cb5372
Merge branch 'bugfix/win_fullclean_symlink_v3.1' into 'release/v3.1'
...
idf.py: Detect symlinks on Windows during fullclean (v3.1)
See merge request idf/esp-idf!4926
2019-06-27 08:32:39 +08:00
Shivani Tipnis
6a29794a65
nvs_util: Set previous page state to FULL before creating new page
2019-06-26 11:41:04 +00:00
Konstantin Kondrashov
b6c07f0fe9
mbedtls: Add UTs for modexp
2019-06-26 19:33:47 +08:00
Konstantin Kondrashov
5421f5e9ae
mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()
...
Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.
Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
2019-06-26 19:33:47 +08:00
Jiang Jiang Jian
85d00d8daa
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.1' into 'release/v3.1'
...
bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.1)
See merge request idf/esp-idf!5290
2019-06-26 16:59:26 +08:00
Jiang Jiang Jian
8dd3bb07f8
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.1' into 'release/v3.1'
...
component/bt: fix unpack hci enhance connection complete event error(backport v3.1)
See merge request idf/esp-idf!5283
2019-06-26 16:47:03 +08:00
Ivan Grokhotkov
ceafbca0a2
spi_flash: raise priority of the task performing spi_flash operation
...
Fixes https://github.com/espressif/arduino-esp32/issues/740
2019-06-26 16:43:51 +08:00
Jiang Jiang Jian
f53f40396b
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.1' into 'release/v3.1'
...
wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.1)
See merge request idf/esp-idf!5073
2019-06-26 14:05:29 +08:00
He Yin Ling
e263c1add8
Merge branch 'feature/add_nimble_ssc_backport_for_3.1' into 'release/v3.1'
...
test: modify test cases for bluedroid (backport v3.1)
See merge request idf/esp-idf!5214
2019-06-25 23:19:09 +08:00
Chen Sheng
4ec321d1b9
test: modify test cases for bluedroid (backport v3.1)
2019-06-25 23:19:08 +08:00
He Yin Ling
c5dcb7e662
Merge branch 'test/fix_some_error_wifi_cases_v3.1' into 'release/v3.1'
...
test: fix some wifi case issues (backport v3.1)
See merge request idf/esp-idf!5253
2019-06-20 22:10:56 +08:00
Ivan Grokhotkov
6600250f30
examples: don't enable buffering on stdout in console examples
...
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-06-20 16:27:42 +08:00
Ivan Grokhotkov
cb5c0d3a12
console/linenoise: support buffered stdout
2019-06-20 16:27:06 +08:00
Angus Gratton
14abc49237
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.1' into 'release/v3.1'
...
driver: Fix ticks_to_wait for uart and i2c (v3.1)
See merge request idf/esp-idf!5249
2019-06-20 14:24:53 +08:00
chenjianqiang
dfe06c6dfb
bugfix(flash): improve flash dio read timing
...
When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).
2019-06-19 17:30:21 +08:00
zhiweijian
a74775d5f0
component/bt: fix unpack hci enhance connection complete event error
2019-06-19 14:41:52 +08:00
Jeroen Domburg
378a13ba18
Merge branch 'bugfix/spi_concurrency_3.1' into 'release/v3.1'
...
spi_master: fix a possible concurrency issue
See merge request idf/esp-idf!5188
2019-06-19 10:48:44 +08:00
He Yin Ling
f30c415cdd
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:51:52 +08:00
Konstantin Kondrashov
95c0b90cc1
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-06-14 12:31:43 +08:00
Konstantin Kondrashov
e7322c8472
uart: Fix ticks_to_wait when 0 or expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-06-14 12:31:43 +08:00
Konstantin Kondrashov
357364ab25
i2c: Fix ticks_to_wait when 0 or time expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-06-14 12:31:43 +08:00
Jiang Jiang Jian
d09ccd4b31
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.1' into 'release/v3.1'
...
bugfix(psram): improve spi cs timing settings for psram (backport v3.1)
See merge request idf/esp-idf!4908
2019-06-14 11:59:45 +08:00
Michael (XIAO Xufeng)
1d58ccdf42
spi: fix a possible concurrency issue
2019-06-11 13:02:21 +08:00
baohongde
3a8fbb7be4
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-10 19:17:48 +08:00
baohongde
c9694d4004
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
2019-06-10 19:17:48 +08:00
baohongde
a19c901e99
add missing source files to CMakeLists for HFP
2019-06-10 19:17:34 +08:00
wangmengyang
4a6d2da209
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-06-10 16:38:52 +08:00
Jiang Jiang Jian
613558774b
Merge branch 'feature/add_ping_packet_len_and_QoS_v3.1' into 'release/v3.1'
...
add ping length and QoS (backport v3.1)
See merge request idf/esp-idf!5148
2019-06-10 15:48:20 +08:00
Angus Gratton
34f18da855
Merge branch 'bugfix/reset_log_uart_port_v3.1' into 'release/v3.1'
...
esp32: Add reset CONSOLE_UART port (v3.1)
See merge request idf/esp-idf!5122
2019-06-06 16:19:30 +08:00
zhangyanjiao
d95911ec38
add ping length and QoS
2019-06-06 14:29:42 +08:00
Konstantin Kondrashov
ea48d2802c
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-06-04 20:17:21 +08:00
Angus Gratton
3e666077f0
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.1' into 'release/v3.1'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.1)
See merge request idf/esp-idf!5033
2019-06-03 14:18:26 +08:00
Angus Gratton
23cd758ddb
Merge branch 'bugfix/custom_bootloader_subproject_build_v3.1' into 'release/v3.1'
...
CMake: Fix custom bootloader does not override original (v3.1)
See merge request idf/esp-idf!5083
2019-06-03 09:49:07 +08:00
Konstantin Kondrashov
5e0d95c4ec
soc: Add some headers into gpio_periph.h
2019-05-29 13:53:41 +08:00
Renz Christian Bagaporo
2cd1cdcb7d
ci: check that custom bootloader overrides original
2019-05-27 18:45:28 +08:00
Renz Christian Bagaporo
5760e37dcc
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-05-27 18:45:28 +08:00
Angus Gratton
f45612fb2f
Merge branch 'bugfix/docs_build_failure_on_rtd_v3_1' into 'release/v3.1'
...
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide...
See merge request idf/esp-idf!5062
2019-05-27 13:59:40 +08:00
zhangyanjiao
3706b3863a
wifi bugfix:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
2019-05-24 18:06:24 +08:00
Krzysztof
1ffa3be4a7
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD project configuration file to be able to select python version for specific esp-idf release. (backport v3.1)
2019-05-23 20:04:39 +08:00
Jiang Jiang Jian
2ec62e3a98
Merge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.1' into 'release/v3.1'
...
wifi: fix softap crash when sta reset (backport v3.1)
See merge request idf/esp-idf!5002
2019-05-23 16:17:50 +08:00
xiehang
86c913dbe9
wifi: fix softap crash when sta reset (backport v3.1)
2019-05-20 20:38:43 +08:00
Konstantin Kondrashov
4a82ad3937
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
...
The RXD pin is assigned as input (fix for custom uart option).
Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
2019-05-20 18:37:26 +08:00
Roland Dobai
7307bf1b87
VFS: Allocate socket select semaphore outside ISR
2019-05-13 11:20:15 +02:00
Ivan Grokhotkov
eae386d0db
Merge branch 'bugfix/core_dump_flash_write_addr_check_v3.1' into 'release/v3.1'
...
Backport v3.1: Fixes freezing core dump with enabled flash write address checks
See merge request idf/esp-idf!4960
2019-05-09 19:45:36 +08:00
Alexey Gerenkov
36620e1c5b
esp32: Fixes freezing core dump process when flash write address checks are enabled
2019-05-08 13:30:57 +03:00
Jiang Jiang Jian
e86d1ac95d
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.1' into 'release/v3.1'
...
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.1)
See merge request idf/esp-idf!4914
2019-05-06 11:39:33 +08:00
Roland Dobai
9a7b82d61f
idf.py: Detect symlinks on Windows during fullclean
...
Closes https://github.com/espressif/esp-idf/issues/3377
2019-05-03 11:25:35 +02:00
zhangyanjiao
4c3bd860f4
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-04-30 16:50:29 +08:00
Jiang Jiang Jian
e83bdf62ca
Merge branch 'bugfix/fix_some_sta_certification_issues_v3.1' into 'release/v3.1'
...
esp32: fix some STA certification issues (backport v3.1)
See merge request idf/esp-idf!4902
2019-04-30 14:53:06 +08:00
chenjianqiang
ce52121050
bugfix(psram): improve spi cs timing settings for psram
...
1. remove redundant SPI clock settings, use rom functions to set clock.
2. remove redundant SPI cs setup and hold settings.
3. for old 32Mbit psram, cs hold time must only be 0.5T due to the special driving mode.(cs_setup = 0; cs_hold = 0)
4. for new 64Mbit psram, cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0;cs_hold = 1, cs_hold_time = 1)
2019-04-30 10:50:50 +08:00
liu zhifu
4f17f383ec
esp32: fix some STA certification issues
...
Fix following WiFi STA certification issues:
1. Add support for STA HT2040 coexist management
2. Add support for WPA2 improvements
3. Disallow HT rate when unicast/mcast cipher is TKIP/WEP
2019-04-29 20:16:44 +08:00
Jiang Jiang Jian
84c96bf5bf
Merge branch 'bugfix/fix_the_PMK_bug_and_wifi_reason_code_v3.1' into 'release/v3.1'
...
fix the PMK bug and wifi reason code (backport v3.1)
See merge request idf/esp-idf!4895
2019-04-29 10:52:18 +08:00
Jiang Jiang Jian
56766719df
Merge branch 'bugfix/ci_submodule_paths_v3.1' into 'release/v3.1'
...
CI - Fix the parsing of submodule paths (backport v3.1)
See merge request idf/esp-idf!4572
2019-04-28 22:12:30 +08:00
Jiang Jiang Jian
3004d86dc1
Merge branch 'bugfix/nvs_fix_erase_any_v3.1' into 'release/v3.1'
...
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly (v3.1)
See merge request idf/esp-idf!4818
2019-04-28 22:12:12 +08:00
Jiang Jiang Jian
98c7d289ee
Merge branch 'bugfix/fix_iperf_exit_error_v3.1' into 'release/v3.1'
...
examples: fix iperf exit error
See merge request idf/esp-idf!4841
2019-04-28 12:00:34 +08:00
negativekelvin
37b47b8e47
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
...
Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.
Closes https://github.com/espressif/esp-idf/issues/3255
2019-04-28 03:49:30 +00:00
zhangyanjiao
10a7eacc98
wifi bugfixs:
...
1. modify wifi reason code
2. fix the bug PMK recal too long
2019-04-28 11:27:43 +08:00
Anton Maklakov
15adb64dd7
ci: Fix the parsing of submodule paths
2019-04-28 02:44:55 +00:00
Jiang Jiang Jian
3f7cc13ed7
Merge branch 'bugfix/adjtime_ut_v3.1' into 'release/v3.1'
...
newlib: Fix adjtime (v3.1)
See merge request idf/esp-idf!4873
2019-04-28 10:40:27 +08:00
Jiang Jiang Jian
6aacb06c73
Merge branch 'bugfix/erase_with_vtaskdelay_v3.1' into 'release/v3.1'
...
spi_flash: Add vTaskDelay while a long erasing (v3.1)
See merge request idf/esp-idf!4874
2019-04-28 10:40:13 +08:00
Jiang Jiang Jian
c41f10f4b8
Merge branch 'bugfix/ci_tag_for_cmake_linter_v3.1' into 'release/v3.1'
...
ci: A small CI stabilizing fix (backport v3.1)
See merge request idf/esp-idf!4693
2019-04-28 10:40:06 +08:00
Jiang Jiang Jian
692f86bbd0
Merge branch 'bugfix/mdns_notask_timer_crash_3.1' into 'release/v3.1'
...
mdns: fix crash after init if no memory for task (Backport 3.1)
See merge request idf/esp-idf!4238
2019-04-28 10:39:04 +08:00
Jiang Jiang Jian
02138399ce
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF_v3.1' into 'release/v3.1'
...
Component/bt: modify HCI_GET_CMD_BUF (backport v3.1)
See merge request idf/esp-idf!4600
2019-04-28 10:20:11 +08:00
Jiang Jiang Jian
42986bf1e5
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.1' into 'release/v3.1'
...
components/bt: Fix warning when disable debug logs or in release mode and…
See merge request idf/esp-idf!4622
2019-04-28 10:18:47 +08:00
Jiang Jiang Jian
9d80953a63
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.1' into 'release/v3.1'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4863
2019-04-28 10:18:15 +08:00
Angus Gratton
f11250cd36
Merge branch 'bugfix/external_rtc_start_fail_v3.1' into 'release/v3.1'
...
Bugfix/external rtc start fail (v3.1)
See merge request idf/esp-idf!4661
2019-04-26 17:18:17 +08:00
maojianxin
857bdf65e5
Fix external start fail
2019-04-26 07:07:53 +00:00
Zhang Jun Yi
8ca1efd91a
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-04-26 07:07:53 +00:00
Angus Gratton
b8d1ff5e95
Merge branch 'bugfix/add_bootloader_flash_erase_range' into 'release/v3.1'
...
bootloader: add API for erasing flash region (backport v3.1)
See merge request idf/esp-idf!4858
2019-04-26 09:53:12 +08:00
Jiang Jiang Jian
db3dcc9a79
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.1' into 'release/v3.1'
...
Component/bt: add ble link timeout config in menuconfig(backport v3.1)
See merge request idf/esp-idf!4828
2019-04-25 20:05:10 +08:00
Jiang Jiang Jian
774a3c1446
Merge branch 'bugfix/wifi_spike_power_v3.1' into 'release/v3.1'
...
esp32: fix the issue that the spike transmit power of WiFi is higher than configured when WiFi and Bluetooth coexist (backport v3.1)
See merge request idf/esp-idf!4614
2019-04-25 16:24:07 +08:00
Konstantin Kondrashov
1bca6d0ffe
spi_flash: Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase.
By default disable.
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
2019-04-24 19:22:21 +08:00
Konstantin Kondrashov
9c60abcaca
newlib: Fix adjtime
...
Fixed adjtime function: While using the adjtime() function,
the time correction accumulated an error
when reading the time frequently (using gettimeofday).
2019-04-24 18:42:26 +08:00
baohongde
4b11e8cb54
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:37:14 +08:00
Mahavir Jain
401c940434
spi_flash: fix erase_range for block erase check
...
Erase in block (64k) as much as possible, before falling back
to sector (4k) erase.
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2019-04-23 21:14:33 +08:00
Mahavir Jain
1cbdfcc493
bootloader: add API for erasing flash region
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
Closes: https://github.com/espressif/esp-idf/issues/2166
2019-04-23 21:14:35 +08:00
xiehang
a48e682e38
fix iperf exit error
2019-04-23 02:49:02 +00:00
Angus Gratton
6250918dfa
Merge branch 'bugfix/mdns_networking_refactoring_3.1_mdns_patch' into 'release/v3.1'
...
mdns: workarround in 3.1 to fix missing netif re-probing when ip changed in link-local addressing
See merge request idf/esp-idf!4715
2019-04-23 10:34:40 +08:00
Angus Gratton
072d5233ca
Merge branch 'bugfix/remove_second_sha_enable_v3.1' into 'release/v3.1'
...
esp32/sha: Remove second enabling in esp_sha_lock_engine_common (backport v3.1)
See merge request idf/esp-idf!4781
2019-04-23 07:37:39 +08:00
zhiweijian
29f5ad6638
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 21:57:09 +08:00
XiaXiaotian
5abf384c96
esp32: fix the issue that the spike transmit power of WiFi is higher
...
than configured when WiFi and Bluetooth coexist
2019-04-19 14:32:50 +08:00
He Yin Ling
d39c0cc281
Merge branch 'test/modify_mesh_ci_v3.1' into 'release/v3.1'
...
test: updat mesh test cases for ci (backport v3.1)
See merge request idf/esp-idf!4649
2019-04-18 11:29:26 +08:00
Jiang Jiang Jian
8af15bf448
Merge branch 'bugfix/fix_signal_test_bug_v3.1' into 'release/v3.1'
...
esp32: fix a bug caused by signal test code (backport v3.1)
See merge request idf/esp-idf!4814
2019-04-17 22:48:47 +08:00
liu zhifu
c2986c0a1f
esp32: fix a bug caused by signal test code
...
Fix a WiFi bug caused by signal test code.
2019-04-17 17:58:27 +08:00
luchangjie
e8fc27da7d
test:update mesh test cases for ci(v3.1)
...
update TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml
change mesh ci case form T50 to T12 in gitlab-ci.yml
add some test ENV in components/idf_test/integration_test/TEST_ENV_SSC.yml
2019-04-17 17:31:15 +08:00
Angus Gratton
361d28e19e
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.1' into 'release/v3.1'
...
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits (v3.1)
See merge request idf/esp-idf!4729
2019-04-16 08:07:42 +08:00
Konstantin Kondrashov
bfc3931d3f
esp32/sha: Remove second enabling in esp_sha_lock_engine_common
2019-04-15 21:26:43 +08:00
Jiang Jiang Jian
18ff22aa09
Merge branch 'feature/add_support_for_signal_test_v3.1' into 'release/v3.1'
...
esp32: add support for WiFi signal test (backport v3.1)
See merge request idf/esp-idf!4754
2019-04-15 17:45:50 +08:00
liu zhifu
ff94a5202c
esp32: add support for WiFi signal test
...
Add support for WiFi signal test
2019-04-12 15:42:07 +08:00
Angus Gratton
c7d8cc928f
Merge branch 'bugfix/regenerate_sdkconfig_fails_v3.1' into 'release/v3.1'
...
Fix issues with regenerating sdkconfig on modification (backport v3.1)
See merge request idf/esp-idf!4170
2019-04-10 13:08:20 +08:00
Jiang Jiang Jian
c607d8ff68
Merge branch 'bugfix/increase_block_scan_timeout_value_v3.1' into 'release/v3.1'
...
esp32: increase block scan timeout value (backport v3.1)
See merge request idf/esp-idf!4692
2019-04-09 22:37:08 +08:00
liu zhifu
e1ff84516f
esp32: increase block scan timeout value
...
Increase WiFi block scan internal timeout value.
2019-04-09 09:31:18 +08:00
Angus Gratton
654d6ee594
efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field
...
8th bit is not used by hardware.
As reported https://esp32.com/viewtopic.php?f=2&t=7800&p=40895#p40894
2019-04-09 09:59:15 +10:00
Jiang Jiang Jian
a46c30eda4
Merge branch 'bugfix/wifi_fix_no_tbtt_after_rx_wrong_beacon_v3.1' into 'release/v3.1'
...
esp32: fix the bug that no TBTT will be generated anymore after receiving wrong beacon when WiFi and BT coexist. (backport v3.1)
See merge request idf/esp-idf!4718
2019-04-08 21:22:03 +08:00
XiaXiaotian
73298a6c3d
esp32: fix the bug that no TBTT will be generated anymore after
...
receiving wrong beacon when WiFi and BT coexist.
2019-04-08 11:46:08 +08:00
Jiang Jiang Jian
b10767a122
Merge branch 'bugfix/coex_bt_disconn_v3.1' into 'release/v3.1'
...
components/coex: Fix BT disconnecting due to too many reset BB
See merge request idf/esp-idf!4681
2019-04-08 10:39:26 +08:00
David Cermak
42773d22fd
mdns: workarround in 3.1 to fix missing netif re-probing when ip changed in link-local addressing
2019-04-05 16:18:43 +02:00
Angus Gratton
9f2ed0f58d
Merge branch 'bugfix/heap_int_oflow_checks_v3.1' into 'release/v3.1'
...
Backport heap int overflow checks to v3.1
See merge request idf/esp-idf!4582
2019-04-05 09:30:50 +08:00
Angus Gratton
c90831775f
Merge branch 'fix/spi_on_readonly_pins_v3.1' into 'release/v3.1'
...
spi: fix the bug of connecting SPI peripheral to read-only pins (backport v3.1)
See merge request idf/esp-idf!4308
2019-04-04 14:48:07 +08:00
Anton Maklakov
f664eb04d1
ci: Fix runner choice for CMake verification job
2019-04-03 21:27:53 +07:00
baohongde
8fe62b75ca
components/coex: Fix BT disconnecting due to too many reset BB
...
Update coex version to 1.1.6
2019-04-03 20:53:22 +08:00
Angus Gratton
64169e7d12
Merge branch 'update/nvs_partition_utility_v3.1' into 'release/v3.1'
...
Update/nvs partition utility v3.1 (backport v3.1)
See merge request idf/esp-idf!4275
2019-04-03 11:12:23 +08:00
Angus Gratton
12a29f1a43
Merge branch 'fix/nvs_part_util' into 'release/v3.1'
...
nvs_part_util: Fix Readme and disable multipage blob by default
See merge request idf/esp-idf!4631
2019-04-02 14:35:38 +08:00
Renz Christian Bagaporo
02ee80201b
confgen: disable config override warnings
2019-04-02 13:57:33 +08:00
Renz Christian Bagaporo
1ee0f9455f
kconfiglib: allow disabling of config override warnings
...
Patches ESP-IDF copy of kconfiglib.py with modifications in commit
b65baa47f69ae4c3993876a7edf0da0075aa70ff from kconfiglib repository.
2019-04-02 13:57:33 +08:00
Renz Christian Bagaporo
df86f46efe
confgen: disable redundant assignment warning
2019-04-02 13:57:33 +08:00
Renz Christian Bagaporo
30ed610950
kconfiglib: allow disabling of redundant definition warnings
...
Patches ESP-IDF copy of kconfiglib.py with modifications in commit
94c63de77c7a3422347e59e168b05174d0b9e84d from kconfiglib repository.
2019-04-02 13:57:33 +08:00
KonstantinKondrashov
18b5d7e5ab
tool: Add unit test for Kconfig gen
2019-04-02 13:57:33 +08:00
Renz Christian Bagaporo
89afc96bf0
docs: remove invalid arg in confgen invocation on docs generation
2019-04-02 13:57:33 +08:00
Renz Christian Bagaporo
6dde1b7b80
cmake: only generate sdkconfig on top level project
2019-04-02 13:57:33 +08:00
Renz Christian Bagaporo
c3bf2a0685
confgen: base config creation on output type args
2019-04-02 13:57:33 +08:00
Michael (XIAO Xufeng)
f6015c29d5
spi: fix the bug of connecting SPI peripheral to read-only pins
...
The requirements of pin capabilites is different for spi master and
slave. The master needs CS, SCLK, MOSI to be output-able, while slave
needs MISO to be output-able.
Previous code is for master only.
This commit allows to place other 3 pins than MISO on input-only pins
for slaves. Refactoring for spi_common is also included.
Resolves https://github.com/espressif/esp-idf/issues/2455
2019-04-02 11:33:53 +08:00
Angus Gratton
c278dcb707
Merge branch 'bugfix/build_fails_when_editor_assoc_with_py_scripts_v3.1' into 'release/v3.1'
...
Fix issues with CMake builds when python scripts are associated with an editor (backport v3.1)
See merge request idf/esp-idf!4638
2019-04-02 09:39:51 +08:00
Shivani Tipnis
abb114475f
nvs_part_util: Fix Readme and disable multipage blob by default
2019-04-01 15:12:38 +05:30
Jiang Jiang Jian
533d90b4c2
Merge branch 'bugfix/increase_block_scan_time_v3.1' into 'release/v3.1'
...
wifi: increase the block scan time (backport v3.1)
See merge request idf/esp-idf!4644
2019-04-01 17:24:14 +08:00
zhangyanjiao
83bf77e2f4
wifi: increase the block scan time because of changing channel will take at 30ms when BT/WiFi coexist
2019-04-01 10:53:12 +08:00
Renz Christian Bagaporo
c27d9d9d4e
ci: test full build never runs '/usr/bin/env python' or similar
2019-03-28 15:47:55 +08:00
Renz Christian Bagaporo
a64139690b
cmake: Fix for Python files executed directly, not via PYTHON variable
2019-03-28 15:45:58 +08:00
Shivani Tipnis
9122ec43e1
nvs_util: Fix to support write of multiple singlepage big blob data
...
Closes https://github.com/espressif/esp-idf/issues/3011
(cherry picked from commit 60b5cdde
)
2019-03-27 17:14:06 +05:30
Jiang Jiang Jian
4d80587594
Merge branch 'mesh/decouple_v3.1' into 'release/v3.1'
...
mesh: decoupling (backport v3.1)
See merge request idf/esp-idf!4288
2019-03-27 19:38:21 +08:00
Shivani Tipnis
cf1b95cc00
Update minimum version for cryptography package required
...
(cherry picked from commit e1774cb6f9
)
(cherry picked from commit fa40b3d5d0
)
2019-03-26 18:40:56 +05:30
baohongde
a05b99e0dc
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 15:16:14 +08:00
chenyudong
8b6b623b64
mesh: decoupling
...
Remove dependencies which cause mesh code to be linked even if mesh is not used.
2019-03-22 17:36:18 +08:00
zhiweijian
4f4b4fa9d5
Component/bt: modify HCI_GET_CMD_BUF
2019-03-22 15:05:11 +08:00
David Cermak
6349f6835d
mdns: fix crash after init if no memory for task
...
mdns init first starts timer task, then starts service task. if service task failed to be created, timer task needs to be stopped too.
fixed https://ezredmine.espressif.cn:8765/issues/28466
2019-03-21 14:49:39 +01:00
Angus Gratton
05c1463691
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
2019-03-21 16:05:52 +11:00
Jiang Jiang Jian
00c3f795a2
Merge branch 'bugfix/nvs_api_usage_in_simple_ota_example_v3.1' into 'release/v3.1'
...
Minor bugfix in simple ota example (backport v3.1)
See merge request idf/esp-idf!4583
2019-03-21 11:40:31 +08:00
InfiniteYuan1
8db70b4aa8
bugfix(simple_ota): Compatible with V3.1 and V3.2
...
(cherry picked from commit 0fa31d3e31
)
2019-03-21 10:26:33 +08:00
Angus Gratton
439bdc0b77
heap: Add integer overflow checks
2019-03-21 12:30:10 +11:00
Angus Gratton
82bdc66e34
Merge branch 'bugfix/sphinx_build_failure_on_rtd_v3.1' into 'release/v3.1'
...
docs: Upgraded sphinx package version to prevent build failures on readthedocs…
See merge request idf/esp-idf!4555
2019-03-21 07:55:03 +08:00
Angus Gratton
7313da42b5
Merge branch 'test/detect_exception_in_idf_dut_v3.1' into 'release/v3.1'
...
tiny-test-fw: support detect exception in IDFDUT (backport v3.1)
See merge request idf/esp-idf!4544
2019-03-21 07:54:37 +08:00
Angus Gratton
570cb25d26
Merge branch 'test/fix_unit_test_job_pass_even_no_test_executed_v3.1' into 'release/v3.1'
...
test: fix CI UT job pass even ut app bootup fail (backport v3.1)
See merge request idf/esp-idf!4387
2019-03-21 07:53:53 +08:00
Jiang Jiang Jian
db91841915
Merge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable_v3.1' into 'release/v3.1'
...
Component/bt: fix no adv report when scanning with sleep enable (backport v3.1)
See merge request idf/esp-idf!4558
2019-03-20 21:37:08 +08:00
Jiang Jiang Jian
50664c43b2
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.1' into 'release/v3.1'
...
Component/bt: fix blufi prepare write crash (backport v3.1)
See merge request idf/esp-idf!4564
2019-03-20 21:03:14 +08:00
Jiang Jiang Jian
c1e5f01d2e
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.1' into 'release/v3.1'
...
Component/bt: fix build warning when bluedroid disable log (backport v3.1)
See merge request idf/esp-idf!4567
2019-03-20 21:02:59 +08:00
Ivan Grokhotkov
f28e3cbc07
Merge branch 'bugfix/esp_tls_const_bytes_field_v3.1' into 'release/v3.1'
...
esp_tls: Make cacert_pem_bytes field a mutable integer
See merge request idf/esp-idf!4529
2019-03-20 16:09:32 +08:00
zhiweijian
4f6b6d3391
Component/bt: fix build warning when bluedroid disable log
2019-03-20 15:08:28 +08:00
zhiweijian
d6fb966ea4
Component/bt: fix blufi prepare write crash
2019-03-20 14:32:23 +08:00
zhiweijian
df5c9c8804
Component/bt: fix no adv report when scanning with sleep enable
2019-03-20 12:05:25 +08:00
Jiang Jiang Jian
3c443ae9d7
Merge branch 'bugfix/spiram_linker_wildcards_v3.1' into 'release/v3.1'
...
esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds (backport v3.1)
See merge request idf/esp-idf!4305
2019-03-20 11:27:37 +08:00
Jiang Jiang Jian
96b77c11ec
Merge branch 'bugfix/mdns_incorrect_semaphore_use_v3.1' into 'release/v3.1'
...
mdns: use binary semaphore instead of mutex when searching (Backport 3.1)
See merge request idf/esp-idf!4479
2019-03-20 11:25:44 +08:00
Jiang Jiang Jian
f0462244ec
Merge branch 'bugfix/ble_assert_8192_v3.1' into 'release/v3.1'
...
fix the bug assert(8192 0) in rwble.c 234
See merge request idf/esp-idf!4506
2019-03-20 11:24:47 +08:00
krzychb
2f73a62737
docs: Upgraded sphinx package version to prevent build failures on readthedocs site. Upgraded versions of other packages that are used during documentation build. (backport v3.1)
2019-03-19 20:09:30 +01:00
He Yin Ling
042c0109a9
test: handle exception by unit test script:
...
unit test script will detect exception, we don't need to let test fail
when exception happened.
2019-03-19 22:15:33 +08:00
He Yin Ling
4bb656c36d
tiny-test-fw: support translate backtrace in IDFDUT
2019-03-19 22:15:33 +08:00
Ivan Grokhotkov
471013f7e0
mdns: use binary semaphore instead of mutex when searching
...
mdns_search_once_t::lock is used to synchronize tasks (taken by one
task and given by the other) so it should not be a mutex.
Convert to semaphore, and rename to indicate its purpose.
2019-03-19 14:02:01 +00:00
Tian Hao
51e29d6d95
fix the bug assert(8192 0) in rwble.c 234
2019-03-19 12:52:22 +00:00
He Yin Ling
3f0c737969
tiny-test-fw: support detect exception in IDFDUT
2019-03-19 14:21:36 +08:00
Angus Gratton
8599f73019
esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds
...
Fixes bug reported on forums where any source file ending in *lock.c or *creat.c
was being linked to IRAM.
https://esp32.com/viewtopic.php?f=13&t=8909&p=37362#p37362
2019-03-18 23:17:48 +00:00
Angus Gratton
6fbf2675e6
esp_tls: Make cacert_pem_bytes field a mutable integer
...
Ref https://esp32.com/viewtopic.php?f=2&t=9737&p=40278#p40277
2019-03-18 23:17:02 +00:00
Angus Gratton
f97748d46f
Merge branch 'bugfix/build_system_tests_cmake_v3.1' into 'release/v3.1'
...
ci: Fix build system CMake test for v3.1
See merge request idf/esp-idf!4531
2019-03-19 07:16:26 +08:00
Angus Gratton
8890627f6d
ci: Fix build system CMake test for v3.1
...
Fix regression in !4365
2019-03-18 17:53:17 +11:00
Jiang Jiang Jian
867a237c27
Merge branch 'bugfix/doc_ubuntu_packages_v3.1' into 'release/v3.1'
...
docs: Update package dependencies (backport v3.1)
See merge request idf/esp-idf!4457
2019-03-17 14:41:44 +08:00
Jiang Jiang Jian
044cadbad3
Merge branch 'bugfix/mdns_add_remove_multiple_srv_3.1' into 'release/v3.1'
...
mdns: fix possible crash if tx packet contained answer to removed service (backport 3.1)
See merge request idf/esp-idf!4482
2019-03-17 14:34:49 +08:00
Jiang Jiang Jian
dda1af6e55
Merge branch 'bugfix/mdns_service_memory_leak_3.1' into 'release/v3.1'
...
mdns: fix memory leak when query for service plus various other fixes (Backport v3.1)
See merge request idf/esp-idf!4313
2019-03-17 14:28:35 +08:00
Jiang Jiang Jian
cea8c51527
Merge branch 'bugfix/cmake_psram_fix_flag_v3.1' into 'release/v3.1'
...
cmake: Fix psram workaround compiler flag application (backport v3.1)
See merge request idf/esp-idf!4365
2019-03-15 10:57:49 +08:00
Jiang Jiang Jian
5fb9aaa377
Merge branch 'bugfix/msys_cancel_idfpy_v3.1' into 'release/v3.1'
...
tools: re-run idf.py in MSYS with winpty (backport v3.1)
See merge request idf/esp-idf!4455
2019-03-15 10:57:35 +08:00
Jiang Jiang Jian
75724791fa
Merge branch 'feature/btdm_add_adv_report_flow_control_v3.1' into 'release/v3.1'
...
component/bt: add vendor hci and adv report flow control (backport v3.1)
See merge request idf/esp-idf!4463
2019-03-14 17:42:06 +08:00
David Cermak
d5938abf79
mdns: fix possible crash when probing on particular interface with duplicated service instances due to naming conflicts on network
...
Issue: MDNS server initially sends probing packets to resolve naming confilicts with already registered service instances. In case of a conflict, instance name is altered and probing restarts. Original instance however wasnnot removed from the structure and upon service removal only one entry was removed and a dangling service might have been kept in the structure to bring about a crash.
Resolution: Keep only one instance of a service in the probing structure.
2019-03-13 16:33:21 +01:00
David Cermak
58ed22461f
mdns: enable pcbs before starting service thread to avoid updating pcb's internal variables from concurent tasks
...
possible race condition: user task runs mdns_init, which enables pcbs while mdns-task already created could execute enable/disable of the same pcbs if an appropriate system event received
2019-03-13 16:32:50 +01:00
David Cermak
ed84e5aef3
mdns: fix possible deadlock on mdns deinit calling mdns_free()
...
mnds_free() initiates stop and delete timer tasks, which after locking the mutex could lead to a dead lock in case timer task executed before deleting the task, as it would wait indefinitelly for unlocking the mutex. This condition is fixed by calling _mdns_stop_timer without locking the mutex, because there's no need to protect any data when stopping and deleting the timer task
2019-03-13 16:32:59 +01:00
David Cermak
f8310c4a67
mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service
...
Issue: mdns_service_add API allocates and queues an action to be processed in mdns task context; when allocation or queueing fails, allocated structure needs to be freed. Function _mdns_free_service did not only fee all the structures, but also updates packet data.
Resolution: Moved removal of packet data outside of _mdns_free_service function.
2019-03-13 16:32:50 +01:00
David Cermak
03006a109b
mdns: fix possible crash when packet scheduled to transmit contained service which might have been already removed
...
packets scheduled to transmit are pushed to action queue and removed from tx_queue_head structure, which is searched for all remaining services and while service is removed, then service questions/asnwers are also removed from this structure. This update fixes possible crash when packet is pushed to action queue, and when service is removed, its answers are removed from tx_queue_head, but not from action queue. this could lead to a crash when the packet is poped from action queue containing questions/answers to already removed (freed) service
2019-03-13 16:32:50 +01:00
zhiweijian
3d542b2530
Component/bt: add BLE adv report flow control
2019-03-12 15:15:21 +08:00
zwj
9f3bde6096
component/bt: add vendor hci cmd
2019-03-12 14:54:53 +08:00
Roland Dobai
7d4bb5de1f
docs: Update package dependencies
...
Closes https://github.com/espressif/esp-idf/issues/2384
2019-03-11 10:20:36 +01:00
Roland Dobai
a26408bf24
tools: re-run idf.py in MSYS with winpty
...
This is done in order to cancel subprocesses on keyboard interrupt
(CTRL+C).
2019-03-11 08:49:47 +01:00
Angus Gratton
e4d61154f2
cmake: Fix psram workaround compiler flag application
...
Previously, this compiler flag was not being applied
regardless of CONFIG_SPIRAM_CACHE_WORKAROUND setting.
Explanation: add_compile_options() only applies to
source files added after the function is run, or in
subdirectories added after the function is run. In
this case, no new source files were being added after
this function was run.
2019-03-11 16:02:36 +11:00
Jiang Jiang Jian
cea310d5c5
Merge branch 'bugfix/autoip_memoey_leak_debug_v3.1' into 'release/v3.1'
...
fix the bug in auto Ip memory leak(backport v3.1)
See merge request idf/esp-idf!4430
2019-03-08 19:54:53 +08:00
xiehang
f2f9d92131
fix the bug in auto Ip memory leak
2019-03-06 21:07:22 +08:00
xiehang
4c248f40aa
fix the bug in auto Ip memory leak
2019-03-06 19:51:01 +08:00
David Cermak
b92def7b01
mdns: fix memory leak in pbuf if tcpipadapter failed to get netif
2019-03-06 06:28:55 +00:00
David Cermak
0ddcbfa751
mdns example: fix print result for IPv6 addresses
2019-03-06 06:28:55 +00:00
David Cermak
94defe35cc
mdns: fix malfuctional query_txt
...
when running a query for a single txt, result entries were not created and attached to result structure. this issue was introduced when fixing memory leak in txt structure, which worked correctly for PTR queries, but caused trouble for TXT query.
2019-03-06 06:28:55 +00:00
David Cermak
0b48653ed0
mdns: fix possible crash when mdns_free called while action queue not empty
2019-03-06 06:28:55 +00:00
David Cermak
1ce0434373
mdns: fix memory leak when query for service receives multiple ptr entries for one instance
...
fixes redmine issue 27300
2019-03-06 06:28:55 +00:00
Jiang Jiang Jian
bc58f4b9ba
Merge branch 'bugfix/cmake_stack_protector_v3.1' into 'release/v3.1'
...
esp32: disable stack protector for startup code (CMake) (backport v3.1)
See merge request idf/esp-idf!4251
2019-03-06 14:19:52 +08:00
Jiang Jiang Jian
2c3af8a18e
Merge branch 'bugfix/fix_dig_gpio_unable_hold_bug_v3.1' into 'release/v3.1'
...
Bugfix/fix digital gpio unable hold bug (backport v3.1)
See merge request idf/esp-idf!4354
2019-03-06 14:19:16 +08:00
Jiang Jiang Jian
39c6b2f904
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID_v3.1' into 'release/v3.1'
...
Component/bt: fix iOS and win10 compatibility error for HID (backport v3.1)
See merge request idf/esp-idf!4425
2019-03-06 14:12:31 +08:00
Ivan Grokhotkov
e5b4d2e01a
Merge branch 'bugfix/make_get_coreid_volatile_backport_v3.1' into 'release/v3.1'
...
freertos: Make xPortGetCoreID() volatile (backport v3.1)
See merge request idf/esp-idf!4378
2019-03-06 11:26:06 +08:00
kooho
3fc09372f1
driver(gpio): fixed digital gpio unable hold bug during deep-sleep for release/v3.1 .
2019-03-06 11:22:48 +08:00
Angus Gratton
6685ca4771
Merge branch 'feature/add_api_get_rmt_idle_level_v3.1' into 'release/v3.1'
...
Bugfix: Fixed some RMT related issues (backport v3.1)
See merge request idf/esp-idf!4356
2019-03-06 10:39:42 +08:00
zhiweijian
1b5a77eba9
Component/bt: fix iOS and win10 compatibility error for HID
2019-03-05 20:00:18 +08:00
He Yin Ling
398a428e08
test: fix CI UT job pass even ut app bootup fail
2019-03-05 08:07:30 +00:00
Ivan Grokhotkov
8fffb9d172
esp32: disable stack protector for startup code (CMake)
...
Files where stack protector is initialized should not be compiled with
stack protector enabled. This was done for Make but missing for CMake.
Fixes https://github.com/espressif/esp-idf/issues/2990 .
2019-03-05 07:11:57 +00:00
Jiang Jiang Jian
d323962e14
Merge branch 'feature/upgrade_sphinx_and_breathe_v3.1' into 'release/v3.1'
...
docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4…
See merge request idf/esp-idf!4381
2019-03-05 14:34:59 +08:00
Angus Gratton
d6c52407fc
Merge branch 'bugfix/sorting_and_list_of_lib_in_idf_size_v3.1' into 'release/v3.1'
...
tools: Fix sorting and list of libs in idf_size.py
See merge request idf/esp-idf!4285
2019-03-05 11:03:51 +08:00
Jiang Jiang Jian
62444346c1
Merge branch 'bugfix/fix_some_wifi_bugs_0301_v3.1' into 'release/v3.1'
...
esp32: fix some WiFi bugs (backport v3.1)
See merge request idf/esp-idf!4401
2019-03-05 10:33:24 +08:00
Darian Leung
4c4acd8d2f
freertos: Make xPortGetCoreID() volatile
...
When xPortGetCoreID() is called twice within a function,
it might only be called once after compilation. This
commit makes the inline assembly of the function volatile.
Closes #3093
2019-03-01 10:49:58 +00:00
Jiang Jiang Jian
7e5ac34be7
Merge branch 'bugfix/wifi_modify_wifi_kconfig_v3.1' into 'release/v3.1'
...
esp32: modify WiFi Kconfig in order to achieve better compatility and performance (bakcport v3.1)
See merge request idf/esp-idf!4385
2019-03-01 18:46:36 +08:00
Jiang Jiang Jian
887ff7d685
Merge branch 'bugfix/multiple_backports_v3.1' into 'release/v3.1'
...
multiple backports (v3.1)
See merge request idf/esp-idf!4376
2019-03-01 18:46:10 +08:00
Jiang Jiang Jian
43dc03659e
Merge branch 'bugfix/ble_reconn_rescan_readv_crash_v3.1' into 'release/v3.1'
...
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
See merge request idf/esp-idf!4327
2019-03-01 18:05:54 +08:00
Liu Zhi Fu
863da69c5b
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug that STA incorrectly deletes BA when receiving DelBA request
2. Add out of memory check
3. Fix the bug that STA incorrectly receives packets when scanning in connected status
2019-03-01 12:50:39 +08:00
Angus Gratton
fb4b035105
ci: Only use "github_sync" tagged runners to talk to GitHub
2019-02-28 22:00:35 +08:00
Angus Gratton
04ed861eb8
ci: Retry submodule sync 2 more times before failing
2019-02-28 22:00:07 +08:00
Ivan Grokhotkov
4e55490602
nvs: add a blob fragmentation test case
...
Ref. TW12937
2019-02-28 21:58:03 +08:00
Ivan Grokhotkov
7ee102a9f6
nvs: do eager cleanup of HashListBlocks
...
Previously when HashList was removing items, HashListBlocks were
removed lazily. This resulted in empty HashListBlocks dangling around
in full pages, even when all items have been erased. These blocks
would only be deleted when NVS was re-initialized
(nvs_flash_deinit/nvs_flash_init).
This change does eager cleanup instead, based on the code from
@negativekelvin offered in
https://github.com/espressif/esp-idf/issues/1642#issuecomment-367227994 .
Closes https://github.com/espressif/esp-idf/issues/1642 .
2019-02-28 21:58:03 +08:00
Ivan Grokhotkov
70a9e72e06
esp_timer: fix occasional failures in "monotonic values" test
...
1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.
2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.
3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.
4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.
2019-02-28 21:58:03 +08:00
Ivan Grokhotkov
9cfd94a9d6
esp_timer: improve unit test robustness
...
1. call esp_timer_get_time and ref_clock_get in the same order on
start and in the loop
2. disable interrupts when calculating delta between ref_clock
and esp_timer
3. ensure both functions are in cache before calculating the delta
2019-02-28 21:58:03 +08:00
Ivan Grokhotkov
48416c38c8
soc: define named constants for DPORT_CPUPERIOD_SEL values
2019-02-28 21:58:03 +08:00
Ivan Grokhotkov
beb8347faa
bootloader: check previously used clock frequency at run time
...
In the situation when bootloader was compiled for 240MHz, and app was
compiled for 160MHz, and the chip is a revision 0 chip, the
bootloader will assume that the application has also been running at
240MHz. This will cause the chip to lock up later. Modify this to use
a run time check of DPORT_CPUPERIOD_SEL, which indicates which of the
PLL frequencies was used.
Closes https://github.com/espressif/esp-idf/issues/2731 .
2019-02-28 21:58:03 +08:00
Ivan Grokhotkov
450118fdf8
soc/rtc_clk: don’t clear DPORT_CPUPERIOD_SEL when switching to XTAL
...
This is not necessary since RTC_CNTL_SOC_CLK_SEL is set before this.
2019-02-28 21:58:03 +08:00
Ivan Grokhotkov
1e1450bf5d
make: fix issues related to EXTRA_COMPONENT_DIRS
...
1. When one of the COMPONENT_DIRS points to a component directory
(i.e. a directory containing component.mk, not a directory of multiple
components), and there is a subdirectory in it which also contains
a component, the subdirectory was mistakenly added to the list of
components and compiled.
For example:
main/
component.mk
main.c
test/
component.mk
test_main.c
Would compile test_main.c and link libtest.a.
2. When one of the COMPONENT_DIRS points to a component directory, and
the parent directory contained a directory with the same name as
another component, that directory would be mistakenly added to the
COMPONENT_PATHS.
For example:
esp/
esp-idf/
esp32/
(random stuff)
mycomponent/
component.mk
mycomponent.c
myproject/
main/
Makefile
and Makefile sets EXTRA_COMPONENT_DIRS=$(realpath ../mycomponent),
then "esp32" directory which is at the same level as mycomponent
was added to COMPONENT_PATHS.
3. If EXTRA_COMPONENT_DIRS pointed to a directory with a list of
components, and one of the subdirectories was not a component, but
had the same name as another component, than that directory would be
mistakenly added to COMPONENT_PATHS instead of the real esp32
component directory.
For example:
my_components/
my_component/
component.mk
my_component.c
esp32/
(some random stuff)
and EXTRA_COMPONENT_DIRS would point to my_components/, then "esp32"
directory would be added to COMPONENT_PATHS instead of the real esp32
component directory.
2019-02-28 21:58:03 +08:00
Ivan Grokhotkov
3567b1d0ce
kconfig: fix compatibility with very old versions of flex
...
See 4e762e4918
Closes https://github.com/espressif/esp-idf/issues/2703
2019-02-28 21:58:03 +08:00
Jiang Jiang Jian
2f14aeee00
Merge branch 'bugfix/fix_scan_bugs_and_alloc_eb_fail_v3.1' into 'release/v3.1'
...
wifi: fix scan bugs and alloc eb fail (backport v3.1)
See merge request idf/esp-idf!4389
2019-02-28 21:31:49 +08:00
Jiang Jiang Jian
42383518b8
Merge branch 'bugfix/enlarge_ethernet_stack_size_v3.1' into 'release/v3.1'
...
enlarge ethernet task stack size (backport v3.1)
See merge request idf/esp-idf!4369
2019-02-28 18:23:28 +08:00
zhangyanjiao
fb15403515
wifi changes:
...
1. make menuconfig can set the WiFi mgmt short buffer num
2. fix several scan bugs
2019-02-28 15:40:56 +08:00
XiaXiaotian
8a20519222
esp32: modify WiFi Kconfig in order to achieve better compatility
...
and performance
2019-02-28 10:06:06 +08:00
krzychb
4e33313a9b
docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and 4.11.1. Updated check of Sphinx warnings to account for the filename instead of the whole path, that for the same errors may be different between English and Chinese docs. (backport v3.1)
2019-02-27 23:36:34 +01:00
Jiang Jiang Jian
98ed70cd91
Merge branch 'doc/btdm_modem_sleep_EVED_mode_for_v3.1' into 'release/v3.1'
...
doc/btdm_modem_sleep_EVED_mode_for_v3.1(backport v3.1)
See merge request idf/esp-idf!4361
2019-02-27 18:36:04 +08:00
Jiang Jiang Jian
c6ee38eb69
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable_v3.1' into 'release/v3.1'
...
esp32: make WiFi IRAM optimization configurable (backport v3.1)
See merge request idf/esp-idf!4041
2019-02-27 17:36:55 +08:00
morris
ed1771c7cc
ethernet: enlarge ethernet task stack size
...
1. In original driver, the stack size for emac driver task "emacT" is only 2048 Bytes, which also can not be changed by user.
2. Each time when invoking "emac_start" function, it will reset emac registers, the driver should reconfig some important registers again.
Closes https://github.com/espressif/esp-idf/issues/3025
2019-02-27 15:21:09 +08:00
wangmengyang
1bd674dc64
component/bt: add more information and description for bluetooth modem sleep
...
Add remark that "EVED" mode for bluetooth modem sleep is only used for internal test
2019-02-27 10:51:15 +08:00
Paul Abbott
285a0aa13c
driver(rmt): Fixed some RMT related issues for release/v3.1.
...
1. Add missing get function to RMT API: rmt_get_idle_level().
2. Suppress error message from rmt_wait_tx_done() if wait_time==0 (allows for polling).
3. Remove the blank lines between parameter lists.
Merges https://github.com/espressif/esp-idf/pull/2666
2019-02-26 20:35:28 +08:00
Liu Zhi Fu
a019517d07
esp32: make WiFi IRAM optimization configurable
...
With this feature, the WiFi IRAM optimization can be disabled/enabled via menuconfig.
2019-02-26 19:26:02 +08:00
Tian Hao
f57d5db86d
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
...
fix 3 bugs:
1. do BLE connect (both of slave and master), it mgiht cause crash due to there's much interrupts happens effect ble code running, for example, wifi run on the same core as bluetooth controller and wifi run throughtput test.
2. do BLE scan stop or adv stop or connection stop, it might cause ASSERT or crash due to memory corrupted in controller memory poll.
3. minor bug fix, not really effect bluetooth.
2019-02-25 13:41:51 +00:00
Jiang Jiang Jian
57118e2f10
Merge branch 'bugfix/btdm_backport_v3.1' into 'release/v3.1'
...
component/bt: backport some MRs to v3.1
See merge request idf/esp-idf!4312
2019-02-21 18:24:45 +08:00
Jiang Jiang Jian
03527e840c
Merge branch 'bugfix/btdm_fix_connection_params_update_issues_v3.1' into 'release/v3.1'
...
component/bt:fix connection params update issues (backport v3.1)
See merge request idf/esp-idf!4298
2019-02-21 11:47:58 +08:00
Konstantin Kondrashov
ba0974b101
tools: Fix sorting and list of libs in idf_size.py
...
Make the same output as for v3.2 and 3.3 for idf_size.py --archives /path/to/file.map
and also for idf_size.py --archive_details libhap_min.a
/path/to/file.map
Closes: TW28774
2019-02-21 11:02:27 +08:00
zhiweijian
191cad0398
Component/bt: fix get attr value API error
2019-02-20 17:57:14 +08:00
zhiweijian
454268da00
Component/bt: fix ble cannot send or receive packet sometimes
2019-02-20 17:56:55 +08:00
zhiweijian
5e048a9ebb
Component/bt: add scan window and interval check when set scan params
2019-02-20 17:56:36 +08:00
Jiang Jiang Jian
ce83031571
Merge branch 'bugfix/mdns_crash_free_strdup_3.1' into 'release/v3.1'
...
mdns: fixed crash on free undefined ptr if strdup is skipped (Backport 3.1)
See merge request idf/esp-idf!4189
2019-02-20 02:15:51 +08:00
Jiang Jiang Jian
298aafd112
Merge branch 'bugfix/coex_lc_protect_v3.1' into 'release/v3.1'
...
component/esp32 : fix coexist lc protect cause memory corrupted
See merge request idf/esp-idf!4266
2019-02-20 02:11:29 +08:00
zwj
f8f96c368b
component/bt:fix connection params update issues
2019-02-19 20:43:28 +08:00
Jiang Jiang Jian
83bd616b6f
Merge branch 'bugfix/btdm_crash_when_inquiry_cancel_v3.1' into 'release/v3.1'
...
Bugfix/btdm crash when inquiry cancel v3.1
See merge request idf/esp-idf!4278
2019-02-18 20:01:34 +08:00
baohongde
6743820bce
components/bt: Add precautions for esp_vhci_host_send_packet (backport 3.1)
2019-02-15 17:56:59 +08:00
baohongde
3e06ad6af9
components/bt: Fix crash when inquiry stop (backport 3.1)
2019-02-15 17:53:55 +08:00
Tian Hao
1c6b0bf925
component/esp32 : fix coexist lc protect cause memory corrupted
...
The bug will cause memory corrupted (the largest range is from 0x3ffc0000 ~ 0x3ffc8000),
some strange error will happen, like IllegalInstruction, LoadProhibited and .etc.
2019-02-15 16:13:30 +08:00
Jiang Jiang Jian
ef2bf23862
Merge branch 'bugfix/fix_some_wifi_bugs_0131_v3.1' into 'release/v3.1'
...
esp32: fix some wifi bugs (backport v3.1)
See merge request idf/esp-idf!4219
2019-02-15 12:15:04 +08:00
Angus Gratton
cf5dbadf4f
Merge branch 'bugfix/backtrace_from_interrupts_backport_v3.1' into 'release/v3.1'
...
Make backtrace work across interrupts (backport v3.1)
See merge request idf/esp-idf!4182
2019-02-13 16:53:39 +08:00
Angus Gratton
72c88db3a8
Merge branch 'fix/nvs_host_test' into 'release/v3.1'
...
Fix/nvs host test
See merge request idf/esp-idf!4223
2019-02-04 14:28:26 +08:00
Jiang Jiang Jian
cfe10825cf
Merge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection_v3.1' into 'release/v3.1'
...
Component/bt: fix write char crash after disconnection (backport v3.1)
See merge request idf/esp-idf!4211
2019-02-01 21:29:15 +08:00
Liu Zhi Fu
be115ec3ab
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
after reset.
2019-01-31 21:42:49 +08:00
Shivani Tipnis
dbfe5b5886
Fix/Nvs host test extra argument passed
...
(cherry picked from commit 7b2cae15ba37420700d19fad55062dadc32241e5)
2019-01-31 18:47:07 +05:30
zhiweijian
e94b130ede
Component/bt: fix write char crash after disconnection
2019-01-31 12:22:10 +00:00
He Yin Ling
5412ccbcb1
Merge branch 'feature/add_ipv6_related_change_v3.1' into 'release/v3.1'
...
modify test case to support ipv6 (backport v3.1)
See merge request idf/esp-idf!4073
2019-01-31 14:31:26 +08:00
Jiang Jiang Jian
fa9e6713ae
Merge branch 'bugfix/tw28445_wps_thread_safe_v3.1' into 'release/v3.1'
...
esp32: fix WPS thread-safe (backport v3.1)
See merge request idf/esp-idf!4196
2019-01-31 10:44:07 +08:00
Darian Leung
2ccfa6bd44
freertos: Make backtrace work across interrupts (backport v3.1)
...
This commit adds the ability for backtracing to trace from the itnerrupt to the
task stack, and across nested interrupts. Test cases have also been added.
See merge request !4084
Note: "Test backtrace from abort" reset reason modified by removing abort as a reason.
2019-01-30 22:13:28 +08:00
Liu Zhi Fu
188f86e946
esp32: fix WPS thread-safe
...
Fix WPS thread-safe bug
2019-01-30 13:48:15 +08:00
Jiang Jiang Jian
6220de03da
Merge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt_v3.1' into 'release/v3.1'
...
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at the same time and both enable modem sleep (backport v3.1)
See merge request idf/esp-idf!4193
2019-01-30 12:02:12 +08:00
David Cermak
31716a4960
mdns: fixed crash on free undefined ptr after skipped strdup
...
Shortcircuit evaluation may cause skip of _mdns_strdup_check of any further question field, which after clear_rx_packet freed undefined memory.
Fixes https://ezredmine.espressif.cn:8765/issues/28465
2019-01-29 19:27:46 +01:00
XiaXiaotian
10cac76d79
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
...
the same time and both enable modem sleep
2019-01-29 11:10:05 +08:00
huchaoru
778566042b
modify test case to support ipv6
2019-01-26 13:07:06 +00:00
Jiang Jiang Jian
0e2eccfad0
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex_v3.1' into 'release/v3.1'
...
fix crash when adv and scan coex and optimize duplicate scan
See merge request idf/esp-idf!4147
2019-01-25 12:04:55 +08:00
Jiang Jiang Jian
b26ded717f
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.1' into 'release/v3.1'
...
component/bt: add a option to make report adv data and scan response individually (backport v3.1)
See merge request idf/esp-idf!4132
2019-01-25 11:53:27 +08:00
Tian Hao
85825377c8
component/bt: add a option to make report adv data and scan response individually
...
Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.
2019-01-24 18:45:57 +08:00
zhiweijian
10419b48bf
fix crash when adv and scan coex and optimize duplicate scan
2019-01-24 17:29:44 +08:00
Angus Gratton
fa8c79e0fe
Merge branch 'bugfix/i2c_master_clear_bus_v3.1' into 'release/v3.1'
...
i2c/fix i2c_master_clear_bus (backport v3.1)
See merge request idf/esp-idf!4128
2019-01-24 14:53:00 +08:00
Angus Gratton
38edc33bb8
Merge branch 'bugfix/idfpy_monitor_msys_v3.1' into 'release/v3.1'
...
tools: fix idf.py monitor for MSYS (backport v3.1)
See merge request idf/esp-idf!3897
2019-01-24 14:50:47 +08:00
Jiang Jiang Jian
c6750d271e
Merge branch 'bugfix/bootloader_map_size_v3.1' into 'release/v3.1'
...
bootloader: fix incorrect mapping size (backport v3.1)
See merge request idf/esp-idf!4139
2019-01-24 14:09:58 +08:00
Jiang Jiang Jian
63a9054e5b
Merge branch 'bugfix/sha_ownership_v3.1' into 'release/v3.1'
...
hwcrypto sha: Allow SHA contexts to be shared between tasks (backport v3.1)
See merge request idf/esp-idf!4144
2019-01-24 14:08:35 +08:00
Jiang Jiang Jian
9699ec9277
Merge branch 'bugfix/rom_export_functions_v3.1' into 'release/v3.1'
...
esp32, bootloader: fix issues related to linking order (backport v3.1)
See merge request idf/esp-idf!4135
2019-01-23 21:58:58 +08:00
Jiang Jiang Jian
15ac1d40fa
Merge branch 'bugfix/vfs_unregister_nested_v3.1' into 'release/v3.1'
...
vfs: fix unregister removing top level VFS instead of nested (backport v3.1)
See merge request idf/esp-idf!4136
2019-01-23 21:54:04 +08:00
Jiang Jiang Jian
8f4ec72a0f
Merge branch 'bugfix/init_memctl_v3.1' into 'release/v3.1'
...
bootloader, esp32: add workaround for Tensilica erratum 572 (backport v3.1)
See merge request idf/esp-idf!4133
2019-01-23 21:44:11 +08:00
Angus Gratton
02668b62e8
hwcrypto sha: Use spinlocks instead of semaphores for small state changes
...
Significant performance improvement and smaller RAM footprint.
2019-01-23 18:18:38 +08:00
Angus Gratton
36b65c8498
hwcrypto sha: Allow SHA contexts to be shared between tasks
...
Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.
Replace with binary semaphore which can be shared between tasks.
Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).
2019-01-23 18:18:38 +08:00
Angus Gratton
91bc4ebb6c
Update esptool.py to v2.6
2019-01-23 17:06:11 +08:00
Ivan Grokhotkov
205c484c49
bootloader: account for load address when mapping cache pages
...
Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.
Reported in https://esp32.com/viewtopic.php?f=13&t=6952 .
2019-01-23 17:06:11 +08:00
Ivan Grokhotkov
60f4ccf303
bootloader: fix IROM and DROM swapped in log messages
2019-01-23 17:05:37 +08:00
Ivan Grokhotkov
1d0df04579
vfs: fix unregister removing top level VFS instead of nested
...
Credits @neoniousTR.
Fixes https://github.com/espressif/esp-idf/pull/2770
2019-01-23 16:28:09 +08:00
Ivan Grokhotkov
50d4ffd22e
esp32: remove ROM functions redefined in IDF from LD script
...
In some cases, linker could choose to use ROM functions instead of the
ones defined in IDF.
For functions used in ROM stub table, this would lead to infinite
recursion when the corresponding function was called from ROM.
For crypto functions, some of these were modified in IDF, and
incompatible with ROM counterparts.
2019-01-23 16:26:14 +08:00
Ivan Grokhotkov
9845219a5f
bootloader_support: exclude bootloader_init.c when building app
...
Depending on link order of libraries, bootloader implementation of
__assert_func could be linked instead of the one provided by newlib.
2019-01-23 16:26:14 +08:00
Ivan Grokhotkov
b4939b1121
bootloader, esp32: add workaround for Tensilica erratum 572
...
If zero-overhead loop buffer is enabled, under certain rare conditions
when executing a zero-overhead loop, the CPU may attempt to execute an invalid instruction. Work around by disabling the buffer.
2019-01-23 16:23:08 +08:00
Jiang Jiang Jian
8c1d9e70b5
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index_v3.1' into 'release/v3.1'
...
esp32: fix invalid channel state information(CSI) data index (backport v3.1)
See merge request idf/esp-idf!4130
2019-01-23 16:08:02 +08:00
XiaXiaotian
e444a31e79
esp32: fix invalid channel state information(CSI) data index
...
Due to a hardware limitation in ESP32, the first four bytes of some
CSI data is invalid, not the last four bytes.
Correct a mistake of CSI sub-carrier index in documentation.
2019-01-22 20:43:36 +08:00
Wangjialin
c3bd2a7539
bugfix(i2c): reduce speed of I2C master bus reset routine and release SDA
...
closes https://github.com/espressif/esp-idf/issues/2494
closes https://github.com/espressif/esp-idf/pull/2493
closes https://github.com/espressif/esp-idf/pull/2496
1. Change bus reset to handle interrupted READ sequences.
2. Slow down I2C to 100khz during reset
3. If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.
If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH. So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.
2019-01-22 13:48:37 +08:00
chuck todd
3a9c713748
1. Slow down I2C to 100khz During Reset
...
I am stealing this delay coding from @jeremyherbert #2493 pr.
2. Change Bus Reset to handle interrupted READ sequences.
The current code does not handle interrupted READ cycles.
If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.
The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.
If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH.
So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.
3. fix typo
correct `sda_id` to `sda_io` in `i2c_master_clear_bus()` @ryan-ma found it. This typo was generated when I manually edited this patch on GitHub, I should have done a Copy/Paste operation!
2019-01-22 13:48:23 +08:00
jeremy
6a63d0eeaf
reduce speed of i2c master bus reset routine and release sda
2019-01-22 13:48:07 +08:00
Jiang Jiang Jian
570e32915a
Merge branch 'bugfix/phy_rtc_cache_disabled_v3.1' into 'release/v3.1'
...
Fix PHY/RTC functions called in ISR, but stored in flash
See merge request idf/esp-idf!4113
2019-01-18 10:54:11 +08:00
Tian Hao
8ad6ba2436
Fix some bugs in phy
...
1. fix bug PHY/RTC functions called in ISR (update phy to v4007)
2. add UnitTest to test it
3. fix task watchdog bug when wifi change channel
4. disable/enable agc to mac deinit/init
5. add UnitTest Job
2019-01-16 22:23:04 +08:00
Jiang Jiang Jian
7fe18ef334
Merge branch 'bugfix/wifi_fix_incorrect_tx_complete_state_v3.1' into 'release/v3.1'
...
esp32: fix the incorrect tx complete state issue (backport v3.1)
See merge request idf/esp-idf!4106
2019-01-12 19:57:40 +08:00
jack
126ade78d4
esp32: fix the incorrect tx complete state issue
2019-01-12 15:38:30 +08:00
Jiang Jiang Jian
608986cd4f
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.1' into 'release/v3.1'
...
esp32: fix wrongly deleting hardware BA index bug (backport v3.1)
See merge request idf/esp-idf!4103
2019-01-12 13:56:40 +08:00
Liu Zhi Fu
fe05db83f1
esp32: fix wrongly deleting hardware BA index bug
...
Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.
2019-01-11 16:48:58 +08:00
Ivan Grokhotkov
d1936acf43
Merge branch 'bugfix/idf_monitor_without_toolchain_v3.1' into 'release/v3.1'
...
tools: Print useful error message from idf_monitor when toolchain isn't available (backport v3.1)
See merge request idf/esp-idf!3948
2019-01-11 15:43:18 +08:00
Ivan Grokhotkov
7ce22b11bf
Merge branch 'bugfix/mdns_udp_send_protected_backport3.1' into 'release/v3.1'
...
mdns networking udp send protected (Backport 3.1)
See merge request idf/esp-idf!4021
2019-01-11 15:36:57 +08:00
Ivan Grokhotkov
b917fbe914
Merge branch 'bugfix/mdns_query_failed_after_init_v3.1' into 'release/v3.1'
...
Fixed: mdns query failed after init (Backport v3.1)
See merge request idf/esp-idf!3730
2019-01-11 11:26:28 +08:00
Ivan Grokhotkov
beb80ffeeb
Merge branch 'bugfix/mdns_crash_when_query_backport3.1' into 'release/v3.1'
...
mdns crash when query (backport 3.1)
See merge request idf/esp-idf!4019
2019-01-11 11:26:02 +08:00
Jiang Jiang Jian
fc6235c190
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.1' into 'release/v3.1'
...
esp32: do defragmentation only for data and management frame (backport v3.1)
See merge request idf/esp-idf!4091
2019-01-11 10:36:22 +08:00
XiaXiaotian
92a27d642b
esp32: do defragmentation only for data and management frame
...
Check frame type before defragmentation. Only data and management frame can do
defragmentation.
2019-01-10 14:07:11 +08:00
Jiang Jiang Jian
9bc10d9eda
Merge branch 'bugfix/coex_unforce_wifi_if_no_data_buffered_in_beacon_v3.1' into 'release/v3.1'
...
esp32: unforce wifi if receiving beacon with no data buffered in dream (backport v3.1)
See merge request idf/esp-idf!4035
2019-01-09 17:06:11 +08:00
Jiang Jiang Jian
357239a20c
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.1' into 'release/v3.1'
...
Component/bt: fix auth_mode error when reconnection in SMP(backport V3.1)
See merge request idf/esp-idf!3956
2019-01-09 13:57:07 +08:00
Jiang Jiang Jian
014b3c639f
Merge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond_v3.1' into 'release/v3.1'
...
Component/bt: fix save keys when auth mode without bond (backport v3.1)
See merge request idf/esp-idf!3958
2019-01-09 13:56:28 +08:00
Jiang Jiang Jian
505663cd6b
Merge branch 'feature/illegal_instruction_panic_info_v3.1' into 'release/v3.1'
...
panic: dump some instruction memory on IllegalInstruction exception (backport v3.1)
See merge request idf/esp-idf!3959
2019-01-09 13:55:48 +08:00
Jiang Jiang Jian
2dc384198d
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS_for_v3.1' into 'release/v3.1'
...
Bugfix/btdm modem sleep cowork with dfs for v3.1(backport v3.1)
See merge request idf/esp-idf!3964
2019-01-09 13:53:28 +08:00
Jiang Jiang Jian
e1dcd81c18
Merge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.1' into 'release/v3.1'
...
components/bt: Fix two bugs about pairing(backport 3.1)
See merge request idf/esp-idf!3996
2019-01-09 13:51:07 +08:00
Jiang Jiang Jian
9f653a9d9f
Merge branch 'bugfix/ota_magic_byte_issue_v3.1' into 'release/v3.1'
...
Bugfix/ota magic byte issue v3.1 (backport v3.1)
See merge request idf/esp-idf!4003
2019-01-09 12:00:57 +08:00
Jiang Jiang Jian
b0c389c450
Merge branch 'bugfix/fix_mbox_thread_safe_issue_v3.1' into 'release/v3.1'
...
fix mbox thread-safe issue (backport v3.1)
See merge request idf/esp-idf!4006
2019-01-09 11:23:21 +08:00
Jiang Jiang Jian
faeb15e1ec
Merge branch 'bugfix/ignore_windows_conf_tools_v31' into 'release/v3.1'
...
gitignore: Add mconf-idf.exe and conf-idf.exe (v3.1)
See merge request idf/esp-idf!4070
2019-01-09 11:21:39 +08:00
Jiang Jiang Jian
cbd1e9fa35
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.1' into 'release/v3.1'
...
driver(uart): fixed uart read error bug when using dual core (backport v3.1)
See merge request idf/esp-idf!3814
2019-01-09 11:01:27 +08:00
Jiang Jiang Jian
e105d23b51
Merge branch 'test/add_case_to_detect_ds2ds_issue_v3.1' into 'release/v3.1'
...
test: add test case to receive ds2ds packet (backport v3.1)
See merge request idf/esp-idf!3850
2019-01-09 10:57:26 +08:00
Jiang Jiang Jian
6cc626ab99
Merge branch 'bugfix/uart_select_buffer_v3.1' into 'release/v3.1'
...
VFS: select() on UART should return immediately when data is buffered (backport v3.1)
See merge request idf/esp-idf!3830
2019-01-09 10:54:16 +08:00
Jiang Jiang Jian
e70fc19384
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth_v3.1' into 'release/v3.1'
...
Component/bt: fix accept specified sec auth error(backport V3.1)
See merge request idf/esp-idf!3837
2019-01-09 10:37:19 +08:00
Jiang Jiang Jian
935501896d
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled_v3.1' into 'release/v3.1'
...
Component/bt: fix receive adv pkt when enable duplicate scan (backport v3.1)
See merge request idf/esp-idf!3943
2019-01-09 10:35:05 +08:00
Jiang Jiang Jian
e690cfcbd7
Merge branch 'bugfix/bbpll_wakeup_reset_v3.1' into 'release/v3.1'
...
BBPLL reset fixes (backport v3.1)
See merge request idf/esp-idf!4013
2019-01-09 10:31:50 +08:00
XiaXiaotian
6f582fe71d
esp32: unforce wifi if receiving beacon with no data buffered in dream
...
state and reduce force receiving broadcast data time
1. If receiving beacon which indicates that there is no data
buffered, do not force to receive WiFi data.
2. If receiving beacon which indicates that there is broadcast data
buffered, reduce the time to force receiving broadcast data.
2019-01-07 16:44:49 +08:00
Wu Jian Gang
7116547ebf
Merge branch 'bugfix/fix_the_country_code_bug_v3.1' into 'release/v3.1'
...
wifi: fix the bug that STA can scan the channel out of the country regdomain range (backport v3.1)
See merge request idf/esp-idf!4064
2019-01-04 11:57:53 +08:00
Angus Gratton
df53422cad
gitignore: Add mconf-idf.exe and conf-idf.exe
...
Problem since f6cd55d2ac
Closes https://github.com/espressif/esp-idf/issues/2751
2019-01-04 10:08:58 +11:00
zhangyanjiao
014b6ba44a
wifi: fix the bug that STA can scan the channel out of the country regdomain range
2019-01-03 18:11:43 +08:00
Liu Zhi Fu
a663c61427
lwip: fix mbox thread-safe issue
...
Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.
2019-01-02 23:06:24 +08:00
Angus Gratton
ed1304146b
Merge branch 'bugfix/timer_delete_dispatch_race_v3.1' into 'release/v3.1'
...
esp_timer: do not allow deleting timers while callbacks are dispatched (backport v3.1)
See merge request idf/esp-idf!3993
2019-01-02 20:42:45 +08:00
Ivan Grokhotkov
1937bc2bd7
esp_timer: do not allow deleting timers while callbacks are dispatched
...
timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.
To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.
2019-01-02 20:01:26 +11:00
Konstantin Kondrashov
1255be4e3e
newlib: Fix UT adjtime
2018-12-28 09:56:15 +08:00
Angus Gratton
3e7a5b144a
unit tests: Only initialise tcpip_adapter() when needed by the test
...
Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.
2018-12-28 09:56:15 +08:00
Ivan Grokhotkov
763c2cc188
spiffs: increase timeout in readdir test
...
Timeout of 15 seconds is not sufficient if SPIFFS partition needs to
be formatted, on some of the boards.
2018-12-28 09:56:15 +08:00
Ivan Grokhotkov
7ca260554f
tiny-test-fw: invoke expect callbacks in order of appearance
...
Previously the callbacks were invoked in the same order as the list of
patterns to be matched.
2018-12-28 09:56:15 +08:00
He Yin Ling
4e9b4cb9cc
test: fix merge error when backport junit report
2018-12-28 09:56:15 +08:00
houchenyao
efe9100306
fix the bug that multi device's dut can't detect case
2018-12-28 09:56:15 +08:00
houchenyao
ac62b8437d
bugfix:fix the multi device stop thread bug
2018-12-28 09:56:15 +08:00
He Yin Ling
9969b4218d
test: add test case to receive ds2ds packet
2018-12-28 09:56:15 +08:00
David Cermak
02c3097191
mdns: fix networking running udp_sendif from lwip thread
2018-12-21 16:57:20 +01:00
David Cermak
db256ed1e1
mdns: fixed static memory leak
2018-12-21 16:33:47 +01:00
David Cermak
270f105823
mdns: check all mallocs for failure and add default hook to log error with free heap
...
solves crash about _mdns_result_txt_create when stress test
2018-12-21 16:33:32 +01:00
David Cermak
44811c6896
mdns: resolve memory leak when txt record received multiple times
2018-12-21 16:33:19 +01:00
David Cermak
d8c9530d3c
mdns: skip sending search when finished, not properly locked timer task
2018-12-21 16:33:08 +01:00
baohongde
152a4f46d6
components/bt: Fix two bugs about pairing
...
1. Fix Legacy Pairing failed without remote device name
2. Fix discovery no device after disabling SSP
2018-12-21 20:52:46 +08:00
Ivan Grokhotkov
b4552c02d4
soc/rtc: reset BBPLL configuration after enabling it
...
A workaround to reset BBPLL configuration after light sleep. Fixes the
issue that Wi-Fi can not receive packets after waking up from light
sleep.
Ref. https://github.com/espressif/esp-idf/issues/2711
2018-12-21 13:38:22 +08:00
Supreet Deshpande
3c87f47ba2
bugfix/ota_magic_byte_issue: Fix indent and replace constant by macro
...
Replace 0xE9 by ESP_IMAGE_HEADER_MAGIC.
2018-12-20 12:24:55 +05:30
Supreet Deshpande
a0eedf112f
bugfix/ota_magic_byte_issue: Fixes OTA magic byte error
...
On enabling flash encryption, OTA fails with magic byte error in the second chunk
if the http data is split into two or more chunks and first chunk is less than 16.
2018-12-20 12:24:34 +05:30
wangmengyang
a9dae85d03
component/bt: use a pm_lock to prevent light sleep when bluetooth is enabled due to current imcompatibility
2018-12-18 15:40:27 +08:00
Jiang Jiang Jian
a18f92b09b
Merge branch 'bugfix/tw27963_fix_wifi_stop_bug_v3.1' into 'release/v3.1'
...
esp32: fix WiFi stop bug in WiFi/BT coexist mode (backport v3.1)
See merge request idf/esp-idf!3981
2018-12-18 11:40:42 +08:00
Liu Zhi Fu
6a418013a3
esp32: fix WiFi stop bug in WiFi/BT coexist mode
...
This fix includes following changes:
1. Fix the bug that esp_restart()/esp_wifi_stop() sometimes fails in WiFi/BT coexist mode.
2. Add a timer for WiFi stop and stop WiFi forcibly once the timer expires.
2018-12-17 20:39:54 +08:00
zhiweijian
bd9eb5255d
Component/bt: fix receive adv pkt when enable duplicate scan
2018-12-17 15:55:38 +08:00
wangmengyang
29da5b2e17
component/bt: add DRAM_ATTR attribute to global variables(mainly bss segment) in bt.c which can be accessed in ISRs
2018-12-14 21:21:22 +08:00
wangmengyang
1c4bbaa567
component/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic Frequency Scaling
...
1. start an esp_timer on entering sleep to acquire pm_lock before wake up from modem sleep
2. decrease the clock division of XTAL fed to bluetooth low power clock from 32us to 2us period to allow to work under 240MHz Max CPU frequency
3. decrease the minimum sleep duration threshold to allow shorter bluetooth modem sleep period, especially for BLE with short connection interval
4. reconfigure bluetooth baseband(BT-BB) settings after PHY/RF init upon waking up from modem sleep to avoid packet RX/TX performance degradation
2018-12-14 21:21:22 +08:00
Jiang Jiang Jian
ad9bce3203
Merge branch 'bugfix/btdm_assert_ble_65536_v3.1' into 'release/v3.1'
...
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
See merge request idf/esp-idf!3967
2018-12-14 20:34:33 +08:00
Tian Hao
129f1df461
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
2018-12-14 17:52:31 +08:00
Ivan Grokhotkov
2b58be5a6c
panic: dump some instruction memory on IllegalInstruction exception
2018-12-13 17:09:53 +08:00
zhiweijian
ee99795f3d
Component/bt: fix save keys when auth mode without bond
2018-12-13 15:49:02 +08:00
zhiweijian
f4b64a491b
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-13 15:36:51 +08:00
Roland Dobai
b5371b38c9
tools: Print useful error message from idf_monitor when toolchain isn't available
2018-12-12 09:46:13 +01:00
Ivan Grokhotkov
07e8b35ead
Merge branch 'bugfix/xts_compile_err_3.1' into 'release/v3.1'
...
Bugfix/xts compile err 3.1
See merge request idf/esp-idf!3747
2018-12-10 17:41:29 +08:00
Sagar Bijwe
76f98a4b36
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
2018-12-07 09:41:59 +00:00
Ivan Grokhotkov
0b3fdf420f
Merge branch 'bugfix/fat_lock_log_v3.1' into 'release/v3.1'
...
fatfs: Do not log from critical sections (backport v3.1)
See merge request idf/esp-idf!3720
2018-12-07 14:07:16 +08:00
Jiang Jiang Jian
a7d37b303d
Merge branch 'bugfix/btdm_assert_ble_32768_v3.1' into 'release/v3.1'
...
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
See merge request idf/esp-idf!3918
2018-12-07 13:54:18 +08:00
Angus Gratton
a7b5496770
Merge branch 'fix/spi_callback_in_iram_v3.1' into 'release/v3.1'
...
spi: fix the crash when callbacks are not in the IRAM (Backports v3.1)
See merge request idf/esp-idf!3886
2018-12-07 09:11:47 +08:00
Tian Hao
ce5b2709ab
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
2018-12-06 21:17:49 +08:00
Roland Dobai
a617116479
tools: fix idf.py monitor for MSYS
2018-12-05 10:43:46 +01:00
Jiang Jiang Jian
4070d095d0
Merge branch 'bugfix/btdm_bugs_caused_by_coex_v3.1' into 'release/v3.1'
...
component/bt and esp32: fix two bluetooth bugs that caused by coexist module
See merge request idf/esp-idf!3871
2018-12-05 14:17:33 +08:00
Michael (XIAO Xufeng)
3387d751d9
spi: fix the crash when callbacks are not in the IRAM
...
Introduced in 9c23b8e5
and 4f87a62f
. To get higher speed, menuconfig
options are added to put ISR and other functions into the IRAM. The
interrupt flag ESP_INTR_FLAG_IRAM is also mistakenly set when the ISR is
put into the IRAM. However callbacks, which are wrote by the user, are
called in the master and slave ISR. The user may not be aware of that
these callbacks are not disabled during flash operations. Any cache miss
during flash operation will cause panic.
Essentially IRAM functions and intrrupt flag ESP_INTR_FLAG_IRAM are
different, the latter means not disabling the ISR during flash
operations. New bus_config flag intr_flags is offered to help set the
interrupt attribute, including priority level, SHARED, IRAM (not
disabled during flash operations). It introduced a small BREAK to
IDFv3.1 (but the same as IDFv3.0) that the user has to manually set IRAM
flag now (therefore he's aware of the IRAM thing) to void the ISR being
disabled during flash operations.
2018-12-05 10:25:57 +08:00
Tian Hao
155e48bbde
component/bt and esp32: fix two bluetooth bugs that caused by coexist module
...
1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
2. Fix BLE assert(512) or assert(1536) in rwble.c at line 222
3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222
The #1 and #2 occurs random.
The #3 bug occurs in certain scenario:
1. If Wifi start softap and BLE is working
2. If wifi start station, but do not use normal station operation, such
as just use espnow, while BLE is working
3. Any other scenario, that wifi works without use software coexist
operation, while BLE is working(such as do advertising and ...)
4. update libcoexist.a version to v1.1.2
2018-12-03 22:09:04 +08:00
Angus Gratton
13155223f3
Merge branch 'ci/combine_unit_test_and_integration_test_v3.1' into 'release/v3.1'
...
ci: combine unit_test and integration_test stage (backport v3.1)
See merge request idf/esp-idf!3844
2018-12-03 11:28:49 +08:00
He Yin Ling
61ecee012e
ci: combine unit_test and integration_test stage:
...
The number of runners of integration test is not bottleneck to CI
pipeline performance now. Combine these 2 stages will make integration
test executed even unit test fails. This could help us to collect more
info about test history.
2018-11-30 13:45:53 +08:00
Angus Gratton
ab8e4069b5
Merge branch 'test/enhanced_junit_test_result_v3.1' into 'release/v3.1'
...
test: enhanced junit test result (backport v3.1)
See merge request idf/esp-idf!3793
2018-11-30 11:38:26 +08:00
zhiweijian
34064b4302
Component/bt: fix accept specified sec auth error
2018-11-29 20:49:54 +08:00
Ivan Grokhotkov
93fcc418fe
Merge branch 'bugfix/i2c_hardware_filter_default_enable_v3.1' into 'release/v3.1'
...
driver(i2c): enable I2C master hardware filter by default for release/v3.1
See merge request idf/esp-idf!3816
2018-11-29 19:29:04 +08:00
Roland Dobai
6393ef0f52
VFS: select() on UART should return immediately when data is buffered
2018-11-29 10:12:25 +01:00
Ivan Grokhotkov
f00c6d1e84
Merge branch 'bugfix/freertos_idle_tick_count_v3.1' into 'release/v3.1'
...
freertos: use xTaskQueueMutex to protect tick count (backport v3.1)
See merge request idf/esp-idf!3728
2018-11-29 12:01:56 +08:00
kooho
2aea6e5e9c
driver(i2c): enable I2C master hardware filter by default for release/v3.1
2018-11-28 17:38:50 +08:00
kooho
47a9e032d8
driver(uart): fixed uart read error bug when using dual core for release/v3.1.
2018-11-28 16:46:23 +08:00
He Yin Ling
a27e0357b8
ci: use artifacts:reports feature of Gitlab CI
2018-11-26 17:22:04 +08:00
He Yin Ling
c229de0564
ci: assign unit test cases in sequence of config and name
2018-11-26 17:22:04 +08:00
He Yin Ling
f298897fb5
test: generate junit test report according to executed cases
2018-11-26 17:10:39 +08:00
He Yin Ling
ab2062aa45
tiny-test-fw: support capture raw data in DUT:
...
test cases might want to use `expect` and get raw data from DUT at the same time. New added capture method provides a way to do that.
2018-11-26 17:08:27 +08:00
He Yin Ling
3892fd2c09
tiny-test-fw: enhanced junit test report support:
...
1. replace xunitgen with junit_xml, which can log more info
2. allow test cases to handle junit test report by them own
3. allow test cases to log some info into report via `sysout` tag
2018-11-26 17:08:27 +08:00
Angus Gratton
87f810dca1
Merge branch 'bugfix/aes_sha_mpi_shared_regs_v3.1' into 'release/v3.1'
...
aes/sha/mpi: Bugfix a use of shared registers. (backport v3.1)
See merge request idf/esp-idf!3637
2018-11-26 16:23:41 +08:00
Konstantin Kondrashov
868da0741c
aes/sha/mpi: Bugfix a use of shared registers.
...
This commit resolves a blocking in esp_aes_block function.
Introduce:
The problem was in the fact that AES is switched off at the moment when he should give out the processed data. But because of the disabled, the operation can not be completed successfully, there is an infinite hang. The reason for this behavior is that the registers for controlling the inclusion of AES, SHA, MPI have shared registers and they were not protected from sharing.
Fix some related issue with shared using of AES SHA RSA accelerators.
Closes: https://github.com/espressif/esp-idf/issues/2295#issuecomment-432898137
2018-11-26 02:42:37 +00:00
Jiang Jiang Jian
09b2cd7d26
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.1' into 'release/v3.1'
...
Component/bt: add check peer addr type in set adv params (backport v3.1)
See merge request idf/esp-idf!3735
2018-11-23 20:14:15 +08:00
Jiang Jiang Jian
f3cf5711bf
Merge branch 'bugfix/fix_some_wifi_bugs_1121_v3.1' into 'release/v3.1'
...
esp32: fix some wifi bugs (backport v3.1)
See merge request idf/esp-idf!3761
2018-11-23 17:08:49 +08:00
Liu Zhi Fu
ddbb535080
esp32: fix some wifi bugs
...
Fix some wifi bugs
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID
2018-11-21 15:24:30 +08:00
Jiang Jiang Jian
195f7274c4
Merge branch 'bugfix/btdm_controller_disable_v3.1' into 'release/v3.1'
...
Fix two bugs when disable bluetooth controller(backport v3.1)
See merge request idf/esp-idf!3693
2018-11-20 17:00:38 +08:00
Jiang Jiang Jian
cdd3131f8a
Merge branch 'bugfix/btdm_errors_in_comment_v3.1' into 'release/v3.1'
...
components/bt: Some errors in comment(backport 3.1)
See merge request idf/esp-idf!3714
2018-11-20 14:26:19 +08:00
Jiang Jiang Jian
37c9b4056a
Merge branch 'bugfix/wifi_sta_sniffer_phy_config_bug_v3.1' into 'release/v3.1'
...
wifi: fix wifi sta and sniffer phy config bug (backport v3.1)
See merge request idf/esp-idf!3723
2018-11-20 14:20:34 +08:00
zhiweijian
dfd46965ae
Component/bt: add check peer addr type in set adv params
2018-11-19 17:21:28 +08:00
David Cermak
e885ff235f
mdns: sending search packets also in probing and announcing state
...
mdns queries did not work properly when send imeadiately after set_hostname, which cuased reinit of pcb and therefore restarted probing, so search packets were blocked until probing finished
closes #2507 , closes #2593
2018-11-19 04:56:34 +01:00
Ivan Grokhotkov
845bbc293a
freertos: use xTaskQueueMutex to protect tick count
...
Having two different spinlocks is problematic due to possibly
different order in which the locks will be taken. Changing the order
would require significant restructuring of kernel code which is
undesirable.
An additional place where taking xTickCountMutex was needed was in
vApplicationSleep function. Not taking xTickCountMutex resulted in
other CPU sometimes possibly advancing tick count while light sleep
entry/exit was happening. Taking xTickCountMutex in addition to
xTaskQueueMutex has shown a problem that in different code paths,
these two spinlocks could be taken in different order, leading to
(unlikely, but possible) deadlocks.
2018-11-19 11:09:37 +08:00
zhangyanjiao
50f8b7b783
wifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
...
when disable sniffer, station will never enable phy and rf againi. (backport v3.1)
2018-11-16 20:19:21 +08:00
Roland Dobai
c4193d5ec1
fatfs: Do not log from critical sections
...
Logging in the critical section can result in a deadlock when the logger
is redirected to FATFS.
Closes https://github.com/espressif/esp-idf/issues/1693
2018-11-16 12:59:38 +01:00
baohongde
8e0bb3ec81
components/bt: Some errors in comment
2018-11-16 15:38:22 +08:00
Ivan Grokhotkov
41caedd0da
Merge branch 'bugfix/app_template_build_v3.1' into 'release/v3.1'
...
esp-idf-template app: some fixes for the updated template app (backport v3.1)
See merge request idf/esp-idf!3701
2018-11-15 20:14:45 +08:00
Jiang Jiang Jian
13d4e43888
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.1' into 'release/v3.1'
...
fix the crash caused by sys_mbox_free (backport v3.1)
See merge request idf/esp-idf!3620
2018-11-15 10:32:06 +08:00
Mahavir Jain
b837e64640
tools: fix cmake build script for sdkconfig test
2018-11-15 01:13:02 +08:00
Anton Maklakov
26e7d01d42
cmake: fix the creation dummy main to avoid rebuilding
2018-11-15 01:12:50 +08:00
Anton Maklakov
bbd0696992
ci: If there is no sdkconfig, we have to generate one
2018-11-15 01:12:42 +08:00
Angus Gratton
d4eab2602f
Merge branch 'bugfix/ethernetif_memory_leak_v3.1' into 'release/v3.1'
...
fix potential ethernet memory leak(backport v3.1)
See merge request idf/esp-idf!3688
2018-11-14 14:23:43 +08:00
Tian Hao
dbd225c673
Fix two bugs when disable bluetooth controller
...
1. Fix the bug that disable controller suddenly cause crash when ble is working
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc.
2018-11-13 17:49:06 +08:00
morris
da8835aa0b
ethernetif: fix potential memory leak
...
1. If L2_TO_L3_RX_BUF_MODE is not selected, we must assign l2_owner explictly before we call pbuf_free.
2018-11-13 11:41:17 +08:00
Jiang Jiang Jian
8e703b14ee
Merge branch 'test/fix_bug_of_scan_interval_and_windows_for_v3.1' into 'release/v3.1'
...
test: fix bug of scan interval and window (backport v3.1)
See merge request idf/esp-idf!3668
2018-11-12 17:34:55 +08:00
Jiang Jiang Jian
79da87def9
Merge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs_v3.1' into 'release/v3.1'
...
esp32: do not try to load PHY data if fail to open NVS (backport v3.1)
See merge request idf/esp-idf!3649
2018-11-12 17:00:14 +08:00
Jiang Jiang Jian
0ffe9f0c4e
Merge branch 'bugfix/mdns_crash_on_network_change_backport3.1' into 'release/v3.1'
...
Fixed mdns crashes on network changes (backport v3.1)
See merge request idf/esp-idf!3579
2018-11-12 15:30:44 +08:00
Jiang Jiang Jian
46fd333167
Merge branch 'bugfix/iperf_bt_error_when_wifi_connect_v3.1' into 'release/v3.1'
...
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backport 3.1)
See merge request idf/esp-idf!3643
2018-11-12 15:29:30 +08:00
XiaXiaotian
8b50419f55
esp32: do not try to load PHY data if fail to open NVS
2018-11-12 03:17:11 +00:00
Jiang Jiang Jian
65691de9bc
Merge branch 'test/change_iperf_test_env_v3.1' into 'release/v3.1'
...
test: use simplified env to test iperf cases (backport v3.1)
See merge request idf/esp-idf!3568
2018-11-12 11:16:51 +08:00
Liu Zhi Fu
3514effcd0
lwip: fix crash caused by sys_mbox_free
...
Fix lwip crashed bug caused by sys_mbox_free()
2018-11-11 11:51:10 +08:00
chensheng
f7b9ea8cb5
test: fix bug of scan interval and window
2018-11-09 11:28:16 +08:00
baohongde
ac124ee89c
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backprot 3.1)
...
1. When WIFI task or other high priority task blocks the Bluetooth task, ACL RX buffer will use up, ACL RX buffer ptr will point to null and will never point to a valid adress. Causing errors in Bluetooth.
2. hcimsgs.h used whether flow control is on or off
2018-11-09 03:26:36 +00:00
He Yin Ling
01cfb0d6bd
Merge branch 'test/fixbug_create_service_check_message_change_v3.1' into 'release/v3.1'
...
test: bugfix create service check message change for v3.1
See merge request idf/esp-idf!3664
2018-11-09 11:22:05 +08:00
Jiang Jiang Jian
69b6eabef0
Merge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp_v3.1' into 'release/v3.1'
...
component/bt: Add profile descriptor list for SPP(backport 3.1)
See merge request idf/esp-idf!3602
2018-11-08 17:27:21 +08:00
Jiang Jiang Jian
8c16be1edc
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release/v3.1'
...
components/bt: Fix the different size of name buffer allocation size(backport 3.1)
See merge request idf/esp-idf!3588
2018-11-08 17:24:53 +08:00
chensheng
a015072a7e
test: bugfix create service check message change for v3.1
2018-11-08 11:23:59 +08:00
Jiang Jiang Jian
7cc2445b9a
Merge branch 'bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_sniff_anchor_point_calculation_error_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3614
2018-11-06 17:12:39 +08:00
wangmengyang
cfef8291bb
component/bt: bugfix of two issues of sniff mode in classic bluetooth
...
1. resolve the error in calculating sniff anchor point that result in connection supervision timeout
2. resolve the issue of user case that requires sniff attempt is larger than 0xff
2018-11-06 12:02:18 +08:00
Jiang Jiang Jian
725978b817
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3600
2018-11-06 11:57:04 +08:00
Jiang Jiang Jian
1e598fc6db
Merge branch 'bugfix/btdm_add_static_passkey_and_accept_specified_sec_aut' into 'release/v3.1'
...
component/bt: add static passkey and accept specified sec auth (backport v3.1)
See merge request idf/esp-idf!3559
2018-11-05 11:02:18 +08:00
Jiang Jiang Jian
08c14389f6
Merge branch 'bugfix/fix_some_wifi_bugs_1022_v3.1' into 'release/v3.1'
...
esp32: fix some wifi bugs (backport v3.1)
See merge request idf/esp-idf!3540
2018-11-02 15:36:46 +08:00
Jiang Jiang Jian
35769b6c50
Merge branch 'docs/wifi_correct_mistake_in_csi_doc_v3.1' into 'release/v3.1'
...
esp32: correct a mistake about secondary channel of CSI in wifi.rst (backport v3.1)
See merge request idf/esp-idf!3406
2018-11-02 15:36:12 +08:00
Ivan Grokhotkov
2aa9a21180
Merge branch 'bugfix/fix_psram_eid_v3.1' into 'release/v3.1'
...
psram: fix psram eid (backport v3.1)
See merge request idf/esp-idf!3467
2018-11-01 22:15:04 +08:00
Ivan Grokhotkov
acdc7b0511
Merge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core_v3.1' into 'release/v3.1'
...
driver(interrupt): fix the issue that interrupt might be allocated and freed on different core for release/v3.1
See merge request idf/esp-idf!3436
2018-11-01 22:14:52 +08:00
Ivan Grokhotkov
3b92e85b30
Merge branch 'bugfix/bootloader_iram_overlap_check_v3.1' into 'release/v3.1'
...
bootloader: verify that loaded image does not overlap bootloader code (backport v3.1)
See merge request idf/esp-idf!3526
2018-11-01 16:40:26 +08:00
Angus Gratton
7d6b82673f
bootloader: Fix crash enabling flash encryption
...
Regression in 9c715d7946
2018-11-01 14:14:18 +08:00
Mahavir Jain
12e5f25a1c
bootloader: keep bootloader_common code to retention region
...
It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-11-01 14:14:00 +08:00
baohongde
539064b93c
component/bt: Add profile descriptor list for SPP(backport 3.1)
...
A cherry-pick of MR !2691
2018-11-01 10:36:11 +08:00
wangmengyang
82e69475ca
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM
2018-10-31 17:54:51 +08:00
Angus Gratton
d09342957d
Merge branch 'bugfix/ci_cmake_examples_v31' into 'release/v3.1'
...
Fix cmake example build failures, gcov (backport 3.1)
See merge request idf/esp-idf!3326
2018-10-31 13:21:42 +08:00
baohongde
7a05ef2002
components/bt: Fix the different size of name buffer allocation size(backport 3.1)
...
A cherry-pick of MR !3587
Close https://github.com/espressif/esp-idf/issues/2615
2018-10-31 10:56:16 +08:00
David Cermak
6a6fccc191
mdns: fixed crashes on network change (not properly locked sending packets to queue from timer task), backport 3.1
2018-10-30 07:37:02 +01:00
Angus Gratton
9c41962e68
examples: Copy ca_cert.pem into both example project dirs
...
Keeps projects all-in-one under a single directory.
2018-10-30 10:59:39 +11:00
Angus Gratton
a7372d5828
cmake: Fix some failing example builds, fix gcov
2018-10-30 10:59:39 +11:00
Angus Gratton
3850f82259
ci: Split build_examples jobs into make & cmake
...
Fix problem where failures in make were being ignored.
2018-10-30 10:59:39 +11:00
Angus Gratton
3f64b39ad5
Merge branch 'doc/nvs_encr_doc_v3.1' into 'release/v3.1'
...
nvs_flash: Update documentation at different places to indicate NVS encryotion is supported
See merge request idf/esp-idf!3479
2018-10-29 17:21:50 +08:00
Sagar Bijwe
536549253d
nvs_flash: Update documentation at different places to indicate NVS encryption is supported
2018-10-29 06:57:28 +00:00
Jiang Jiang Jian
d1d2ce8c28
Merge branch 'ci/only_create_required_jobs_in_pipeline_v3.1' into 'release/v3.1'
...
CI: only create required jobs in pipeline (backport v3.1)
See merge request idf/esp-idf!3565
2018-10-28 21:58:06 +08:00
He Yin Ling
7ad26f30f0
test: use simplified env to test iperf cases
2018-10-27 11:25:43 +08:00
He Yin Ling
97610cfccf
CI: only create required jobs when use bot to trigger test:
...
Gitlab CI now allow us to define if a job need to be created by
varialbes. This commit add label to CI jobs, so we can make some jobs
not created in certain scenarios when we trigger pipeline with @bot.
2018-10-26 19:45:24 +08:00
zhiweijian
143c0bdaf9
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
2018-10-26 14:10:32 +08:00
Ivan Grokhotkov
9ec43e1721
bootloader: verify that loaded image does not overlap bootloader code
...
Fixes CVE-2018-18558
2018-10-26 12:44:58 +08:00
zhiweijian
e5f2f1ba78
Component/bt: add only accept sepecified Authentication
2018-10-26 11:58:25 +08:00
zhiweijian
89ee65e1c6
Component/bt: add set default passkey function
2018-10-26 11:55:18 +08:00
Angus Gratton
4eb20f4d99
Merge branch 'feature/34_coding_scheme_v3.1' into 'release/v3.1'
...
Secure Boot & Flash encryption: Support 3/4 Coding Scheme
See merge request idf/esp-idf!3510
2018-10-26 08:40:51 +08:00
Jiang Jiang Jian
55d7900079
Merge branch 'bugfix/btdm_fix_remove_bond_list_failed_v3.1' into 'release/v3.1'
...
component/bt: fix remove bond list failed (backport v3.1)
See merge request idf/esp-idf!3516
2018-10-25 18:50:44 +08:00
zwj
4b5cf90a95
component/bt: fix remove bond list failed
2018-10-25 05:32:01 +00:00
Liu Zhi Fu
9edde5e8af
esp32: fix some wifi bugs
...
Fix following WiFi bugs:
1. Fix the bug that MIC verification fails on soft-AP mode
2. Modify mesh root to have same behavior as normal WiFi STA in state change
3. Fix the bug that sniffer can't catch control packets
4. Fix crash bug in soft-AP mode
5. Fix ACM(Admission Control Management) bug
2018-10-25 12:05:27 +08:00
Angus Gratton
67ad5852f6
Secure Boot & Flash encryption: Support 3/4 Coding Scheme
...
Includes esptool update to v2.6-beta1
2018-10-24 23:21:17 +00:00
Angus Gratton
5641ff1b42
Merge branch 'feature/ci_multi_python_v3.1' into 'release/v3.1'
...
CI: Support switching between various versions of Python (backport v3.1)
See merge request idf/esp-idf!3534
2018-10-25 07:20:12 +08:00
Jiang Jiang Jian
7778b9d83a
Merge branch 'bugfix/tw26711_fix_wifi_memory_v3.1' into 'release/v3.1'
...
esp32: fix wifi memory leak (backport v3.1)
See merge request idf/esp-idf!3524
2018-10-22 21:20:20 +08:00
Roland Dobai
afeaf64624
CI: Support switching between various versions of Python
2018-10-22 12:56:07 +02:00
Liu Zhi Fu
6159788b97
esp32: fix wifi memory leak
...
Fix a WiFi memory leak bug
2018-10-21 20:43:48 +08:00
XiaXiaotian
695b25775e
esp32: correct a mistake about secondary channel of CSI in wifi.rst
2018-10-19 12:25:30 +00:00
Jiang Jiang Jian
ccddd3bc01
Merge branch 'bugfix/coex_hw_blocking_2nd_v3.1' into 'release/v3.1'
...
coexist : fix coexist bugs related to coex hw blocking
See merge request idf/esp-idf!3415
2018-10-18 21:25:33 +08:00
Tian Hao
e982c25b40
coexist : fix coexist bugs related to coex hw blocking
...
1. fix some bugs by previous coex hw blocking bugfix,
such like, rwble.c (64, 0) line 222
2. fix bug that ble scan performance is very low when software coexist
is working.
3. update libcoexist version to v1.1.0
2018-10-17 18:30:39 +08:00
Jiang Jiang Jian
7707b9fc91
Merge branch 'bugfix/tw26696_fix_wifi_timer_v3.1' into 'release/v3.1'
...
Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)
See merge request idf/esp-idf!3494
2018-10-17 17:30:46 +08:00
Liu Zhi Fu
f97e2d3bde
Bugfix/tw26696 fix wifi timer v3.1 (backport v3.1)
2018-10-17 17:30:46 +08:00
Ivan Grokhotkov
93f04b87b2
Merge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1'
...
app_update: fix intermittent failure with firmware updates (backport v3.1)
See merge request idf/esp-idf!3419
2018-10-16 10:58:24 +08:00
Angus Gratton
d444469cae
heap: Fix heap metadata test to account for background memory allocations
2018-10-12 18:22:07 +11:00
chenjianqiang
64b41b5602
bugfix(psram): fix psram driver
...
1. remove use EID to distinguish psram voltage
2. 1V8 64Mbit psram and 3V3 64Mbit psram use the same psram driver(standard spi interface)
3. set cs hold time register as 1
2018-10-11 12:22:34 +08:00
Wangjialin
b26b1389de
feature(psram): add support for 64MBit psram of 1.8v and 3.3v.
...
1. Add reading psram EID.
2. Configure different clock mode for different EID.
3. add API to get psram size and voltage.
4. Remove unnecessary VSPI claim.
For 32MBit@1.8V and 64MBit@3.3V psram, there should be 2 extra clock cycles after CS get high level.
For 64MBit@1.8 psram, we can just use standard SPI protocol to drive the psram. We also need to increase the HOLD time for CS in this case.
EID for psram:
32MBit 1.8v: 0x20
64MBit 1.8v: 0x26
64MBit 3.3v: 0x46
2018-10-11 12:21:31 +08:00
Jiang Jiang Jian
3cf2f09469
Merge branch 'bugfix/several_bugfix_about_ba_session_setup_v3.1' into 'release/v3.1'
...
esp32: several fixes about BA session setup (backport v3.1)
See merge request idf/esp-idf!3456
2018-10-11 11:42:15 +08:00
kooho
fb30315d01
driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores for release/v3.1
2018-10-10 19:22:34 +08:00
Angus Gratton
027e081622
Merge branch 'bugfix/misc_v3_1_backports' into 'release/v3.1'
...
Multiple v3.1 backports
See merge request idf/esp-idf!3378
2018-10-10 15:01:13 +08:00
Liu Zhi Fu
84b4916fb8
esp32: several fixes about BA session setup
...
1. Fix the bug that ESP32 will reject the retry AddBA request frame
if AddBA response frame is failed to sent by WiFi LMAC
2. Fix the bug that AddBA request retrys too frequently
3. Forbid BA session setup for VO queue related TID
2018-10-10 14:04:29 +08:00
Angus Gratton
27023a77e7
Merge branch 'fix/spi_master_cmd_addr_lsbfirst_v3.1' into 'release/v3.1'
...
spi_master: fix the command and address field when LSB_FIRST enabled (Backport v3.1)
See merge request idf/esp-idf!3446
2018-10-09 11:46:41 +08:00
Jiang Jiang Jian
1a3db605c2
Merge branch 'bugfix/no_disconnect_event_report_if_no_correct_status_code_report_v3.1' into 'release/v3.1'
...
Bugfix of no disconnect event report if no correct status code report( Backport v3.1)
See merge request idf/esp-idf!3386
2018-10-08 21:35:02 +08:00
michael
712b9374af
test: modify the command/address test a bit to test the LSBFIRST feature
2018-10-08 19:19:47 +08:00
michael
06321a5241
spi: move gpio direction config to common func for coinsistence
...
(MINOR CHANGE)
2018-10-08 19:19:47 +08:00
Michael (XIAO Xufeng)
b9f10a71ea
spi_master: fix the command and address field when LSB_FIRST enabled
...
Resolves https://github.com/espressif/esp-idf/issues/2444 .
2018-10-08 19:19:31 +08:00
Angus Gratton
97219eeb31
Merge branch 'feature/nvs_encr_v3.1' into 'release/v3.1'
...
nvs_flash: Add support for nvs encryption
See merge request idf/esp-idf!3434
2018-10-08 16:20:28 +08:00
Mahavir Jain
a2f2cd3b41
app_update: remove unrequired static attribute from mmap handle
2018-10-08 03:18:37 +00:00
Mahavir Jain
bbad487deb
app_update: fix intermittent failure with firmware updates
...
Routine `spi_flash_cache2phys` sometimes return incorrect value,
resulting in failure in getting currently running ota partition.
This in turn aborts firmware update process.This issue was more
prominent with SPIRAM enabled cases.
Fix ensures proper cache guards during `spi_flash_cache2phys`, and
also for few other similar APIs.
In addition, `esp_ota_get_running_partition` has also been optimized
to save currently running partition for subsequent invocations.
Fixes https://github.com/espressif/esp-idf/issues/2451
2018-10-08 03:18:37 +00:00
Angus Gratton
7930cfdba9
Merge branch 'bugfix/disable_coding_scheme_security_features_v3.1' into 'release/v3.1'
...
bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme (v3.1)
See merge request idf/esp-idf!3421
2018-10-08 07:06:40 +08:00
Sagar Bijwe
68a9d1168f
nvs_flash: Add support for nvs encryption
2018-10-04 19:25:12 +05:30
Angus Gratton
1755fba8dc
esptool: Update to v2.5.1
...
Release notes: https://github.com/espressif/esptool/releases/tag/v2.5.1
Needed to no longer burn keys if 3/4 Coding Scheme is enabled.
2018-10-04 16:51:30 +10:00
Angus Gratton
d7615df616
bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme
2018-10-04 16:51:30 +10:00
Angus Gratton
541e02a7e3
Merge branch 'bugfix/bootloader_gen_secure_boot_digest_v3.1' into 'release/v3.1'
...
bootloader: Fix secure boot digest generation for image length where (len%128 < 32) (backport v3.1)
See merge request idf/esp-idf!3411
2018-10-03 11:38:00 +08:00
Angus Gratton
d899bf029d
Merge branch 'fix/sdio_slave_reset_ret_queue_v3.1' into 'release/v3.1'
...
sdio_slave: fix the ret_queue crash issue when being reset by the master (Backport v3.1)
See merge request idf/esp-idf!3394
2018-10-03 09:24:08 +08:00
Jiang Jiang Jian
f11ac037c4
Merge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone_v3.1' into 'release/v3.1'
...
component/bt: Fix BTU task watchdog timeout after pair with iphone (backport 3.1)
See merge request idf/esp-idf!3396
2018-09-30 14:39:09 +08:00
Jiang Jiang Jian
0846615e98
Merge branch 'bugfix/btdm_controller_stuck_on_waking_up_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_controller_stuck_on_waking_up_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3397
2018-09-30 14:26:04 +08:00
Angus Gratton
f16b3754fb
bootloader: Fix secure boot digest generation for image length where (len%128 < 32)
2018-09-30 00:45:07 +10:00
Deng Xin
862b7b22b5
Bugfix of no disconnect event report if no correct status code report
...
Problem Description
The reporduce steps are as follows:
1.This issue can be reproduced with 4 ESP32 devices, 2 for stations (STA1, STA2) and 2 for soft-AP (AP1, AP2)
2.Configure AP1/AP2 to the same SSID (ssid_xxx)
3.The max allowed WiFi connections of AP1 is configured to 1 and STA1 connects to AP1
4.The AP1 is close to STA2 while AP2 is far away from STA2 (but the STA2 can find the AP2 via scan)
5.STA2 connects ssid_xxx with all scan method
6.The problem will happen on STA2 because it fails to connec AP1 and never connects AP2
Phenmenon
STA fail to connect after send auth or assoc with a wrong status code, but no disconnect event report and can not connect the next one in the envrionment
Root Cause
Because there are some same ssid APs in the evnrionment, when do all channel scan, it will collect all the matched AP in rc list, because rc list is not empty, so it would send disconnect event, however, we didn't do other step such as connect to other one
VNC MR 575
closes https://github.com/espressif/esp-idf/issues/2323
2018-09-29 16:18:26 +08:00
wangmengyang
e353d09630
component/bt: bugfix that hci down stream datapath is unblocked too early on waking up from sleep
...
This issue can cause the controller to stuck after sleep interrupt happens and clock interrupt enabled
2018-09-28 14:31:49 +08:00
Ivan Grokhotkov
5205b31186
Merge branch 'bugfix/btdm_coex_hw_blocking_v3.1' into 'release/v3.1'
...
component/bt : fix coexist hardware blocking bug
See merge request idf/esp-idf!3363
2018-09-28 11:57:26 +08:00
baohongde
de0a323bef
component/bt: Fix BTU task watchdog timeout after pair with iphone (backport 3.1)
...
A cherry-pick of MR !3366
Create a new pending queue, then re-submit pending requests in old pending queue,preventing new events being inserted into it.
Closes https://github.com/espressif/esp-idf/issues/2191
2018-09-28 11:04:44 +08:00
michael
39f97ee0d0
sdio_slave: fix the ret_queue crash issue when being reset by the master
2018-09-27 21:33:45 +08:00
Tian Hao
ebdc82d3d2
component/bt : fix coexist hardware blocking bug
...
fix the bug following:
1. after disable bluetooth controller, wifi cannot TX/RX any packets.
2. when software coexist working, there's a little ratio cause wifi task
watchdog timeout
3. when software coexist working, there's a little ratio cause bluetooth
cannot receive anything.
feature:
1. add libbtdm_app.a git commit local and remote checking
Known issues:
1. there's still a bug occurs with a very very low ratio cause bluetooth
cannot receive anything. The reproduce interval may great than 3days
~ 1week via 7x24 hours heavy testing.
2018-09-27 20:56:46 +08:00
Angus Gratton
773d282d71
Merge branch 'feature/backport_mp_support' into 'release/v3.1'
...
nvs-flash: Support for blobs larger than half of SPI Flash sector size
See merge request idf/esp-idf!3350
2018-09-27 17:19:32 +08:00
Angus Gratton
fc7ff2a59c
Merge branch 'bugfix/btdm_fix_get_bond_list_error_sometimes_v3.1' into 'release/v3.1'
...
Component/bt: fix get bond list error sometimes(backport v3.1)
See merge request idf/esp-idf!3365
2018-09-27 17:16:41 +08:00
Ivan Grokhotkov
c4ce84bba5
cmake: add app_trace as FreeRTOS dependency
...
This is needed because FreeRTOSConfig.h includes header file provided
by app_trace when CONFIG_SYSVIEW_ENABLE=y.
2018-09-27 13:35:11 +08:00
Ivan Grokhotkov
315f18766c
cmake: pass repository path to git when doing git describe
...
Fixes getting IDF version in out-of-tree builds
2018-09-27 13:35:11 +08:00
negativekelvin
9ad19e8122
wpa_supplicant: more wpa2_enterprise fixes
...
Merges https://github.com/espressif/esp-idf/pull/2386
Closes https://github.com/espressif/esp-idf/issues/2383
Closes https://github.com/espressif/esp-idf/issues/2381
2018-09-27 13:35:11 +08:00
Ivan Grokhotkov
75fcd062e8
esp32: abort when running on single core chip in dual core mode
...
Ref. https://esp32.com/viewtopic.php?f=2&t=7307
2018-09-27 13:35:11 +08:00
Ivan Grokhotkov
b7fde00aed
sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used
...
Fixes a bug that if application uses RTC_NOINIT variables but doesn’t
use RTC_DATA variables, then RTC_NOINIT variables loose their values
after deep sleep.
Reported in https://esp32.com/viewtopic.php?f=2&t=7045&p=30301#p30299
2018-09-27 11:31:28 +08:00
Ivan Grokhotkov
d6547595d7
bt: build unit tests only when CONFIG_BT_ENABLED=1
2018-09-27 11:31:10 +08:00
zhiweijian
5bb12070d9
Component/bt: fix get bond list error sometimes
2018-09-27 02:33:33 +00:00
Angus Gratton
83b8f38484
Merge branch 'bugfix/cmake_lambda_v3.1' into 'release/v3.1'
...
idf.py: Make the lambda function Python 2 & 3 compatible (backport v3.1)
See merge request idf/esp-idf!3249
2018-09-27 10:22:00 +08:00
Jiang Jiang Jian
bdb65ed066
Merge branch 'bugfix/btdm_bt_remove_device_fail_when_ble_connected_v3.1' into 'release/v3.1'
...
component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at…
See merge request idf/esp-idf!3368
2018-09-26 18:57:36 +08:00
Jiang Jiang Jian
cbb5b6f50b
Merge branch 'mesh/bugfix_v3.1' into 'release/v3.1'
...
Mesh/bugfix v3.1 (backport3.1)
See merge request idf/esp-idf!3358
2018-09-26 16:14:40 +08:00
baohongde
cc0a73c156
component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at the same time (backport 3.1)
...
A cherry-pick of MR !2767
2018-09-26 14:23:05 +08:00
qiyueixa
1d4ae1e9ad
mesh: bugfix
...
1. suppport mesh type, mesh ID, router and IE crypt func&key at any time after mesh is initalized.
2. support modify parent at any time after mesh is configured.
3. modify manual networking example.
4. update header file.
5. fix issues in root conflicts handling.
6. add max length of beacon to menuconfig.
7. fix issue when received a beacon without DSSS.
2018-09-25 13:43:55 +08:00
Sagar Bijwe
e14b836fcc
nvs-flash: Support for blobs larger than half of SPI Flash sector size
...
This change removes the earlier limitation of 1984 bytes for storing data-blobs.
Blobs larger than the sector size are split and stored on multiple sectors.
For this purpose, two new datatypes (multi-page index and multi-page data) are
added for entries stored in the sectors. The underlying read, write, erase and find
operations are modified to support these large blobs. The change is transparent
to users of the library and no special APIs need to be used to store these large
blobs.
2018-09-24 18:50:35 +05:30
Jiang Jiang Jian
fbcfc869e2
Merge branch 'bugfix/fix_the_bug_create_socket_fail_v3.1' into 'release/v3.1'
...
lwip: fix the bug that failed to create socket (backport v3.1)
See merge request idf/esp-idf!3311
2018-09-20 18:44:18 +08:00
Jiang Jiang Jian
4107361a3a
Merge branch 'bugfix/btdm_fix_crash_when_test_multi_connect_v3.1' into 'release/v3.1'
...
Component/bt: fix crash when test multi_connect(backport v3.1)
See merge request idf/esp-idf!3313
2018-09-20 14:02:12 +08:00
Jiang Jiang Jian
e8aa442305
Merge branch 'bugfix/btdm_fix_save_error_key_in_smp_when_reconnect_v3.1' into 'release/v3.1'
...
Component/bt: fix save error key in smp when reconnect(backport v3.1)
See merge request idf/esp-idf!3289
2018-09-20 10:58:01 +08:00
Jiang Jiang Jian
82ee078d9a
Merge branch 'bugfix/btdm_fix_iphoneX_error_when_get_wifi_list_v3.1' into 'release/v3.1'
...
Component/bt: fix iPhoneX error when getting wifi list (backport v3.1)
See merge request idf/esp-idf!3314
2018-09-20 10:55:08 +08:00
Jiang Jiang Jian
f90512ba39
Merge branch 'bugfix/mdns_memory_leak_backport_v3.1' into 'release/v3.1'
...
feat(mdns): fix bug when clean action memory (backport v3.1)
See merge request idf/esp-idf!3305
2018-09-19 18:05:51 +08:00
Liu Zhi Fu
bb48077a81
lwip: fix the bug that failed to create socket
...
Fix the bug that failed to create nonblocking TCP or UDP socket after several times socket create/close
2018-09-19 16:43:25 +08:00
zhiweijian
72f9d15a57
Component/bt: fix iPhoneX error when getting wifi list
2018-09-19 15:21:57 +08:00
zhiweijian
78dca32a28
Component/bt: fix crash when test multi_connect
2018-09-19 14:26:55 +08:00
Liu Han
52a70b3418
feat(mdns): fix bug when clean action memory
2018-09-18 23:39:10 +05:30
Jiang Jiang Jian
889c80ec1c
Merge branch 'bugfix/backport_several_wifi_bugfix_v3.1' into 'release/v3.1'
...
esp32: backport several WiFi bug fixes to v3.1 (backport v3.1)
See merge request idf/esp-idf!3280
2018-09-18 20:03:32 +08:00
Angus Gratton
922bae0be3
Merge branch 'bugfix/cmake_make_flash_target_v3.1' into 'release/v3.1'
...
cmake: Fix "make flash" & "ninja flash" targets
See merge request idf/esp-idf!3295
2018-09-18 10:49:52 +08:00
Angus Gratton
982a7fa499
Merge branch 'fix/spi_slave_free_cs_v3.1' into 'release/v3.1'
...
spi_slave: fix the issue rx dma get broken by master unexpected transaction (backport v3.1)
See merge request idf/esp-idf!3294
2018-09-18 08:08:41 +08:00
Angus Gratton
52413e9925
Merge branch 'feature/signature_verify_updates_v3.1' into 'release/v3.1'
...
secure boot: Support signed app verification without hardware secure boot (backport v3.1)
See merge request idf/esp-idf!3184
2018-09-18 07:56:12 +08:00
Angus Gratton
cfb96e67f9
cmake: Fix "make flash" & "ninja flash" targets
...
As reported on forum.
Requires a small CMake wrapper script to pick
up environment variables at flashing time.
2018-09-18 09:32:54 +10:00
michael
a7c67c1681
spi_slave: fix the issue rx dma get broken by master unexpected transaction
2018-09-17 22:36:49 +08:00
zhiweijian
53d75901a9
Component/bt: fix save error key in smp when reconnect
2018-09-17 20:13:30 +08:00
Jiang Jiang Jian
8f665c3393
Merge branch 'bugfix/btdm_enable_modem_sleep_by_default_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_enable_modem_sleep_by_default_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3275
2018-09-17 16:17:46 +08:00
Jiang Jiang Jian
b5365c19f7
Merge branch 'bugfix/btdm_unreserve_scn1_for_hfp_v3.1' into 'release/v3.1'
...
component/bt: Unlock reserve of SCN 1 for HFP (backport v3.1)
See merge request idf/esp-idf!3285
2018-09-17 16:17:08 +08:00
XiaXiaotian
738afe2de3
esp32: backport several WiFi bug fixes to v3.1
...
Backport following WiFi fixes to v3.1:
1. Fix AMPDU RX sequence compitability bug
2. Optimize scan capability in all channel scan
3. Fix some modem sleep bugs
4. Update API to set CSI channel filter and HT_LTF data generating
2018-09-17 14:40:24 +08:00
baohongde
ea3b2716fd
component/bt: Unlock reserve of SCN 1 for HFP (backport v3.1)
...
A cherry-pick of MR !3269
2018-09-17 11:01:58 +08:00
Jiang Jiang Jian
bfcb673c8e
Merge branch 'bugfix/tw24694_dns_request_no_reply_v3.1' into 'release/v3.1'
...
lwip: add code for sending gratuitous ARP periodically (backport v3.1)
See merge request idf/esp-idf!3195
2018-09-16 15:18:39 +08:00
Jiang Jiang Jian
e5d8a68d96
Merge branch 'bugfix/mdns_service_txt_set_backportv3.1' into 'release/v3.1'
...
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records (backport v3.1)
See merge request idf/esp-idf!3254
2018-09-16 15:12:03 +08:00
Jiang Jiang Jian
760772ec4b
Merge branch 'bugfix/ble_adv_data_tx_power_v3.1' into 'release/v3.1'
...
fix TX power value in ble adv data is incorrect
See merge request idf/esp-idf!3187
2018-09-16 14:54:59 +08:00
Jiang Jiang Jian
1a9d40ca3d
Merge branch 'bugfix/btdm_controller_enable_failed_in_examples_for_v3.1' into 'release/v3.1'
...
Bugfix/btdm controller enable failed in examples for v3.1(backport v3.1)
See merge request idf/esp-idf!3266
2018-09-14 19:41:10 +08:00
Jiang Jiang Jian
9773c019d8
Merge branch 'doc/btdm_a2dp_source_example_improvement_for_v3.1' into 'release/v3.1'
...
Doc/btdm a2dp source example improvement for v3.1(backport v3.1)
See merge request idf/esp-idf!3233
2018-09-14 19:39:16 +08:00
Jiang Jiang Jian
67ef1865a6
Merge branch 'doc/btdm_a2dp_sink_example_improvement_for_v3.1' into 'release/v3.1'
...
doc/btdm_sink_example_improvement_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3234
2018-09-14 19:38:57 +08:00
Jiang Jiang Jian
3db38f8281
Merge branch 'bugfix/btdm_a2dp_role_mixed_up_for_v3.1' into 'release/v3.1'
...
Bugfix/btdm a2dp role mixed up for v3.1(backport v3.1)
See merge request idf/esp-idf!3267
2018-09-14 19:32:53 +08:00
wangmengyang
c6d2fc6807
component/bt: enable bluetooth modem sleep as default setting
2018-09-14 17:01:45 +08:00
Piyush Shah
9237110c5c
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records
...
Allocation was happening later, causing possible use of stack variables
of caller function, which could be invalid.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2018-09-14 11:17:53 +05:30
wangmengyang
4c240064ab
component/bt: stop to inititate AVRC connection when A2DP connection fails to set up
...
AVRCP connection binds to A2DP in current implementation, despite the two profiles are\
independent according to specification. AVRCP connection is not necessary to set-up \
if A2DP connection fails to establish
2018-09-13 17:58:00 +08:00
wangmengyang
da4108dd1e
component/bt: stop to initiate AVDTP connection on failure of A2DP service discovery
...
In opening state of AVDTP connection, if SDP client fails to get valid A2DP service record\
from peer SDP server, then do not initiate AVDTP connection request
2018-09-13 17:58:00 +08:00
wangmengyang
01994059e2
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
...
In pevious implementation, A2DP sink will register an A2DP source Stream End Point(SEP) although the SEP is not\
supposed to be used. Now remove the unused SEP for source so that only one role of A2DP can be supported at one
time. Service record in local SDP server only includes at most one service for A2DP sink role or source
2018-09-13 17:58:00 +08:00
wangmengyang
763fa9b0fa
component/bt: release some controller memory according to the configuration of bluetooth examples
2018-09-13 17:46:01 +08:00
wangmengyang
a55c7a62ad
component/bt: bugfix for mismatch of controller mode in sdkconfig.defaults and source code in some examples
2018-09-13 17:46:00 +08:00
He Yin Ling
0e1f561a32
test: fix incorrect tx power value in adv
2018-09-13 15:48:52 +08:00
Angus Gratton
cea4d31325
Merge branch 'feature/cmake_make_main_component_again_v3.1_bp' into 'release/v3.1'
...
cmake: make main a component again (backport v3.1)
See merge request idf/esp-idf!3247
2018-09-13 15:37:25 +08:00
Angus Gratton
af86b9cbce
Merge branch 'doc/eclipse_parallel_build_v31' into 'release/v3.1'
...
docs: Add parallel builds to Eclipse setup (backport v3.1)
See merge request idf/esp-idf!3219
2018-09-13 15:36:35 +08:00
Angus Gratton
f16e78f72c
Merge branch 'bugfix/ci_github_deploy_v31' into 'release/v3.1'
...
ci: Fix spurious pipeline failure when deploying a tag to GitHub (backport v3.1)
See merge request idf/esp-idf!3220
2018-09-13 15:36:28 +08:00
Renz Christian Bagaporo
bc8540fec1
cmake: fix source list issues
2018-09-13 11:13:27 +08:00
Ivan Grokhotkov
533c5e98e8
cmake: don't add main component Kconfig twice
2018-09-13 11:13:27 +08:00
Ivan Grokhotkov
d04718bbe3
cmake: use built-in file function to create dummy main
2018-09-13 11:13:27 +08:00
Renz Bagaporo
7edf2bf66c
cmake: make main a component again
2018-09-13 11:13:27 +08:00
Tian Hao
a05868f0a8
fix TX power value in ble adv data is incorrect
...
refence to https://github.com/espressif/esp-idf/issues/2284
Before fixing, the tx power in adv data is always 0xeb(-21dbm).
restriction:
If change BLE advertising TX power, please call esp_ble_gap_config_adv_data()
after BLE adv TX power changed.
Later, will implement set BLE advertising TX power via HCI, then the
TX power value in adv data can be update automatically after BLE adv
TX power changed.
2018-09-12 10:19:08 +00:00
Roland Dobai
5b1d8d64f2
idf.py: Make the lambda function Python 2 & 3 compatible
2018-09-12 11:45:01 +02:00
wangmengyang
031ec7af93
component/bt: fix the format and add more content to A2DP source example document and source code
2018-09-12 10:48:15 +08:00
wangmengyang
2a5802241f
component/bt: fix the format and add more content to A2DP sink example document and source code
2018-09-12 10:44:58 +08:00
zhangyanjiao
f6f4d7b410
add code for sending gratuitous ARP periodically
2018-09-11 15:20:24 +08:00
Jiang Jiang Jian
8e20c13348
Merge branch 'bugfix/fix_the_bug_when_gateway_zero_v3.1' into 'release/v3.1'
...
esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0 (backport v3.1)
See merge request idf/esp-idf!3238
2018-09-11 12:07:28 +08:00
zhangyanjiao
f617a33b8d
esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0
2018-09-11 10:57:17 +08:00
Angus Gratton
782ab8d872
Merge branch 'fix/sdio_slave_recv_isr_load_v3.1' into 'release/v3.1'
...
sdio_slave: fix the recv crash when trans finish and load at the same time (backport v3.1)
See merge request idf/esp-idf!3232
2018-09-11 09:44:49 +08:00
michael
b3697e7741
sdio_slave: fix the recv crash when trans finish and load at the same time
2018-09-10 15:17:07 +08:00
Angus Gratton
da3c1be049
ci: Fix spurious pipeline failure when deploying a tag to GitHub
...
Everything succeeds, but because [ -z ${CI_COMMIT_TAG} ] on the last line returns non-zero, it
fails the job.
2018-09-07 15:21:51 +08:00
Jiang Jiang Jian
35785d08fd
Merge branch 'feature/btdm_legacy_paring_v3.1' into 'release/v3.1'
...
component/bt: Add Legacy Pairing (backport 3.1)
See merge request idf/esp-idf!3193
2018-09-07 14:44:19 +08:00
morris
05fbfe21b9
doc: translate parallel build in Eclipse
2018-09-07 14:40:29 +08:00
Angus Gratton
4fc1587f6c
doc: Add parallel builds to the Eclipse setup guide
2018-09-07 14:40:29 +08:00
Ivan Grokhotkov
297945c32e
Merge branch 'test/split_test_env_for_integration_test_v3.1' into 'release/v3.1'
...
test: split CI test environment (backport v3.1)
See merge request idf/esp-idf!3211
2018-09-07 11:06:51 +08:00
Jiang Jiang Jian
d193895ec6
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3188
2018-09-06 19:52:05 +08:00
He Yin Ling
f1bf446410
test: split CI test environment:
...
Currently CI test environment is complicated, usually includes NIC, AP.
These devices are not used for a lot test cases. Therefore we split the
test environment, remove unnecessary devices. Then it will be easier to
create CI runners.
2018-09-06 16:35:34 +08:00
Jiang Jiang Jian
e6a0eb74c8
Merge branch 'bugfix/btdm_discovery_ble_v3.1' into 'release/v3.1'
...
component/bt : fix bug that set discovery mode will stop ble adv
See merge request idf/esp-idf!3189
2018-09-06 14:19:31 +08:00
Jiang Jiang Jian
b3189bae38
Merge branch 'bugfix/tw25969_esp_derive_local_mac_missing_v3.1' into 'release/v3.1'
...
defination: fix the bug that esp_derive_local_mac() defination missing (backport v3.1)
See merge request idf/esp-idf!3199
2018-09-05 17:21:20 +08:00
zhangyanjiao
c27c381ba2
defination: fix the bug that esp_derive_local_mac() defination missing
2018-09-05 14:42:23 +08:00
baohongde
95c5805088
component/bt: Add Legacy Pairing (backport 3.1)
...
A cherry-pick of MR !3057
2018-09-04 20:59:03 +08:00
Tian Hao
196793dccb
component/bt : fix bug that set discovery mode will stop ble adv
...
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode,
when set discovery mode for BR/EDR, it will stop ble advertising.
Reference to https://github.com/espressif/esp-idf/issues/2306
2018-09-04 20:29:36 +08:00
wangmengyang
7c6d447938
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length
2018-09-04 20:24:00 +08:00
Jitin George
7d847e60ec
docs/en/security: Add documentation for signed apps without hardware secure boot feature
2018-09-04 19:10:32 +08:00
Angus Gratton
b069b31a2c
secure boot: Support secure boot signatures without hardware secure boot
...
Allows OTA updates to be secured via signature checks, without requiring the overhead or complexity
of a full secure boot implementation.
Uses same signing mechanisms (build system and/or espsecure.py as Secure Boot).
Requires:
* [ ] More testing
* [ ] Documentation
2018-09-04 19:10:02 +08:00
Jiang Jiang Jian
969161183a
Merge branch 'bugfix/esp_wifi_disconnect_fail_v3.1' into 'release/v3.1'
...
update wifi lib to fix two bugs (backport v3.1)
See merge request idf/esp-idf!3158
2018-09-04 15:06:49 +08:00
Jiang Jiang Jian
45e29a817c
Merge branch 'bugfix/btdm_update_private_address_v3.1' into 'release/v3.1'
...
component/bt: Update BLE private address after it's private address interval (backport 3.1)
See merge request idf/esp-idf!3170
2018-09-04 14:10:47 +08:00
Jiang Jiang Jian
dabebbf639
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash_v3.1' into 'release/v3.1'
...
component/bt: Fix bug rfcomm test command cause crash (backport 3.1)
See merge request idf/esp-idf!3169
2018-09-04 14:10:05 +08:00
Jiang Jiang Jian
cd78dc632a
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success_v3.1' into 'release/v3.1'
...
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.1)
See merge request idf/esp-idf!3164
2018-09-04 14:09:36 +08:00
Angus Gratton
33b3418b4e
Merge branch 'mesh/rewrite_docs_backport_v3.1' into 'release/v3.1'
...
docs/rewrite_mesh_docs (backport v3.1)
See merge request idf/esp-idf!3168
2018-09-03 18:12:12 +08:00
baohongde
6a2f492832
component/bt: Update BLE private address after it's private address interval (backport 3.1)
...
A cherry-pick of MR !2987
2018-09-03 14:27:15 +08:00
baohongde
24a03a8d3f
component/bt: Fix bug rfcomm test command cause crash (backport 3.1)
...
A cherry-pick of MR !3080
2018-09-03 14:17:56 +08:00
Darian Leung
27ffeacf07
docs/rewrite_mesh_docs
...
The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.
2018-09-03 13:03:32 +08:00
baohongde
b1da63d645
component/bt: Fix bug of SDP find services by uuid always return success (backport 3.1)
...
A cherry-pick of MR !3036
2018-09-03 11:52:19 +08:00
zhangyanjiao
ec3a1318dc
update wifi lib to fix two bugs
...
1. fix the esp_wifi_disconnect() err when wifi is not started or inited
2. make g_intr_lock_mux and g_osi_funs_p in DRAM
2018-08-31 20:10:20 +08:00
Jiang Jiang Jian
22da5f6de9
Merge branch 'bugfix/btdm_security_vulnerability_v3.1' into 'release/v3.1'
...
fix bluetooth security vulnerability of ECDH public key checking
See merge request idf/esp-idf!3139
2018-08-31 02:11:55 +08:00
Jiang Jiang Jian
0ec9d3ec7d
Merge branch 'bugfix/wifi_reorder_mpdu_as_ampdu_v3.1' into 'release/v3.1'
...
esp32: reorder MPDU as AMPDU (backport v3.1)
See merge request idf/esp-idf!3140
2018-08-31 01:59:55 +08:00
Angus Gratton
70764a4cf9
Merge branch 'bugfix/ci_use_mirror_for_public_v3.1' into 'release/v3.1'
...
ci: Use local mirrors on the public branches (master, release-) too
See merge request idf/esp-idf!3126
2018-08-30 14:22:42 +08:00
XiaXiaotian
2ad5686937
esp32: reorder MPDU as AMPDU
...
Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
receive both AMPDU and MPDU in order, MPDU must be reordered with
AMPDU.
2018-08-30 11:46:16 +08:00
He Yin Ling
84d10d8dad
Merge branch 'test/fix_test_summary_duplicate_v3.1' into 'release/v3.1'
...
test: fix duplicated summary of BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009
See merge request idf/esp-idf!3086
2018-08-30 11:20:58 +08:00
Tian Hao
7f8de47631
fix bluetooth security vulnerability of ECDH publick key checking
2018-08-30 11:09:02 +08:00
Jiang Jiang Jian
16add00668
Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server_v3.1' into 'release/v3.1'
...
Component/bt: fix memory leak in security server(backport v3.1)
See merge request idf/esp-idf!3081
2018-08-30 02:20:58 +08:00
zhiweijian
a83c918946
Component/bt: fix memory leak in security server
2018-08-29 17:56:14 +00:00
Jiang Jiang Jian
9f791e06f6
Merge branch 'bugfix/mesh_fix_hard_to_find_parent_v3.1' into 'release/v3.1'
...
mesh: bugfix and add two APIs (backport3.1)
See merge request idf/esp-idf!3134
2018-08-30 01:54:08 +08:00
Jiang Jiang Jian
c3ba237846
Merge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test_v3.1' into 'release/v3.1'
...
Component/bt: fix crash when BLE do connect and disconnect stress test(backport v3.1)
See merge request idf/esp-idf!3119
2018-08-30 01:51:33 +08:00
zhiweijian
17c4a76395
component/bt: fix crash when BLE do con and duscon stress test
2018-08-30 00:36:57 +08:00
Jiang Jiang Jian
114b16f0d5
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes_v3.1' into 'release/v3.1'
...
Component/bt: fix get error adv packet sometimes(backport v3.1)
See merge request idf/esp-idf!3082
2018-08-29 23:54:36 +08:00
Jiang Jiang Jian
e1fc259600
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_sink_pcm_buffer_size_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3116
2018-08-29 22:54:58 +08:00
Angus Gratton
1d537d29d5
Merge branch 'feature/cmake_v3.1' into release/v3.1
2018-08-29 19:30:06 +08:00
qiyuexia
09f5854c9a
mesh: bugfix and add two APIs
...
1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.
2018-08-29 17:28:17 +08:00
chensheng
200d8d235b
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
2018-08-29 12:27:59 +08:00
Anton Maklakov
84a32f3288
ci: Use local mirrors on the public branches (master, release-) too
...
Use DONT_USE_MIRROR=1 to force using the original repositories if you need
2018-08-28 23:43:30 +08:00
zhiweijian
bfc8142c99
Component/bt: fix get error adv packet sometimes
2018-08-28 14:13:10 +08:00
Jiang Jiang Jian
bcebf3e6f1
Merge branch 'bugfix/btdm_check_slave_feature_before_set_afh_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_check_slave_feature_before_set_afh(backport v3.1)
See merge request idf/esp-idf!3103
2018-08-28 13:40:56 +08:00
Jiang Jiang Jian
4577270fc3
Merge branch 'bugfix/tw23404_dhcp_NAK_issue_v3.1' into 'release/v3.1'
...
lwip: optimize LWIP timer (backport v3.1)
See merge request idf/esp-idf!3060
2018-08-28 13:39:46 +08:00
Angus Gratton
2d22fbd4ff
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-28 11:11:57 +08:00
wangmengyang
9f6af0ad4b
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
2018-08-28 10:59:22 +08:00
Jiang Jiang Jian
c060853f70
Merge branch 'bugfix/fix_probable_mem_leak_v3.1' into 'release/v3.1'
...
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
See merge request idf/esp-idf!3106
2018-08-28 10:41:42 +08:00
Jiang Jiang Jian
501d81ce32
lwip: optimize LWIP timer
...
Port LWIP timer implementation in LWIP v2.0.3 to IDF v3.0
2018-08-27 21:59:36 +08:00
Jiang Jiang Jian
f9a770134b
Merge branch 'bugfix/timer_oneshot_timeout_twice_v3.1' into 'release/v3.1'
...
component/bt: Some timer oneshot will timeout twice (backport v3.1)
See merge request idf/esp-idf!3063
2018-08-27 20:42:44 +08:00
Jiang Jiang Jian
b4fc5b0e8f
Merge branch 'bugfix/fix_several_wifi_bugs_v3.1' into 'release/v3.1'
...
esp32: update wifi lib to fix several WiFi bugs (backport v3.1)
See merge request idf/esp-idf!3098
2018-08-27 20:38:35 +08:00
Angus Gratton
a821805ddc
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)
2018-08-27 18:02:30 +08:00
Angus Gratton
cb9fa1f295
kconfig: Merge Kconfig.compiler back into Kconfig
...
Reverts 5e0a3d99e8
(no longer needed but also not supported by
mconf-idf built from kconfig-frontends repo.)
2018-08-27 17:24:31 +08:00
Hrishikesh Dhayagude
7ffd68cac2
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
...
Multiple modules register their callback BTA_GATTS_AppRegister().
If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.
So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
2018-08-27 12:03:20 +05:30
Angus Gratton
dd77a4c65d
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-27 11:56:48 +08:00
wangmengyang
a47cc3dd46
component/bt: check support of AFH in remote slave device's LM feature then determine whether to send LMP_set_AFH
2018-08-27 11:20:34 +08:00
Angus Gratton
7cd75f30f2
Merge branch 'fix/spi_dma_config_in_iram_v3.1' into 'release/v3.1'
...
spi: fix the issue that spi cannot be used when flash is disabled (backport v3.1)
See merge request idf/esp-idf!3075
2018-08-27 08:14:31 +08:00
Liu Zhi Fu
3d2cd911f0
esp32: update wifi lib to fix several WiFi bugs
...
Fix following WiFi bugs:
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame
2018-08-26 13:15:53 +08:00
baohongde
da94560ec5
component/bt: Some timer oneshot will timeout twice (backport v3.1)
...
A cherry-pick of MR !2979
2018-08-25 15:50:46 +00:00
He Yin Ling
21ef7ed82c
Merge branch 'test/disable_mesh_re_establish_network_case_v3.1' into 'release/v3.1'
...
test: disable mesh recreate network test (backport v3.1)
See merge request idf/esp-idf!3068
2018-08-25 10:38:02 +08:00
Michael (XIAO Xufeng)
125da7a1c2
spi: fix the issue that spi cannot be used when flash is disabled
...
The dma configuration function called in the ISR should be put into the IRAM.
Fixes https://github.com/espressif/esp-idf/issues/2307 .
2018-08-24 05:56:17 +00:00
He Yin Ling
ceca7b741c
test: disable mesh recreate network test:
...
We have fixed a bug in test script. Before that, we didn't do strict check when generate the mesh tree, which makes the test pass.
Temp disable these cases, to let CI pass before bug fixed.
2018-08-23 19:15:12 +08:00
Renz Bagaporo
ab95d5cdd7
Place embedded data on flash
2018-08-23 11:15:23 +10:00
Angus Gratton
bc6a193130
cmake idf.py: Fix bug in JSON parsing when printing flash commands
2018-08-23 11:15:23 +10:00
Angus Gratton
7cc5888583
cmake/partitions: Apply offset to partition table metadata correctly
...
Also warn if the parttool.py has an error
2018-08-23 11:15:23 +10:00
Angus Gratton
0743361da3
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-20 17:18:05 +10:00
Angus Gratton
c16fbbf614
partition table: Remove hard-coded offsets from default partition tables
...
Makes them compatible with moving the partition table offset
2018-08-20 16:58:00 +10:00
Angus Gratton
b64815be4c
cmake: Fix bt component dependencies
2018-08-20 10:47:55 +10:00
Angus Gratton
885df4c90f
cmake: Fix flasher argument generation
2018-08-20 10:47:42 +10:00
Angus Gratton
d376105e8e
doc: Update new documentation config output
...
Make output similar to previous implementation.
2018-08-17 20:21:59 +10:00
Angus Gratton
7f50bb7e7f
Merge branch 'release/v3.1' into feature/cmake_v3.1
2018-08-17 14:14:10 +10:00
Ivan Grokhotkov
53509c7bfd
Merge branch 'bugfix/mdns_any_type_share_v3.1' into 'release/v3.1'
...
mdns: Fix a portion of the queries are issued with the wildcard query type (backport v3.1)
See merge request idf/esp-idf!3008
2018-08-15 06:40:24 +08:00
Liu Han
1bbe9538ef
mdns: Fix a portion of the queries are issued with the wildcard query type
2018-08-14 18:34:40 +10:00
Jiang Jiang Jian
39dd71d958
Merge branch 'bugfix/btdm_ecdh_public_key_not_check_v3.1' into 'release/v3.1'
...
Bugfix/btdm ecdh public key not check v3.1 (backport v3.1)
See merge request idf/esp-idf!2991
2018-08-14 13:20:22 +08:00
Jiang Jiang Jian
2dfe58e1b3
Merge branch 'bugfix/tw24252_fix_nonblocking_tcp_close_issue_v3.1' into 'release/v3.1'
...
lwip: fix nonblocking tcp close issue (backport v3.1)
See merge request idf/esp-idf!2938
2018-08-14 13:20:08 +08:00
Angus Gratton
2e60a4b751
Merge branch 'bugfix/gpio_reset_bitmask_v3.1' into 'release/v3.1'
...
gpio: Bitmask overflow fix in gpio_reset_pin (backport v3.1)
See merge request idf/esp-idf!3005
2018-08-14 11:29:15 +08:00
Angus Gratton
fc18d2cea5
Merge branch 'bugfix/ulp_fixes_v3.1' into 'release/v3.1'
...
ULP fixes (backport v3.1)
See merge request idf/esp-idf!3001
2018-08-14 11:25:14 +08:00
Taavi Hein
8b6060e24e
gpio: Bitmask overflow fix in gpio_reset_pin
...
For pins 32 and up the BIT(nr) macro used here overflowed,
causing undetermined GPIO pins to be reset.
Example: freeing SPI device/bus where CS is on pin 33
caused debug UART to cease communication, TXD0 was
disabled.
Fixed as BIT64(nr) macro, to be used elsewhere as needed.
For example in definitions like GPIO_SEL_32..GPIO_SEL_39.
2018-08-14 04:23:56 +03:00
Ivan Grokhotkov
640f690def
docs: update esp32ulp-binutils download link
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
cce9fa970e
ulp: add documentation for JUMPS instruction conditions
...
Hardware implements conditions LE, LT, GE, and conditions EQ and GT
are implemented in the assembler by emitting two JUMPS instructions
with other conditions.
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
f63ab0792b
ulp: add tests for jumps instruction
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
f4c8df2635
ulp: fix ULP binary format documentation
...
Fix incorrect offset value (4+2+2+2+2=12) of arbitrary data in ULP
binary format.
Closes https://github.com/espressif/esp-idf/issues/1705 .
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
db5c542e96
ulp: use += instead of := when setting component vars
...
Component which includes component_ulp_common.mk may also need to set
some of the same COMPONENT_XXX variables. Logically, we should combine
the lists of files to embed, ldflags, extra include dirs, etc.
Fixes https://github.com/espressif/esp-idf/issues/2157 .
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
bb8ecf8a7b
ulp: fix missing include in esp32/ulp.h header
...
ulp.h uses some register base addresses, so needs to include soc.h
2018-08-13 23:23:55 +03:00
Ivan Grokhotkov
c2e424e7af
ulp: fix calculation or ulp_run argument
...
The argument to ulp_run should be expressed in 32-bit words. Both the
address of ulp_entry and RTC_SLOW_MEM already are uint32_t*, so their
difference is the difference in addresses divided by sizeof(uint32_t).
Therefore the extra division by sizeof(uint32_t) is not needed.
2018-08-13 23:23:54 +03:00
Ivan Grokhotkov
a0191b28b2
docs: fix line endings of ULP docs
2018-08-13 23:23:29 +03:00
yulong
fa8dc32800
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
...
1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
2018-08-13 19:47:02 +08:00
Angus Gratton
cf3e89c1b2
Merge branch 'bugfix/doc_generated_sections_v3.1' into 'release/v3.1'
...
docs: Move version-related includes to run in sphinx-build not make (backport v3.1)
See merge request idf/esp-idf!2989
2018-08-13 15:48:59 +08:00
Angus Gratton
08b9551494
docs: Add gen-version-specific-includes.py to executables list
2018-08-13 16:01:20 +10:00
Angus Gratton
92b29923cb
docs: Move version-related includes to run in sphinx-build not make
...
Means they show up on ReadTheDocs(!)
2018-08-13 16:01:20 +10:00
Angus Gratton
695d95c983
Merge branch 'bugfix/http_client_null_auth_header_v3.1' into 'release/v3.1'
...
esp_http_client: Fixed exception on 401 without Www-Authenticate header (backport v3.1)
See merge request idf/esp-idf!2978
2018-08-13 11:48:26 +08:00
Angus Gratton
d91c425178
Merge branch 'bugfix/unit-test-build-fix_v3.1' into 'release/v3.1'
...
unit-test-app: don’t include project.mk for ut- targets (backport v3.1)
See merge request idf/esp-idf!2850
2018-08-13 11:42:43 +08:00
Jiang Jiang Jian
0da8e99580
Merge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond_v3.1' into 'release/v3.1'
...
Component/bt: fix get bond list error when connection with no bond (backport v3.1)
See merge request idf/esp-idf!2981
2018-08-13 10:20:12 +08:00
Angus Gratton
c6b4fa5a9a
Merge branch 'doc/versions_v3.1' into 'release/v3.1'
...
docs: Add version-specific include files, version documentation (backport v3.1)
See merge request idf/esp-idf!2974
2018-08-13 09:54:13 +08:00
zhiweijian
281877ada5
Component/bt: fix get bond list error when connection with no bond
2018-08-10 21:00:56 +08:00
Tuan PM
9a273863ba
esp_http_client: Fixed exception on 401 without Www-Authenticate header
...
Closes https://github.com/espressif/esp-idf/issues/2246
2018-08-10 14:23:19 +07:00
Angus Gratton
abbc13af62
freertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()
...
Saves a few cycles by only testing the count validity once, and never for the common case where the
mutex was not recursively locked.
2018-08-10 16:53:17 +10:00
Liu Zhi Fu
9fb746824a
lwip: fix nonblocking tcp close issue
...
Fix assert issue causes by closing nonblocking tcp socket.
2018-08-10 06:21:56 +00:00
Angus Gratton
8a1adb0d50
Merge branch 'bugfix/spi_flash_mmap_malloc_internal_v3.1' into 'release/v3.1'
...
spi_flash: allocate mmap pages array in internal memory (backport v3.1)
See merge request idf/esp-idf!2961
2018-08-10 13:43:55 +08:00
Angus Gratton
ddb2570849
Merge branch 'mesh/bugfix_parent_switch_backport_v3.1' into 'release/v3.1'
...
mesh: modify parent switch mechanism (backport3.1)
See merge request idf/esp-idf!2977
2018-08-10 13:42:32 +08:00
Jiang Jiang Jian
7f4b77ca5b
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis_v3.1' into 'release/v3.1'
...
fix(touch): add_mutex_for_some_touchpad_apis (backport v3.1)
See merge request idf/esp-idf!2963
2018-08-10 12:18:33 +08:00
qiyuexia
d421663d3f
mesh: modify parent switch mechanism
...
1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.
2018-08-10 11:45:11 +08:00
Jiang Jiang Jian
c455d6f2a0
Merge branch 'feature/nvs_version_check_v3.1' into 'release/v3.1'
...
nvs_flash: Version compatibility check for nvs storage (backport 3.1)
See merge request idf/esp-idf!2958
2018-08-10 11:36:39 +08:00
Jiang Jiang Jian
b3eee7d58f
Merge branch 'bugfix/btdm_hfp_invalid_sco_param_v3.1' into 'release/v3.1'
...
component/bt: modify the invalid retransmission setting for SCO link in HFP(backport v3.1)
See merge request idf/esp-idf!2956
2018-08-10 11:10:55 +08:00
Jiang Jiang Jian
271e2f9419
Merge branch 'bugfix/backport_several_bugfix_to_v3.1' into 'release/v3.1'
...
esp32: backport several WiFi bug fixes to v3.1
See merge request idf/esp-idf!2955
2018-08-10 11:09:35 +08:00
Angus Gratton
70f15bd28e
docs: Combine the common en/zh_CN Makefiles to one common file
2018-08-10 00:28:13 +00:00
Michael (XIAO Xufeng)
607a1abefd
docs: translate the version include script to Chinese
2018-08-10 00:28:13 +00:00
Angus Gratton
8122f7162c
README: Add version-specific links
...
Make it clearer how the README fits in with the docs.
2018-08-10 00:28:13 +00:00
Angus Gratton
cd31a5e3c6
docs: Add version-specific include files, version documentation
...
* "git clone" command and a small version header are generated
depending on git properties.
* Add Versions page with details about each version
* Make it clear using master branch is living on the "bleeding
edge"
2018-08-10 00:28:13 +00:00
Jiang Jiang Jian
8a6c1df041
esp32: backport several WiFi bug fixes to v3.1
...
Backport following bug fixes to v3.1:
1. Bug fix of may connect to wrong AP in all channel scan
2. Station state machine change and fix ap loss
3. Add compatible to ccmp encryption
4. Update libphy.a to v3960:
4.1 Decrease phy_init time from 900us to 347us in sleep wakeup
4.2 Fix RX STBC initialization
4.3 Modify set_chan function to fix interrupt watchdog issue
5. Fix several wpa2 enterprise issues
5.1 Fix heap corrupted bug
5.2 Fix memory leak bug
5.3 Make wpa2 enterprise thread-safe
Closes https://github.com/espressif/esp-idf/issues/1569
6. Bugfix of coex wifi pm
2018-08-09 13:24:16 +00:00
He Yin Ling
7e02cd3498
Merge branch 'bugfix/remove_check_for_reason_assoc_expire_backport_v3.1' into 'release/v3.1'
...
test: remove check for REASON_ASSOC_EXPIRE (backport v3.1)
See merge request idf/esp-idf!2953
2018-08-09 21:23:21 +08:00
Angus Gratton
ef30229e52
Merge branch 'feature/http_firmware_upgrade_v3.1' into 'release/v3.1'
...
esp_https_ota: Add esp_https_ota component (Backport v3.1)
See merge request idf/esp-idf!2954
2018-08-09 08:20:33 +08:00
fuzhibo
6ee884c861
fix(touch): add_mutex_for_some_touchpad_apis
2018-08-08 20:06:54 +08:00
Jitin George
002189cd1a
esp_http_client: Add support for getting transport type
2018-08-08 14:55:35 +05:30
Jitin George
fbe792f33f
esp_https_ota: Add support for HTTPS based ota feature
2018-08-08 14:55:22 +05:30
Ivan Grokhotkov
b88ae6c39f
spi_flash: allocate mmap pages array in internal memory
...
* spi_flash_mmap_pages needs pages array to be in internal memory.
Document and check this.
* Fix a bug that spi_flash_mmap did not allocate pages array in
internal memory.
* Minor style fixes: const-ify pages argument of spi_flash_mmap, add
spaces around operators, mark output arguments with [out].
Closes https://github.com/espressif/esp-idf/issues/2229 .
2018-08-08 11:30:31 +03:00
Angus Gratton
45d7039623
Merge branch 'feature/support_for_XM25QU64A_v3.1' into 'release/v3.1'
...
feature(flash): set QIO mode for XM25QU64A(1V8_8MB_flash) (backport v3.1)
See merge request idf/esp-idf!2950
2018-08-08 16:30:09 +08:00
Angus Gratton
d9a1b5faae
Merge branch 'bugfix/http_chunked_read_v3.1' into 'release/v3.1'
...
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport (backport v3.1)
See merge request idf/esp-idf!2952
2018-08-08 16:24:04 +08:00
Tuan
b2901d7e2f
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport (backport v3.1)
2018-08-08 16:24:04 +08:00
Sagar Bijwe
a3b5a23b87
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-08 12:43:50 +05:30
Ivan Grokhotkov
eaa48f380a
Merge branch 'bugfix/add_queueset_critical_sections_v3.1' into 'release/v3.1'
...
freertos: Add critical sections to queue sets (backport v3.1)
See merge request idf/esp-idf!2789
2018-08-08 14:46:25 +08:00
wangmengyang
78c083325f
component/bt: modify the invalid retransmission setting for SCO link in HFP
2018-08-08 14:40:22 +08:00
Jiang Jiang Jian
a8d34b8e20
Merge branch 'bugfix/btdm_spp_crash_on_reset_v3.1' into 'release/v3.1'
...
component/bt: Fix bug of SPP crash on reset (backport v3.1)
See merge request idf/esp-idf!2951
2018-08-08 14:36:21 +08:00
He Yin Ling
66e7027e7a
test: update Wi-Fi test cases:
...
1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP
could also send error code WIFI_REASON_NOT_AUTHED
2. STA will be disconnected now if softAP restart DHCP server
2018-08-08 13:04:16 +08:00
baohongde
6210272bfd
component/bt: Fix bug of SPP crash on reset
...
In response to: https://github.com/espressif/esp-idf/issues/1998
2018-08-08 12:03:32 +08:00
chenjianqiang
57ed12a019
feature(flash): support for QIO mode of XM25QU64A
2018-08-08 10:58:13 +08:00
Angus Gratton
a4270573e7
Merge branch 'bugfix/ci_github_deploy_v31' into 'release/v3.1'
...
ci: Simplify github deployment (backport v3.1)
See merge request idf/esp-idf!2874
2018-08-08 07:26:01 +08:00
Jiang Jiang Jian
ae5cb25f11
Merge branch 'bugfix/fix_crash_for_http2_request_v3.1' into 'release/v3.1'
...
fix the crash when http2_request example send/recv fail
See merge request idf/esp-idf!2941
2018-08-07 18:36:41 +08:00
zhangyanjiao
bf76c1bc1a
fix the crash when http2_request example send/recv fail
2018-08-07 09:52:31 +08:00
Ivan Grokhotkov
cb05e152b9
Merge branch 'fix/sdio_speed_4bit_v3.1' into 'release/v3.1'
...
backport v3.1: fix(sdio): update sdio to better run in 4bit HS mode
See merge request idf/esp-idf!2759
2018-08-06 15:17:26 +08:00
Jiang Jiang Jian
f999688f2c
Merge branch 'bugfix/coex_pause_v3.1' into 'release/v3.1'
...
fix coex pause cause bluetooth performance decrease (backport v3.1)
See merge request idf/esp-idf!2864
2018-08-06 15:05:19 +08:00
Angus Gratton
762c5fe996
ci: Simplify github deployment
...
CI_COMMIT_REF_NAME lets us use a single line to git push
2018-08-06 16:32:41 +10:00
Angus Gratton
ac19aef689
Merge branch 'feature/mbedtls_2_12_0_v3.1' into 'release/v3.1'
...
mbedtls: update to 2.12.0 (backport v3.1)
See merge request idf/esp-idf!2932
2018-08-06 14:23:10 +08:00
Angus Gratton
d88b705562
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer_for_v3.1' into 'release/v3.1'
...
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1
See merge request idf/esp-idf!2934
2018-08-06 14:22:29 +08:00
Tian Hao
7d9d4d16e5
fix coex pause cause bluetooth performance decrease
...
1. it may cause BLE connection unstable
2. it may cause Classic BT connection unstable
3. it may cause BLE/BREDR scan performance decrease
2018-08-06 11:19:17 +08:00
Jiang Jiang Jian
1e92ad77c4
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones_v3.1' into 'release/v3.1'
...
Component/bt: fix SC_MITM_BOND failed in smp for iphones for v3.1
See merge request idf/esp-idf!2923
2018-08-05 23:48:29 +08:00
Ivan Grokhotkov
e136fb7e18
mbedtls: update to 2.12.0
2018-08-05 09:17:40 +03:00
Jiang Jiang Jian
4225b9794f
Merge branch 'bugfix/ampdu_duplicate_v3.1' into 'release/v3.1'
...
Wifi: fix ampdu duplicate issue (backport v3.1)
See merge request idf/esp-idf!2797
2018-08-05 07:17:25 +08:00
Jiang Jiang Jian
76b9e36f2b
Merge branch 'bugfix/btdm_a2dp_disconnect_reason_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_disconnect_reason(backport v3.1)
See merge request idf/esp-idf!2927
2018-08-04 23:48:42 +08:00
chenyudong
b490f05b95
wifi: fix ampdu duplicate issue
...
fix ampdu duplicate issue
2018-08-04 15:33:55 +00:00
Jiang Jiang Jian
c7ca7872cb
Merge branch 'bugfix/btdm_fix_ble_HIDD_demo_error_for_v3.1' into 'release/v3.1'
...
Component/bt: fix ble HID demo error for v3.1
See merge request idf/esp-idf!2922
2018-08-04 23:26:18 +08:00
Jiang Jiang Jian
97655e05b5
Merge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_lmp_trans_coll_state_uncleared(backport v3.1)
See merge request idf/esp-idf!2929
2018-08-04 23:25:33 +08:00
zhiweijian
512e4d5836
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-04 17:02:13 +08:00
wangmengyang
9d8a85e2ab
component/bt: bugfix for uncleared LMP transaction collision state after rejecting sniff request from slave
2018-08-03 15:55:23 +08:00
wangmengyang
8a940ccd65
component/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected
2018-08-03 15:36:44 +08:00
Jiang Jiang Jian
c983bc4d12
Merge branch 'bugfix/btdm_controller_deinit_v3.1' into 'release/v3.1'
...
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception(backport v3.1)
See merge request idf/esp-idf!2865
2018-08-03 15:09:58 +08:00
zhiweijian
b8582d977d
Component/bt: fix ble HID demo error
2018-08-03 11:35:32 +08:00
michael
c4ffb39ccc
fix(sdmmc): disable all pulldowns used by sdmmc host
2018-08-03 11:03:25 +08:00
Angus Gratton
485ed4cc22
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'
...
Component/bt: fix queue blocking when scanning for v3.1
See merge request idf/esp-idf!2893
2018-08-03 07:28:07 +08:00
kooho
d4e38152ef
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug for release/v3.1
2018-08-02 12:45:53 +08:00
Tian Hao
e5abec310d
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
...
1. when one task do deinit/init/disable/enable, especially different cpu
core, it may cause controller crash in ISR handler
2. fix while BLE is scanning, bluetooth controller is disabled cause BLE
scan is not abort.
2018-08-01 20:08:40 +08:00
Ivan Grokhotkov
2c483a6b52
Merge branch 'bugfix/spiffs_readdir_recursion_v3.1' into 'release/v3.1'
...
SPIFFS: fix stack overflow in readdir_r due to recursion (backport v3.1)
See merge request idf/esp-idf!2876
2018-08-01 18:05:47 +08:00
Ivan Grokhotkov
bf281b31ec
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header_v3.1' into 'release/v3.1'
...
Bugfix/remove bt dependency on lwip header (backport v3.1)
See merge request idf/esp-idf!2907
2018-08-01 17:40:37 +08:00
Ivan Grokhotkov
3c359763da
heap: move get_all_caps to IRAM, used in unit test
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
f81e71f622
freertos: bump limit for spinlock performance test to 300 cycles
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
a1dadda7d6
newlib: fix unit test for psram config
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
cfde037f9a
heap: fix unit test for the case when less than 10k of IRAM is available
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
3fcc3689ce
spi_master, ulp: fix aliasing errors in unit tests
2018-08-01 08:59:02 +00:00
Ivan Grokhotkov
497b123958
unit-test-app: don’t include project.mk for ut- targets
...
If project.mk is included twice in recursive invocation of Make, some
variables defined on the first pass will not be redefined on the
second pass. Rather than cleaning up these variables before calling
Make recursively, don’t include IDF project.mk at all, if one of the
ut- targets is requested.
2018-08-01 08:59:02 +00:00
michael
7995ba6433
fix(sdio_slave): improve sdio slave for high speed and 4 bit mode
2018-08-01 15:23:24 +08:00
michael
5019ff3345
fix(sdio_slave): fix minor issues like return value of send function, output arg, etc.
2018-08-01 15:23:23 +08:00
zhiweijian
b270638868
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
2018-08-01 15:10:28 +08:00
Darian Leung
3576a634c7
freertos: Add critical sections to queue sets.
...
Queue sets are not SMP safe. This commit adds
critical sections to queue sets. Unit tests for
queue sets have also been added.
2018-08-01 07:07:32 +00:00
Jiang Jiang Jian
d8a1080bdf
Merge branch 'bugfix/btdm_fix_gattc_count_invalid_for_v3.1' into 'release/v3.1'
...
Component/bt: fix gattc get count invalid and discover included service error for v3.1
See merge request idf/esp-idf!2894
2018-08-01 14:51:08 +08:00
Jiang Jiang Jian
c209efa4e2
Merge branch 'doc/wifi_update_channel_state_information_document_v3.1' into 'release/v3.1'
...
docs: update channel state information document (backport v3.1)
See merge request idf/esp-idf!2796
2018-08-01 14:49:45 +08:00
Mahavir Jain
d78452ed29
wpa_supplicant: removed unrequired header dir include from component.mk
...
- Also fixed license header in rtc driver
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-08-01 12:02:13 +05:30
Mahavir Jain
acb3b6fee2
bluedroid: remove dependency on arpa/inet.h
include
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-08-01 12:02:11 +05:30
Angus Gratton
c237beff1d
Merge branch 'bugfix/ulp_example_fix_v3.1' into 'release/v3.1'
...
ULP example fixes (backport v3.1)
See merge request idf/esp-idf!2818
2018-08-01 14:29:29 +08:00
Angus Gratton
34a4a96ded
Merge branch 'bugfix/sdmmc_auto_stop_cmd_v3.1' into 'release/v3.1'
...
sdmmc: enable host auto_stop only for certain commands (backport for v3.1)
See merge request idf/esp-idf!2817
2018-08-01 14:29:03 +08:00
Angus Gratton
2ef6bcaedd
Merge branch 'bugfix/btdm_sco_end_crash_on_supv_to_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_sco_end_crash_on_supv_to_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2896
2018-08-01 14:28:08 +08:00
Angus Gratton
1928a4a638
Merge branch 'feat/sdio_pullup_v3.1' into 'release/v3.1'
...
backport v3.1: fix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assertion failed.
See merge request idf/esp-idf!2795
2018-08-01 14:15:35 +08:00
michael
d85b1fb091
fix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assertion failed.
...
also fix a race risk issue when recycle receiving buffers.
2018-07-31 17:57:15 +08:00
zhiweijian
970502f904
Component/bt: fix gattc get count invalid
2018-07-31 15:38:00 +08:00
wangmengyang
d3cb687936
component/bt: bugfix on the crash during end of sco link resulted from link supervision timeout
2018-07-31 15:35:58 +08:00
Angus Gratton
b28db50786
Merge branch 'bugfix/unit_test_thread_local_storage_v3_1' into 'release/v3.1'
...
ci/esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes (v3.1 backport)
See merge request idf/esp-idf!2844
2018-07-31 07:24:38 +08:00
Ivan Grokhotkov
7999c06f68
spiffs: add test case for readdir_r with large number of files
...
Ref. https://esp32.com/viewtopic.php?f=13&t=6486
2018-07-30 08:07:34 +03:00
Konstantin Klitenik
490d7cbba9
Fix stackoverflow due to recursion in vfs_spiffs_readdir_r
2018-07-30 08:07:31 +03:00
He Yin Ling
a8b92d560b
Merge branch 'test/backport_ci_changes_to_v3.1' into 'release/v3.1'
...
test: backport ci changes (backport v3.1)
See merge request idf/esp-idf!2869
2018-07-30 09:58:31 +08:00
He Yin Ling
1884151ca8
CI: support test one case multiple times by @bot
2018-07-28 15:06:18 +08:00
He Yin Ling
b86c8b3260
ci: temp disable http client tests:
...
connection is not stable. need to replace with local test servers.
2018-07-28 15:04:28 +08:00
He Yin Ling
2d31597fa9
tiny-test-fw: support ignore test cases in CI assign test stage
2018-07-28 15:04:14 +08:00
He Yin Ling
715dfac07e
tiny-test-fw: fix exception during print debug info:
...
DUT log is unicode, might not be able to encode
2018-07-28 15:03:58 +08:00
He Yin Ling
bf72ed92a9
CI: erase nvs partition before test:
...
Latest NVS partition bin can't be parsed by old IDF revision. Need to erase before test.
2018-07-28 15:03:30 +08:00
He Yin Ling
146a959706
esp32/test: set 60s timeout for one deep sleep case
2018-07-28 15:00:57 +08:00
He Yin Ling
fa9c836f02
tiny-test-fw: save DUT log in different thread:
...
We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.
2018-07-28 15:00:41 +08:00
He Yin Ling
609e39a620
tiny-test-fw: fix incorrect wait timeout in expect
2018-07-28 15:00:28 +08:00
He Yin Ling
3956fe30c0
tiny-test-fw: filter examples with test level
2018-07-28 15:00:16 +08:00
He Yin Ling
831e8d653f
tiny-test-fw: print expect failure when test fails
2018-07-28 15:00:01 +08:00
He Yin Ling
35a3ef6892
CI: add stage host_test
:
...
1. Add `host_test` stage for test jobs running on host.
2. Rename stage `test` to `integration_test`.
2018-07-28 14:57:59 +08:00
He Yin Ling
5637424aff
CI: minor optimize of CI config file:
...
1. set shorter expire time for artifacts
2. set dependency for example test jobs, to limit the artifacts it downloads
2018-07-28 14:57:42 +08:00
He Yin Ling
0fc888cf78
CI: remove test report stage:
...
Test report is not used as expected:
1. we rarely download and use test report
2. current test report method doesn't handle large amount data well,
need to be replaced by other methods
Test report also make test jobs allow to fail. It breaks the
original flow of Gitlab CI and make user confused.
2018-07-28 14:57:32 +08:00
He Yin Ling
b37f08f961
test: add mesh basic function test cases
2018-07-28 14:56:53 +08:00
Jiang Jiang Jian
62682a681a
Merge branch 'feature/wifi_check_wifi_lib_git_commit_id_v3.1' into 'release/v3.1'
...
check WiFi library git commit id in unit test (backport v3.1)
See merge request idf/esp-idf!2785
2018-07-26 14:24:52 +08:00
Angus Gratton
3e2d5f6292
Merge branch 'bugfix/fix_pcnt_isr_service_register_bug_for_v3.1' into 'release/v3.1'
...
driver(pcnt): Add some comments in pcnt.h for v3.1
See merge request idf/esp-idf!2845
2018-07-26 08:35:18 +08:00
Angus Gratton
e9112a9489
Merge branch 'bugfix/fix_touchpad_wakeup_status_v3.1' into 'release/v3.1'
...
fix(sleep): swap touchpad num in wakeup status v3.1
See merge request idf/esp-idf!2848
2018-07-26 08:34:55 +08:00
Angus Gratton
e00d9425da
Merge branch 'bugfix/ledc_duty_and_freq_for_v3.1' into 'release/v3.1'
...
driver(ledc): fix bugs reported from unit-test and github for v3.1
See merge request idf/esp-idf!2843
2018-07-26 08:08:12 +08:00
Angus Gratton
3eaf8f1a84
Merge branch 'bugfix/secure_boot_padding_v3_1' into 'release/v3.1'
...
secure boot: Fix padding issue (backport v3.1)
See merge request idf/esp-idf!2833
2018-07-25 08:59:31 +08:00
Ivan Grokhotkov
ef38eb0323
Merge branch 'bugfix/bootloader_dev_zero_app_count_v3.1' into 'release/v3.1'
...
bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry (backport v3.1)
See merge request idf/esp-idf!2847
2018-07-25 00:14:43 +08:00
fuzhibo
c6be772242
fix(sleep): swap touchpad num in wakeup status
2018-07-24 18:08:29 +08:00
Wang Jia Lin
c892c96f9a
Merge branch 'bugfix/fix_uart_timeout_bug_when_enable_reftick_v3.1' into 'release/v3.1'
...
driver(uart): Fix uart time_out bug when using ref_tick for releasev3.1
See merge request idf/esp-idf!2810
2018-07-24 17:55:55 +08:00
Konstantin Kondrashov
7f2edf8528
bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry
...
If we have the partition table without any ota_apps but in ota_data have
valide entry, in this case we get an error(hang). This commit fix this
case. If bs->app_count is zero when selecting the factory app.
Closes https://github.com/espressif/esp-idf/issues/2218
2018-07-24 15:41:49 +08:00
Angus Gratton
9b6769411a
Merge branch 'bugfix/deep_sleep_flush_uart_v3.1' into 'release/v3.1'
...
sleep: fix flushing UARTs when entering deep sleep (backport v3.1)
See merge request idf/esp-idf!2816
2018-07-24 14:06:59 +08:00
Angus Gratton
e55f55531c
esp32 tests: TLS test: use same size stack for static & non-static task
...
Use constant instead of magic number of task priorities.
2018-07-24 15:44:12 +10:00
Angus Gratton
0f665dfb0d
esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes
...
Probable cause for CI failures of "LoadStoreError" after this task finishes running.
2018-07-24 15:44:12 +10:00
Wangjialin
b2f1dd6a16
bugfix(ledc): fix bugs reported from unit-test and github.
...
1. In ledc_set_duty_and_update, return if duty updated. Close https://github.com/espressif/esp-idf/issues/2082
2. fix ledc_set_freq function for low speed mode.
2018-07-24 13:22:50 +08:00
kooho
989396ef27
Add some comments in pcnt.h.
2018-07-24 10:46:50 +08:00
hou wen xiang
b3a2f85c70
driver(uart): Fix uart time_out bug when using ref_tick for releasev3.1
2018-07-24 09:57:55 +08:00
XiaXiaotian
bd768edca2
check WiFi library git commit id in unit test
2018-07-23 20:03:43 +08:00
Jiang Jiang Jian
fdf61f7c45
Merge branch 'bugfix/beacon_info_do_not_update_after_user_scan_v3.1' into 'release/v3.1'
...
Wifi: bugfix of beacon info don't update after user scan (backport v3.1)
See merge request idf/esp-idf!2780
2018-07-23 20:02:24 +08:00
Ivan Grokhotkov
ccd431c7ed
Merge branch 'feature/nvs_part_gen_improvements_backportv3.1' into 'release/v3.1'
...
Feature/nvs part gen improvements (backport v3.1)
See merge request idf/esp-idf!2799
2018-07-23 13:30:19 +08:00
Angus Gratton
e1e4e08fa8
app_update: Don't double-verify secure boot signature during OTA
...
esp_image_load() already verifies the signature
2018-07-23 13:45:55 +10:00
Angus Gratton
f8b191cfae
secure boot: Pad to avoid data after the signature mapping into the address space
...
Because address space is mapped in 64KB pages, it was possible for unauthenticated data after the
app .bin to become mapped into the flash cache address space.
This problem is solved by 2 changes:
* "esptool elf2image --secure-pad" will pad the image so that the signature block ends close to the
64KB boundary. Due to alignment constraints it will be 12 bytes too short after signing (but
with flash encryption, these 12 bytes are still encrypted as part of the last block and can't be
arbitrarily changed).
* By default, secure boot now requires all app partitions to be a multiple of 64KB in size.
2018-07-23 13:45:55 +10:00
Deng Xin
487ae78235
Wifi: bugfix of beacon info don't update after user scan
2018-07-21 10:39:43 +00:00
Jiang Jiang Jian
4314b00289
Merge branch 'bugfix/clear_intr_status_when_enable_intr_v3.1' into 'release/v3.1'
...
driver(gpio): fix the gpio interrupt false triggering issue(backport v3.1)
See merge request idf/esp-idf!2806
2018-07-21 14:36:37 +08:00
Jiang Jiang Jian
650e1f79d1
Merge branch 'bugfix/rmt_mem_num_maximum_limit_is_not_accurate_v3.1' into 'release/v3.1'
...
bugfix(rmt): Modify the rmt_mem_num maximum limit value from 15 to 8.(backport v3.1)
See merge request idf/esp-idf!2808
2018-07-21 14:25:38 +08:00
Angus Gratton
b87c822d59
Merge branch 'bugfix/secure_boot_regression_partitions_v3_1' into 'release/v3.1'
...
Fix secure boot & flash encryption regression, don't verify partitions as part of secure boot (backport)
See merge request idf/esp-idf!2779
2018-07-20 09:12:20 +08:00
negativekelvin
90c6ea59a6
Fix errors in rtc_gpio_desc values
2018-07-19 10:27:31 +03:00
Ivan Grokhotkov
7fbfb0fc9b
ulp example: fix for RTC IOs
...
- call rtc_gpio_init for pins which aren't configured as RTC by default
- for RTC IOs 16 and 17, read higher part of the input register
- automatically convert GPIO number into RTC IO number
- use ulp_set_wakeup_period instead of writing to register
2018-07-19 10:27:00 +03:00
Ivan Grokhotkov
447890247a
sdmmc: enable host auto_stop only for certain commands
...
Perviously host send_auto_stop flag would be set for every data
transfer over 1 block long. This caused stop commands to be sent
after CMD53, which shouldn't be done. Fix by adding an explicit list
of commands for which send_auto_stop should be set.
2018-07-19 10:23:58 +03:00
Ivan Grokhotkov
d360f6d95d
sleep: fix flushing UARTs when entering deep sleep
...
Since 94250e42a0
, UART output is suspended when entering sleep mode
(deep or light sleep). This makes sense for light sleep, where sleep
normally takes small amount of time, and flushing the UART would add
a lot of latency. But this breaks existing behaviour for deep sleep,
where UART output was previously sent out before entering sleep mode.
Closes https://github.com/espressif/esp-idf/issues/2145
2018-07-19 10:21:23 +03:00
XiongYu
7edc392d7c
Modify the rmt_mem_num maximum limit value from 15 to 8.
2018-07-18 16:33:45 +08:00
hou wen xiang
071f7cdb49
driver(gpio) : Fixed the gpio related bug for release v3.1.
2018-07-18 15:36:57 +08:00
Piyush Shah
89b423658a
nvs_partition_generator: Add support for base64 representation of Binary data
2018-07-17 19:24:04 +05:30
Piyush Shah
6d0a9fe95e
nvs_partition_generator: Modifications to enable using the utility as a Python library
...
And also use directly as an executable
2018-07-17 19:24:04 +05:30
Jiang Jiang Jian
afdc73c8ab
Merge branch 'bugfix/mdns_remove_backport' into 'release/v3.1'
...
mdns: Minor fix for mdns_service_remove (backport v3.1)
See merge request idf/esp-idf!2784
2018-07-17 20:50:34 +08:00
Jiang Jiang Jian
1dc9be01c4
Merge branch 'bugfix/autoip_compilation_backportv3.1' into 'release/v3.1'
...
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL(backport v3.1)
See merge request idf/esp-idf!2787
2018-07-17 20:49:31 +08:00
Ivan Grokhotkov
cffd28ad83
Merge branch 'bugfix/bt_os_abstraction_layer_v3.1' into 'release/v3.1'
...
bt: fix OS abstraction layer for correct critical section API usage (backport v3.1)
See merge request idf/esp-idf!2713
2018-07-17 18:53:01 +08:00
XiaXiaotian
f4c57eb764
docs: update channel state information document
...
1. Move channel to the first row of the table.
2. Remove the condition of HT20/HT40 for they are determined by
secondary channel.
3. Clean up the CSI table.
2018-07-17 15:01:12 +08:00
Jiang Jiang Jian
346d6b0eaa
Merge branch 'bugfix/gcc8_complation_errors_v3.1' into 'release/v3.1'
...
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 (backport v3.1)
See merge request idf/esp-idf!2777
2018-07-17 14:13:28 +08:00
Jiang Jiang Jian
0a357a4838
Merge branch 'bugfix/minor_fix_about_ip_route' into 'release/v3.1'
...
lwip: minor fix about ip route
See merge request idf/esp-idf!2782
2018-07-17 14:12:22 +08:00
Piyush Shah
76a46a0f68
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
2018-07-16 15:12:18 +05:30
Piyush Shah
8dbf96a471
mdns: Minor fix for mdns_service_remove()
...
Send the Goodbye packet while removing an mDNS service as an "Authoritative" packet so
that the listeners remove the service from their records immediately.
2018-07-16 15:07:44 +05:30
Liu Zhi Fu
60080d4893
lwip: minor fix about ip route
...
Minor fix about ip4_route_src_hook()
2018-07-16 17:21:46 +08:00
Jiang Jiang Jian
3716e3e8c4
Merge branch 'bugfix/tw23835_add_source_ip_route_for_unicast_v3.1' into 'release/v3.1'
...
lwip: add source ip based route for unicast packet (backport v3.1)
See merge request idf/esp-idf!2773
2018-07-16 17:01:31 +08:00
Angus Gratton
0b1c461e63
bootloader: Fix warning building reflashable Secure Boot image
2018-07-16 16:59:36 +10:00
Angus Gratton
ec73cebb59
bootloader: Don't verify Partition Table as part of Secure Boot
...
Partition Tables are still signed for backwards compatibility, but signature is no longer checked as
part of bootloader.
Closes https://github.com/espressif/esp-idf/issues/1641
2018-07-16 16:59:36 +10:00
Angus Gratton
ce634ef221
bootloader: Fix secure boot & flash encryption functionality
...
Fixes regression in 3e0ac4db79
.
2018-07-16 16:59:36 +10:00
Alexey Gerenkov
af2a6ee826
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3
2018-07-16 14:19:57 +08:00
Liu Zhi Fu
2a581e3fab
lwip: add source ip based route for unicast packet
...
Add source IP based route for unicast packets forwarding.
2018-07-14 10:01:55 +08:00
Jiang Jiang Jian
7b0a926574
Merge branch 'bugfix/btdm_err_data_report_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_err_data_report_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2751
2018-07-13 19:16:42 +08:00
Mahavir Jain
f2c543785b
bt: fix OS abstraction layer for correct critical section API usage
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-07-13 11:29:40 +08:00
Ivan Grokhotkov
ed27e75f50
Merge branch 'bugfix/xthal_get_interrupt_volatile_v3.1' into 'release/v3.1'
...
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile (backport v3.1)
See merge request idf/esp-idf!2712
2018-07-12 17:18:06 +08:00
wangmengyang
ea30c54cda
component/bt: bugfix for erroneous data reporting always enabled
2018-07-11 20:08:36 +08:00
Jiang Jiang Jian
c71c8aea55
Merge branch 'bugfix/btdm_invalid_sco_handle_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_invalid_sco_handle_for_v3.1(backport v3.1)
See merge request idf/esp-idf!2727
2018-07-11 18:23:47 +08:00
Jiang Jiang Jian
46001bf6d4
Merge branch 'bugfix/rom_libgcc_functions_v3.1' into 'release/v3.1'
...
Fix linking of libgcc math functions to ROM (backport v3.1)
See merge request idf/esp-idf!2711
2018-07-11 16:45:39 +08:00
Angus Gratton
3e5053b778
Merge branch 'doc/eclipse_setup_v3.1' into 'release/v3.1'
...
doc: eclipse setup (v3.1 backport)
See merge request idf/esp-idf!2679
2018-07-11 14:31:31 +08:00
Jiang Jiang Jian
0db9b87d66
Merge branch 'bugfix/disable_lwip_trust_ip_by_default_v3.1' into 'release/v3.1'
...
lwip: disable ETHARP_TRUST_IP_MAC by default (backport v3.1)
See merge request idf/esp-idf!2720
2018-07-10 14:42:54 +08:00
Jiang Jiang Jian
a9aaabae21
Merge branch 'bugfix/tw23667_tcp_pcb_purge_assert_v3.1' into 'release/v3.1'
...
lwip: fix the assertion in tcp_pcb_purge() (backport v3.1)
See merge request idf/esp-idf!2722
2018-07-10 14:42:47 +08:00
Jiang Jiang Jian
f43dd79e11
Merge branch 'bugfix/wifi_channel_state_information_data_type_v3.1' into 'release/v3.1'
...
esp32: Change channel state information(CSI) data type from unsigned char to singed char (backport v3.1)
See merge request idf/esp-idf!2697
2018-07-10 10:02:58 +08:00
wangmengyang
dff911da69
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
2018-07-09 12:14:27 +08:00
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
Ivan Grokhotkov
b17defd6cb
docs: conf.py: check return code when calling os.system
...
Several calls were made but results were not checked, obfuscating the
errors.
2018-06-25 13:43:43 +08:00
Ivan Grokhotkov
26e1136fc5
esp_err_to_name.py: guess IDF_PATH if not set in environement
...
Fixes the issue that esp_err_to_name.py would fail when called in
documentation build process, when there was no IDF_PATH set.
2018-06-25 13:43:32 +08:00
Angus Gratton
6b5a15e3da
partition_table: Support same fallback logic as bootloader for default boot partition
...
Generates correct "make flash" command even when partition table has no factory partition.
Also adds unit tests for parttool.py
Closes https://github.com/espressif/esp-idf/issues/2086
2018-06-25 05:36:55 +00:00
Konstantin Kondrashov
f9affb9fb8
assert: Fix. Move useful functions from wrapped assert functions
...
Moved useful functions from wrapped assert functions, because option `CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y` will remove this functions.
Closes https://github.com/espressif/esp-idf/issues/2068
2018-06-25 11:05:54 +08:00
Jiang Jiang Jian
21fd581265
Merge branch 'bugfix/btdm_modify_throught_demo_default_config_v3.1' into 'release/v3.1'
...
Component/bt: modify throughput demo default config for v3.1
See merge request idf/esp-idf!2600
2018-06-24 10:52:44 +08:00
zhiweijian
6c87d104c0
Component/bt: modify throughput demo default config
2018-06-22 19:44:20 +08:00
XiaXiaotian
7634d9a991
support WiFi null mode again
2018-06-21 21:45:57 +08:00
Jiang Jiang Jian
c59f7687ca
Merge branch 'bugfix/btdm_k_mem_assert_bug_v3.1' into 'release/v3.1'
...
component/bt: Fix the bug of when operating the list on interrupt function,…
See merge request idf/esp-idf!2584
2018-06-21 15:23:24 +08:00
yulong
0f0833e350
component/bt: Fix the bug of when operating the list on interrupt function, there is no lock protection.
2018-06-21 11:14:07 +08:00
Angus Gratton
c1fdd45001
Merge branch 'bugfix/fix_touch_pad_can_not_wake_up' into 'master'
...
bugfix(touch pad): modify deep-sleep example and add note for sleep api
See merge request idf/esp-idf!2553
2018-06-20 11:51:46 +08:00
fuzhibo
9a0d57b90b
bugfix(touch pad): modify deep-sleep example and add note for sleep api.
...
Closes https://github.com/espressif/esp-idf/issues/2052
2018-06-20 10:57:26 +08:00
Angus Gratton
e3a31302ef
Merge branch 'doc/use_docs_espressif_com' into 'master'
...
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
See merge request idf/esp-idf!2569
2018-06-20 07:32:11 +08:00
Angus Gratton
d0b8f2865f
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
2018-06-19 11:23:33 +00:00
Ivan Grokhotkov
7933b75416
Merge branch 'bugfix/ESP_PARTITION_TABLE_OFFSET' into 'master'
...
spi_flash: Fix error unit tests on host
See merge request idf/esp-idf!2573
2018-06-19 19:13:30 +08:00
Konstantin Kondrashov
17dac0d273
spi_flash: Fix error unit tests on host
...
IDF had two defines ESP_PARTITION_TABLE_OFFSET and ESP_PARTITION_TABLE_ADDR. They were the same and equal by 0x8000.
A define ESP_PARTITION_TABLE_ADDR was removed from IDF.
A define ESP_PARTITION_TABLE_OFFSET depends on option CONFIG_PARTITION_TABLE_OFFSET in Kconfig.
Now using only #define ESP_PARTITION_TABLE_OFFSET CONFIG_PARTITION_TABLE_OFFSET
2018-06-19 14:30:25 +05:00
He Yin Ling
8956f35be5
Merge branch 'test/driver_ledc' into 'master'
...
test: add ledc test cases
See merge request idf/esp-idf!1782
2018-06-19 15:14:16 +08:00
Angus Gratton
73f6fb9fe7
Merge branch 'feature/spi_functions_in_iram' into 'master'
...
feature(spi_master): allow to place functions into IRAM to get higher efficiency
See merge request idf/esp-idf!2538
2018-06-19 07:25:12 +08:00
houchenyao
339d381019
test: components/driver: ledc case
2018-06-19 02:00:42 +08:00
Angus Gratton
43b6c76bba
Merge branch 'feature/expansion_space_for_bootloader' into 'master'
...
partition_table: Moving to custom offset
See merge request idf/esp-idf!2263
2018-06-18 12:34:53 +08:00
Angus Gratton
86148a740b
Merge branch 'feature/fatfs_without_wl' into 'master'
...
FATFS support without wear levelling
See merge request idf/esp-idf!2526
2018-06-18 12:26:02 +08:00
Angus Gratton
1325dff821
Merge branch 'docs/spi_timing_wavedrom' into 'master'
...
docs(spi_master): fix wavedrom image and comment mistake
See merge request idf/esp-idf!2563
2018-06-18 12:13:31 +08:00
Jiang Jiang Jian
0e71cdc097
Merge branch 'mesh/bugfix_osi' into 'master'
...
mesh: update mesh libs
See merge request idf/esp-idf!2524
2018-06-17 18:56:52 +08:00
Sagar Bijwe
fd7b794e81
FATFS support without wear levelling
...
This change allows readonly FATFS to be mounted without wear levelling
support. This will provide the customers a simple way to mount FATFS images
generated on host and flashed onto the chip during factory provisioning.
Since NVS encryption is not supported yet and NVS entry size is limited,
the change will provide an easy alternative for securing the provisioning data
by just marking FATFS parition as encrypted.
2018-06-16 16:02:35 +08:00
qiyueixa
0dd750af1a
mesh: update mesh libs
...
1. rename example internal_transceiver to internal_communication
2. bugfix
3. Closes https://github.com/espressif/esp-idf/issues/2014
2018-06-15 20:34:49 +08:00
Michael (XIAO Xufeng)
9377575415
docs(spi_master): fix wavedrom image and comment mistake
2018-06-15 17:38:27 +08:00
Ivan Grokhotkov
ac8bd0d637
Merge branch 'bugfix/https_redirect_example_test' into 'master'
...
esp_http_client example test: Increase timeout when redirecting to HTTPS
See merge request idf/esp-idf!2558
2018-06-15 17:18:26 +08:00
Ivan Grokhotkov
4e243fb1c1
Merge branch 'doc/error_handling' into 'master'
...
docs: add information on error handling
See merge request idf/esp-idf!2539
2018-06-15 16:55:33 +08:00
Ivan Grokhotkov
efd16673bc
docs: add pages about error handling
2018-06-15 15:53:23 +08:00
Ivan Grokhotkov
d9f8311b9d
docs: add error codes reference
2018-06-15 15:49:24 +08:00
Ivan Grokhotkov
5e0a3d99e8
Kconfig: split out compiler options, add them to reference
2018-06-15 15:49:23 +08:00
Ivan Grokhotkov
2f7d327978
panic: remove extra newline
2018-06-15 15:49:23 +08:00
Ivan Grokhotkov
6f40b528fa
esp32: esp_err_to_name_r: print error code as hex and decimal
2018-06-15 15:49:23 +08:00
Angus Gratton
6d6cff03fb
esp_http_client example test: Increase timeout when redirecting to HTTPS
2018-06-15 16:33:37 +10:00
Angus Gratton
41095f8466
Merge branch 'bugfix/ulp_doc_insn_time' into 'master'
...
docs/ulp: fix instruction fetch and execution times
See merge request idf/esp-idf!1979
2018-06-15 11:50:14 +08:00
Jiang Jiang Jian
4056d1e2bf
Merge branch 'bugfix/tw23325_replace_WLOGE_to_printf_when_wifi_not_init' into 'master'
...
WLOGE/WLOGW/WLOGI/WLOGD do anything when wifi is not initialized
See merge request idf/esp-idf!2554
2018-06-15 11:31:02 +08:00
Angus Gratton
9a55b42f08
Merge branch 'bugfix/tw22828_fix_tcp_bug_when_wifi_disconnect' into 'master'
...
fix the bug that TCP connections don't abort when IP changed
See merge request idf/esp-idf!2521
2018-06-15 08:03:06 +08:00
Michael (XIAO Xufeng)
9c23b8e596
feature(spi_master): allow to place functions into IRAM to get higher efficiency
2018-06-14 20:22:40 +08:00
Ivan Grokhotkov
b1b1257476
docs/ulp: fix instruction fetch and execution times
2018-06-14 19:42:31 +08:00
zhangyanjiao
bf78d3c4b1
WLOGE, WLOGW, WLOGI, WLOGD do anything when wifi is not initialized
2018-06-14 19:30:04 +08:00
Ivan Grokhotkov
589e8db4dd
Merge branch 'bugfix/spi_gpio_deinit' into 'master'
...
fix(spi): Fix several init/deinit issues of spi pins
See merge request idf/esp-idf!2522
2018-06-14 19:21:34 +08:00
Ivan Grokhotkov
8674a34fd6
Merge branch 'bugfix/ext_wakeup_input_enable' into 'master'
...
sleep: make sure input enable is set for EXT0/EXT1 wakeup
See merge request idf/esp-idf!2542
2018-06-14 19:03:01 +08:00
zhangyanjiao
b5f4bf922f
fix the bug that TCP connections don't abort when IP changed
2018-06-14 16:56:39 +08:00
Jiang Jiang Jian
768f880b04
Merge branch 'bugfix/wifi_correct_modem_sleep_api_description' into 'master'
...
correct modem sleep API description
See merge request idf/esp-idf!2548
2018-06-14 15:50:08 +08:00
Jiang Jiang Jian
54d882101c
Merge branch 'bugfix/fix_two_times_full_calibration' into 'master'
...
esp32: fix the bug that the first two reboots do full calibration
See merge request idf/esp-idf!2540
2018-06-14 15:49:03 +08:00
Angus Gratton
0b16ed644e
Merge branch 'bugfix/fix_console_performance' into 'master'
...
idf_monitor: Fix the console performance issue
See merge request idf/esp-idf!2547
2018-06-14 15:09:20 +08:00
Angus Gratton
c77f84e788
Merge branch 'feature/fs_truncate_support' into 'master'
...
FATFS truncate support
See merge request idf/esp-idf!2541
2018-06-14 13:56:39 +08:00
Angus Gratton
59ab2136e8
Merge branch 'doc/kconfig_item' into 'master'
...
doc: fix the level inconsistent issue in Kconfig document
See merge request idf/esp-idf!2460
2018-06-14 12:51:50 +08:00
michael
45d1c9207c
bugfix(spi): resolve the glitch that happens during initialization
2018-06-14 11:29:16 +08:00
Michael (XIAO Xufeng)
77077196fd
fix(spi): reset gpios that used by spi when deinited
2018-06-14 11:29:15 +08:00
Michael (XIAO Xufeng)
ebfda40b7c
refactor(spi): move pin information into soc folder
2018-06-14 11:29:15 +08:00
Renz Bagaporo
ea711f2ee9
vfs, fatfs: Add file truncate for fatfs
2018-06-14 06:37:21 +08:00
He Yin Ling
e1a6e71486
Merge branch 'test/driver_rmt' into 'master'
...
test: add rmt test cases
See merge request idf/esp-idf!1797
2018-06-13 22:31:11 +08:00
He Yin Ling
a4581ff404
Merge branch 'test/driver_timer' into 'master'
...
test: add driver timer test cases
See merge request idf/esp-idf!1785
2018-06-13 22:28:17 +08:00
houchenyao
5c6473245f
test: add driver/rmt test case
2018-06-13 18:10:09 +08:00
Xia Xiaotian
6e9070b6d9
correct modem sleep API description
2018-06-13 15:44:59 +08:00
He Yin Ling
17200f484e
Merge branch 'test/driver_sigmadelta' into 'master'
...
test: add sigmadelta test
See merge request idf/esp-idf!1780
2018-06-13 15:19:35 +08:00
He Yin Ling
5a33f5150c
Merge branch 'test/driver_gpio' into 'master'
...
test: add gpio test cases
See merge request idf/esp-idf!1778
2018-06-13 15:02:43 +08:00
Roland Dobai
bb152030a0
Fix the console performance issue
...
The IDF monitor waits for one second before printing the last
unterminated line. This is necessary for the correct filtering.
However, this causes poor performance, for example, in the case of the
system/console example.
This fix reduces the waiting time which improves the response time of
the console example and doesn't seem to influence the monitor filter.
Closes https://github.com/espressif/esp-idf/issues/2054
2018-06-13 08:05:31 +02:00
Jiang Jiang Jian
8e7dfb230f
Merge branch 'bugfix/crosscore_handle_yield_iram' into 'master'
...
esp32: Move esp_crosscore_isr_handle_yield() to IRAM
See merge request idf/esp-idf!2544
2018-06-13 11:54:04 +08:00
houchenyao
de848a5150
test: driver/sigmadelta test case
2018-06-13 10:15:06 +08:00
houchenyao
0837eb4c2e
test: components/driver: timer case
2018-06-13 01:39:07 +00:00
Angus Gratton
f6442abdeb
esp32: Move esp_crosscore_isr_handle_yield() to IRAM
...
Also adds a hint to inline, as this is only called in one place
it seems like a natural candidate...
Closes https://github.com/espressif/esp-idf/issues/2055
2018-06-13 11:36:15 +10:00
Angus Gratton
0e501e5edd
Merge branch 'bugfix/bt_rfcomm_pr1923' into 'master'
...
bt: PORT_WriteDataCO: fixed a bug, reduced heap memory allocation
See merge request idf/esp-idf!2511
2018-06-13 08:41:16 +08:00
Markus Becker
3a71ae8595
bt: PORT_WriteDataCO: fixed a bug, reduced heap memory allocation
...
* a missing pointer increment caused error, if available was > 0 after the first iteration of while(available) loop.
* changed memory allocation strategy from large fixed size (RFCOMM_DATA_BUF_SIZE) to just the needed
size, which will be below MTU
Cherry-picked from https://github.com/espressif/esp-idf/pull/1923/
2018-06-13 09:52:02 +10:00
Angus Gratton
e33ec5ccf4
Merge branch 'bugfix/btdm_tx_power_value' into 'master'
...
fix bluetooth(dual-mode) tx power value
See merge request idf/esp-idf!2503
2018-06-13 07:43:13 +08:00
Angus Gratton
785e9eeb36
Merge branch 'bugfix/esp_timer_set_alarm' into 'master'
...
esp_timer: remove busy loop in esp_timer_impl_set_alarm
See merge request idf/esp-idf!2436
2018-06-13 07:39:34 +08:00
Ivan Grokhotkov
4359d5985e
sleep: make sure input enable is set for EXT0/EXT1 wakeup
...
Since commit 94250e4
, EXT0 wakeup mechanism, when wakeup level was set
to 0, started waking up chip immediately after entering deep sleep.
This failure was triggered in that commit by a change of
RTC_CNTL_MIN_SLP_VAL (i.e. minimum time in sleep mode until wakeup
can happen) from 128 cycles to 2 cycles.
The reason for this behaviour is related to the way input enable (IE)
signal going into an RTC pad is obtained:
PAD_IE = (SLP_SEL) ? SLP_IE & CHIP_SLEEP : IE,
where SLP_IE, SLP_SEL, and IE are bits of an RTC_IO register related
to the given pad. CHIP_SLEEP is the signal indicating that chip has
entered sleep mode.
The code in prepare_ext{0,1}_wakeup did not enable IE, but did enable
SLP_SEL and SLP_IE. This meant that until CHIP_SLEEP went high, PAD_IE
was 0, hence the input from the pad read 0 even if external signal
was 1. CHIP_SLEEP went high on the 2nd cycle of sleep. So when
RTC_CNTL_MIN_SLP_VAL was set to 2, the input signal from the pad was
latched as 0 at the moment when CHIP_SLEEP went high, causing EXT0
wakeup with level 0 to trigger.
This commit changes the way PAD_IE is enabled: SLP_SEL and SLP_IE are
no longer used, and IE is set to 1. If EXT0 wakeup is used, RTC_IO is
not powered down, so IE signal stays 1 both before CHIP_SLEEP goes
high and after. If EXT1 wakeup is used, RTC_IO may be powered down.
However prepare_ext1_wakeup enables Hold on the pad, locking states
of all the control signals, including IE.
Closes https://github.com/espressif/esp-idf/issues/1931
Closes https://github.com/espressif/esp-idf/issues/2043
2018-06-12 20:25:15 +08:00
Tian Hao
294a4bd1f4
fix bluetootm(dual-mode) tx power value
2018-06-12 19:18:47 +08:00
houchenyao
e5717e365f
test: add driver/gpio test case
2018-06-12 19:04:30 +08:00
Jiang Jiang Jian
7aa7b35a95
Merge branch 'bugfix/tw22485_dhcp_offer_mtu' into 'master'
...
modify dhcp offer MTU to 1500
See merge request idf/esp-idf!2461
2018-06-12 16:32:26 +08:00
Liu Zhi Fu
fc72d53c71
esp32: fix the bug that the first two reboots do full calibration
...
If the NVS is erased, the first two reboots will do full calibration.
This commit is to fix this issue and only need to do full calibration once.
2018-06-12 15:51:51 +08:00
Angus Gratton
4eda1b7a25
Merge branch 'bugfix/fixes_for_building_with_amazon_freertos' into 'master'
...
Fixes for building with amazon freertos
See merge request idf/esp-idf!2523
2018-06-12 14:47:34 +08:00
Mahavir Jain
4e43c920d8
freertos: make task{ENTER/EXIT} macros deprecated for external use
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-06-12 11:19:39 +05:30
Mahavir Jain
eef8d0f7ed
Resolve required include header dependencies in component itself
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-06-12 11:19:39 +05:30
Mahavir Jain
636485db8e
vfs: change task{ENTER/EXIT}_CRITICAL with port{ENTER/EXIT}_CRITICAL
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-06-12 11:19:39 +05:30
Ivan Grokhotkov
f4d09506ad
Merge branch 'feature/unit_test_config_components' into 'master'
...
unit-test-app: allow building subset of tests for a configuration
See merge request idf/esp-idf!2331
2018-06-12 10:01:42 +08:00
Ivan Grokhotkov
7cc7c8a94c
Merge branch 'feature/microecc_1_0' into 'master'
...
micro-ecc: update to v1.0
See merge request idf/esp-idf!2534
2018-06-11 23:32:32 +08:00
Ivan Grokhotkov
7663782e8d
unity: allow test task stack size to be configured
2018-06-11 23:26:56 +08:00
Ivan Grokhotkov
b2f498f7da
build: allow EXCLUDE_COMPONENTS to contain quotes
...
'dequote' macro can’t be used at this point yet, use subst directly.
Also prevent EXCLUDE_COMPONENTS from being passed to bootloader build.
2018-06-11 23:26:56 +08:00
Ivan Grokhotkov
9b1876a458
unit-test-app: allow specifying subset of tests for configuration
...
For some test configurations, not all tests need to be run. This
change allows adding a comment in the configuration file of the
following form:
unit-test-app makefile will use it to determine which components to
build. If the comment is not present, all components will be built
(TESTS_ALL=1).
Also add test configuration for libsodium. It is a separate test
configuration due to the large binary size generated when building
libsodium tests.
2018-06-11 23:26:55 +08:00
Ivan Grokhotkov
3e64318364
Merge branch 'bugfix/performance_tests' into 'master'
...
test: Tweaks to reduce variation in CI unit tests
See merge request idf/esp-idf!2529
2018-06-11 23:20:45 +08:00
Ivan Grokhotkov
70eed4c284
Merge branch 'docs/update_eclipse-setup' into 'master'
...
Docs/update_eclipse-setup
See merge request idf/esp-idf!2528
2018-06-11 23:20:24 +08:00
Ivan Grokhotkov
c0ab42a62a
Merge branch 'bugfix/ci_remove_stale_submodules' into 'master'
...
ci: remove stale submodules after checkout
See merge request idf/esp-idf!2533
2018-06-11 12:26:47 +08:00
Angus Gratton
84f78110dd
Merge branch 'feature/esp_timer_example' into 'master'
...
examples: add esp_timer example
See merge request idf/esp-idf!2494
2018-06-11 11:44:45 +08:00
Jiang Jiang Jian
9ea947cd8a
Merge branch 'bugfix/tw23171_fix_espnow_bug_when_add_node_in_AP_STA_mode' into 'master'
...
fix espnow bug when add node in AP+STA mode
See merge request idf/esp-idf!2518
2018-06-11 11:39:01 +08:00
Ivan Grokhotkov
b4e836eb97
esp_timer: test for monotonic values of esp_timer_get_timer in CI
...
Reduce test time by increasing overflow rate, make test more robust.
2018-06-11 02:37:19 +00:00
Ivan Grokhotkov
49d200aaa7
esp_timer: add test for esp_timer_impl_set_alarm
...
Ref https://github.com/espressif/esp-idf/issues/1891
2018-06-11 02:37:19 +00:00
Ivan Grokhotkov
141e51b468
esp_timer: reduce overflow value in unit tests
...
This allows testing for race conditions which occur near timer
overflow point more effectively.
2018-06-11 02:37:19 +00:00
Ivan Grokhotkov
125bbf0882
esp_timer: don’t busy loop in esp_timer_impl_set_alarm
...
Previously the loop in esp_timer_impl_set_alarm was necessary to catch
the case when timer count wraps around (goes from 2^32 - 1 to 0).
Since ALARM_OVERFLOW_VAL was reduced from 2^32 - 1 to 0xefffffff,
this is no longer necessary.
Fixes https://github.com/espressif/esp-idf/issues/1891
2018-06-11 02:37:19 +00:00
Angus Gratton
03c2678aa6
Merge branch 'bugfix/btdm_fix_include_service_start_handle_error' into 'master'
...
Component/bt: fix include service start handle error
See merge request idf/esp-idf!2525
2018-06-11 10:36:36 +08:00
Ivan Grokhotkov
7111cdb934
ci: remove stale submodules after checkout
...
When ‘fetch’ strategy is used, Gitlab removes untracked files before
checking out new revision. However if the new revision doesn’t
include some of the submodules which were present in the old
revision, such submodule directories would not be removed by the
checkout. This extra step ensures that these stale submodules are
removed.
2018-06-10 22:22:26 +08:00
Ivan Grokhotkov
43c779e519
micro-ecc: update to v1.0
2018-06-10 21:20:55 +08:00
Konstantin Kondrashov
3e0ac4db79
partition_table: Expanding the space under the bootloader
...
Allows you to move the partition table, it gives more space for the bootloader.
Added a new utility - parttool.py. This utility can search for the offset and/or size of the partitions by name and type/subtype. Use for getting APP_OFFSET and PHY_DATA_OFFSET.
The linker(esp32.bootloader.ld) made changes that allow you to write a custom bootloader code more.
TW14125
2018-06-08 18:47:29 +05:00
Ivan Grokhotkov
03d78e7afb
Merge branch 'feature/Add_noinit_rtc_noinit_sections' into 'master'
...
esp32: Add .noinit and .rtc_noinit sections to the linker script
See merge request idf/esp-idf!1996
2018-06-08 16:01:30 +08:00
zhiweijian
85e88cd0eb
Component/bt: fix include service start handle error
2018-06-08 16:00:34 +08:00
Angus Gratton
bcd4fb9944
Merge branch 'doc/jtag_startup_command_fix' into 'master'
...
docs/jtag: use 'flushregs' instead of 'x $a1=0' in gdbinit
See merge request idf/esp-idf!2520
2018-06-08 15:15:29 +08:00
Angus Gratton
87077a5478
test: Tweaks to reduce variation in CI unit tests
...
spi test: Prime the flash cache before each test to minimise flash cache misses.
VFS performance test: Increase the number of runs to minimise influence of an isolated bad run.
2018-06-08 14:42:44 +10:00
Ivan Grokhotkov
f47af6185d
docs/jtag: use ‘flushregs’ instead of ‘x $a1=0” in gdbinit
...
The old command caused was incorrect (x is “examine”, not “execute”)
and caused GDB register update only by chance. This replaces it with
“flushregs” command which purpose is exactly that — force GDB to
fetch registers from the remote.
2018-06-08 11:45:46 +08:00
Ivan Grokhotkov
40596fa55a
Merge branch 'feature/host_side_storage_components' into 'master'
...
Runnable FS components on host
See merge request idf/esp-idf!2431
2018-06-08 11:42:37 +08:00
Jin Fang Cheng Cheng
f5f200ee30
Update eclipse-setup.rst
...
Ref https://github.com/espressif/esp-idf/pull/1990
2018-06-08 11:01:25 +08:00
Jin Fang Cheng Cheng
f9a3368f28
Update eclipse-setup.rst
2018-06-08 11:00:29 +08:00
Angus Gratton
c99a30a167
Merge branch 'bugfix/wakeup_from_deep_sleep' into 'master'
...
esp32: Fix not the right time spent in a deep sleep
See merge request idf/esp-idf!2501
2018-06-08 10:40:47 +08:00
Angus Gratton
c8d3c6a494
Merge branch 'feature/monitor_filter_output' into 'master'
...
idf_monitor: add support for filtering options
See merge request idf/esp-idf!2486
2018-06-08 08:09:40 +08:00
Ivan Grokhotkov
705d42dd18
Merge branch 'bugfix/get_power_down_flags' into 'master'
...
sleep_mode/esp32: Fix a condition to keep power domain enabled during sleep mode
See merge request idf/esp-idf!2515
2018-06-07 20:20:13 +08:00
Ivan Grokhotkov
ab538bb9f3
Merge branch 'feat/spi_master_timing' into 'master'
...
feature(spi_master): fine tune the timing of spi master
See merge request idf/esp-idf!2301
2018-06-07 20:19:06 +08:00
Ivan Grokhotkov
2f5cd89833
examples: add esp_timer example
2018-06-07 11:59:36 +08:00
Angus Gratton
34401afe39
Merge branch 'feature/ci_host_test_tag' into 'master'
...
ci: Use new common host_test tag for host-side testing
See merge request idf/esp-idf!2514
2018-06-07 11:59:25 +08:00
zhangyanjiao
1bab62a6d6
modify dhcp offer MTU to 1500
2018-06-07 10:03:26 +08:00
Angus Gratton
d7d559a489
Merge branch 'doc/api-guides_blufi' into 'master'
...
Doc/api guides blufi
See merge request idf/esp-idf!2376
2018-06-07 08:54:27 +08:00
Angus Gratton
4b18a50f89
Merge branch 'bugfix/adjtime_attr' into 'master'
...
newlib: Remove RTC_DATA_ATTR for adjtime
See merge request idf/esp-idf!2504
2018-06-07 08:25:05 +08:00
Angus Gratton
70c6f8a803
Merge branch 'bugfix/few_typos_in_docs' into 'master'
...
Fix few typos in documentation
See merge request idf/esp-idf!2519
2018-06-07 08:24:23 +08:00
Angus Gratton
dff1a52722
Merge branch 'bugfix/docs_ascii_art_2_blockdiag' into 'master'
...
Replaced ASCII art drawings with blockdiag drawings
See merge request idf/esp-idf!2243
2018-06-07 08:23:01 +08:00
krzychb
713141e631
Replaced ASCII art drawings with blockdiag drawings
2018-06-06 23:27:05 +02:00
Renz Bagaporo
8caab13faa
spi_flash: Enable flash emulation down to ROM function calls
2018-06-06 17:35:30 +00:00
Renz Bagaporo
c409666d4e
ci: Add spiffs, fatfs host runs to CI
...
Adds running the fatfs, spiffs sanity check to CI.
2018-06-06 17:35:30 +00:00
Renz Bagaporo
e542b7a920
spiffs: Make spiffs runnable on host
...
Makes spiffs component runnable on host. Depends on the host library build
of flash emulator. Includes a basic sanity test of
mounting a volume, opening a file, writing to the file, reading the file,
closing the file and unmounting volume.
2018-06-06 17:35:30 +00:00
Renz Bagaporo
af629b3547
fatfs: Make fatfs runnable on host
...
Makes fatfs component runnable on host. Depends on the host library build
of wear levelling and flash emulator. Includes a basic sanity test of
mounting a volume, opening a file, writing to the file, reading the file,
closing the file and unmounting volume.
2018-06-06 17:35:30 +00:00
Renz Bagaporo
893003357a
wl, spi_flash: Make wl API runnable on host
...
Makes the entirety of the wl API runnable on host. Flash emulator
is separated into spi_flash component directory to be reused by
other storage components.
2018-06-06 17:35:30 +00:00
Konstantin Kondrashov
7e2a3da643
esp32: Fix not the right time spent in a deep sleep
...
Before entering the deep sleep, the RTC and FRC counters are synchronized. Updating the boot_time.
Added a unit test for this case.
Fixed warnings for MULTIPLE_STAGES
Closes https://github.com/espressif/esp-idf/issues/1840
2018-06-06 18:59:30 +05:00
Mahavir Jain
5a9fc19f38
bt: fix typo in documentation
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-06-06 18:22:32 +05:30
Mahavir Jain
6e48e52478
docs: fix flash_encryption key generation command
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-06-06 18:21:00 +05:30
zhangyanjiao
5fec589c38
fix espnow bug when add node in AP+STA mode
2018-06-06 20:44:19 +08:00
Konstantin Kondrashov
28507920c8
sleep_mode/esp32: Fix a condition to keep power domain enabled during sleep mode
2018-06-06 17:35:21 +05:00
Jiang Jiang Jian
8955db6d29
Merge branch 'bugfix/btdm_fix_no_gatt_server_req_callback_warning' into 'master'
...
component/bt: fix the issue where no gatt server request callback warning caused…
See merge request idf/esp-idf!2502
2018-06-06 16:29:59 +08:00
Jiang Jiang Jian
a7d62fff18
Merge branch 'bugfix/btdm_fix_memory_leak' into 'master'
...
Component/bt: add config for gattc cache and fix memory leak
See merge request idf/esp-idf!2429
2018-06-06 16:28:15 +08:00
Angus Gratton
2ae5b41f56
ci: Use new common host_test tag for host-side testing
2018-06-06 17:20:44 +10:00
Michael (XIAO Xufeng)
939e5693a5
chore(spi): fix the terms of native to iomux
2018-06-06 06:08:39 +00:00
michael
75cdbcefc7
test(spi): add test for SPI timing
2018-06-06 06:08:39 +00:00
michael
208d993de1
test(spi_master): slightly modify the test
2018-06-06 06:08:39 +00:00
michael
5cf7d3768d
feat(spi_master): fine tune the timing of SPI
2018-06-06 06:08:39 +00:00
Jiang Jiang Jian
d441dd32ea
Merge branch 'bugfix/tw20393_tcp_pcb_purge_assert_v3.1' into 'master'
...
lwip: fix tcp_pcb_purge assert
See merge request idf/esp-idf!2512
2018-06-06 14:02:35 +08:00
Jin Fang Cheng Cheng
b889305c1b
Update blufi.rst
2018-06-06 12:11:57 +08:00
Jin Fang Cheng Cheng
4a25f18f21
Update blufi.rst
2018-06-06 12:05:27 +08:00
Jin Fang Cheng Cheng
ad48c2689f
Update blufi.rst
2018-06-06 11:58:46 +08:00
Jin Fang Cheng Cheng
3a15efd3c3
Delete api-guides_blufi.png
2018-06-06 11:46:13 +08:00
Liu Zhi Fu
6cc95809fb
lwip: fix tcp_pcb_purge assert
...
Remove the assert in tcp_pcb_purge()
2018-06-06 10:25:01 +08:00
chensheng
0b447f0003
test/fix bug refresh cache after connect
2018-06-06 02:17:06 +00:00
zhiweijian
822dac5659
Component/bt: fix memory leak
2018-06-06 02:17:06 +00:00
michael
3ba8461928
doc: fix the level inconsistent issue in Kconfig document
2018-06-05 10:36:18 +00:00
Roland Dobai
51e42d8e92
idf_monitor: add support for filtering options
2018-06-05 12:23:27 +02:00
Angus Gratton
b2ff235bd0
Merge branch 'bugfix/github_prs' into 'master'
...
Merge some small fixes from Github
See merge request idf/esp-idf!2500
2018-06-05 11:51:35 +08:00
island
f30410113b
component/bt: fix the issue where no gatt server request callback warning caused while acting as a GATTC
2018-06-05 02:41:34 +00:00
Angus Gratton
a8504b9628
docs: eclipse: Reword sentence, copy to Windows Eclipse guide also
...
Ref https://github.com/espressif/esp-idf/pull/1990
2018-06-05 09:53:59 +10:00
Konstantin Kondrashov
b1189f4f6a
newlib: Remove RTC_DATA_ATTR for adjtime
...
Using RTC_DATA_ATTR in newlib leads to increased power consumption in sleep mode. (RTC SLOW MEM)
2018-06-04 15:59:22 +05:00
Jiang Jiang Jian
8a4c9d7dfb
Merge branch 'doc/wifi_channel_state_information' into 'master'
...
add document of channel state information
See merge request idf/esp-idf!2468
2018-06-04 17:59:05 +08:00
Jiang Jiang Jian
d2d43cd52c
Merge branch 'bugfix/btdm_close_sleep_default' into 'master'
...
Component/btdm: close BT sleep in default config
See merge request idf/esp-idf!2499
2018-06-04 17:51:42 +08:00
wushifu32
736e10749f
correct eclipse build command
...
Merges https://github.com/espressif/esp-idf/pull/2024
2018-06-04 17:19:28 +10:00
Marcin Jaworski
5bc1bf4add
Fix PartitionDefinition comparison in Python 3
...
Merges https://github.com/espressif/esp-idf/pull/2018
2018-06-04 17:18:41 +10:00
Wenderson Oliveira
2a6c35c9af
Update eclipse-setup.rst
...
This is workaround for eclipse indexer problems. When I disable that option, my problems with eclipse and header files are gone.
Merges https://github.com/espressif/esp-idf/pull/1990
2018-06-04 16:47:03 +10:00
Stefan Profanter
18533346b8
Fix compile error using asm
...
In function 'xPortGetCoreID':
error: expected ')' before ':' token
:"=r"(id));
Merges https://github.com/espressif/esp-idf/pull/1965
2018-06-04 16:44:35 +10:00
Paul Reimer
c83c3b64cd
Add declarations of private nvs functions (nvs_*) in nvs_flash component to fix C++ -Wmissing-declarations warning
...
Merges https://github.com/espressif/esp-idf/pull/1956
2018-06-04 16:36:44 +10:00
Paul Reimer
e5ac96f49a
Add declarations of private cxx_guard functions (__cxa_guard_*) in cxx component to fix C++ -Wmissing-declarations warning
...
Merges https://github.com/espressif/esp-idf/pull/1956
2018-06-04 16:36:44 +10:00
Paul Reimer
d3b0e0e3fd
Unset COMPONENT_ADD_INCLUDEDIRS in cxx component to fix C++ -Wmissing-include-dirs warning
...
Merges https://github.com/espressif/esp-idf/pull/1956
2018-06-04 16:36:44 +10:00
Jin Fang Cheng Cheng
27d1a5d51e
Update index.rst
2018-06-04 14:24:40 +08:00
Jin Fang Cheng Cheng
bf29c7ca57
Update index.rst
2018-06-04 14:24:10 +08:00
Jin Fang Cheng Cheng
4232f69f98
Update blufi.rst
2018-06-04 14:22:04 +08:00
Jin Fang Cheng Cheng
aff4696cc4
Update blufi.rst
2018-06-04 14:21:12 +08:00
chensheng
0796099c29
test: filter duplicated ble adv events in test
2018-06-04 14:14:40 +08:00
zhiweijian
ae6b47a60a
Component/bt: close BT sleep in default config
2018-06-04 11:17:27 +08:00
Angus Gratton
5ed2d79572
Merge branch 'bugfix/mdns_remove_service' into 'master'
...
fix(mdns): fix the exception when remove one of multiple service
See merge request idf/esp-idf!2497
2018-06-04 08:39:38 +08:00
Liu Han
696d733eb0
fix(mdns): fix the exception when remove one of multiple service
2018-06-03 17:29:49 +08:00
Ivan Grokhotkov
f85be9f909
Merge branch 'bugfix/systemview_menu' into 'master'
...
fix the dependency of systemview config menu.
See merge request idf/esp-idf!2457
2018-06-01 21:52:16 +08:00
Jiang Jiang Jian
40da291d5d
Merge branch 'bugfix/wifi_fix_a_few_bugs' into 'master'
...
Fix a few WiFi bugs
See merge request idf/esp-idf!2491
2018-06-01 18:37:50 +08:00
Jiang Jiang Jian
cd3ce46b8f
Merge branch 'bugfix/a2dp_sink_fluent' into 'master'
...
component/bt : enlarge the A2DP SINK FRAME QUEUE SIZE to make A2DP more fluent
See merge request idf/esp-idf!2492
2018-06-01 18:34:20 +08:00
Tian Hao
21cb7226a2
component/bt : enlarge the A2DP SINK FRAME QUEUE SIZE to make A2DP more fluent
2018-06-01 16:51:23 +08:00
Ivan Grokhotkov
28877e7868
Merge branch 'feature/esp_error_check_prints_error_text' into 'master'
...
ESP_ERROR_CHECK converts error code to text
See merge request idf/esp-idf!2488
2018-06-01 16:43:37 +08:00
Jiang Jiang Jian
cb9483e844
Merge branch 'bugfix/btdm_a2dp_assert_warn_after_connected' into 'master'
...
component/bt: Fix bug a2dp assert warn after connected
See merge request idf/esp-idf!2470
2018-06-01 15:54:05 +08:00
Xia Xiaotian
7d5ef3c765
add document of channel state information
2018-06-01 15:45:00 +08:00
XiaXiaotian
5081714c53
Fix a few WiFi bugs
...
1. fix rx state parse if CSI is enabled.
2. make smartconfig channel timer thread safe.
3. fix sniffer filter mask to keep the same as IDF.
2018-06-01 14:25:43 +08:00
baohongde
c04a4a8527
component/bt: Fix bug a2dp assert warn after connected
2018-06-01 10:57:22 +08:00
Jiang Jiang Jian
50252ca794
Merge branch 'bugfix/btdm_malloc_fail_lead_to_exception' into 'master'
...
component/bt: Fix malloc fail lead to crash
See merge request idf/esp-idf!2485
2018-06-01 10:36:36 +08:00
Jiang Jiang Jian
5ff8732950
Merge branch 'bugfix/tw22958_fix_some_bugs_introduced_by_wifi_os_adapter' into 'master'
...
esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter
See merge request idf/esp-idf!2475
2018-06-01 10:34:04 +08:00
Roland Dobai
07acbb5664
ESP_ERROR_CHECK converts error code to text
...
If CONFIG_ESP_ERR_TO_NAME_LOOKUP is enabled, ESP_ERROR_CHECK
prints error message in addition to the error code.
2018-05-31 12:53:37 +02:00
Jiang Jiang Jian
a3a0b01c1b
Merge branch 'bugfix/btdm_fix_ble_throughput_demo_fail' into 'master'
...
Component/bt: fix throughput_demo_fail
See merge request idf/esp-idf!2467
2018-05-31 18:53:01 +08:00
Liu Zhi Fu
4afa5d0d29
esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter
...
1. Fix the WiFi/BT coexist bug
2. Fix WPA2 enterprise example crash bug
3. Add size and version check for crypto type struct
4. Add MD5 check for crypto type header file
2018-05-31 17:09:40 +08:00
Jiang Jiang Jian
eeff0ca1fa
Merge branch 'feature/xtensa_cleanup' into 'master'
...
xtensa: remove unused header files
See merge request idf/esp-idf!2471
2018-05-31 14:59:11 +08:00
xiewenxiang
4467b34da2
component/bt: Fix malloc fail lead to crash
2018-05-31 13:31:27 +08:00
Ivan Grokhotkov
834c056234
xtensa: remove unused header files
2018-05-31 02:21:36 +00:00
Angus Gratton
e764a3e671
Merge branch 'bugfix/btdm_add_makefile_for_coex_demo' into 'master'
...
Component/bt: add makefile for coex demo
See merge request idf/esp-idf!2477
2018-05-31 09:00:18 +08:00
zhiweijian
212b786119
Component/bt: fix throughput_demo_fail
2018-05-30 19:58:31 +08:00
Jiang Jiang Jian
9eade73539
Merge branch 'bugfix/tw19630_fix_espnow_watchdog' into 'master'
...
fix espnow watchdog when modify it's config parameter
See merge request idf/esp-idf!2480
2018-05-30 19:53:52 +08:00
Jiang Jiang Jian
fbbf4b0c03
Merge branch 'bugfix/btdm_fix_start_adv' into 'master'
...
Component/bt: fix start adv complete event state error in dual core
See merge request idf/esp-idf!2432
2018-05-30 19:41:39 +08:00
zhiweijian
26db749257
Component/bt: add makefile for coex demo
2018-05-30 19:33:52 +08:00
zhangyanjiao
9bd38c0d86
fix espnow watchdog when modify
2018-05-30 17:19:46 +08:00
zhiweijian
c8e848b0ff
Component/bt: fix start adv
2018-05-30 17:10:51 +08:00
Jiang Jiang Jian
1b1a179f20
Merge branch 'bugfix/tw20805_fix_wpa2_enterprise_issue' into 'master'
...
wpa_supplicant: fix wpa2 enterprise PEAP connection issue
See merge request idf/esp-idf!2474
2018-05-30 15:51:48 +08:00
Liu Zhi Fu
6c89ab9839
wpa_supplicant: fix wpa2 enterprise PEAP connection issue
...
Closes https://github.com/espressif/esp-idf/issues/1887
2018-05-30 13:48:29 +08:00
Michael (XIAO Xufeng)
2ee00cc3a6
fix the dependency of systemview config menu.
2018-05-28 12:51:01 +08:00
Jin Fang Cheng Cheng
8b884c4deb
Update blufi.rst
2018-05-25 15:09:34 +08:00
Jin Fang Cheng Cheng
1001083b1b
Update blufi.rst
2018-05-25 15:09:34 +08:00
Jin Fang Cheng Cheng
ad3af2cfc1
Update blufi.rst
2018-05-25 15:09:34 +08:00
Jin Fang Cheng Cheng
02d4168d68
Update blufi.rst
2018-05-25 15:09:34 +08:00
Jin Fang Cheng Cheng
27e4bea699
Update blufi.rst
2018-05-25 15:09:34 +08:00
Jin Fang Cheng Cheng
d0bf4a0e23
Update blufi.rst
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
5a3f351207
Update blufi.rst
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
27d22a7574
Update index.rst
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
0ea39a72b0
Update blufi.rst
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
b443075133
Update index.rst
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
7db69b4da3
Update blufi.rst
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
241048c9f9
Update blufi.rst
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
75021e376a
Upload api-guides_blufi.png
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
dd0bbebd4a
Upload blufi.rst
2018-05-25 15:09:33 +08:00
Jin Fang Cheng Cheng
799771b3fa
Upload blufi.rst
2018-05-25 15:09:33 +08:00
Alex Lisitsyn
44b1bc0ab9
esp32: Add .noinit and .rtc_noinit sections to the linker script
...
Added .rtc_noinit and .noinit section definitions into linker file /esp32/ld/esp32.common.ld.
The macro __NOINIT_ATTR, RTC_NOINIT_ATTR declared in esp32/esp_attr.h file.
Added unit test file to test added behavior for noinit variables and its attributes.
Added documentation changes for new added attributes.
Make some corrections after code review:
The linker file has been corrected to place noinit section before bss_start to make it safer.
Documentation file has been modified to clarify reset behavior of allocated data .
Corrected typos in test_noinit.c and removed assertion of noinit variable to avoid possible issues with ROM boot loader memory allocation.
The linker file has been corrected to place noinit section before bss_start to make it safer.
Documentation file has been modified to clarify reset behavior of allocated data .
Corrected typos in test_noinit.c and removed assertion of noinit variable to avoid possible issues with ROM boot loader memory allocation.
Update test_noinit.c file to address RTCWDT_RTC_RESET reset reason instead of POWERON_RESET.
Test optimized to pass automated unit testing.
esp32: Add .noinit and .rtc_noinit sections to the linker script
Update of general-notes.rst documentation to fomat examples as code and attributes as identifiers.
Test test_noinit.c corrected to pass automated testing (support ofTEST_CASE_MULTIPLE_STAGES())
https://ezredmine.espressif.cn:8765/issues/15878
2018-05-16 17:33:37 +05:00