Commit Graph

7103 Commits

Author SHA1 Message Date
Shubham Kulkarni
c8996feebb esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-28 05:00:45 +00:00
houwenxiang
8fcca01384 driver(uart): fix uart module reset issue (release V3.3)
On ESP32, due to fifo reset issue, UART2 will work incorrectly if reset the fifo of UART1(TX fifo and RX fifo). The software can workaround the RX fifo reset issue,

    while the TX fifo reset issue can not. When UART2 is used and UART1 is used as the log output port, a software reset can reproduce this issue. So we should reset the UART memory

    before the software reset to solve this problem.
2021-04-27 10:12:59 +00:00
wuzhenghui
da31949530 remove othercore cache disable 2021-04-27 14:29:49 +08:00
xiongweichao
f11f52b72f modify E8192 ELx200 ELx40 log level to LOGD 2021-04-25 10:33:47 +00:00
Angus Gratton
01fedd2b05 Merge branch 'bugfix/calc_8m_freq_test_v3.3' into 'release/v3.3'
rtc: increase CI acceptance range for calc 8M test (v3.3)

See merge request espressif/esp-idf!13089
2021-04-23 07:31:00 +00:00
Jiang Jiang Jian
13a069f276 Merge branch 'component_bt/optimize_spp_stop_server_v3.3' into 'release/v3.3'
component_bt/Optimize SPP Stop Server API[backport v3.3]

See merge request espressif/esp-idf!13164
2021-04-22 05:59:52 +00:00
Jiang Jiang Jian
aa8f1bef1e Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v3.3' into 'release/v3.3'
Bugfix/btdm backport ble bugs v3.3

See merge request espressif/esp-idf!12440
2021-04-22 05:59:38 +00:00
Jiang Jiang Jian
c3678c5378 Merge branch 'feature/support_transport_keepalive_v3.3' into 'release/v3.3'
Feature/support transport keepalive v3.3 [backport v3.3]

See merge request espressif/esp-idf!12154
2021-04-22 05:59:05 +00:00
Jiang Jiang Jian
9ab19d7b68 Merge branch 'nimble/add_error_prints_acl_buf_v3.3' into 'release/v3.3'
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v3.3)

See merge request espressif/esp-idf!12972
2021-04-22 05:58:24 +00:00
Jiang Jiang Jian
cf79bfbc5f Merge branch 'bugfix/fix_wifi_interface_use_v3.3' into 'release/v3.3'
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA  (backport v3.3)

See merge request espressif/esp-idf!12055
2021-04-22 05:57:04 +00:00
Jiang Jiang Jian
65b494567b Merge branch 'bugfix/ble_mesh_server_model_deinit_v3.3' into 'release/v3.3'
ble_mesh: stack: Fix deinit server models with no matching id (v3.3)

See merge request espressif/esp-idf!12317
2021-04-22 05:53:25 +00:00
Jiang Jiang Jian
22502bbd38 Merge branch 'bugfix/fix_tx_issue_after_esp_restart_v3.3' into 'release/v3.3'
components/bt: Shutdown Bluetooth before esp_restart.(V3.3)

See merge request espressif/esp-idf!11758
2021-04-22 05:52:18 +00:00
Jiang Jiang Jian
067f73d4ea Merge branch 'bugfix/btdm_assert_without_sw_coex_enable_v3.3' into 'release/v3.3'
components/bt: Fix assert without sw coexist enabled

See merge request espressif/esp-idf!12529
2021-04-22 05:51:39 +00:00
Jiang Jiang Jian
a943d21126 Merge branch 'feature/add_a2dp_init_deinit_comp_evt' into 'release/v3.3'
feature/ Add A2DP Init and Deinit Complete Evt [backport v3.3]

See merge request espressif/esp-idf!10151
2021-04-22 05:51:24 +00:00
Jiang Jiang Jian
fab97e2405 Merge branch 'bugfix/crash_on_enabling_verbose_logs_v3.3' into 'release/v3.3'
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v3.3)

See merge request espressif/esp-idf!12492
2021-04-22 05:50:58 +00:00
Jiang Jiang Jian
94f5bc17a9 Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config_v3.3' into 'release/v3.3'
bugfix/fix_arp_buffer_error_in_smart_config_v3.3

See merge request espressif/esp-idf!12291
2021-04-22 05:50:23 +00:00
Jiang Jiang Jian
eaa02c0ef8 Merge branch 'feat/ble_mesh_multiple_nvs_namespace_v3.3' into 'release/v3.3'
ble_mesh: stack: Provisioner supports multiple nvs namespaces (v3.3)

See merge request espressif/esp-idf!11950
2021-04-22 05:48:44 +00:00
Jiang Jiang Jian
5f03326833 Merge branch 'bugfix/fix_a2dp_underrun_issue_3_3' into 'release/v3.3'
Fix a2dp underrun issue [backport v3.3]

See merge request espressif/esp-idf!12280
2021-04-22 05:47:51 +00:00
Jiang Jiang Jian
bc625858ae Merge branch 'bugfix/esp_pm_dump_critical_v3.3' into 'release/v3.3'
esp_pm: esp_pm_dump_locks: don't print from a critical section, and fix formatting (backport v3.3)

See merge request espressif/esp-idf!12017
2021-04-22 05:47:12 +00:00
liqigan
85be396cd3 add API esp_spp_stop_srv_scn to stop a specific server 2021-04-16 09:52:27 +08:00
Angus Gratton
63d482e162 Merge branch 'backport/anti-fi-check-sbv1-v3.3.3' into 'release/v3.3'
bootloader: Add fault injection resistance to Secure Boot bootloader verification

See merge request espressif/esp-idf!12738
2021-04-12 23:53:05 +00:00
Marius Vikhammer
9a338bc8c3 docs: fix doxygen compile warnings for doxygen 1.9.1
Newer versions of doxygen will give warnings for comments in
INPUT lists

Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:43:57 +08:00
Marius Vikhammer
a680159bbb rtc: increase CI acceptance range for calc 8M test 2021-04-09 15:06:55 +08:00
Sachin Parekh
3c7f439d5b bootloader: Add fault injection resistance to Secure Boot bootloader verification 2021-03-31 17:54:45 +05:30
Angus Gratton
08ce445ab6 Merge branch 'feature/twdt_prints_backtrace_v3.3' into 'release/v3.3'
Add Task Watchdog backtrace printing (v3.3)

See merge request espressif/esp-idf!12624
2021-03-31 05:17:23 +00:00
Prasad Alatkar
2b18d3c628 NimBLE: Add error prints for ACL buffer exhaustion in NPL 2021-03-31 10:44:07 +05:30
Mahavir Jain
7c86027531 Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources_v3.3' into 'release/v3.3'
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option (v3.3)

See merge request espressif/esp-idf!12421
2021-03-26 06:42:07 +00:00
Mahavir Jain
5713bb1bb8 Merge branch 'fix/esp_tls_add_warning_if_ca_chain_has_invalid_cert_v3.3' into 'release/v3.3'
esp_tls: Add warning if the CA chain provided contains one/more invalid cert

See merge request espressif/esp-idf!11942
2021-03-26 06:25:37 +00:00
Mahavir Jain
9eb39ef409 Merge branch 'bugfix/http_client_buffer_overread_v3.3' into 'release/v3.3'
esp_http_client: Fix buffer overread, update https_request example to use HTTP/1.1 (v3.3)

See merge request espressif/esp-idf!12111
2021-03-26 05:23:07 +00:00
Mahavir Jain
f227fc69e5 Merge branch 'feature/upgrade_mbedtls_to_v3.3' into 'release/v3.3'
mbedtls: upgrade to v2.16.9 release (v3.3)

See merge request espressif/esp-idf!11902
2021-03-26 05:02:46 +00:00
Mahavir Jain
069de99a9e mbedtls: upgrade to v2.16.9 release
For details release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.9
2021-03-26 02:42:29 +00:00
Shubham Kulkarni
f5acc1e446 esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru 2021-03-26 02:41:50 +00:00
Shubham Kulkarni
e16ab463d9 esp_http_client.c: Clear raw_len for response buffer after dispatching HTTP_EVENT_ON_FINISH event
Closes: https://github.com/espressif/esp-idf/issues/6146
2021-03-26 02:41:24 +00:00
Aditya Patwardhan
832128faf0 esp_tls: Add warning if the CA chain provided contains one/more invalid cert 2021-03-26 02:41:15 +00:00
xiehang
2091f4db1c esp_wifi: Modify WIFI_IF_AP to TCPIP_ADAPTER_IF_AP 2021-03-25 10:53:50 +08:00
xiehang
1975d39d44 esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP 2021-03-25 10:53:28 +08:00
xiehang
ee2b8a65a0 esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA 2021-03-25 10:51:36 +08:00
He Yin Ling
03810c4a06 versions: Update version to 3.3.5 2021-03-25 10:23:16 +08:00
fuzhibo
61a68ae95e driver(dac): fix dac header file self contained issue 2021-03-24 17:12:11 +08:00
Jiang Jiang Jian
343521ab1a Merge branch 'bugfix/fix-modem-sleep-mr-v3.3' into 'release/v3.3'
Fix the bug of modem sleep

See merge request espressif/esp-idf!12861
2021-03-24 09:06:57 +00:00
“YangZhao”
8eb75313d4 Fix the bug of modem sleep which may lead to the crash issue "assert(-218959118,0)" 2021-03-23 21:29:33 +08:00
shenjun
73117b8c94 esp_wifi_mesh: fix error issue when both mesh and ble are enabled 2021-03-15 14:30:34 +08:00
xiehang
cd90dfa38b Revert "Refactor wifi_interface_t"
This reverts commit ae24692785.

Closes: https://github.com/espressif/arduino-esp32/issues/4905
2021-03-08 17:02:22 +08:00
baohongde
a10dac936c components/bt: Fix crash in Bluetooth when esp_restart 2021-03-05 21:54:47 +08:00
baohongde
2ad908f71e components/bt: Shutdown Bluetooth before esp_restart. 2021-03-05 21:54:20 +08:00
Jiang Jiang Jian
0bfff0b25a Merge branch 'bugfix/fix_csa_channel_crash_v3.3' into 'release/v3.3'
esp_wifi: fix CSA and BAR crash issue(v3.3)

See merge request espressif/esp-idf!12552
2021-03-05 12:31:58 +00:00
Darian Leung
a1fd207aee Add Task Watchdog backtrace printing
This commit makes the Task Watchdog print the backtrace of both
cores when it times out.
2021-03-04 19:01:48 +11:00
Darian Leung
1786fc9ed2 esp32: Refactor backtrace and add esp_backtrace_print()
This commit refactors backtracing within the panic handler so that a common
function esp_backtrace_get_next_frame() is used iteratively to traverse a
callstack.

A esp_backtrace_print() function has also be added that allows the printing
of a backtrace at runtime. The esp_backtrace_print() function allows unity to
print the backtrace of failed test cases and jump back to the main test menu
without the need reset the chip. esp_backtrace_print() can also be used as a
debugging function by users.
2021-03-04 19:01:48 +11:00
Jiang Jiang Jian
c8915cd157 Merge branch 'bugfix/fix_spp_can_not_connect_twice' into 'release/v3.3'
Bugfix/Fix SPP Reconnect Failed after Disconnet

See merge request espressif/esp-idf!12241
2021-03-04 03:37:21 +00:00
ChenJianxing
88898e2f96 esp_wifi: fix CSA and BAR crash issue 2021-02-27 17:09:57 +08:00
aditi_lonkar
d6cafddaa3 esp_wifi: Fixes issue of crashing when verbose logs are enabled. 2021-02-26 19:07:33 +05:30
baohongde
716edebbbd components/bt: Fix assert without sw coexist enabled 2021-02-26 14:44:57 +08:00
zhiweijian
47c0ce6fca add connection parameter check 2021-02-22 15:14:32 +08:00
zhiweijian
c02d5a4d85 fix ble connection maximum latency is 499 2021-02-22 15:11:03 +08:00
zhiweijian
7ffe2c3136 disable bluedroid congest error log print 2021-02-22 14:58:59 +08:00
zhiweijian
208c2fb0fb fix read multi char failed(GATT_27001) 2021-02-22 14:56:10 +08:00
zhiweijian
1f4d3ac30a fix bluedroid repair faild if the two most significant bits of public address is '01' 2021-02-22 14:54:01 +08:00
zhiweijian
928e004208 fix ble read multi char err when the number of handles is more than 10 2021-02-22 14:51:33 +08:00
zhiweijian
db72885f15 fix scan rsp length err 2021-02-22 14:45:05 +08:00
KonstantinKondrashov
1e4552533d esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
Closes: https://github.com/espressif/esp-idf/issues/6037
2021-02-19 20:02:49 +08:00
Chinmay Chhajed
dcaaddae37 component/bt: Added check for NULL valued combination key. 2021-02-10 17:19:20 +05:30
Chinmay Chhajed
4936e8f86c Bluedroid: Do not initiate/accept connection with device having same BDADDR.
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-10 17:16:47 +05:30
Chinmay Chhajed
6a4e69f442 bt: removed esp_bt_get_mac()
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-10 17:12:27 +05:30
lly
19a578c2e0 ble_mesh: stack: Fix deinit server models with no matching id 2021-02-07 11:20:44 +08:00
dongyou
c505fe650f fix smartconfig issue when router reply arp late 2021-02-05 12:01:05 +08:00
weitianhua
94e84e6c0c Fix audio underrun issue with oppo x20 2021-02-04 19:39:39 +08:00
lly
98e17de350 ble_mesh: stack: Provisioner supports multiple nvs namespaces
Now Provisioner can use different NVS namespaces to store
different instances of mesh information, for example, for
different user accounts.
2021-02-04 07:16:35 +00:00
liqigan
539718735b fix spp connect failed or discovery failed after the first connection release 2021-02-03 17:23:45 +08:00
weitianhua
33ad4b6f84 Add A2DP Init and Deinit Complete Evt 2021-01-26 11:15:35 +08:00
Shubham Kulkarni
8610ce4f34 Add options for esp_http_client and esp_websocket_client to support keepalive 2021-01-25 17:48:54 +08:00
yuanjm
af50ceb5e6 Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection 2021-01-25 17:48:47 +08:00
zhangyanjiao
a3740c97c9 fix the bug that espnow recv fail 2021-01-21 15:07:57 +08:00
Jiang Jiang Jian
3f15854d96 Merge branch 'bugfix/fix_some_wifi_bugs_0105_v3.3' into 'release/v3.3'
Bugfix/fix some wifi bugs 0105 v3.3 (backport v3.3)

See merge request espressif/esp-idf!11945
2021-01-18 21:22:48 +08:00
Jiang Jiang Jian
854ccb743d Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn_v3.3' into 'release/v3.3'
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR. (v3.3)

See merge request espressif/esp-idf!11993
2021-01-18 14:35:25 +08:00
Jiang Jiang Jian
5ee8a808c8 Merge branch 'bugfix/fix_tcp_mss_issue_v3.3' into 'release/v3.3'
esp_wifi: The maximum value of modifying TCP MSS is 1460 (v3.3)

See merge request espressif/esp-idf!11999
2021-01-18 14:21:36 +08:00
Ivan Grokhotkov
5080a23ac3 esp_pm: fix formatting issues in esp_pm_dump_locks
- line was truncated because 64 characters were not sufficient
- length passed to snprintf should be full buffer length, not -1
- make the width of lock name field fixed
- fix alignment of lock type column
2021-01-15 12:46:46 +01:00
Ivan Grokhotkov
827bb925b7 esp_pm: esp_pm_dump_locks: don't print from a critical section
Reported in https://github.com/espressif/esp-idf/issues/1917
2021-01-15 12:45:45 +01:00
xiehang
a31000dcb6 esp_wifi: The maximum value of modifying TCP MSS is 1660 2021-01-14 19:50:24 +08:00
Chinmay Chhajed
092dc133cc Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR. 2021-01-14 14:32:58 +05:30
ronghulin
675d6f26d4 bugfix: fix ICMP specify length issue 2021-01-14 14:40:13 +08:00
xiehang
d3a27596a1 CI: Fix test_phy_rtc_cache_task stack overflow 2021-01-13 19:48:47 +08:00
xiehang
426736c769 bugfix: fix some wifi bugs
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
2021-01-11 19:21:18 +08:00
xiehang
ae24692785 esp_wifi: Update WiFi lib
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
7. Refactor wifi_interface_t
8. Faster WiFi station connect improvement, avoid 100ms passive scan
9. Add FCS failed packets filter
10.Update esp32 phy lib to v4660
11.Fix csa timer issue
12.Fix country code last byte to space instead of NULL
13.Fix softap cannot forward A-MSDU
14.Fix max tx power to 20dBm
15.Fix the issue that the esp_wifi_sta_get_ap_info can't get country
2021-01-11 19:21:13 +08:00
xiehang
3df5b89c91 esp_wifi: ESP32 phy add [sections:phy_iram] 2021-01-11 15:32:46 +08:00
xiehang
3a56cfc9b3 esp_wifi: optimize phy version log 2021-01-11 15:32:37 +08:00
Jiang Jiang Jian
cd59d107b2 Merge branch 'bugfix/ble_mesh_node_id_adv_v3.3' into 'release/v3.3'
ble_mesh: stack: Fix Node ID adv with wrong timeout (v3.3)

See merge request espressif/esp-idf!11880
2021-01-11 11:46:41 +08:00
Jiang Jiang Jian
66a1b39814 Merge branch 'bugfix/add_macro_to_blufi' into 'release/v3.3'
component/bt: Add a macro to control the compilation of blufi.(backport v3.3)

See merge request espressif/esp-idf!11891
2021-01-11 11:45:14 +08:00
Jiang Jiang Jian
1df7be0e58 Merge branch 'feat/ble_mesh_provisioner_recv_hb_support_v3.3' into 'release/v3.3'
Feat/ble mesh provisioner recv hb support (v3.3)

See merge request espressif/esp-idf!11916
2021-01-11 11:44:27 +08:00
lly
e9caf68d6e ble_mesh: stack: Provisioner supports receiving heartbeat 2021-01-08 09:35:03 +08:00
xiehang
60291300a2 Revert "esp_wifi: Fix handling of multiple AP credentials in WPS"
This reverts commit de0d1fffcd.
2021-01-06 19:30:56 +08:00
wangcheng
e9d28837ec component/bt: Add a macro to control the compilation of blufi. 2021-01-06 18:04:30 +08:00
lly
6c6ad3f772 ble_mesh: stack: Fix Node ID adv with wrong timeout 2021-01-05 20:16:42 +08:00
Jiang Jiang Jian
71df1f7422 Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v3.3' into 'release/v3.3'
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v3.3)

See merge request espressif/esp-idf!10245
2021-01-05 11:10:35 +08:00
XieWenxiang
d8b42e565c component/bt: fix Blufi sends data after disconnect the seq still increase(backport v3.3) 2021-01-05 01:53:33 +00:00
Jiang Jiang Jian
509de0aac3 Merge branch 'bugfix/mcpwm_period_error_v3.3' into 'release/v3.3'
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v3.3)

See merge request espressif/esp-idf!7186
2021-01-05 09:53:22 +08:00
Jiang Jiang Jian
f3aaa39c43 Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v3.3' into 'release/v3.3'
component/bt: fix Blufi sends longer customer data will will lead congested(backport v3.3)

See merge request espressif/esp-idf!11724
2021-01-05 09:51:39 +08:00
Angus Gratton
f61f54ee67 Merge branch 'feature/dis_uart_dl_mode_v3.3' into 'release/v3.3'
feature: Disable UART download mode (v3.3)

See merge request espressif/esp-idf!10767
2021-01-04 15:29:14 +08:00
Sachin Parekh
25147f2560 i2c: Acquire PM lock after acquiring mutex 2020-12-30 13:25:40 +05:30
Chen Zheng Wei
d3eb487d40 mcpwm: fix the issue of wrong period (backport v3.3) 2020-12-28 03:48:11 +00:00
Jiang Jiang Jian
c4aafb06ce Merge branch 'feature/nvs_erase_check_init_3.3' into 'release/v3.3'
NVS Flash: prevent erasing initialized partition (backport v3.3)

See merge request espressif/esp-idf!10072
2020-12-28 11:46:34 +08:00