Zim Kalinowski
349385cb64
Merge branch 'update/release_v4.1.4' into 'release/v4.1'
...
Update version to v4.1.4
See merge request espressif/esp-idf!21553
2022-12-12 15:05:20 +08:00
Zim Kalinowski
9173ec9d30
versions: Update to v4.1.4
2022-12-10 10:38:22 +01:00
Jiang Jiang Jian
acf6a3c558
Merge branch 'bugfix/nvs_coverity_issues_4.1' into 'release/v4.1'
...
bugfix (nvs): Fixed issues found by Coverity (backport 4.1)
See merge request espressif/esp-idf!17765
2022-12-01 18:24:31 +08:00
Jiang Jiang Jian
742ed8b414
Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v4.1' into 'release/v4.1'
...
component_bt: Fixed a2dp failing to connect again after disconnect(v4.1)
See merge request espressif/esp-idf!21346
2022-12-01 17:53:43 +08:00
Jiang Jiang Jian
0420bfcfee
Merge branch 'bugfix/unprot_sa_query_issue_v4.1' into 'release/v4.1'
...
Fix unprotected SA Query issue (backport v4.1)
See merge request espressif/esp-idf!21317
2022-12-01 17:53:36 +08:00
Nachiket Kukade
2100c1ded9
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue
2022-11-30 17:23:44 +05:30
xiongweichao
54c36a63ce
bt: Fixed a2dp failing to connect again after disconnect
2022-11-30 19:23:09 +08:00
Jiang Jiang Jian
2c435e1a33
Merge branch 'bugfix/security_params_overwrite_v4.1' into 'release/v4.1'
...
Add changes to prevent security params overwritten in full scan (backport v4.1)
See merge request espressif/esp-idf!21273
2022-11-30 11:02:00 +08:00
gauri patankar
3c0db8c6b3
Add changes to prevent security params overwritten in full scan (backport v4.1)
2022-11-25 18:20:11 +05:30
Jiang Jiang Jian
4a8fc7ed9c
Merge branch 'bugfix/fix_stale_pmf_config_v4.1' into 'release/v4.1'
...
Fix stale PMF config in NVS issue (Backport v4.1)
See merge request espressif/esp-idf!21201
2022-11-25 11:53:50 +08:00
Jiang Jiang Jian
d1539b3b3f
Merge branch 'bugfix/change_log_print_forv4.1' into 'release/v4.1'
...
ble_mesh:example:Add command to test the function of duplicate exceptional list(v4.1)
See merge request espressif/esp-idf!21124
2022-11-25 10:44:46 +08:00
Yuan Hong Hui
2fdc78b882
ble_mesh:example:Add command to test the function of duplicate exceptional list(v4.1)
2022-11-25 10:44:46 +08:00
Jiang Jiang Jian
37b65cfc4a
Merge branch 'bugfix/fixing_memory_leak_wps_scan_v4.1' into 'release/v4.1'
...
wpa_supplicant : Fixed memory leak issue in wps scan(backport v4.1)
See merge request espressif/esp-idf!20990
2022-11-25 10:44:34 +08:00
Jiang Jiang Jian
3c46bd7ce4
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v4.1' into 'release/v4.1'
...
fixed the issue iOS devices cannot initiate connection (v4.1)
See merge request espressif/esp-idf!21059
2022-11-25 10:44:24 +08:00
Jiang Jiang Jian
52bc2064f2
Merge branch 'bugfix/fix_hfp_clcc_parser_bug_4.1' into 'release/v4.1'
...
Bugfix/Fix HFP client parse CLCC command response bug[backport 4.1]
See merge request espressif/esp-idf!21162
2022-11-25 10:44:14 +08:00
Nachiket Kukade
ca4448a700
esp_wifi: Update wifi lib
...
Fix issue where set_config API uses stale NVS config if PMF disable
API was used before
2022-11-23 12:33:04 +05:30
Jakob Hasse
41501c4f23
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-11-22 09:21:05 +00:00
jgujarathi
7d7481845f
wpa_supplicant : Fixed a memory leak issue created when parsing scan results
2022-11-21 17:26:35 +05:30
liqigan
1150295092
fix HFP client parse CLCC command response bug
2022-11-18 19:52:59 +08:00
Jin Cheng
c6277f4383
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:51:30 +08:00
Jiang Jiang Jian
d1b3b6a577
Merge branch 'bugfix/fix_disassembler_interpreting_padding_v4.1' into 'release/v4.1'
...
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file (backport v4.1)
See merge request espressif/esp-idf!19614
2022-11-09 18:57:05 +08:00
Jiang Jiang Jian
6f45916ffe
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix can't trans optional info to group address(v4.1)
See merge request espressif/esp-idf!20962
2022-11-08 11:02:43 +08:00
Jiang Jiang Jian
7562fe1720
Merge branch 'bugfix/ble_mesh_console_memory_leak_test_forv4.1' into 'release/v4.1'
...
ble_mesh:example:fix memory leak(v4.1)
See merge request espressif/esp-idf!20041
2022-11-08 11:02:12 +08:00
David Čermák
d6f897956e
Merge branch 'bugfix/cxx_exception_pool_4.1' into 'release/v4.1'
...
startup: Make __cxx_eh_arena_size_get return 0 if exceptions disabled (v4.1)
See merge request espressif/esp-idf!19292
2022-11-07 21:31:11 +08:00
wangjialiang
1d661e2786
ble_mesh: stack: Fix can't trans optional info to group address
2022-11-07 15:53:24 +08:00
Jakob Hasse
99352c4d23
startup: Make __cxx_eh_arena_size_get return 0 if exceptions disabled
...
This function is necessary to provide the emergency exception
memory pool size for C++ code.
Since our libstdc++ always has exceptions enabled, this function
must exist here even if -fno-exception is set for user code.
2022-11-03 12:02:39 +00:00
Michael (XIAO Xufeng)
d1a33ea1d1
Merge branch 'bugfix/fix_uart_fake_tx_done_v4.1' into 'release/v4.1'
...
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done() (backport v4.1)
See merge request espressif/esp-idf!20317
2022-11-02 18:09:36 +08:00
Jiang Jiang Jian
ec32bf2a64
Merge branch 'bugfix/combined_softap_pmf_fixes_v4.1' into 'release/v4.1'
...
Combined bugfixes for SoftAP and PMF (Backport v4.1)
See merge request espressif/esp-idf!19126
2022-11-01 11:06:32 +08:00
Jiang Jiang Jian
c3330628f4
Merge branch 'bugfix/use_nonblocking_coex_callback_v4.1' into 'release/v4.1'
...
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth(backport v4.1)
See merge request espressif/esp-idf!20810
2022-11-01 10:48:19 +08:00
morris
1617200e5e
Merge branch 'bugfix/spi_slave_intr_iram_v4.1' into 'release/v4.1'
...
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is (v4.1)
See merge request espressif/esp-idf!17834
2022-10-31 20:30:11 +08:00
Nachiket Kukade
a735c0513e
esp_wifi: Update wifi libs
...
Update wifi libs with below fixes -
1. Improved error handling in SoftAP Rx path, fixed LoRa IE length
2. Handle low memory scenario in STA PMF
2022-10-31 17:41:37 +05:30
Song Ruo Jing
5d06480236
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in d778f3f3fb77b5e734cfc0e651fa770350baed4f
2022-10-31 08:24:41 +00:00
Ivan Grokhotkov
efc00f1183
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
...
Closes https://github.com/espressif/esp-idf/issues/3870
2022-10-31 03:40:37 +00:00
Wang Meng Yang
12dddeb160
Merge branch 'bugfix/spp_vfs_mode_send_data_fail_v4.1' into 'release/v4.1'
...
bt: Fixed SPP VFS mode not being able to send data(v4.1)
See merge request espressif/esp-idf!20800
2022-10-27 10:50:09 +08:00
Jiang Jiang Jian
b308c5b676
Merge branch 'bugfix/build_wifi_lib_with_Os_v4.1' into 'release/v4.1'
...
esp_wifi: build wifi lib with -Os optimization (Backport v4.1)
See merge request espressif/esp-idf!20777
2022-10-27 10:43:04 +08:00
wangmengyang
38fc312d26
bt: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth on ESP32
2022-10-26 19:06:43 +08:00
Wang Meng Yang
e9ded8fdec
Merge branch 'bugfix/handle_issue_of_malloc_fail_v4.1' into 'release/v4.1'
...
bugfix/avoid unexpected free when malloc failed (v4.1)
See merge request espressif/esp-idf!20724
2022-10-26 18:57:32 +08:00
xiongweichao
c346cd4e9f
bt: Fixed SPP VFS mode not being able to send data
2022-10-26 16:20:03 +08:00
Jiang Jiang Jian
8da39d82ca
Merge branch 'bugfix/fix_esp32_some_bugs_v4.1' into 'release/v4.1'
...
Fixed BLE ASSERT_PARAM(32 0) in rwble.c at line 384 on ESP32(backport v4.1)
See merge request espressif/esp-idf!20764
2022-10-26 10:55:58 +08:00
Jiang Jiang Jian
af9e3e827f
Merge branch 'bugfix/update_ctrl_init_config_macro_v4.1' into 'release/v4.1'
...
Bugfix/update ctrl init config macro (v4.1)
See merge request espressif/esp-idf!20715
2022-10-25 17:41:28 +08:00
zhangyanjiao
a2997a92de
esp_wifi: build wifi lib with -Os optimization
2022-10-25 17:01:19 +08:00
zhiweijian
901828c1d8
Fixed ESP32 BLE assert(32 0)
2022-10-25 11:54:00 +08:00
zwj
5ab210b986
allow bluedroid host to report adv_ind separately
2022-10-25 11:53:49 +08:00
Island
db6821665b
Merge branch 'bugfix/remove_get_modle_and_get_comp_api_forv4.1' into 'release/v4.1'
...
ble_mesh:example:change the method of get model(for v4.1)
See merge request espressif/esp-idf!20396
2022-10-24 19:43:13 +08:00
Jiang Jiang Jian
7d9b0b456c
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host_v4.1' into 'release/v4.1'
...
component_bt: fix legacy pair controller does not send the link key to the host (v4.1)
See merge request espressif/esp-idf!19324
2022-10-24 13:58:31 +08:00
Jiang Jiang Jian
5fbc8774b6
Merge branch 'bugfix/esp_spp_write_len_0_v4.1' into 'release/v4.1'
...
bt: Fixed esp_spp_write() crash when len is 0 (v4.1)
See merge request espressif/esp-idf!20709
2022-10-24 12:31:22 +08:00
xiongweichao
08282760be
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-10-24 04:29:36 +00:00
Jiang Jiang Jian
51359eb270
Merge branch 'bugfix/fix_some_wifi_bugs_1019_v4.1' into 'release/v4.1'
...
esp_wifi: fix some wifi bugs(Backport v4.1)
See merge request espressif/esp-idf!20685
2022-10-24 12:25:36 +08:00
Fu Hanxi
552853a8dd
Merge branch 'ci/force_based_on_commit_v4.1' into 'release/v4.1'
...
ci: support one pipeline must based on commmits (v4.1)
See merge request espressif/esp-idf!17925
2022-10-24 08:57:13 +08:00
muhaidong
20294ff1f0
esp_wifi: fix some wifi bugs
...
1. fix pairwise cipher tkip pmf compability issue
2. compute packet length use lldesc length instead rx_ctl sig_len for sniffer
3. refactor WiFi ioctl function
2022-10-21 17:48:22 +08:00
tgotic
f738750ae6
[bt] fix if allocation fails
...
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:59:04 +08:00
Jin Cheng
3f27363753
Corrects header names in string from "bt.h" to "esp_bt.h".
2022-10-21 13:15:44 +08:00
xiongweichao
65d3c54c19
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-21 11:33:37 +08:00
Jiang Jiang Jian
0736faff89
Merge branch 'bugfix/fix_sta_scan_when_already_connected_v4.1' into 'release/v4.1'
...
esp-wifi: Restores station status to connected when no other AP is found for roam
See merge request espressif/esp-idf!20391
2022-10-21 10:46:35 +08:00
Fu Hanxi
514a6f8589
ci: support one pipeline must based on commmits
2022-10-20 12:46:03 +00:00
Jiang Jiang Jian
bbfca2c729
Merge branch 'bugfix/revert_commit_da44fc9c_v4.1' into 'release/v4.1'
...
Revert "fixed the issue iOS devices cannot initiate connection" (v4.1)
See merge request espressif/esp-idf!20669
2022-10-20 19:19:04 +08:00
Island
e51646aff0
Merge branch 'feature/Add_IVI_recovery_option_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update(v4.1)
See merge request espressif/esp-idf!20645
2022-10-20 16:43:03 +08:00
Island
3ab621c0a3
Merge branch 'bugfix/fix_fast_interval_prov_adv_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix send fast interval prov_adv failed(v4.1)
See merge request espressif/esp-idf!20636
2022-10-20 16:42:11 +08:00
Michael (XIAO Xufeng)
29b807713b
Merge branch 'feat/epi_flash_api_iram_save_4.1' into 'release/v4.1'
...
spi_flash: partially move API functions out of IRAM (v4.1)
See merge request espressif/esp-idf!18477
2022-10-19 03:32:10 +08:00
Jin Cheng
87ca734e48
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe .
2022-10-18 19:46:19 +08:00
Michael (XIAO Xufeng)
3f09c2abc9
bootloader: support unlock MXIC flash chips
2022-10-17 19:15:25 +08:00
Cao Sen Miao
dda13f88ea
spi_flash: move the unlock patch to bootloader and add support for GD
2022-10-17 19:15:25 +08:00
Michael (XIAO Xufeng)
fa18296c32
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
...
The user register, especially dummy related ones, needs to be restored, otherwise the ROM function will not work.
Introduced in dd40123129 .
2022-10-17 19:15:25 +08:00
Michael (XIAO Xufeng)
bab633cf9e
bootloader: add xmc spi_flash startup flow to improve reliability
2022-10-17 19:15:25 +08:00
Michael (XIAO Xufeng)
eba6f019ef
bootloader: create public bootloader_flash.h header
...
Move non-public functions into bootloader_flash_priv.h header
2022-10-17 19:15:25 +08:00
Michael (XIAO Xufeng)
d2f9113d14
bootloader: fix the WRSR format for ISSI flash chips
...
1. The 2nd bootloader always call `rom_spiflash_unlock()`, but never help to clear the WEL bit when exit. This may cause system unstability.
This commit helps to clear WEL when flash configuration is done.
**RISK:** When the app starts, it didn't have to clear the WEL before it actually write/erase. But now the very first write/erase operation should be done after a WEL clear. Though the risk is little (all the following write/erase also need to clear the WEL), we still have to test this carefully, especially for those functions used by the OTA.
2. The `rom_spiflash_unlock()` function in the patch of ESP32 may (1) trigger the QPI, (2) clear the QE or (3) fail to unlock the ISSI chips.
Status register bitmap of ISSI chip and GD chip:
| SR | ISSI | GD25LQ32C |
| -- | ---- | --------- |
| 0 | WIP | WIP |
| 1 | WEL | WEL |
| 2 | BP0 | BP0 |
| 3 | BP1 | BP1 |
| 4 | BP2 | BP2 |
| 5 | BP3 | BP3 |
| 6 | QE | BP4 |
| 7 | SRWD | SRP0 |
| 8 | | SRP1 |
| 9 | | QE |
| 10 | | SUS2 |
| 11 | | LB1 |
| 12 | | LB2 |
| 13 | | LB3 |
| 14 | | CMP |
| 15 | | SUS1 |
QE bit of other chips are at the bit 9 of the status register (i.e. bit 1 of SR2), which should be read by RDSR2 command.
However, the RDSR2 (35H, Read Status 2) command for chip of other vendors happens to be the QIOEN (Enter QPI mode) command of ISSI chips. When the `rom_spiflash_unlock()` function trys to read SR2, it may trigger the QPI of ISSI chips.
Moreover, when `rom_spiflash_unlock()` try to clear the BP4 bit in the status register, QE (bit 6) of ISSI chip may be cleared by accident. Or if the ISSI chip doesn't accept WRSR command with argument of two bytes (since it only have status register of one byte), it may fail to clear the other protect bits (BP0~BP3) as expected.
This commit makes the `rom_spiflash_unlock()` check whether the vendor is issi. if so, `rom_spiflash_unlock()` only send RDSR to read the status register, send WRSR with only 1 byte argument, and also avoid clearing the QE bit (bit 6).
3. `rom_spiflash_unlock()` always send WRSR command to clear protection bits even when there is no protection bit active. And the execution of clearing status registers, which takes about 700us, will also happen even when there's no bits cleared.
This commit skips the clearing of status register if there is no protection bits active.
Also move the execute_flash_command to be a bootloader API; move
implementation of spi_flash_wrap_set to the bootloader
2022-10-17 19:15:25 +08:00
Michael (XIAO Xufeng)
740b961bb1
test_spiffs: increase test case stack size
2022-10-17 19:15:24 +08:00
Michael (XIAO Xufeng)
61989e0fbb
spi_flash: partially move API functions out of IRAM
2022-10-17 19:15:24 +08:00
wangjialiang
eab26282ce
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update
2022-10-17 16:55:46 +08:00
wangjialiang
11bd23d67e
ble_mesh: stack: Fix send fast interval prov_adv failed when PB-ADV and PB-GATT enable simultaneously
2022-10-17 16:41:12 +08:00
Roland Dobai
56dff0beae
Merge branch 'fix/virtualenv_dir_v4.1' into 'release/v4.1'
...
Tools: Keep making virtual environments with python in the bin directory (v4.1)
See merge request espressif/esp-idf!20622
2022-10-17 01:04:54 +08:00
Roland Dobai
e4d57fa1fa
Tools: Keep making virtual environments with python in the bin directory
...
On Ubuntu 22.04 virtualenv with the latest setuptools produces
environments with Python in "local/bin" instead of "bin" (see
https://github.com/pypa/virtualenv/issues/2350 ).
Closes https://github.com/espressif/esp-idf/issues/9931
2022-10-14 15:38:24 +02:00
Michael (XIAO Xufeng)
c5dfaec6b3
Merge branch 'feat/essl_extra_component_v4.1' into 'release/v4.1'
...
sdio/example: fixed the essl return value issue (v4.1)
See merge request espressif/esp-idf!20348
2022-10-14 16:19:41 +08:00
morris
5bf01cedf6
Merge branch 'bugfix/fix_rtc8m_calibration_fail_after_cpu_core_reset_v4.1' into 'release/v4.1'
...
rtc_clk: Fix rtc8m calibration failure after cpu/core reset (backport v4.1)
See merge request espressif/esp-idf!20556
2022-10-14 14:07:20 +08:00
Song Ruo Jing
ed3a570e20
rtc_clk: Fix rtc8m calibration failure after cpu/core reset
...
Explicitly guarantee 8md256 clk is enabled before calibration
2022-10-12 12:46:41 +08:00
Wang Meng Yang
40cc53b0e0
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v4.1' into 'release/v4.1'
...
fixed the issue iOS devices cannot initiate connection (v4.1)
See merge request espressif/esp-idf!20407
2022-10-10 17:25:46 +08:00
morris
63ac426644
Merge branch 'feature/modbus_master_fix_check_uart_set_pin_v41' into 'release/v4.1'
...
example/modbus_master: fix the assert for uart_set_pin (backport v4.1)
See merge request espressif/esp-idf!17627
2022-10-08 19:08:14 +08:00
Alex Lisitsyn
b17494c223
example/modbus_master: fix the assert for uart_set_pin (backport v4.1)
2022-10-08 19:08:14 +08:00
Wang Meng Yang
63cdcf3f57
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v4.1' into 'release/v4.1'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting(backport v4.1)
See merge request espressif/esp-idf!20380
2022-10-08 16:35:55 +08:00
David Čermák
3f3cd01ef6
Merge branch 'bugfix/fix_mdns_example_v4.1' into 'release/v4.1'
...
mDNS: Improve example test stability (v4.1)
See merge request espressif/esp-idf!20215
2022-09-30 21:00:57 +08:00
Suren Gabrielyan
4a432e03b1
mDNS: Improved example test stability
2022-09-28 18:23:15 +04:00
Jin Cheng
11bd663e9e
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-28 16:16:45 +08:00
Yuan Hong Hui
4f424a6722
ble_mesh:example:change the method of get model
2022-09-28 15:37:11 +08:00
jgujarathi
45ce744c54
esp-wifi: Restores station status to connected when no other AP is found for roam
2022-09-28 12:26:48 +05:30
cjin
b70ffe519f
fix on data len change cmd malfunction
2022-09-27 21:53:50 +08:00
cjin
284b77e6a5
fix err using rpa for confirmation calculation
2022-09-27 21:53:36 +08:00
zwj
615dcb4115
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-27 21:53:23 +08:00
Michael (XIAO Xufeng)
43ec862944
sdio/example: fixed the essl return type issue
2022-09-26 19:43:03 +08:00
Island
85c878acc5
Merge branch 'bugfix/relay_friend_cred_message_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable(v4.1)
See merge request espressif/esp-idf!20207
2022-09-22 14:17:36 +08:00
Jiang Jiang Jian
7b0515c3ac
Merge branch 'ci/optimize_ats_ci_flow_v4.1' into 'release/v4.1'
...
CI: optimize ATS ci flow (v4.1)
See merge request espressif/esp-idf!20181
2022-09-22 14:12:29 +08:00
Mahavir Jain
017852bc2d
Merge branch 'bugfix/freertos_event_group_unblock_race_condition_v4.1' into 'release/v4.1'
...
FreeRTOS: Fix event group task list race condition (v4.1)
See merge request espressif/esp-idf!19106
2022-09-21 13:16:24 +08:00
wangjialiang
d2fcb15610
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-21 03:37:41 +00:00
Island
26c7df9857
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.1' into 'release/v4.1'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.1)
See merge request espressif/esp-idf!20261
2022-09-21 11:31:17 +08:00
wangjialiang
ef45e12a40
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:33:13 +08:00
Darian Leung
51eb9bea03
freertos: Fix flakey event group unit test
...
The "FreeRTOS Event Groups" main task will only wait a single tick for the created
tasks to set their response bits. This short delay may not be sufficent if the tick
frequency is high.
This commit updates the test so that
- the main task waits indefinitely for all the response bits to be set.
- created tasks are cleaned up by the main task
2022-09-19 15:14:24 +08:00
Darian Leung
6358f93a51
freertos: Fix event group task list race condition
...
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.
However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.
This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.
- xEventGroupSetBits()
- vEventGroupDelete()
2022-09-19 15:14:24 +08:00
Island
0bb4b995be
Merge branch 'bugfix/adapt_new_btc_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.1)
See merge request espressif/esp-idf!20169
2022-09-18 14:36:02 +08:00
Chen Yudong
5ad0ccea46
CI: optimize ATS ci flow
2022-09-16 16:37:15 +08:00
wangjialiang
6160cedbdc
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-15 17:03:22 +08:00
Jiang Jiang Jian
b4878a0f09
Merge branch 'bugfix/stack_init_changes_v4.1' into 'release/v4.1'
...
Nimble: Check stack initialization status before executing stack command (v4.1)
See merge request espressif/esp-idf!19946
2022-09-14 16:13:32 +08:00
Jiang Jiang Jian
61bd396b39
Merge branch 'feature/sink_support_mono_v4.1' into 'release/v4.1'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.1)
See merge request espressif/esp-idf!20081
2022-09-14 16:12:39 +08:00
xiongweichao
c2411837d1
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:49:00 +08:00
Yuan Hong Hui
3c815fe6d3
ble_mesh:example:fix memory leak
2022-09-08 16:37:40 +08:00
Wang Meng Yang
771e1cb020
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v41' into 'release/v4.1'
...
bt: Remove trailing semicolon from bt dft initializer(v4.1)
See merge request espressif/esp-idf!19918
2022-09-07 12:00:48 +08:00
Wang Meng Yang
0441c575a8
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v4.1' into 'release/v4.1'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v4.1)
See merge request espressif/esp-idf!19955
2022-09-07 11:56:12 +08:00
Rahul Tank
0c7f0058f2
Nimble: Check stack initialization status before executing stack command
2022-09-06 10:15:42 +05:30
xiongweichao
2df7bcbe0f
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:31:10 +08:00
Pedro
62f89a3303
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-02 11:16:52 +08:00
Island
94dddbd985
Merge branch 'bugfix/vendor_model_send_message_no_memory_forv4.1' into 'release/v4.1'
...
ble_mesh:example: free the memory of malloc (v4.1)
See merge request espressif/esp-idf!19188
2022-08-25 14:14:25 +08:00
Wang Meng Yang
7332be209c
Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig_v4.1' into 'release/v4.1'
...
bugfix/set default number of sco connection to 1 (v4.1)
See merge request espressif/esp-idf!19588
2022-08-25 10:47:10 +08:00
Wang Meng Yang
465bd86073
Merge branch 'contrib/github_pr_9529_mr_v4.1' into 'release/v4.1'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.1)
See merge request espressif/esp-idf!19695
2022-08-25 10:45:46 +08:00
Omar Chebib
ffd60dd1ef
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-08-24 16:31:07 +08:00
Island
bd549729d2
Merge branch 'bugfix/ble_mesh_console_support_nimble_host_for_v4.1' into 'release/v4.1'
...
ble_mesh:ble mesh console support nimble(v4.1)
See merge request espressif/esp-idf!19607
2022-08-24 10:27:57 +08:00
Fu Hanxi
d602bf0416
Merge branch 'feat/make_property_idf_component_manager_root_level_v4.1' into 'release/v4.1'
...
Feat/make property idf component manager root level (v4.1)
See merge request espressif/esp-idf!19085
2022-08-23 13:16:29 +08:00
tgotic
ccb8b03ca5
update code to use osi_free()
2022-08-22 16:10:25 +08:00
tgotic
71c8b2ba80
local copy of btc_msg_t
...
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 16:10:25 +08:00
Yuan Hong Hui
614950cf4a
ble_mesh:ble mesh console support nimble
2022-08-17 14:42:52 +08:00
jincheng
190b864206
Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
...
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.
Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:15:54 +08:00
Roland Dobai
7c0f5e658e
Merge branch 'feature/oocd_ver_upgrade_v4.1' into 'release/v4.1'
...
tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706' (v4.1)
See merge request espressif/esp-idf!19493
2022-08-17 01:57:40 +08:00
Jiang Jiang Jian
e072b09196
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.1' into 'release/v4.1'
...
Fixed bluedroid host memory overflow for v4.1
See merge request espressif/esp-idf!18906
2022-08-16 17:48:11 +08:00
Alexey Gerenkov
af87ee2888
test/examples: Fixes expected GDB message upon thread hit breakpoint
2022-08-16 11:33:20 +03:00
Alexey Gerenkov
0f39eaa4ad
tools: Updates OpenOCD version to 'v0.11.0-esp32-20220706'
2022-08-12 14:14:53 +03:00
Island
0af44e73a4
Merge branch 'bugfix/mesh_bqb_test_issues_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix mesh v1.0 BQB test issues(v4.1)
See merge request espressif/esp-idf!19505
2022-08-11 20:09:45 +08:00
wangjialiang
e446ee2ea2
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:19:20 +08:00
wangjialiang
6b3c88873e
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:19:15 +08:00
wangjialiang
a53ebdf8a3
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:19:09 +08:00
wangjialiang
8a1325dab8
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:19:04 +08:00
wangjialiang
d3f6770665
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:18:58 +08:00
wangjialiang
0a39d9e154
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:18:54 +08:00
wangjialiang
9f073021da
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:18:48 +08:00
wangjialiang
96ecfa677e
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:18:43 +08:00
Island
b91556fbcf
Merge branch 'bugfix/friend_and_lpn_issues_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix friend and lpn issues(v4.1)
See merge request espressif/esp-idf!19478
2022-08-10 13:50:24 +08:00
wangjialiang
3fa1f36fbc
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:51:39 +08:00
wangjialiang
d024b4aafa
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:51:31 +08:00
Island
5cd0893407
Merge branch 'bugfix/restore_missing_ble_mesh_videos_v4.1' into 'release/v4.1'
...
ble_mesh: doc: Restore missing ble mesh videos(v4.1)
See merge request espressif/esp-idf!19406
2022-08-08 17:12:13 +08:00
wangjialiang
280f577a64
ble_mesh: doc: Restore missing ble mesh videos
2022-08-05 13:59:14 +08:00
Jiang Jiang Jian
377a5d78db
Merge branch 'bugfix/espnow_recv_unencrypted_packets_issue_v4.1' into 'release/v4.1'
...
esp_wifi: fix espnow recv unencrypted packets issue (backport v4.1)
See merge request espressif/esp-idf!19386
2022-08-05 12:11:07 +08:00
Jiang Jiang Jian
da82c4f804
Merge branch 'bugfix/wlan_fixes_backports_v4.1' into 'release/v4.1'
...
esp_wifi: Fix some wlan issues(backport v4.1)
See merge request espressif/esp-idf!19363
2022-08-04 21:45:17 +08:00
zhangyanjiao
9c6d54b9f6
esp_wifi: fix espnow recv unencrypted packets issue
2022-08-04 15:10:22 +08:00
Jiang Jiang Jian
fcd4b930ee
Merge branch 'bugfix/backport_wifi_bugs_to_4.1_0803' into 'release/v4.1'
...
esp wifi:bugfix for backport wifi bugs to 4.1
See merge request espressif/esp-idf!19360
2022-08-04 10:55:49 +08:00
Kapil Gupta
941d79baa2
wpa_supplicant: Unicast key renew in TKIP mic failure
...
Currently we always request group key renew for during
TKIP mic failure. Add support for unicast/multicast
key renew as per packet.
2022-08-03 14:52:43 +05:30
Kapil Gupta
78f88c1e01
esp_wifi: Changes to not use pmkid caching when SSID is changed
2022-08-03 14:52:13 +05:30
Kapil Gupta
a5e418b4b6
wpa_supplicant: Fix issues reported by coverity
2022-08-03 14:51:53 +05:30
xueyunfei
f2bee03f08
bugfix for backport wifi bugs to 4.1
...
- Bugfix for close sniffer mode when wifi stop
- Bugfix for qos null update ba ssn
- Fix deep sleep can't reconnect to ap when pmf enable.
- Fix some ap will ignore auth when rx deauth for a while.
2022-08-03 15:05:53 +08:00
Jiang Jiang Jian
3cf24bd5d6
Merge branch 'bugfix/sta_pmf_mixed_mode_coexist' into 'release/v4.1'
...
esp_wifi: Fix sta connection issue with pmf AP when in mixed mode(v4.1)
See merge request espressif/esp-idf!17522
2022-08-03 11:22:00 +08:00
Jiang Jiang Jian
581880db04
Merge branch 'bugfix/fix_write_to_null_pointer_if_malloc_failed_issue_v4.1' into 'release/v4.1'
...
fix write to null pointer if malloc failed(Backport v4.1)
See merge request espressif/esp-idf!19349
2022-08-03 11:00:33 +08:00
Jiang Jiang Jian
f1d5b56d34
Merge branch 'bugfix/set_ipv6_dns_error_v4.1' into 'release/v4.1'
...
lw ip: Fixed that ipv6 dns cannot work (v4.1)
See merge request espressif/esp-idf!19065
2022-08-02 20:21:52 +08:00
Oleg Savchenko
53351fc7f4
fix write to null pointer if malloc failed
2022-08-02 20:20:14 +08:00
Jiang Jiang Jian
1a2ebc538c
Merge branch 'bugfix/memory_debug_not_work_v4.1' into 'release/v4.1'
...
bugfix/fix the dependency error of macro for memory debug (v4.1)
See merge request espressif/esp-idf!19235
2022-08-02 15:49:55 +08:00
Jiang Jiang Jian
d9206e87bc
Merge branch 'bugfix/put_sempher_and_queue_used_in_isr_into_DRAM_v4.1' into 'release/v4.1'
...
Make sure semphr/queue used in interrupt is in DRAM
See merge request espressif/esp-idf!18991
2022-08-02 11:32:25 +08:00
Fu Hanxi
62408a6872
ci: pip install idf-component-manager inside CI
2022-08-01 10:52:52 +08:00
Sergei Silnov
f76ce89c96
docs: Add IDF_COMPONENT_MANAGER build property
2022-08-01 10:52:52 +08:00
Sergei Silnov
acded76b4e
docs: Enable the component manager by default in CMake
2022-08-01 10:52:52 +08:00
Fu Hanxi
dc28a9b33f
build&config: lift property IDF_COMPONENT_MANAGER to root level
2022-08-01 10:52:52 +08:00
Yuan Hong Hui
16eabd6b18
ble_mesh:the memory requested by malloc has not benn released
2022-07-28 11:37:31 +08:00
baohongde
07397b566b
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-25 13:51:25 +08:00
baohongde
d290e77657
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-25 11:48:43 +08:00
Jiang Jiang Jian
cbb25917c9
Merge branch 'bugfix/schm_process_in_active_crash_v4.1' into 'release/v4.1'
...
Coex: fixed crash when calculating end transfer time(v4.1)
See merge request espressif/esp-idf!19193
2022-07-22 21:24:08 +08:00
jincheng
41775cbdf5
fix the dependency error of macro for memory debug
2022-07-22 16:23:55 +08:00
xiongweichao
d77f7687f5
coex: fixed crash when calculating end transfer time
2022-07-22 16:18:24 +08:00
Chen Wu
ceb6a812b4
lwip: Fixed that ipv6 dns cannot work
2022-07-15 16:21:17 +08:00
zhiweijian@espressif.com
c6e504da19
Fixed bluedroid host memory overflow
2022-07-15 14:28:51 +08:00
David Čermák
cf3b9c0ef4
Merge branch 'bugfix/eth_icmp_dest_localhost_v4.1' into 'release/v4.1'
...
ci/esp_eth: Make the ICMP destination localhost (v4.1)
See merge request espressif/esp-idf!18754
2022-07-14 20:11:05 +08:00
Island
f5fc4ab3fe
Merge branch 'bugfix/print_ready_after_init_transaction_forv4.1' into 'release/v4.1'
...
ble_mesh:change the location of print ready(v4.1)
See merge request espressif/esp-idf!19031
2022-07-14 17:28:31 +08:00
morris
59a352b49c
ci/esp_eth: Make the ICMP destination localhost
...
Original commit: 9fa06719fa
global: enable build uinit test for esp32-s3
2022-07-14 04:46:45 +00:00
Yuan Hong Hui
a36a41ea3f
ble_mesh:change the location of print ready
2022-07-13 18:20:56 +08:00
Jiang Jiang Jian
2e0bc4a3ef
Merge branch 'bugfix/idle_task_skipped_light_sleep_backport_v4.1' into 'release/v4.1'
...
pm_impl: fix neither enter light sleep nor enter waiti state in idle task(backport v4.1)
See merge request espressif/esp-idf!17850
2022-07-13 14:08:12 +08:00
Jiang Jiang Jian
9641d40c2f
Merge branch 'bugfix/update_gpio_intr_enable_note_v4.1' into 'release/v4.1'
...
Update the note of the gpio_intr_enable function(v4.1)
See merge request espressif/esp-idf!18546
2022-07-13 14:07:51 +08:00
Jiang Jiang Jian
9e11b98071
Merge branch 'bugfix/fix_esp32_ke_mem_c_assert_v4.1' into 'release/v4.1'
...
Fixed ESP32 BLE ke_mem.c assert for v4.1
See merge request espressif/esp-idf!19005
2022-07-13 14:07:03 +08:00
zwj
9d93420d6a
Fixed ESP32 BLE ke_mem.c assert
2022-07-13 03:08:18 +00:00
xiongweichao
b860ca24f9
Update the note of the gpio_intr_enable function
2022-07-13 03:07:11 +00:00
gaoxiaojie
2c621e538b
pm_impl: fix neither enter light sleep nor enter waiti state in idle task
2022-07-13 03:06:37 +00:00
Island
207ccea3c8
Merge branch 'bugfix/no_proxy_beacon_send_after_deinit_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh(v4.1)
See merge request espressif/esp-idf!18794
2022-07-12 17:36:52 +08:00
Jiang Jiang Jian
a84d7296b6
Merge branch 'bugfix/driver_uart_fix_tx_bytes_rts_assert_failure_v41' into 'release/v4.1'
...
driver: fixes context switch while sending cause rts reset before send (backport v4.1)
See merge request espressif/esp-idf!17943
2022-07-11 16:46:51 +08:00
Jiang Jiang Jian
e5e7cb4654
Merge branch 'bugfix/not_use_malloc_in_bluedroid_v4.1' into 'release/v4.1'
...
component/bt: use osi_malloc instead of malloc in bluedroid
See merge request espressif/esp-idf!18846
2022-07-11 16:32:14 +08:00
Wang Meng Yang
85c5f17e0c
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg_v4.1' into 'release/v4.1'
...
bugfix/fix the issue of functions not defined when enable memory debug (v4.1)
See merge request espressif/esp-idf!18818
2022-07-11 15:38:06 +08:00
Jiang Jiang Jian
3d88183b23
Merge branch 'bugfix/do_not_allow_unauthenticated_encrypted_key_data_release_v4.1' into 'release/v4.1'
...
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
See merge request espressif/esp-idf!18319
2022-07-10 15:59:38 +08:00
Jiang Jiang Jian
16d9aa4ed0
Merge branch 'bugfix/eap_method_selection_release_v4.1' into 'release/v4.1'
...
esp_wifi: Fix the negotiation of method with eap server.
See merge request espressif/esp-idf!18510
2022-07-10 15:55:44 +08:00
Jiang Jiang Jian
06ef10f38a
Merge branch 'bugfix/a2dp_source_not_stop_discovery_correctly_v4.1' into 'release/v4.1'
...
bugfix/avoid wrongly restart discovery in a2dp_source (v4.1)
See merge request espressif/esp-idf!18713
2022-07-10 15:52:05 +08:00
Jiang Jiang Jian
2889ba8ff8
Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env_v4.1' into 'release/v4.1'
...
bugfix/restore edr_en and add protect for vhci_env (v4.1)
See merge request espressif/esp-idf!18814
2022-07-10 15:49:03 +08:00
Jiang Jiang Jian
70c6f0b581
Merge branch 'bugfix/lower_a2dp_appT_prio_v4.1' into 'release/v4.1'
...
bugfix/lower the priority of application task of a2dp demo (v4.1)
See merge request espressif/esp-idf!18823
2022-07-10 15:47:43 +08:00
Jiang Jiang Jian
775162afad
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid_v4.1' into 'release/v4.1'
...
bugfix/resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h (v4.1)
See merge request espressif/esp-idf!18827
2022-07-10 15:46:41 +08:00
Jiang Jiang Jian
e324df9a88
Merge branch 'bugfix/xtensa_sol_frame_saves_extra_registers_v4.1' into 'release/v4.1'
...
freertos: Xtensa solicited stack frame should save threadptr register (v4.1)
See merge request espressif/esp-idf!18856
2022-07-10 15:44:56 +08:00
jincheng
528a65a4a9
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-07-08 14:25:24 +08:00
jincheng
9322cd93b8
avoid wrongly restart discovery
2022-07-08 14:19:07 +08:00
jincheng
42695fb59c
restore edr_en which wrongly cleared by rsw
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
2022-07-08 14:14:19 +08:00
jincheng
cdb5e4345c
lower the priority of application task of a2dp demo
2022-07-08 14:04:17 +08:00
jincheng
52f1688e6b
fix the issue of functions not defined when enable memory debug
2022-07-08 10:59:49 +08:00
Darian Leung
68c881b457
freertos: Xtensa FreeRTOS saves threadptr in solicited stack frame
...
The Xtensa FreeRTOS port does not save the threadptr register when
doing a voluntary yield. This can result in a crash when multiple
tasks used the threadptr register and call "taskYIELD()".
This commit adds the threadptr register to the solicited stack frame.
2022-07-04 18:25:30 +08:00
baohongde
0f2bf37b23
component/bt: use osi_malloc instead of malloc in bluedroid
2022-07-04 16:35:23 +08:00
wangjialiang
ba6bf196a3
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-07-01 11:57:48 +08:00
Island
9185191f74
Merge branch 'feature/add_filter_seq_auth_config_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add filter old seq_auth packet menuconfig(v4.1)
See merge request espressif/esp-idf!18652
2022-06-24 11:15:35 +08:00
wangjialiang
b5c554b632
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-23 16:23:48 +08:00
Jiang Jiang Jian
459487b04a
Merge branch 'bugfix/avdtp_genreal_reject_format_error_v4.1' into 'release/v4.1'
...
component_bt: Fix AVDTP general reject format error(v4.1)
See merge request espressif/esp-idf!18559
2022-06-21 20:54:22 +08:00
Jiang Jiang Jian
510565c585
Merge branch 'bugfix/modbus_allow_master_slave_work_simultaneously_v41' into 'release/v4.1'
...
freemodbus: fix issues when modbus master and slave work simultaneously (backport v4.1)
See merge request espressif/esp-idf!14951
2022-06-19 23:23:24 +08:00
xiongweichao
e59ce80147
Fix AVDTP general reject format error.
2022-06-17 10:32:56 +08:00
Jiang Jiang Jian
d52e52d2e4
Merge branch 'bugfix/pm_enabled_bt_build_fail_v4.1' into 'release/v4.1'
...
Bluetooth build fail when power management is enabled(v4.1)
See merge request espressif/esp-idf!18384
2022-06-15 11:07:22 +08:00
Hrudaynath Dhabe
092036602c
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix handling of key RSC.
...
Closes https://github.com/espressif/esp-idf/issues/8401
2022-06-14 18:23:17 +05:30
Hrudaynath Dhabe
ee50721f81
esp_wifi: Fix the negotiation of method with eap server.
2022-06-14 17:49:05 +05:30
aleks
09c3e4080e
modbus: add additional timer group options for master
2022-06-13 11:44:46 +00:00
aleks
3f10640b67
freemodbus: fix issues when modbus master and slave work simultaneously
2022-06-13 11:44:46 +00:00
aleks
c02cfc39e5
uart: add separate function to control mode and fill fifo
2022-06-13 11:39:20 +00:00
aleks
5c332a5749
driver: fixes context switch while sending cause rts reset before send
...
fixes tx bytes w/o ring buffer causes rts reset before send data
put uart_hal_write_txfifo() under critical section
2022-06-13 11:39:20 +00:00
aleks
d83c17deec
driver: uart fix the rts line assertion issue
2022-06-13 11:39:20 +00:00
xiongweichao
2873c46122
Bluetooth build fail when power management is enabled
2022-06-06 20:44:13 +08:00
Roland Dobai
5ef3614e5f
Merge branch 'bugfix/disable_extensions_idfpy_tests_v4.1' into 'release/v4.1'
...
Tools: Make idf.py tests independent on extra extensions (v4.1)
See merge request espressif/esp-idf!18285
2022-06-03 19:06:14 +08:00
Sergei Silnov
ad5b18401c
Tools: Make idf.py tests independent on extra extensions
2022-06-02 18:02:42 +02:00
Jiang Jiang Jian
2b16127192
Merge branch 'bugfix/add_bda_to_read_rmt_name_param_v4.1' into 'release/v4.1'
...
Bugfix/add bda to read rmt name param v4.1
See merge request espressif/esp-idf!18283
2022-06-02 11:46:39 +08:00
Jiang Jiang Jian
d8fd1bf24d
Merge branch 'feature/docker_build_gh_actions_v4.1' into 'release/v4.1'
...
ci: move Docker image builds to Github, plus other improvements (v4.1)
See merge request espressif/esp-idf!18290
2022-06-02 11:45:12 +08:00
keymoon
e8ee4c05e6
assign value to uninitialized bt_addr field
2022-05-29 18:01:21 -07:00
keymoon
3c79eccc66
add address field to read_rmt_name_param
2022-05-29 18:01:11 -07:00
Ivan Grokhotkov
0ede5c11b5
ci: build and push Docker images in Github actions
...
Replaces the previously used Docker Hub autobuild infrastructure.
This allows for more flexible configuration of the build process,
at the expense of some extra maintenance of CI workflow files
required.
2022-05-27 14:11:46 +02:00
Ivan Grokhotkov
2188e3fdca
docs: document build arguments of the Docker image
2022-05-27 14:09:34 +02:00
Ivan Grokhotkov
c5db7dd2c7
tools/docker: add IDF_CLONE_SHALLOW and IDF_INSTALL_TARGETS arguments
...
These two arguments can be used to reduce the size of the Docker
image:
- Setting IDF_CLONE_SHALLOW enables shallow cloning.
- Setting IDF_INSTALL_TARGETS to the comma separated list of targets
results in toolchains being installed only for these targets.
2022-05-27 14:05:44 +02:00
aditi_lonkar
cceb9e11e7
esp_wifi: Fix sta connection issue with pmf AP when in mixed mode.
2022-05-09 10:34:54 +05:30
Jiang Jiang Jian
1004ff712f
Merge branch 'bugfix/return_correct_QOS_values' into 'release/v4.1'
...
esp_wifi: Fix the QOS value of reply packets to peers.
See merge request espressif/esp-idf!17811
2022-05-07 10:13:09 +08:00
Michael (XIAO Xufeng)
d2debfaddf
Merge branch 'bugfix/phy_regi2c_critical_section_v4.1' into 'release/v4.1'
...
esp_phy: use spinlock to avoid regi2c access conflicts (v4.1)
See merge request espressif/esp-idf!17694
2022-05-06 23:32:24 +08:00
Hrudaynath Dhabe
662bd2f57e
esp_wifi: Fix the QOS value of reply packets to peers.
2022-05-06 14:08:44 +05:30
Jiang Jiang Jian
047fcd2c90
Merge branch 'bugfix/ignore_pmf_capable_flag_v4.1' into 'release/v4.1'
...
Always connect Station in PMF mode if possible (Backport v4.1)
See merge request espressif/esp-idf!17539
2022-05-01 17:30:48 +08:00
Michael (XIAO Xufeng)
a1aa2f13b3
Merge branch 'bugfix/fix_x32k_startup_slow_bug_v4.1' into 'release/v4.1'
...
bugfix: Fix xtal 32k not oscillate or oscillate too slowly issue for esp32 (v4.1)
See merge request espressif/esp-idf!17592
2022-04-28 17:14:10 +08:00
Jiang Jiang Jian
7e0a023c7e
Merge branch 'contrib/github_pr_8779_v4.1' into 'release/v4.1'
...
esp_wifi: fix clearing default wifi netif procedure(v4.1)
See merge request espressif/esp-idf!17941
2022-04-28 16:17:02 +08:00
Jiang Jiang Jian
b4c119bbdc
Merge branch 'bugfix/spp_crash_after_call_spp_deinit_v4.1' into 'release/v4.1'
...
Component_bt/Fix spp crash after call esp_spp_deinit(v4.1)
See merge request espressif/esp-idf!17936
2022-04-27 18:06:01 +08:00
Krzysztof Lewandowski
4fcce88db9
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-27 03:24:34 -04:00
xiongweichao
25fdbddffa
Fix spp initialization failure without free mutex
2022-04-27 14:59:46 +08:00
xiongweichao
5bbdbabd75
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:59:37 +08:00
Wang Meng Yang
4c69f1f901
Merge branch 'bugfix/fix_disable_bt_log_ci_fail_v4.1' into 'release/v4.1'
...
component_bt: Fix CI failure when disable bluetooth debug log(v4.1)
See merge request espressif/esp-idf!17900
2022-04-26 15:01:46 +08:00
xiongweichao
71e403a81e
Fix CI failure when disable bluetooth debug log
2022-04-26 11:37:48 +08:00
Island
3cc92c92dc
Merge branch 'bugfix/oversized_SegN_as_valid_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Bugfix for oversized SegN as valid(v4.1)
See merge request espressif/esp-idf!17773
2022-04-25 16:50:31 +08:00
wangjialiang
5aa6fa39ea
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:54:37 +08:00
Michael (XIAO Xufeng)
d146c48f76
Merge branch 'bugfix/fix_uart_set_line_inverse_breaking_change_issue_v4.1' into 'release/v4.1'
...
Bugfix(uart): fix uart_set_line_inverse breaking change issue (v4.1)
See merge request espressif/esp-idf!17595
2022-04-25 10:15:57 +08:00
Michael (XIAO Xufeng)
23c2556ca7
Merge branch 'bugfix/flash_mmap_output_psram_arg_v4.1' into 'release/v4.1'
...
mmap: fixed the issue mmap cannot be called with pointers to psram (v4.1)
See merge request espressif/esp-idf!17700
2022-04-25 10:14:28 +08:00
Michael (XIAO Xufeng)
21a68c5df7
Merge branch 'bugfix/gpio_example_config_struct_zero_init_v4.1' into 'release/v4.1'
...
example: fixed the issue that config struct is not properly initialized (v4.1)
See merge request espressif/esp-idf!17590
2022-04-25 10:13:42 +08:00
xiewenxiang
dcf385b356
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-21 02:58:25 +08:00
Wang Meng Yang
a808f59991
Merge branch 'bugfix/bt_add_some_debug_log_v4.1' into 'release/v4.1'
...
component_bt: Add some bluetooth debug log(v4.1)
See merge request espressif/esp-idf!17619
2022-04-19 20:12:25 +08:00
Wang Meng Yang
5f95be7703
Merge branch 'feature/update_hfp_hf_version_v4.1' into 'release/v4.1'
...
component_bt: Update HFP_HF version to 1.7.2(v4.1)
See merge request espressif/esp-idf!17394
2022-04-19 20:10:38 +08:00
Wang Meng Yang
6787a576fa
Merge branch 'bugfix/fix_spp_initiator_connect_failed_v4.1' into 'release/v4.1'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed[backport 4.1]
See merge request espressif/esp-idf!17747
2022-04-19 20:04:54 +08:00
morris
7f4ba3e89e
Merge branch 'fix/spi_master_use_data_flag_v4.1' into 'release/v4.1'
...
spi_master: fix the error log when use tx/rx_data with larger data (v4.1)
See merge request espressif/esp-idf!17801
2022-04-18 23:31:34 +08:00
morris
ba999cf443
Merge branch 'bugfix/i2s_dac_no_output_v4.1' into 'release/v4.1'
...
i2s: fixed DAC no output issue(v4.1)
See merge request espressif/esp-idf!17381
2022-04-18 15:36:15 +08:00
Michael (XIAO Xufeng)
d36b74d6b4
spi_master: fix the error log when use tx/rx_data with larger data
2022-04-18 15:18:40 +08:00
Ivan Grokhotkov
5861c8ccbb
Merge branch 'update/version_4_1_3' into 'release/v4.1'
...
Update version to 4.1.3
See merge request espressif/esp-idf!17762
2022-04-14 14:53:18 +08:00
Ivan Grokhotkov
de9348802c
versions: Update version to 4.1.3
2022-04-13 11:43:45 +02:00
Nachiket Kukade
ace7ea8173
esp_wifi: Always connect Station in PMF mode if possible
...
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
Additionally add API esp_wifi_disable_pmf_config to disable PMF for
debug purposes or to avoid PMF issues on AP side.
2022-04-12 17:48:47 +05:30
liqigan
a7f2510423
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-12 15:41:44 +08:00
liqigan
baf89cb3bd
fix SPP initiator can not free resource when connection is failed
2022-04-12 15:41:06 +08:00
Michael (XIAO Xufeng)
4957ddf61d
mmap: fixed the issue mmap cannot be called with pointers to psram
2022-04-06 17:24:01 +08:00
Michael (XIAO Xufeng)
a8e00c3691
esp_phy: use spinlock to avoid regi2c access conflicts
2022-04-06 15:20:03 +08:00
Michael (XIAO Xufeng)
c419c50c25
regi2c: use safe version of spinlock, instead of ISR ver
2022-04-06 15:04:03 +08:00
laokaiyao
387fb06aa0
i2s: fixed DAC no output issue
...
Closes https://github.com/espressif/esp-idf/issues/6470
2022-03-28 20:13:54 +08:00
xiongweichao
6d9d5b4cde
Add some bluetooth debug log
2022-03-28 14:06:49 +08:00
houwenxiang
205c409d19
driver(uart): fix uart_set_line_inverse breaking change issue
...
closes https://github.com/espressif/esp-idf/issues/4581
2022-03-25 15:19:02 +08:00
chaijie
9100cd558e
ESP32: Fix xtal 32k not oscillate or oscillate too slowly issue
...
ESP32 in revision0 and revision1 uses touchpad to provide
current to oscillate xtal 32k. But revision2 and revision3
do not need to do that.
Note: touchpad can not work and toupad/ULP wakeup sources
are not available when toupad provides current to xtal 32k
2022-03-25 14:20:54 +08:00
Michael (XIAO Xufeng)
cd6ed488c8
example: fixed the issue that config struct is not properly initialized
2022-03-25 01:12:22 +08:00
xiongweichao
9f80c20181
Update HFP_HF version to 1.7.2
2022-03-08 11:21:00 +08:00
Jiang Jiang Jian
23e8233506
Merge branch 'bugfix/pmf_bcast_deauth_fix_v4.1' into 'release/v4.1'
...
Stop dropping bcast PMF deauths/disassocs with certain reason codes (Backport v4.1)
See merge request espressif/esp-idf!14691
2022-03-04 15:34:20 +08:00
morris
3d9935e431
Merge branch 'bugfix/i2s_write_failed_in_32bit_slave_mode_v4.1' into 'release/v4.1'
...
i2s: fix write failure issue in slave mode (backport v4.1)
See merge request espressif/esp-idf!15083
2022-03-04 13:21:37 +08:00
Jiang Jiang Jian
c757427617
Merge branch 'bugfix/a2dp_sniff_v4.1' into 'release/v4.1'
...
Fix crash when host exit sniff mode(v4.1)
See merge request espressif/esp-idf!17344
2022-03-03 22:28:40 +08:00
Nachiket Kukade
15a7c51143
esp_wifi: Update wifi lib
...
Stop dropping bcast PMF deauths/disassocs with certain reason codes
2022-03-03 16:38:47 +05:30
Jiang Jiang Jian
e604f638c7
Merge branch 'feature/refactor_phy_access_v4.1' into 'release/v4.1'
...
esp_wifi: refactor PHY access (Backport v4.1)
See merge request espressif/esp-idf!16985
2022-03-03 17:40:25 +08:00
xiongweichao
47f9da2cec
Fix crash when host exit sniff mode
2022-03-03 17:00:02 +08:00
laokaiyao
6aba908086
i2s: fix write failure issue in slave mode (backport v4.1)
2022-03-03 15:15:24 +08:00
Jiang Jiang Jian
7523759b30
Merge branch 'Bugfix/pppos_coonection_lost_v4.1' into 'release/v4.1'
...
Bugfix/PPPOS fix stack smashing, modify get operator and add access technology(backport v4.1)
See merge request espressif/esp-idf!14033
2022-03-03 10:48:35 +08:00
Ivan Grokhotkov
a8d23566b0
Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail_v41' into 'release/v4.1'
...
Bugfix/fix modbus rs485 rts en fail v41 (backport v4.1)
See merge request espressif/esp-idf!11549
2022-03-03 01:44:06 +08:00
Alex Lisitsyn
6273cb8dfc
Bugfix/fix modbus rs485 rts en fail v41 (backport v4.1)
2022-03-03 01:44:06 +08:00
Jiang Jiang Jian
5c281ed18c
Merge branch 'bugfix/wpa3_memory_leak_v4.1' into 'release/v4.1'
...
esp_wifi: Fix Some wifi bugs.(v4.1)
See merge request espressif/esp-idf!16560
2022-03-02 22:00:52 +08:00
morris
89a6396297
Merge branch 'bugfix/touch_ll_get_sleep_time_v4.1' into 'release/v4.1'
...
Fixed error in "touch_ll_get_sleep_time" function for ESP32 (v4.1)
See merge request espressif/esp-idf!16250
2022-03-02 19:19:34 +08:00
Ivan Grokhotkov
73f56bbbe1
Merge branch 'bugfix/sleep_wrong_log_lvl_v4.1' into 'release/v4.1'
...
Sleep: fix wrong debug level (backport v4.1)
See merge request espressif/esp-idf!17301
2022-03-02 19:18:33 +08:00
morris
81492361fc
Merge branch 'bugfix/mcpwm-deadtime-preset-config-backport_v4.1' into 'release/v4.1'
...
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v4.1)
See merge request espressif/esp-idf!14624
2022-03-02 18:05:59 +08:00
Li Hang Fan
2f2d2e776c
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v4.1)
2022-03-02 18:05:59 +08:00
Liu Han
4c30995b88
esp-modem: prefix the crash issue both bg96 and sim800l in OVERALL mode
2022-03-02 10:49:25 +01:00
Ash
a313f37b2d
rename dce parameter
...
Merges https://github.com/espressif/esp-idf/pull/5750
Signed-off-by: Liu Han <liuhan@espressif.com >
2022-03-02 10:48:52 +01:00
Robert Nuttall
3d0eef5fcc
Expose get operator name command. Add get access tech
...
Signed-off-by: Liu Han <liuhan@espressif.com >
2022-03-02 10:48:36 +01:00
Jiang Jiang Jian
70bda5d6bc
Merge branch 'bugfix/eap_client_crash_v4.1' into 'release/v4.1'
...
wpa_supplicant: Fix memory corruption (v4.1)
See merge request espressif/esp-idf!17131
2022-03-02 16:40:53 +08:00
Ivan Grokhotkov
7ef9868d65
Merge branch 'feature/add_component_manager_python_dependency_v4.1' into 'release/v4.1'
...
Build System: Add idf-component-manager python dependency (v4.1)
See merge request espressif/esp-idf!15987
2022-03-02 16:28:10 +08:00
Ivan Grokhotkov
b017f68dc3
Merge branch 'fix/gitlab_404_local_mirror_v4.1' into 'release/v4.1'
...
Handle gitlab 404 error (v4.1)
See merge request espressif/esp-idf!16961
2022-03-02 16:27:47 +08:00
Omar Chebib
56c3ebc4e7
Sleep: fix wrong debug level
...
Fix usage of ESP_LOGD in sleep_modes.c which triggers a panic when
used in debug log level.
2022-03-01 16:22:54 +08:00
Island
1caf2b37b4
Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt_forv4.1' into 'release/v4.1'
...
ble mesh:example:correct repl config prompt in ble mesh console(v4.1)
See merge request espressif/esp-idf!17187
2022-03-01 13:51:39 +08:00
Sergey Gorban
8bb2eb299e
Fixed error in "touch_ll_get_sleep_time" function for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/6895
2022-02-28 09:45:10 +00:00
Jiang Jiang Jian
2ed96858a5
Merge branch 'bugfix/dual_core_pm_lock_issue_backport_v4.1' into 'release/v4.1'
...
System: fix pm lock issue in dual core mode(backport v4.1)
See merge request espressif/esp-idf!17264
2022-02-25 12:12:39 +00:00
zhangyanjiao
dad8d00bdf
esp_wifi: refactor modem sleep access phy
2022-02-24 14:35:48 +08:00
Xia Xiaotian
900dc2ada6
esp_wifi: define wifi_clock_enable() on esp32
2022-02-24 14:35:48 +08:00
Xia Xiaotian
5056892b9b
esp_wifi: store PHY digital registers before disabling PHY and load
...
them after enabling PHY
2022-02-24 14:35:48 +08:00
zhangyanjiao
002b273aa3
call pm_wakeup_init in esp_phy_enable() on esp32
2022-02-24 14:35:48 +08:00
Xia Xiaotian
89c036498e
esp_wifi: refactor PHY access
...
- Simplify PHY access API
- Move coexist initializing and deinitializing out from PHY API
to Wi-Fi and Bluetooth
- Remove coexist pause and resume for they are no longer needed.
2022-02-24 14:35:48 +08:00
jingli
0f86d752e5
fix pm lock issue in dual core mode
2022-02-23 22:07:56 +08:00
Michael (XIAO Xufeng)
77f6dea505
Merge branch 'bugfix/ledc_consecutive_fade_v4.1' into 'release/v4.1'
...
ledc: Bugfixes for issues related to fade protection (backport v4.1)
See merge request espressif/esp-idf!16957
2022-02-23 04:17:21 +00:00
Michael (XIAO Xufeng)
89b9ffbee7
Merge branch 'fix/sdio_slave_recv_intr_unhandled_v4.1' into 'release/v4.1'
...
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled (v4.1)
See merge request espressif/esp-idf!17151
2022-02-22 08:52:20 +00:00
morris
5213a7123f
Merge branch 'bugfix/esp_flash_write_temp_buffer_lifetime_v4.1' into 'release/v4.1'
...
esp_flash: fix write issue using buffer on stack out of lifetime (v4.1)
See merge request espressif/esp-idf!17207
2022-02-21 07:39:30 +00:00
Michael (XIAO Xufeng)
b183ef2586
esp_flash: fix write issue using buffer on stack out of lifetime
2022-02-20 03:25:37 +08:00
Wang Meng Yang
605fb98948
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.1' into 'release/v4.1'
...
component_bt: fixed config parse crash after flash_erase(v4.1)
See merge request espressif/esp-idf!16732
2022-02-18 05:01:40 +00:00
Jiang Jiang Jian
e3433724cc
Merge branch 'bugfix/fix_ble_adv_underrun_error_v4.1' into 'release/v4.1'
...
components/bt: Fix ble adv_underrun issue(backport v4.1)
See merge request espressif/esp-idf!17167
2022-02-17 04:49:18 +00:00
Zim Kalinowski
ea815ca751
Merge branch 'bugfix/sdio_slave_dma_desc_int_v4.1' into 'release/v4.1'
...
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area (v4.1)
See merge request espressif/esp-idf!17140
2022-02-16 13:24:18 +00:00
Yuan Hong Hui
eee1a6f37c
ble mesh:example:correct the output log level
2022-02-16 16:01:12 +08:00
Yuan Hong Hui
495f1fb132
ble mesh:example:response for checking restart in auto_test
2022-02-16 15:48:22 +08:00
xiewenxiang
abcd2a7c9e
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:30:05 +08:00
Jiang Jiang Jian
6e548b7d8d
Merge branch 'bugfix/a2dp_source_congest_v4.1' into 'release/v4.1'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.1)
See merge request espressif/esp-idf!16737
2022-02-15 07:46:13 +00:00
songruojing
08efd3e495
ledc: Fix FADE_NO_WAIT mode concurrency problem.
...
Add test cases for fade concurrency issue and fade timing check.
Closes https://github.com/espressif/esp-idf/issues/6710
(cherry picked from commit be2ab09832 )
2022-02-15 12:43:08 +08:00
songruojing
370d24d001
ledc: Simplify the procedure to perform a one-time duty update
...
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.
Closes https://github.com/espressif/esp-idf/issues/7288
(cherry picked from commit e175086226 )
2022-02-15 12:43:08 +08:00
xiongweichao
52f6ed8646
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-02-15 11:56:45 +08:00
xiongweichao
b432340266
remove btc_a2dp_dispatch_datapath_evt and event
2022-02-15 11:56:45 +08:00
xiongweichao
cd05f5252a
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-02-15 11:56:45 +08:00
xiongweichao
b29ec46c88
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-02-15 11:56:44 +08:00
Wang Meng Yang
8c1aa176f2
Merge branch 'bugfix/clear_whitelist_v4.1' into 'release/v4.1'
...
Nimble : Modify `ble_gap_wl_set` to support clearing complete whitelist (v4.1)
See merge request espressif/esp-idf!17142
2022-02-15 03:20:41 +00:00
Michael (XIAO Xufeng)
ece06a9016
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
2022-02-15 00:02:02 +08:00
Jiang Jiang Jian
6ebe70287c
Merge branch 'bugfix/wps_fixes_v4.1' into 'release/v4.1'
...
wpa_supplicant: Add WPS Fixes (backport V4.1)
See merge request espressif/esp-idf!17061
2022-02-14 13:05:05 +00:00
Rahul Tank
eee592d809
Nimble : Modify ble_gap_wl_set to support clearing complete whitelist
2022-02-14 16:44:57 +05:30
Michael (XIAO Xufeng)
786bbc26eb
sdio_slave: fixed the issue DMA desc not capable
2022-02-14 12:58:14 +08:00
Michael (XIAO Xufeng)
7916c4079c
Merge branch 'flash/add_th_support_v4.1' into 'release/v4.1'
...
spi_flash: add support for th 1M flash(backport v4.1)
See merge request espressif/esp-idf!16719
2022-02-14 04:46:59 +00:00
Michael (XIAO Xufeng)
793b1cc8e8
Merge branch 'feature/support_new_psram_v4.1' into 'release/v4.1'
...
psram: add ESP32-D0WD-R2-V3 support(backport v4.1)
See merge request espressif/esp-idf!16711
2022-02-13 14:46:01 +00:00
Kapil Gupta
b3d03e8db7
wpa_supplicant: Fix invalid memory dereference
2022-02-12 10:36:40 +05:30
Wang Meng Yang
5ea980e80c
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_v4.1' into 'release/v4.1'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.1)
See merge request espressif/esp-idf!16816
2022-02-10 09:46:44 +00:00
jincheng
c726a25d98
fix cs event for rd_rem_ext_feats delayed issue
2022-02-10 15:40:41 +08:00
xiongweichao
f5516d661c
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-02-09 19:20:20 +08:00
Roland Dobai
3273bd5fab
Merge branch 'bugfix/win_rename_delay_v4.1' into 'release/v4.1'
...
Tools: Use delay between rename attempts on Windows in the installer (v4.1)
See merge request espressif/esp-idf!17059
2022-02-08 18:24:28 +00:00
Kapil Gupta
9f70b89794
wpa_supplicant: Add WPS Fixes
...
Add following bugfixes
1. Station not able to connect when WPS pin is pressed first on AP.
2. PBC overlap getting detected for selected registrar PIN APs.
3. Station not considering authorised MACs for PIN method.
4. For PIN methodm If no AP is found, station will loop through
APs in its vicinity and try to do WPS with them one by one till
WPS timeout occurs. This is for some APs which do not set
selected registrar correctly.
2022-02-08 17:09:41 +05:30
Roland Dobai
cd78a3c1c5
Tools: Use delay between rename attempts on Windows in the installer
2022-02-08 11:09:27 +01:00
Michael (XIAO Xufeng)
d199dc421d
Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks_v41' into 'release/v4.1'
...
freemodbus: add affinity option for modbus stack tasks (backport v4.1)
See merge request espressif/esp-idf!14543
2022-02-07 09:44:38 +00:00
Jiang Jiang Jian
df2856c13d
Merge branch 'bugfix/wps_wfa_cert_fixes_v4.1' into 'release/v4.1'
...
wpa_supplicant: Add WPS strict in config option(backport v4.1)
See merge request espressif/esp-idf!14229
2022-01-28 13:04:12 +00:00
aditi_lonkar
b6688edb37
esp_wifi: Fixed issue of weak md for certificates in wifi_enterprise example.
2022-01-28 16:56:23 +05:30
aditi_lonkar
445852da8d
esp_wifi: Fixes memory leak in wpa3 connection.
2022-01-28 16:50:36 +05:30
Anton Maklakov
f69ef6b5db
Merge branch 'bugfix/rm_copyright_ignore_list_v4.1' into 'release/v4.1'
...
CI: Remove unused copyright ignore list (v4.1)
See merge request espressif/esp-idf!16968
2022-01-28 11:01:58 +00:00
Jiang Jiang Jian
3636fbf822
Merge branch 'ajust_espnow_channel_config_range_v4.1' into 'release/v4.1'
...
adjust espnow channel range
See merge request espressif/esp-idf!13687
2022-01-28 10:12:35 +00:00
Jiang Jiang Jian
fb948175f8
Merge branch 'bugfix/alarm_update_invalid_v4.1' into 'release/v4.1'
...
timer: stop alarm if alarm value doesn't change in ISR callback (v4.1)
See merge request espressif/esp-idf!16535
2022-01-28 09:26:54 +00:00
aditi_lonkar
d9ed6d93e9
wpa_supplicant: Add WPS strict in config option
...
WPS strict disables workarounds with different APs and may cause
IOT issues. Remove this as default and introduce as a config option.
Also declare esp device as single band mobile device otherwise
WFA sniffer was not able to identify it in the certification setup.
2022-01-28 16:52:51 +08:00
dongyou
ba9d913296
adjust espnow channel range
2022-01-28 16:52:12 +08:00
Jiang Jiang Jian
4066200d98
Merge branch 'bugfix/fix_spp_open_err_bda_v4.1' into 'release/v4.1'
...
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.1]
See merge request espressif/esp-idf!16616
2022-01-28 08:47:25 +00:00
Sergei Silnov
3476ed2ce6
examples: Add the component manager example
2022-01-27 18:57:52 +01:00
Sergei Silnov
5717288cd7
docs: Add component manager documentation
2022-01-27 18:57:52 +01:00
Sergei Silnov
9366c4e31e
Build System: Don't track dependencies.lock
2022-01-27 18:57:52 +01:00
Sergei Silnov
ed4a632d7b
Add idf-component-manager python dependency
2022-01-27 18:57:15 +01:00
Tomas Sebestik
3522f3fc31
Handle gitlab 404 error
...
ci: do not retry on 404 when LOCAL_GITLAB_HTTPS_HOST not set
2022-01-27 13:29:37 +01:00
Roland Dobai
7d672b23b0
CI: Remove unused copyright ignore list
2022-01-27 12:53:42 +01:00
Jiang Jiang Jian
916e3ef1f1
Merge branch 'bugfix/fix_tbtt_and_phy_issues_v4.1' into 'release/v4.1'
...
esp_wifi: fix tbtt and phy issues (Backport v4.1)
See merge request espressif/esp-idf!16842
2022-01-27 10:29:15 +00:00
zhangyanjiao
3410711f9b
esp_wifi:
...
1. fix the issue that no tbtt is generated in station+softap mode when maximum modem sleep is enabled
2. update libphy.a to V4670 719f9f6_20210218 for esp32
2022-01-27 14:37:28 +08:00
Island
12c4b90745
Merge branch 'bugfix/filter_repeated_packages_forv4.1' into 'release/v4.1'
...
filter repeated packages but not send response(v4.1)
See merge request espressif/esp-idf!16823
2022-01-25 06:39:34 +00:00
Yuan Hong Hui
5134b76249
filter repeated packages but not send response(v4.1)
2022-01-25 06:39:33 +00:00
Island
c7c8194ecd
Merge branch 'feature/pro_recv_hb_forv4.1' into 'release/v4.1'
...
provisioner receive heartbeat message(v4.1)
See merge request espressif/esp-idf!16641
2022-01-24 07:55:12 +00:00
Ivan Grokhotkov
cd4e0482fd
Merge branch 'test/remove_spi_flash_perf_thr_v4.1' into 'release/v4.1'
...
spi_flash_test: remove threshold from unit test (v4.1)
See merge request espressif/esp-idf!16825
2022-01-18 12:10:32 +00:00
Michael (XIAO Xufeng)
9bc21c4906
spi_flash_test: remove threshold from unit test
2022-01-18 16:34:19 +08:00
Michael (XIAO Xufeng)
6004073482
test_utils: allow printint multiple argument in the performance log
2022-01-18 16:34:19 +08:00
xiehang
8e47b98c8e
example: Fix espnow stuck issue
2022-01-18 15:43:01 +08:00
Jiang Jiang Jian
82ae11e476
Merge branch 'bugfix/fix_smartconfig_setopt_fail_v4.1' into 'release/v4.1'
...
smartconfig: Fix smartconfig set socket option fail (backport v4.1)
See merge request espressif/esp-idf!16774
2022-01-17 06:48:43 +00:00
Ivan Grokhotkov
6f7550668f
Merge branch 'feature/oocd_ver_upgrade_v4.1' into 'release/v4.1'
...
tools: Updates OpenOCD version to 'v0.11.0-esp32-20211220' (v4.1)
See merge request espressif/esp-idf!16768
2022-01-13 16:23:02 +00:00
Alexey Gerenkov
4550384d71
tools: Updates OpenOCD version to 'v0.11.0-esp32-20211220'
2022-01-12 09:31:15 +01:00
yuanjm
b59e3b88b6
smartconfig: Fix smartconfig set socket option fail
2022-01-12 14:56:22 +08:00
Cao Sen Miao
0fc751ad6c
spi_flash: add support for th 1M flash
2022-01-10 11:58:57 +08:00
Cao Sen Miao
19d2a765d3
psram: add ESP32-D0WD-R2-V3 support
2022-01-10 11:13:00 +08:00
Jiang Jiang Jian
b84233626e
Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.1' into 'release/v4.1'
...
CI: set authmode by switching number to string (backport v4.1)
See merge request espressif/esp-idf!16556
2022-01-06 10:10:27 +00:00
Yuan Hong Hui
f24beb25c8
add cmd to publish and recv heartbeat message
2022-01-04 15:59:41 +08:00
liqigan
09d97a007b
fix SPP open with wrong remote bd_addr
2021-12-31 15:48:48 +08:00
Zim Kalinowski
fa9ca143c1
Merge branch 'bugfix/ringbuf_read_pointer_wrap_v4.1' into 'release/v4.1'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v4.1)
See merge request espressif/esp-idf!15884
2021-12-30 02:23:29 +00:00
Jiang Jiang Jian
ebf628e4ae
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.1' into 'release/v4.1'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.1)
See merge request espressif/esp-idf!16380
2021-12-29 06:09:51 +00:00
huchaoru
9e9be2538d
bugfix: set authmode by switching number to string (backport v4.1)
2021-12-27 20:01:58 +08:00
Sudeep Mohanty
30cd5a6f0f
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
...
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.
Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.
Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-12-27 15:13:52 +08:00
Jiang Jiang Jian
6cd99a7ebd
Merge branch 'bugfix/fix_rx_fragment_error_issue_v4.1' into 'release/v4.1'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs(Backport v4.1)
See merge request espressif/esp-idf!16400
2021-12-24 08:39:09 +00:00
Sudeep Mohanty
0a68ce5952
Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.1' into 'release/v4.1'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.1)
See merge request espressif/esp-idf!16232
2021-12-24 06:16:16 +00:00
morris
7abb92fbea
timer: stop alarm if alarm value doesn't change in ISR handler
...
Alarm will be disabled by hardware when alarm event happend.
In the ISR, if auto-reload is enabled, we should re-enable the alarm.
If the alarm target value is changed in user's callback,
the alarm will be reenabled as well.
Closes https://github.com/espressif/esp-idf/issues/7001
Closes https://github.com/espressif/esp-idf/issues/8095
2021-12-24 13:10:49 +08:00
Jiang Jiang Jian
2515d115fe
Merge branch 'feature/mbedtls-2.16.12-integration_v4.1' into 'release/v4.1'
...
mbedtls: upgrade to release v2.16.12 (v4.1)
See merge request espressif/esp-idf!16486
2021-12-24 03:21:59 +00:00
Zim Kalinowski
2b23f04968
Merge branch 'bugfix/fix_select_timeout_v4.1' into 'release/v4.1'
...
VFS: `select` function's timeout is now POSIX compliant (backport v4.1)
See merge request espressif/esp-idf!16192
2021-12-22 05:50:32 +00:00
Mahavir Jain
b47a7353ac
mbedtls: upgrade to release v2.16.12
...
For release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12
2021-12-21 14:08:11 +05:30
Wang Meng Yang
284fa65271
Merge branch 'bugfix/fix_spp_listen_err_v4.1' into 'release/v4.1'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.1]
See merge request espressif/esp-idf!16386
2021-12-21 08:01:18 +00:00
Jiang Jiang Jian
0d500b84df
Merge branch 'doc/nvs_get_used_entry_count__clarify_4.1' into 'release/v4.1'
...
[doc]: NVS documentation updates (backport 4.1)
See merge request espressif/esp-idf!16431
2021-12-21 03:33:25 +00:00
Jiang Jiang Jian
7e7ea6c779
Merge branch 'feature/add_coex_hci_command_v4.1' into 'release/v4.1'
...
Add hci command to set coexistence status (v4.1)
See merge request espressif/esp-idf!16056
2021-12-21 03:31:57 +00:00
Jiang Jiang Jian
6f737fdca8
Merge branch 'bugfix/leedarson_v4.1' into 'release/v4.1'
...
component_bt: Fix some code logic errors (v4.1)
See merge request espressif/esp-idf!16039
2021-12-21 03:31:43 +00:00
Jiang Jiang Jian
bdb45af57e
Merge branch 'bugfix/fix_supplicant_log_v4.1' into 'release/v4.1'
...
wpa_supplicant: Fix compilation when debug prints are enabled
See merge request espressif/esp-idf!14222
2021-12-21 03:30:50 +00:00
Jiang Jiang Jian
7a81db5c54
Merge branch 'bugfix/fix_blufi_encryption_fail_v4.1' into 'release/v4.1'
...
components/bt: fix blufi encryption fail(backport release/v4.1)
See merge request espressif/esp-idf!16317
2021-12-21 03:29:11 +00:00
David Čermák
fbb102604b
Merge branch 'feature/add_dhcp_option_v4.1' into 'release/v4.1'
...
lw-ip: Add macro to disable vendor class option(backport v4.1)
See merge request espressif/esp-idf!15981
2021-12-20 17:27:20 +00:00
Mahavir Jain
0a531c0f8c
Merge branch 'bugfix/address_already_used_exception_in_ota_tests_v4.1' into 'release/v4.1'
...
Fix 'address already in use' exception in OTA tests (v4.1)
See merge request espressif/esp-idf!16419
2021-12-20 07:11:46 +00:00
Jakob Hasse
908dbe0595
[doc]: NVS documentation updates
...
* Better comment of nvs_get_used_entry_count()
* Mention C++ example in API reference
* WIP: Used target instead of hard code ESP32
* Note that strings can only span one page
* Reflect that item types have been moved
* Some clarification about nvs_commit()
* Improved reference to the ESP Partition API
* fixed little mistake in documenting-code.rst
* Change of nvs_open_from_part() to
nvs_open_from_partition() reflected in docs
* Corrected documentation of
NVSHandle::get_string(), NVSHandle::get_blob()
and NVSHandle::get_item_size().
* Closes IDF-1563
* Closes IDF-859
* Closes https://github.com/espressif/esp-idf/issues/6123
2021-12-17 16:13:23 +08:00
Harshit Malpani
773c5ec5b9
Fix for advanced_ota_redirect_url example failure in CI
2021-12-16 14:07:57 +05:30
xiewenxiang
e4d61c3d85
components/bt: fix blufi encryption fail
2021-12-16 16:22:23 +08:00
xiewenxiang
554b71c541
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-16 16:21:52 +08:00
xiewenxiang
2aa8b8794c
components/bt: Support low duty cycle directed advertising
2021-12-16 16:21:52 +08:00
Harshit Malpani
c480ba851e
Fix 'address already in use' exception in OTA tests
...
We will stop the server instance at the end of each test case. This will solve the "address already in use" exception
2021-12-16 10:35:25 +05:30
yuanjm
7ca2fa5fd2
lwip: Add macro to disable vendor class option
2021-12-16 11:42:58 +08:00
Konstantin Kondrashov
e6943e970c
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac_v4.1' into 'release/v4.1'
...
efuse_table_gen: Fixes wrong joining fields with omitted names (v4.1)
See merge request espressif/esp-idf!15740
2021-12-15 15:33:12 +00:00
NikLeberg
4b8ae70256
allow for minimal scope of wifi_init_config_t
...
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
2021-12-14 20:20:11 +08:00
Shang Zhou
626ce87ffb
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-14 20:19:26 +08:00
muhaidong
171a59cc88
esp_wifi: fix fragment issue and PMF compatible for faulty APs
...
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
2021-12-14 20:15:42 +08:00
liqigan
70375166ba
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:22:53 +08:00
Roland Dobai
33b617571d
Merge branch 'bugfix/remove_PIP_USER_v4.1' into 'release/v4.1'
...
tools: Add check for PIP_USER variable (backport v4.1)
See merge request espressif/esp-idf!16335
2021-12-09 08:10:26 +00:00
Wang Meng Yang
22d127ecc1
Merge branch 'bugfix/fix_memory_leak_controller_deinit_v4.1' into 'release/v4.1'
...
ESP32: Fix memory leak in controller deinit function v4.1
See merge request espressif/esp-idf!15971
2021-12-09 02:36:52 +00:00
Juraj Sadel
e7ee43bdb5
tools: Add check for PIP_USER variable
...
Closes https://github.com/espressif/esp-idf/issues/7910
2021-12-08 15:56:21 +01:00
Jiang Jiang Jian
abdad421bb
Merge branch 'bugfix/fix_wifi_bugs_20211206_v4.1' into 'release/v4.1'
...
esp_wifi: fix wifi bugs 20211206 (Backport v4.1)
See merge request espressif/esp-idf!16271
2021-12-08 03:02:39 +00:00
xiongweichao
edd24b518b
Add hci command to set coexistence status
2021-12-07 17:41:59 +08:00
zhangyanjiao
2cdf9b5d9d
esp_wifi:
...
1. Fix airkiss and esptouch find channel crash issue
2. Fix issue of softAP not initating 4-way handshake if max length passphrase is set
3. Fix issue of esptouch find hidden AP fail
4. Clear hostpot bss when auth timeout happens
5. Fix not connect to open AP when WPA3 auth fail
6. Fix issue with hidden AP scans after connecting AP
7. Fix the watchdog issue when receiving action frame
8. Fix set config return value error
9. Fix the issue of reason code change from 15 to 204 when provide wrong password
10. Fix ampdu age timer memory leak
11. Fix issue of esp_wifi_80211_tx
12. Fix crash issue in presence of WEP AP
13. Fix the MIC comparison logic AES-128-CMAC decryption
14. Fix issue of setting incorrect log_length of NVS misc log
15. Fix SoftAP crash by handling public action frames
16. Fix a bug that Wi-Fi stack may crash when receive AMSDU length bigger then 3200
2021-12-07 14:22:24 +08:00
Rahul Tank
ecbf1e398a
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
2021-12-07 11:34:37 +05:30
aditi_lonkar
388bf07ceb
wpa_supplicant: Fix compilation when debug prints are enabled
2021-12-07 12:21:56 +08:00
xiongweichao
b01ea3e2c7
Missing break in switch
2021-12-07 12:11:33 +08:00
xiongweichao
b37e2553aa
already defined in bt_target.h
2021-12-07 12:11:33 +08:00
xiongweichao
33fd228c9d
Dereference after null check
2021-12-07 12:11:33 +08:00
xiongweichao
01a7b1de70
Dereference before null check
2021-12-07 12:11:33 +08:00
xiongweichao
92f258e927
Logically dead code
2021-12-07 12:11:33 +08:00
Jiang Jiang Jian
6ce71ecacf
Merge branch 'bugfix/link_spi_flash_rom_func_in_bootloader_stage_v4.1' into 'release/v4.1'
...
esp_rom: link rom spi flash functions in bootloader stage (v4.1)
See merge request espressif/esp-idf!15259
2021-12-07 03:37:57 +00:00
Jiang Jiang Jian
cce06a33ed
Merge branch 'bugfix/psram_fix_bootloader_v4.1' into 'release/v4.1'
...
bootloader: disable psram cache bug fix for bootloader (v4.1)
See merge request espressif/esp-idf!15807
2021-12-07 03:37:35 +00:00
Jiang Jiang Jian
c7af5d8ce9
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback_v4.1' into 'release/v4.1'
...
bootloader_support: Adds fault injection protection for check_anti_rollback (v4.1)
See merge request espressif/esp-idf!16182
2021-12-07 03:33:11 +00:00
Jiang Jiang Jian
9fe266f18e
Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_4.1' into 'release/v4.1'
...
fix modem sleep hw error
See merge request espressif/esp-idf!16020
2021-12-07 03:32:50 +00:00
Jiang Jiang Jian
97c96b64bf
Merge branch 'bugfix/fix_static_check_error_mr_4.1' into 'release/v4.1'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16047
2021-12-07 03:32:27 +00:00
Yang Zhao
22096945d8
1.fix the issue create Connection request is not properly terminated
...
which blocks BlueZ from reconnecting
2.fix the issue bt_spp_acceptor example fails when SPP is initiated
on a windows machine using Realtek Bluetooth adapter
3.fix the issue HCI_Read_Clock failed read local Bluetooth Clock
4.It is abnormal when getting the deep sleep state bit. So we need to
check the state again and run the "ble_master_soft_rst()" if neesed.
2021-12-06 17:37:49 +08:00
xiehang
d23be33b0d
esp_wifi: Add beacon timeout event
2021-12-06 15:16:37 +08:00
“YangZhao”
dea009aa62
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-12-06 14:04:05 +08:00
RichFalk
f698e9ad3c
esp_ringbuf: Fix assertion xQueueGenericSend queue.c
...
The release of the semaphore indicating the item was successfully sent must be the last semaphore released. The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.
The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR. This commit fixes this order.
Issue (IDFGH-6030) #7716 describes the problem in more detail.
Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-12-03 09:50:06 +05:30
Jiang Jiang Jian
488930b9f7
Merge branch 'bugfix/enable_gpio_20_v4.1' into 'release/v4.1'
...
gpio: Enable IO20 on ESP32 (backport v4.1)
See merge request espressif/esp-idf!15024
2021-12-03 03:37:33 +00:00
Jiang Jiang Jian
8c6853bbc1
Merge branch 'bugfix/lwip_config_dhcp_client_id_v4.1' into 'release/v4.1'
...
lw-ip: Add config for DHCP client id; Fix DNS server idx assert issue (v4.1)
See merge request espressif/esp-idf!16175
2021-12-03 03:33:51 +00:00
Jiang Jiang Jian
70fbcbddc8
Merge branch 'bugfix/eap_client_iot_issues_v4.1' into 'release/v4.1'
...
ESP_WiFi: Fix some wpa enterprise issue (backport V4.1)
See merge request espressif/esp-idf!15574
2021-12-03 03:30:59 +00:00
Jiang Jiang Jian
31203908a3
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32_backport_v4.1' into 'release/v4.1'
...
bugfix(adc): missing ranges of ADC codes in ESP32 (backport v4.1)
See merge request espressif/esp-idf!12878
2021-12-03 03:26:04 +00:00
Jiang Jiang Jian
2da581f82f
Merge branch 'bugfix/pm_dump_format_v4.1' into 'release/v4.1'
...
esp_pm: fix formatting issues in esp_pm_dump_locks (backport v4.1)
See merge request espressif/esp-idf!12023
2021-12-03 03:23:54 +00:00
Island
e8982b5874
Merge branch 'test/update_ble_mesh_console_files_forv4.1' into 'release/v4.1'
...
test: fix ble mesh send problem (v4.1)
See merge request espressif/esp-idf!14492
2021-11-30 06:08:10 +00:00
Yuan Hong Hui
48506b70c4
test: fix ble mesh send problem (v4.1)
2021-11-30 06:08:09 +00:00
Omar Chebib
ddf693b662
VFS: select function's timeout is now POSIX compliant
...
`select` function will now round up the timeout passed as a parameter (if any).
It makes it POSIX compliant.
* Closes https://github.com/espressif/esp-idf/issues/7514
2021-11-30 12:29:35 +08:00
Mahavir Jain
48cac250c7
bootloader: add anti-FI checks around secure version in anti-rollback scheme
2021-11-29 18:50:01 +05:30
David Cermak
8bf61c289a
lwip: Add config for DHCP client id; Fix DNS server idx assert issue
...
This commit brings two esp-lwip fixes to IDF:
1) Add configuration to disable DHCP client identification
2195f7416f
This config could be used to disable option 61 in DHCP packets, so that
clients will be identified by their chaddr only.
(This is the lwip upstream original behaviour)
2) Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
5a567d52f7
When lwip doesn't have DNS server and resolve a domain address, the server_idx
will increase to DNS_MAX_SERVERS, which will trigger the LWIP_ASSERT and make device crash.
Closes https://github.com/espressif/esp-idf/issues/6878
2021-11-29 11:18:54 +01:00
Roland Dobai
c9124ed99a
Merge branch 'bugfix/doskey_v4.1' into 'release/v4.1'
...
tools: fix export.bat /tools/idf.py not found issue (v4.1)
See merge request espressif/esp-idf!16051
2021-11-26 15:28:03 +00:00
Roland Dobai
f3b823381b
Merge branch 'bugfix/coredump_esp_panic_reason_v4.1' into 'release/v4.1'
...
coredump: Fixes ESP-specific panic reasons handling (v4.1)
See merge request espressif/esp-idf!16068
2021-11-26 11:03:57 +00:00
Ivan Grokhotkov
5132d6ab5c
tools: {install, export}.bat: fix path quoting
...
Also includes fix for DOSKEY definitions.
Closes https://github.com/espressif/esp-idf/issues/7605
Closes https://github.com/espressif/esp-idf/issues/7927
2021-11-26 11:08:01 +01:00
Mahavir Jain
2dbefaa3d4
Merge branch 'bugfix/bootloader_debug_buffers_v4.1' into 'release/v4.1'
...
bootloader_support: Fix and re-enable bootloader_debug_buffer function (v4.1)
See merge request espressif/esp-idf!16076
2021-11-26 08:01:00 +00:00
Mahavir Jain
45130c47a1
Merge branch 'feature/docker_build_use_git_mirror_v4.1' into 'release/v4.1'
...
ci: use LOCAL_GIT_MIRROR in docker build job, if set (v4.1)
See merge request espressif/esp-idf!16113
2021-11-26 05:22:17 +00:00
Gustavo Henrique Nihei
7e17bd8eb3
bootloader_support: Fix and re-enable bootloader_debug_buffer function
...
The body of the bootloader_debug_buffer function was conditioned to
macros that were never defined, resulting in deactivated code.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-26 13:19:18 +08:00
Shen Jun
28d3a8c06b
Merge branch 'mesh/esp_mesh_send_block_time_v4.1' into 'release/v4.1'
...
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send(backport v4.1)
See merge request espressif/esp-idf!13410
2021-11-25 12:51:03 +00:00
Roland Dobai
706778b5df
Merge branch 'docs/fix_oocd_debug_level_opt_v4.1' into 'release/v4.1'
...
docs: Fixes OpenOCD debug level option
See merge request espressif/esp-idf!16064
2021-11-25 11:55:33 +00:00
Roland Dobai
4bb68b3da9
Merge branch 'feature/oocd_ver_upgrade_v4.1' into 'release/v4.1'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111' (v4.1)
See merge request espressif/esp-idf!16002
2021-11-25 11:26:25 +00:00
Alexey Gerenkov
719974ac88
coredump: Fixes ESP-specific panic reasons handling
2021-11-25 09:43:32 +01:00
Alexey Gerenkov
9b31ddcc49
idf_tools: Adds 'linux-armhf' platform support
2021-11-25 09:41:52 +01:00
Alexey Gerenkov
3e9da74451
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111'
2021-11-25 09:41:52 +01:00
Alexey Gerenkov
ba03d9f55b
docs: Fixes OpenOCD debug level option
2021-11-25 09:38:48 +01:00
shenjun
56a1a74492
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send
...
1. add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2. fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2021-11-25 14:02:03 +08:00
Ivan Grokhotkov
e25d83744e
ci: use LOCAL_GIT_MIRROR in docker build job, if set
...
When the build runner has a local git mirror configured via
LOCAL_GIT_MIRROR variable, use that mirror when cloning IDF insider
the docker build job. Follows similar logic for
LOCAL_GITLAB_HTTPS_HOST, which is used for geo nodes.
2021-11-25 13:36:42 +08:00
Anton Maklakov
943d4e4f72
Merge branch 'feature/remove_component_manager_tests_v4.1' into 'release/v4.1'
...
ci: Remove component manager test from build system tests (v4.1)
See merge request espressif/esp-idf!16109
2021-11-25 05:35:48 +00:00
Sergei Silnov
3458101c48
ci: Remove component manager test from build system tests
...
Component manager itself has a set of integration tests
that run against different ESP-IDF versions
2021-11-24 15:41:18 +01:00
Roland Dobai
ad3ee9f4f9
Merge branch 'feature/json_schema_for_idf_size_v4.1' into 'release/v4.1'
...
tools: add json schema for idf_size (v4.1)
See merge request espressif/esp-idf!15962
2021-11-24 09:02:33 +00:00
Roland Dobai
81517ead9e
Merge branch 'feature/gcov_dump_in_thread_v4.1' into 'release/v4.1'
...
Feature/gcov dump in thread v4.1
See merge request espressif/esp-idf!15918
2021-11-23 07:55:11 +00:00
Anton Maklakov
3f75d76fb7
Merge branch 'feature/ci_runner_failure_retries_v4.1' into 'release/v4.1'
...
ci: runner system failure retries (v4.1)
See merge request espressif/esp-idf!15725
2021-11-19 08:02:24 +00:00
Mahavir Jain
81fdf6a4c1
Merge branch 'bugfix/efuse_stdbool_v4.1' into 'release/v4.1'
...
efuse: Add missing stdbool.h include file (v4.1)
See merge request espressif/esp-idf!15938
2021-11-15 15:29:37 +00:00
simon.chupin
a0bc68ac92
tools: add json schema for idf_size
2021-11-15 15:32:33 +01:00
Erhan Kurubas
08ef49e478
gcov: enable gcov in single core
2021-11-12 22:35:52 +03:00
Gustavo Henrique Nihei
8e03ec2253
efuse: Enable C++ linkage for the include headers on esp_efuse.h
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-12 13:30:37 -03:00
Gustavo Henrique Nihei
c72930f726
efuse: Add missing stdbool.h include file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com >
2021-11-12 13:30:36 -03:00
Erhan Kurubas
3277ff6856
gcov: ipc component name changei
2021-11-12 19:28:07 +03:00
Erhan Kurubas
3830ac21e2
esp_ipc: fix race condition in ipc task
2021-11-12 00:33:01 +03:00
Erhan Kurubas
384ca3452b
gcov: enable single core tests
2021-11-12 00:32:44 +03:00
Erhan Kurubas
9681fb3d71
ipc: enable ipc task at single core for gcov dump
2021-11-12 00:32:43 +03:00
Erhan Kurubas
1d987334d3
gcov: add stub table size entry
2021-11-12 00:32:43 +03:00
Erhan Kurubas
fd8b943619
gcov: add gcov callback into the ipc task
2021-11-12 00:32:39 +03:00
Erhan Kurubas
49942a9468
gcov: readme update for ESP32-S2
2021-11-12 00:31:56 +03:00
Erhan Kurubas
357e938298
gcov: dump in a special thread
2021-11-12 00:31:17 +03:00
Erhan Kurubas
1a40148be0
gcov: added dbg stub capabilites and magic number entry to keep backward compatible
2021-11-12 00:29:57 +03:00
Xie Wen Xiang
fb7f4ed6ab
Merge branch 'bugfix/fix_crash_when_shutdown_bt_v4.1' into 'release/v4.1'
...
component/bt: fix crash when shutdown bt(backport v4.1)
See merge request espressif/esp-idf!15711
2021-11-10 06:31:53 +00:00
Wang Meng Yang
cce7229188
Merge branch 'bugfix/hfp_demo_audio_not_sine_v4.1' into 'release/v4.1'
...
fix hfp_ag demo audio not sine_v4.1
See merge request espressif/esp-idf!15748
2021-11-09 08:26:08 +00:00
boarchuz
59a37806e7
fix bootloader build with rom flash driver
...
Closes https://github.com/espressif/esp-idf/pull/7508
Closes https://github.com/espressif/esp-idf/issues/6849
2021-11-08 14:14:14 +08:00
xiewenxiang
7b18c32ad2
component/bt: fix crash when shutdown bt(backport v4.1)
2021-11-08 10:43:15 +08:00
Island
25ce06d32e
Merge branch 'bugfix/ble_mesh_host_init_v4.1' into 'release/v4.1'
...
ble_mesh: nimble: return error if init host twice (v4.1)
See merge request espressif/esp-idf!15790
2021-11-05 03:12:34 +00:00
Island
30450b456f
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v4.1)
See merge request espressif/esp-idf!15786
2021-11-05 03:09:32 +00:00
Chinmay Chhajed
8aad029805
Merge branch 'bugfix/ble_conn_latency_max_value_v4.1' into 'release/v4.1'
...
BLE: Set connection max latency value to 499.
See merge request espressif/esp-idf!15757
2021-11-04 10:17:38 +00:00
Marius Vikhammer
0e3ebe868f
bootloader: disable psram cache bug fix for bootloader
...
The psram cache bug fix was also being applied to the bootloader binary (for cmake),
which doesnt do any psram access.
Applying this fix would increase the binary size, as much as 300 bytes in worst case scenarios
2021-11-04 11:32:19 +08:00
lly
2f0fbfa3ef
ble_mesh: nimble: return error if init host twice
2021-11-03 19:22:00 +08:00
lly
68d902e9c8
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-03 19:07:08 +08:00
Chinmay Chhajed
5bf675ea4f
BLE: Set connection max latency value to 499.
2021-11-01 16:39:13 +05:30
jincheng
4e34c26a56
fix hfp_ag demo audio not sine_v4.1
2021-11-01 12:19:58 +08:00
KonstantinKondrashov
104dc63c85
efuse_table_gen: Fixes wrong joining fields with omitted names
...
The issue is related to the non-sequential way of description when
such fields going together sequential.
Related to esp32h2 chip for eFuses: MAC_FACTORY and MAC_EXT.
The issue is in wrong indexes of MAC_EXT.
MAC_EXT got indexes like it is joined to MAC_FACTORY.
const esp_efuse_desc_t* ESP_EFUSE_MAC_FACTORY[] = {
&MAC_FACTORY[0],
&MAC_FACTORY[1],
&MAC_FACTORY[2],
&MAC_FACTORY[3],
&MAC_FACTORY[4],
&MAC_FACTORY[5],
NULL
};
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[6],
&MAC_EXT[7],
NULL
};
This commit fixed it to:
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[0],
&MAC_EXT[1],
NULL
};
2021-10-29 19:37:35 +08:00
Anton Maklakov
41e3158c26
ci: Add retries on runner system failures
2021-10-29 13:50:56 +07:00
Mahavir Jain
9029ad44fa
Merge branch 'bugfix/fix_http_head_request_v4.1' into 'release/v4.1'
...
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request(backport v4.1)
See merge request espressif/esp-idf!15712
2021-10-29 06:38:42 +00:00
yuanjm
4b8a5ff153
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request
...
Closes https://github.com/espressif/esp-idf/issues/7777
2021-10-29 10:21:07 +08:00
Kapil Gupta
bd716b6fa1
wpa_supplicant: Add missing cflag for legacy makefile
2021-10-28 16:55:50 +05:30
Kapil Gupta
c4b411cbb2
wpa_supplicant: Update internal tls client with sha384/sha512 support
2021-10-28 16:55:14 +05:30
Kapil Gupta
04d02e5b52
esp_wifi: Fix interoperability issue with windows 2008
2021-10-28 16:07:01 +08:00
Mahavir Jain
f9327b9d82
Merge branch 'bugfix/select_boot_app_v4.1' into 'release/v4.1'
...
partition_table: Fix case when a few similar to otadata partitions in the table (v4.1)
See merge request espressif/esp-idf!15650
2021-10-28 05:38:23 +00:00
Island
2a455d7d5e
Merge branch 'bugfix/heartbeat_filter_with_acceptlist_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix heartbeat filter with accept list (v4.1)
See merge request espressif/esp-idf!15678
2021-10-28 02:58:47 +00:00
Jiang Jiang Jian
9af2c5991d
Merge branch 'bugfix/remove_assert_when_inq_done_4.1' into 'release/v4.1'
...
component_bt: fix crash after inquiry has finished (v4.1)
See merge request espressif/esp-idf!15672
2021-10-27 11:29:32 +00:00
wangjialiang
661528d4f7
ble_mesh: stack: Fix heartbeat filter with accept list
2021-10-27 16:47:17 +08:00
xiongweichao
8656b9f088
Remove assert when inq done
...
Closes https://github.com/espressif/esp-idf/issues/6759
2021-10-27 14:36:37 +08:00
Anton Maklakov
38d3c35a4b
Merge branch 'bugfix/support_py34-35_cffi_v4.1' into 'release/v4.1'
...
Tools: Constrain the cffi package for older pythons (v4.1)
See merge request espressif/esp-idf!15609
2021-10-26 13:53:22 +00:00
KonstantinKondrashov
a86117223b
partition_table: Fix case when a few similar to otadata partitions in the table
...
It was when in the partition table there is a partition with type="data" and suptype=""(empty),
in this case type=1, suptype=0. It is similar to otadata partition.
This commit fixes it, now it will handle it as type=1, suptype=6 (ESP_PARTITION_SUBTYPE_DATA_UNDEFINED).
2021-10-26 16:49:26 +08:00
Sergei Silnov
0603acf91e
Tools: Constrain the cffi package for older pythons
2021-10-25 20:14:31 +08:00
Wang Meng Yang
e0deeedfba
Merge branch 'feature/add_README_for_controller_hci_uart_demo_v4.1' into 'release/v4.1'
...
[document] add README.md for demo controller_hci_uart_demo for v4.1
See merge request espressif/esp-idf!15570
2021-10-25 08:11:34 +00:00
Jiang Jiang Jian
e16977f67f
Merge branch 'bugfix/fix_ble_scan_failed_issue_master_4.1' into 'release/v4.1'
...
Fix the ble scan failed issue
See merge request espressif/esp-idf!15590
2021-10-21 11:57:58 +00:00
Anton Maklakov
be8eec22f8
Merge branch 'ci/fix_deploy_docs_preview_url_v4.1' into 'release/v4.1'
...
ci: update docs preview url (v4.1)
See merge request espressif/esp-idf!15510
2021-10-21 03:30:01 +00:00
Yang Zhao
e14327fa02
1.Fix the ble scan failed issue, this may happen in coexit environment
...
2.Fix connection failed with LG 5.0 phone
3.Check only for same X component of public key in BR/EDR
2021-10-21 11:08:46 +08:00
Anton Maklakov
d78f07166c
Merge branch 'bugfix/retry_download_submodule_v4.1' into 'release/v4.1'
...
ci: retry download from Gitlab on error 500 (v4.1)
See merge request espressif/esp-idf!15560
2021-10-20 08:13:07 +00:00
jincheng
50b8f73b5b
add README.md for demo controller_hci_uart_demo
2021-10-20 09:04:20 +08:00
Ivan Grokhotkov
25385d72ab
ci: revert type annotations in gitlab_api.py to python2 compatible
2021-10-19 19:44:31 +07:00
Ivan Grokhotkov
fdcfba5650
ci: retry Gitlab operations on error 500
2021-10-19 19:44:24 +07:00
Fu Hanxi
bb7dcb8113
ci: retry download artifacts
2021-10-19 19:44:17 +07:00
Ivan Grokhotkov
4878cdd125
ci: fetch submodules from mirror, if enabled
2021-10-19 19:44:10 +07:00
Fu Hanxi
beaee539de
ci: retry download if catched IOError/EOFError
2021-10-19 19:44:04 +07:00
Wang Meng Yang
bd28980da5
Merge branch 'bugfix/btdm_ble_data_length_update_fail_v4.1' into 'release/v4.1'
...
Fix data length update failed(release v4.1)
See merge request espressif/esp-idf!15504
2021-10-18 03:08:22 +00:00
Wang Meng Yang
3874ab6aac
Merge branch 'bugfix/ble_set_scan_param_error_v4.1' into 'release/v4.1'
...
Fix the bug when ble setting scan param
See merge request espressif/esp-idf!13978
2021-10-15 07:59:00 +00:00
Yuan Jian Min
0c46c56c01
Merge branch 'bugfix/fix_cplusplus_miss_in_dhcp_v4.1' into 'release/v4.1'
...
dhcpserver: support cplusplus (backport v4.1)
See merge request espressif/esp-idf!15361
2021-10-14 11:59:38 +00:00
Marius Vikhammer
b6842845b9
ci: update docs preview url
2021-10-14 14:24:00 +08:00
xiewenxiang
85a6c2ea9b
component/bt: fix data length update failed
2021-10-13 19:47:43 +08:00
Ivan Grokhotkov
ef647e941e
Merge branch 'feature/windows_installer_moved_to_github_backport_4.1' into 'release/v4.1'
...
tools: Windows Installer project moved to github.com/espressif/idf-installer - backport v4.1
See merge request espressif/esp-idf!15476
2021-10-11 13:50:54 +00:00
Juraj Michálek
58d48574a1
tools: remove dependency on Windows installer - backport
2021-10-11 12:31:30 +02:00
Roland Dobai
cd1c40459f
Merge branch 'bugfix/constrain_cryptography_v4.1' into 'release/v4.1'
...
Tools: Constrain the cryptography package version in order to avoid breaking changes (v4.1)
See merge request espressif/esp-idf!15463
2021-10-11 07:19:57 +00:00
Mahavir Jain
1bc071c2de
Merge branch 'fix/update_https_example_root_certificate_v4.1' into 'release/v4.1'
...
Updated the root certificate of https examples (v4.1)
See merge request espressif/esp-idf!15439
2021-10-11 04:00:49 +00:00
Bao Hong De
4d46e6c268
Merge branch 'feature/sync_bt_lib_with_hli_v4.1' into 'release/v4.1'
...
components/bt: Sync bt lib with the high level interrupt version
See merge request espressif/esp-idf!15329
2021-10-11 03:15:06 +00:00
Roland Dobai
72e96a58f3
Tools: Constrain the cryptography package for avoiding breaking changes
...
The cryptography 35 release causes breaking changes. Some of
certificates are rendered invalid and the package cannot be build
without rust. See
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3500---2021-09-29
for more details.
2021-10-10 19:27:05 +02:00
yuanjm
f570b33b66
dhcpserver: support cplusplus
...
Closes https://github.com/espressif/esp-idf/issues/7494
Merges https://github.com/espressif/esp-idf/pull/7526
2021-10-08 16:45:39 +08:00
baohongde
e10416659c
components/bt: Sync bt lib with the high level interrupt version
2021-10-08 14:20:36 +08:00
Harshit Malpani
4cde8e7792
Update example test for esp_http_client
2021-10-07 18:03:47 +05:30
Harshit Malpani
ade8b8b7a0
Updated the root certificate of https examples
2021-10-07 16:51:08 +05:30
Mahavir Jain
f6f417ceee
Merge branch 'feature/upgrade_nghttp2_component_v4.1' into 'release/v4.1'
...
nghttp2: upgrade to v1.41.0 release (v4.1)
See merge request espressif/esp-idf!15344
2021-10-05 05:39:29 +00:00
Vikram Dattu
369ef2e6a8
Fixed broken http2_request example.
...
Implementation of `esp_tls_conn_new_sync` now uses timeout_ms value to
give up retries.
Specified this value to be 10 sec. (10 * 1000 ms).
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2021-10-01 04:10:51 +08:00
Mahavir Jain
bf80d8b5da
nghttp2: upgrade to v1.41.0 release
...
Detailed changelog:
https://github.com/nghttp2/nghttp2/releases/tag/v1.41.0
Closes: https://github.com/espressif/esp-idf/issues/4883
Closes IDFGH-2821
2021-10-01 04:10:51 +08:00
Jiang Jiang Jian
05f5998b98
Merge branch 'cherry-pick-e8360fe0-2' into 'release/v4.1'
...
wpa_supplicant: clean tls client state machine (backport v4.1)
See merge request espressif/esp-idf!15038
2021-09-29 11:47:06 +00:00
Roland Dobai
80ba98aa9d
Merge branch 'bugfix/idf_tools_virtualenv_seeder_v4.1' into 'release/v4.1'
...
tools/idf_tools.py: Changed default AppData seeder to seeder pip (backport v4.1)
See merge request espressif/esp-idf!15351
2021-09-27 12:33:42 +00:00
Michael (XIAO Xufeng)
cf584f1542
Merge branch 'bugfix/uart_driver_obj_into_sram_v4.1' into 'release/v4.1'
...
uart: put driver object into sram(v4.1)
See merge request espressif/esp-idf!14754
2021-09-26 01:33:37 +00:00
Juraj Sadel
eb369f21a9
tools/idf_tools.py: Changed default AppData seeder to seeder pip
2021-09-24 16:02:21 +02:00
David Čermák
e83df0aa20
Merge branch 'bugfix/config_data_interface_early_v4.1' into 'release/v4.1'
...
initialize data interface early (v4.1)
See merge request espressif/esp-idf!15091
2021-09-24 07:33:28 +00:00
Jiang Jiang Jian
d0525dcf03
Merge branch 'bugfix/stack_init_check_v4.1' into 'release/v4.1'
...
NimBLE: Check stack status before executing stack command
See merge request espressif/esp-idf!14985
2021-09-23 07:55:34 +00:00
Wang Meng Yang
47a62a6577
Merge branch 'feature/btdm_add_clear_white_list_API_v4.1' into 'release/v4.1'
...
component/bt: add clear white list API(backport v4.1)
See merge request espressif/esp-idf!15300
2021-09-23 03:24:21 +00:00
zhiweijian
ffc6072f80
component/bt: add clear white list API
2021-09-22 16:01:51 +08:00
morris
1c75ad9416
uart: support alloc driver object in SRAM
...
If CONFIG_UART_ISR_IN_IRAM is on, which means user hope the uart
interrupt can still be serviced even when cache is diabled (e.g.
writing to flash). In that case, the driver should make sure to
put the all related objects into SRAM, avoid putting them in the PSRAM.
Closes https://github.com/espressif/esp-idf/issues/7044
Closes https://github.com/espressif/esp-idf/pull/7355
2021-09-22 11:57:28 +08:00
morris
89990bcbf5
uart: format driver code by astyle
2021-09-22 11:57:28 +08:00
Mahavir Jain
de3d75605f
Merge branch 'bugfix/http_client_eagain_v4.1' into 'release/v4.1'
...
esp_http_client: Fixed handling of EAGAIN return (backport v4.1)
See merge request espressif/esp-idf!15275
2021-09-21 11:50:26 +00:00
Vikram Dattu
112cfe8f57
esp_http_client: Fixed handling of EAGAIN return
...
For https connection `ESP_TLS_ERR_SSL_WANT_READ` of esp_transport_read was getting treated as error.
Treated this as a timeout to fix connection abort issue!
Also handled http connection EAGAIN with `errno == EAGAIN` check.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2021-09-20 18:22:21 +05:30
Mahavir Jain
64d352af27
Merge branch 'fix/esp_mbedtls_write_api_v4.1' into 'release/v4.1'
...
Fix esp_mbedtls_write API (v4.1)
See merge request espressif/esp-idf!15216
2021-09-20 11:19:19 +00:00
Aditya Patwardhan
fc931ff193
Fix esp_mbedtls_write API
...
Fix esp_wolfssl_write API
Closes https://github.com/espressif/esp-idf/issues/7461
2021-09-16 09:07:48 +05:30
Krzysztof Budzynski
b22c975a3b
Merge branch 'docs/fix_adc_pad_typo_MOSI_typo_and_broken_link_v4.1' into 'release/v4.1'
...
Fix ADC pad and MOSI typo, update esp32c3 rom elf link (v4.1)
See merge request espressif/esp-idf!15189
2021-09-14 08:48:16 +00:00
Wang Fang
7dc5375867
docs: Fix ADC pad and MOSI typo, update esp32c3 rom elf link
2021-09-14 11:30:50 +08:00
Roland Dobai
fcb8aff5a7
Merge branch 'feature/oocd_ver_upgrade_v4.1' into 'release/v4.1'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902' (v4.1)
See merge request espressif/esp-idf!15134
2021-09-09 07:39:49 +00:00
Alex Lisitsyn
05d647a04a
Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key_v41' into 'release/v4.1'
...
freemodbus: fix invalid error handling for duplicate param key (backport v4.1)
See merge request espressif/esp-idf!14786
2021-09-09 05:56:33 +00:00
Alexey Gerenkov
b04f781bd9
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'
2021-09-08 21:06:26 +03:00
Wang Meng Yang
f6695052ab
Merge branch 'bugfix/controller_hci_uart_sdkconfig_v4.1' into 'release/v4.1'
...
controller_hci_uart: fixed the sdkconfig.defaults in the example(backport v4.1)
See merge request espressif/esp-idf!14827
2021-09-08 06:09:58 +00:00
Wang Meng Yang
01a11b2d0e
Merge branch 'bugfix/hf_disc_acl_no_disc_v4.1' into 'release/v4.1'
...
bugfix/acl can't disconnect when hfp_client disconnect [release/v4.1]
See merge request espressif/esp-idf!15058
2021-09-07 23:30:20 +00:00
morris
530b2b0f81
eth: dont warn nego timeout if link is down
2021-09-06 19:10:46 +08:00
morris
a5057f7202
emac: configure data interface early
2021-09-06 19:10:46 +08:00
Wang Meng Yang
c358ca07d4
Merge branch 'bugfix/bt_spp_timer_collision_v4.1' into 'release/v4.1'
...
Fix timer collision in role switch(v4.1)
See merge request espressif/esp-idf!14820
2021-09-06 08:24:04 +00:00
Mahavir Jain
659de924da
Merge branch 'feature/update_cjson_submodule_v4.1' into 'release/v4.1'
...
cJSON: Update submodule to v1.7.15 (v4.1)
See merge request espressif/esp-idf!15076
2021-09-06 06:39:01 +00:00
Mahavir Jain
97c378a5e1
Merge branch 'feature/update_expat_v4.1' into 'release/v4.1'
...
expat: Update library from 2.2.9 to 2.4.1(backport v4.1)
See merge request espressif/esp-idf!15069
2021-09-06 04:01:29 +00:00
jincheng
f5e1d1c2bf
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-09-06 10:35:25 +08:00
Shubham Kulkarni
b9643ee59c
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-09-06 07:44:42 +05:30
Liu Han
895dbb90c2
expat: Update library from 2.2.9 to 2.4.1
2021-09-03 16:32:39 +08:00
jincheng
ba8f1e4b5c
fix acl can not disconnect when hf_client disconnect
2021-09-03 11:29:14 +08:00
Wang Meng Yang
907205a13a
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error_v4.1' into 'release/v4.1'
...
component/bt: fix some ble document description error(backport v4.1)
See merge request espressif/esp-idf!14825
2021-09-03 01:40:26 +00:00
XieWenxiang
3ba43f4991
component/bt: fix some ble document description error
2021-09-01 20:46:14 +08:00
Kapil Gupta
789a7e5e5a
Merge branch 'bugfix/eap_client_windows' into 'master'
...
wpa_supplicant: clean tls client state machine
Closes IDFGH-5702, IDFGH-5662, and IDFGH-119
Closes https://github.com/espressif/esp-idf/issues/7422
Closes https://github.com/espressif/esp-idf/issues/1297
See merge request espressif/esp-idf!14968
(cherry picked from commit e8360fe075 )
d3a42d78 wpa_supplicant: clean tls client state machine
2021-09-01 19:15:02 +08:00
Alberto García Hierro
f1a024e374
Enable IO20 on ESP32
...
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.
Fixes #6016
Fixes #6837
Closes https://github.com/espressif/esp-idf/pull/6918
(cherry picked from commit 6deaefde69 )
2021-08-31 20:45:17 +08:00
Rahul Tank
12b50729ed
NimBLE: Check stack status before executing stack command
2021-08-27 20:53:19 +05:30
Alex Lisitsyn
1e309a3885
Merge branch 'bugfix/freemodbus_fix_mbm_event_processing_v41' into 'release/v4.1'
...
freemodbuss: fix event processing after merge (backport v4.1)
See merge request espressif/esp-idf!12824
2021-08-25 15:12:49 +00:00
Wang Meng Yang
47cc42f662
Merge branch 'component_bt/add_spp_faq_v4.1' into 'release/v4.1'
...
Component_bt/Add FAQ in SPP Demo README[backport v4.1]
See merge request espressif/esp-idf!14798
2021-08-23 05:15:26 +00:00
Jiang Jiang Jian
e769c9fb43
Merge branch 'bugfix/spp_memory_leak_v4.1' into 'release/v4.1'
...
Fix spp memory leak(v4.1)
See merge request espressif/esp-idf!14863
2021-08-20 02:50:28 +00:00
xiongweichao
367675be4e
components/bt: fix spp memory leak
...
Closes https://github.com/espressif/esp-idf/issues/7238
2021-08-19 14:41:06 +08:00
Mahavir Jain
f7563fffbe
Merge branch 'fix/warning_in_wifi_prov_mgr_v4.1' into 'release/v4.1'
...
provisioning: fix wifi warning in wifi_prov_mgr application (v4.1)
See merge request espressif/esp-idf!14765
2021-08-19 04:11:05 +00:00
Island
b7bc49e942
Merge branch 'bugfix/ble_mesh_cve_recommendation_v4.1' into 'release/v4.1'
...
ble_mesh: Update the SIG recommendations for CVE issues (v4.1)
See merge request espressif/esp-idf!14843
2021-08-18 12:41:33 +00:00
Harshit Malpani
1169a42e71
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-18 18:35:14 +08:00
Zim Kalinowski
7d79333208
Merge branch 'bugfix/remove_bt_get_mac_v4.1' into 'release/v4.1'
...
bt: Remove unused function esp_bt_get_mac. (v4.1)
See merge request espressif/esp-idf!14838
2021-08-18 05:03:34 +00:00
lly
d272f830b2
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-18 10:58:56 +08:00
Chinmay Chhajed
3675409ee8
bt: Remove unused function esp_bt_get_mac.
2021-08-17 18:55:21 +05:30
David Čermák
0246c5ddee
Merge branch 'bugfix/fix_eth2ap_example_crash_v4.1' into 'release/v4.1'
...
eth2ap: Fix eth2ap example crash issue (backport v4.1)
See merge request espressif/esp-idf!14560
2021-08-17 10:59:34 +00:00
liqigan
69b2100a13
add FAQ in SPP demo README
2021-08-17 15:19:31 +08:00
wangmengyang
287695f623
controller_hci_uart: fixed the sdkconfig.defaults in the example
2021-08-16 17:05:29 +08:00
Wang Meng Yang
e589fdd18c
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value_v4.1' into 'release/v4.1'
...
component/bt: fix bluedroid host auto update PPCP attribute value(backport v4.1)
See merge request espressif/esp-idf!14750
2021-08-16 07:36:29 +00:00
Anton Maklakov
7c06467277
Merge branch 'ci/change_perf_key_v4.1' into 'release/v4.1'
...
ci: update performance test key to db compatible format (v4.1)
See merge request espressif/esp-idf!14656
2021-08-16 06:13:13 +00:00
Zim Kalinowski
e3081a08fa
Merge branch 'bugfix/add_critical_section_in_uart_driver_v4.1' into 'release/v4.1'
...
UART: add missing critical section wrappers around rx_buffered_len (backport v4.1)
See merge request espressif/esp-idf!14777
2021-08-14 02:55:31 +00:00
Omar Chebib
c10c604af9
uart: Add missing critical section wrappers around rx_buffered_len
...
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.
Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com >
Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-14 10:55:26 +08:00
Wang Meng Yang
52875ff2b2
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_v4.1' into 'release/v4.1'
...
Fix controller may miss the sleep time
See merge request espressif/esp-idf!14739
2021-08-13 09:17:44 +00:00
aleks
dfc509d3e4
freemodbus: fix invalid error handling for duplicate param_key
2021-08-13 10:40:25 +02:00
Zim Kalinowski
2acf705460
Merge branch 'bugfix/cmake_export_ver_during_reqs_expansion_v4.1' into 'release/v4.1'
...
cmake: set IDF_VERSION_* variables at requirement expansion stage (v4.1)
See merge request espressif/esp-idf!14045
2021-08-12 21:41:51 +00:00
Zim Kalinowski
88340e04cd
Merge branch 'bugfix/freertos_ut_suspend_v4.1' into 'release/v4.1'
...
freertos: Increases delta for UT - Test suspend-resume CPU. The number of... (v4.1)
See merge request espressif/esp-idf!14632
2021-08-12 21:32:46 +00:00
Zim Kalinowski
6d876a8677
Merge branch 'bugfix/read_ota_partition_required_output_arg_v4.1' into 'release/v4.1'
...
otatool: Fixes read_ota_partition cmd, required output arg (v4.1)
See merge request espressif/esp-idf!13674
2021-08-12 21:30:20 +00:00
Zim Kalinowski
2720bf0455
Merge branch 'bugfix/newlib_FD_ISSET_v4.1' into 'release/v4.1'
...
newlib: Fix a case in FD_ISSET macro when n==-1 (v4.1)
See merge request espressif/esp-idf!13692
2021-08-12 21:28:07 +00:00
Zim Kalinowski
b48b5e1829
Merge branch 'bugfix/otatool_imported_as_lib_v4.1' into 'release/v4.1'
...
otatool: Fix a crash when imported as external python lib (v4.1)
See merge request espressif/esp-idf!13668
2021-08-12 21:26:16 +00:00
XieWenxiang
cd671be627
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-11 18:06:44 +08:00
Yang Zhao
bca844c2f5
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:28:24 +08:00
Zim Kalinowski
52b36b0ef9
Merge branch 'bugfix/esp_event_any_id_unregister_4.1' into 'release/v4.1'
...
ESP Event: fix unregister documentation (backport 4.1)
See merge request espressif/esp-idf!14432
2021-08-10 03:37:19 +00:00
Zim Kalinowski
c809c33caa
Merge branch 'bugfix/setjmp_longjmp_4.1' into 'release/v4.1'
...
[system]: Made longjmp save for context switch (backport v4.1)
See merge request espressif/esp-idf!13502
2021-08-10 03:35:12 +00:00
Zim Kalinowski
0870b1a1b9
Merge branch 'bugfix/missing_extern_c_4.1' into 'release/v4.1'
...
[test_utils]: added extern C decl to ccomp (backport 4.1)
See merge request espressif/esp-idf!14328
2021-08-10 03:32:10 +00:00
Wang Meng Yang
c4a519de29
Merge branch 'bugfix/spp_connect_20_fail_v4.1' into 'release/v4.1'
...
component_bt: fix spp acceptor deadlock
See merge request espressif/esp-idf!14107
2021-08-10 03:03:48 +00:00
Zim Kalinowski
05ed8331bc
Merge branch 'feature/twdt_prints_backtrace_v4.1' into 'release/v4.1'
...
Add Task Watchdog backtrace printing (v4.1)
See merge request espressif/esp-idf!12617
2021-08-10 02:42:43 +00:00
Zim Kalinowski
4703f33c5e
Merge branch 'feature/skip_known_failure_cases_v4.1' into 'release/v4.1'
...
CI: Ignore Known Failure Cases Result (v4.1)
See merge request espressif/esp-idf!14650
2021-08-10 02:26:53 +00:00
Fu Hanxi
980cb0e52d
feat(tiny_test_fw): ignore known failure cases result
...
py
2021-08-10 10:26:47 +08:00
Zim Kalinowski
79566e087b
Merge branch 'feature/prevent_unwind_code_linking_4.1' into 'release/v4.1'
...
[C++]: wrapper functions around unwind code (backport 4.1)
See merge request espressif/esp-idf!13805
2021-08-09 21:39:47 +00:00
Zim Kalinowski
b5dc49fa3b
Merge branch 'docs/spi_max_transfer_sz_limit_v4.1' into 'release/v4.1'
...
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v4.1)
See merge request espressif/esp-idf!14254
2021-08-09 21:34:33 +00:00
Zim Kalinowski
80727f739a
Merge branch 'bugfix/prefetch_invalid_v4.1' into 'release/v4.1'
...
soc: add dummy bytes to ensure instr prefetch always valid (v4.1)
See merge request espressif/esp-idf!12995
2021-08-09 21:18:21 +00:00
Zim Kalinowski
1aad6124b4
Merge branch 'docs/fix_readme_links_v4.1' into 'release/v4.1'
...
docs: fixed dead readme links (v4.1)
See merge request espressif/esp-idf!14466
2021-08-09 21:17:37 +00:00
Zim Kalinowski
9a0ae975c6
Merge branch 'bugfix/uart_sw_sw_flow_error_typo_v4.1' into 'release/v4.1'
...
uart: fix typo in error message (v4.1)
See merge request espressif/esp-idf!14615
2021-08-09 21:16:27 +00:00
Zim Kalinowski
783851f350
Merge branch 'feature/regi2c_add_lock_v4.1' into 'release/v4.1'
...
regi2c: add a spinlock for accessing (reg)I2C devices (v4.1)
See merge request espressif/esp-idf!13715
2021-08-09 21:15:51 +00:00
Zim Kalinowski
6ba4f298e3
Merge branch 'update/version_4_1_2' into 'release/v4.1'
...
Update version to 4.1.2
See merge request espressif/esp-idf!14553
2021-08-09 21:12:27 +00:00
Roland Dobai
e5276b2c4c
Merge branch 'feature/oocd_ver_upgrade_v4.1' into 'release/v4.1'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721' (v4.1)
See merge request espressif/esp-idf!14695
2021-08-09 15:26:09 +00:00
xiongweichao
aec82dca51
fix spp acceptor deadlock
2021-08-09 11:06:12 +08:00
Alexey Gerenkov
0377a85d12
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721'
2021-08-06 21:40:19 +03:00
Darian Leung
57d8934707
Add Task Watchdog backtrace printing
...
This commit makes the Task Watchdog print the backtrace of both
cores when it times out.
2021-08-06 13:37:53 +08:00
Mahavir Jain
99c1ef8a32
Merge branch 'bugfix/fix_truncated_headers_for_esp_http_client_v4.1' into 'release/v4.1'
...
esp_http_client: Fix header truncated when responded header length over buffer_size (backport v4.1)
See merge request espressif/esp-idf!14385
2021-08-06 05:22:12 +00:00
Mahavir Jain
2331c1d59e
Merge branch 'feature/upgrade_mbedtls_to_v4.1' into 'release/v4.1'
...
mbedtls: upgrade to release v2.16.11 (v4.1)
See merge request espressif/esp-idf!14439
2021-08-06 05:18:12 +00:00
Mahavir Jain
5aa828a364
Merge branch 'fix/memory_leaks_identified_by_cppcheck_v4.1' into 'release/v4.1'
...
Fix/memory leaks identified by cppcheck (v4.1)
See merge request espressif/esp-idf!14503
2021-08-06 05:17:35 +00:00
Wang Meng Yang
f86a4c4cdb
Merge branch 'bugfix/fix_a2dp_sink_blocked_v4.1' into 'release/v4.1'
...
Bugfix/Fix a2dp Sink Blocked Bugs[backport v4.1]
See merge request espressif/esp-idf!14013
2021-08-06 03:20:00 +00:00
KonstantinKondrashov
ad073b5a1d
otatool: Fix a crash when imported as external python lib
...
Closes: https://github.com/espressif/esp-idf/issues/6733
2021-08-05 15:30:58 +08:00
Fu Hanxi
4357d05974
ci: update performance test key to db compatible format
2021-08-04 12:27:05 +08:00
KonstantinKondrashov
3b988e7f7d
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-08-03 16:01:29 +05:00
Marius Vikhammer
ac8c621d24
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:28:53 +08:00
Roland Dobai
b962a91ad4
Merge branch 'bugfix/xtensa_extra_info_register_values_v4.1' into 'release/v4.1'
...
espcoredump.py: Parse EPS and EPC register values using register index (v4.1)
See merge request espressif/esp-idf!14566
2021-08-02 11:19:42 +00:00
Omar Chebib
c27290f205
regi2c: add a spinlock for accessing (reg)I2C devices
...
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-07-31 17:30:07 +08:00
Anton Maklakov
10ce0ef6cd
Merge branch 'bugfix/ci_fix_test_build_system_cmake_v4.1' into 'release/v4.1'
...
ci: Fix concurrency issues for macOS build system tests (v4.1)
See merge request espressif/esp-idf!14401
2021-07-30 09:59:46 +00:00
Shubham Patil
fae314099d
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-30 16:34:15 +08:00
Anton Maklakov
a121a37edb
Merge branch 'bugfix/ttfw_fix_flush_index_error_v4.1' into 'release/v4.1'
...
test: TTFW fix flush index error (v4.1)
See merge request espressif/esp-idf!14262
2021-07-30 06:36:04 +00:00
Wang Meng Yang
1b2ef2ea78
Merge branch 'bugfix/fix_scan_timeout_mr_4.1' into 'release/v4.1'
...
Fix the scan timeout report
See merge request espressif/esp-idf!14447
2021-07-29 07:59:27 +00:00
Michael (XIAO Xufeng)
4427586902
Merge branch 'test/flash_perf_thr_update_by_grafana_avg_v4.1' into 'release/v4.1'
...
ci: adjust spi_flash performance value according to more test data (v4.1)
See merge request espressif/esp-idf!14118
2021-07-29 06:44:31 +00:00
Michael (XIAO Xufeng)
8dcaedcf62
ci: adjust spi_flash performance value according to more test data
...
After we have the performance dashboard, we have more data and no longer depend on the threshold to ensure performance.
Set looser performance thresholds to avoid CI failure.
2021-07-29 14:44:26 +08:00
yuanjm
e62a4f1a58
eth2ap: Fix eth2ap example crash issue
...
Closes https://github.com/espressif/esp-idf/issues/7260
2021-07-29 10:48:31 +08:00
He Yin Ling
c198f34f48
versions: Update version to 4.1.2
2021-07-28 17:46:16 +08:00
Mahavir Jain
92d703e1f3
Merge branch 'bugfix/ci_ble_wifi_example_test_v4.1' into 'release/v4.1'
...
Fix for ble and wifi example test (v4.1)
See merge request espressif/esp-idf!13804
2021-07-28 07:33:43 +00:00
aleks
2512f394ca
freemodbus: add affinity option for modbus stack tasks
2021-07-28 08:37:20 +02:00
Shivani Tipnis
9150ab30cf
ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests
...
(cherry picked from commit 2d22374460 )
2021-07-27 21:13:06 +08:00
Anton Maklakov
d28158ca15
Merge branch 'feature/idf_tools_darwin_arm64_v4.1' into 'release/v4.1'
...
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64 (v4.1)
See merge request espressif/esp-idf!14073
2021-07-27 10:11:25 +00:00
Ivan Grokhotkov
d73fa298d1
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64
...
Until arm64 tool binaries are available, we can run existing x86_64
ones under emulation.
Suggested in https://github.com/espressif/esp-idf/issues/6113 .
2021-07-27 16:20:17 +08:00
Mahavir Jain
051686ca14
Merge branch 'bugfix/update_ota_cert_v4.1' into 'release/v4.1'
...
OTA examples: Update server certificate (v4.1)
See merge request espressif/esp-idf!14356
2021-07-26 15:16:06 +00:00
Alex Henrie
06ea5da2c8
Fix memory leak on error path in register_select
...
And remove dead error handling code from unregister_select.
Closes https://github.com/espressif/esp-idf/pull/7296
2021-07-25 07:44:43 +05:30
Alex Henrie
7e7d4e291d
Fix memory leak on error path in http_header_set_format
2021-07-25 07:44:43 +05:30
Alex Henrie
88abe2a4cb
Fix memory leak on error path in md5_printf
2021-07-25 07:44:42 +05:30
Krzysztof Budzynski
49e5961ec5
Merge branch 'docs/fix_UART_default_pin_error_and_provide_a_link_to_ESP_PROG_v4.1' into 'release/v4.1'
...
docs: fix uart default pin error and provide more information about ESP-Prog board (v4.1)
See merge request espressif/esp-idf!13970
2021-07-23 11:19:01 +00:00
Michael (XIAO Xufeng)
61a7165212
Merge branch 'feature/support_for_esp32_pico_v3_02_v4.1' into 'release/v4.1'
...
psram: support for esp32-pico-v3-02 (backport v4.1)
See merge request espressif/esp-idf!14267
2021-07-23 10:52:14 +00:00
Roland Dobai
8b27636d5a
Merge branch 'ci/rename_test_log_path_v4.1' into 'release/v4.1'
...
CI: rename log path of IT jobs (v4.1)
See merge request espressif/esp-idf!14454
2021-07-22 13:55:05 +00:00
chenjianqiang
59a07d40ad
psram: support for esp32-pico-v3-02
...
1. Support for 16Mbit PSRAM
2. Support for esp32-pico-v3-02
3. Use package identifier to look up SPI flash/PSRAM WP Pin, unless overridden
2021-07-22 18:19:23 +08:00
Marius Vikhammer
fb0a6022f5
docs: fixed dead readme link
2021-07-21 17:36:23 +08:00
Roland Dobai
802eb855bc
Merge branch 'bugfix/link_gcov_rtio_backport_v4.1' into 'release/v4.1'
...
Bugfix/link gcov rtio backport v4.1
See merge request espressif/esp-idf!13834
2021-07-21 06:57:41 +00:00
He Yin Ling
208781f022
CI: rename log path of IT jobs
2021-07-21 10:28:52 +08:00
Yang Zhao
23fddb4b48
This is to fix the hardware bug. The device may report scan event
...
timeout when scaning.If check this error,then reset the rwble core.
2021-07-20 20:44:50 +08:00
Wang Fang
2df08f3445
docs: Correct uart default pin names and provid more information about ESP-Prog board
2021-07-20 17:11:54 +08:00
Mahavir Jain
1c4114a758
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-20 14:33:27 +05:30
Roland Dobai
e17cdbf2fb
Merge branch 'bugfix/idf_tools_not_found_issue_v4.1' into 'release/v4.1'
...
tools: Catch OSError which is raised when the tool is not available (v4.1)
See merge request espressif/esp-idf!14135
2021-07-20 08:19:22 +00:00
Jakob Hasse
afa8599a91
[esp_event]: fixed and improved docs
...
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function
Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-07-20 15:57:59 +08:00
Jiang Jiang Jian
c7b83717b0
Merge branch 'bugfix/concurrent_mode_sae_crash_fix_v4.1' into 'release/v4.1'
...
esp_wifi: Fix some wifi bugs(v4.1)
See merge request espressif/esp-idf!14239
2021-07-20 04:11:46 +00:00
Jiang Jiang Jian
31594a0ae5
Merge branch 'bugfix/a2dp_deint_crash_v4.1' into 'release/v4.1'
...
fix a2dp deinit crash
See merge request espressif/esp-idf!14362
2021-07-20 03:14:34 +00:00
Jiang Jiang Jian
2fd3f8e076
Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff_v4.1' into 'release/v4.1'
...
bugfix/unable to initiate SCO connection when peer device not accept sniff mode (v4.1)
See merge request espressif/esp-idf!14365
2021-07-19 07:30:04 +00:00
aditi_lonkar
865453bbe5
esp_wifi: Fix some wifi bugs
...
Add station based check for auth frame formation.
Remove dependency of SHA256 AKM on PMF.
Fix Block Ack setup issue in PMF scenario(aggregation issue).
2021-07-19 12:38:54 +05:30
wangmengyang
b60af85f98
component/bt: Fix some bugs in bluetooth controller(2fcbe897)
...
1. Fixed BLE ACL tx flush issue during reset.
2. Added remove sniff when peer not accepted sniff mode
3. Fixed crash issue when using scan parameter(window=4 slot, interval=5 slot)
4. Removed duplicated events in lld_evt_end
2021-07-19 07:54:59 +08:00
Yang Zhao
d75cb43257
bugfix:Set address resolution enable. If not set enable and the filter
...
policy is 2 or 3, the controller will reply with invalid param error.
2021-07-19 07:54:59 +08:00
Sergei Silnov
efe7820d3e
ci: Fix concurrency issues for macos buildsystem tests
2021-07-16 14:26:07 +02:00
Jiang Jiang Jian
e1b0e367f5
Merge branch 'bugfix/rm_esp32s2beta' into 'release/v4.1'
...
esp_wifi: rm esp32s2beta in release v4.1
See merge request espressif/esp-idf!14154
2021-07-16 10:42:11 +00:00
xiongweichao
2be0def9b5
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-16 16:49:17 +08:00
xiongweichao
b681d4e415
fix a2dp deinit crash
2021-07-16 11:58:40 +08:00
yuanjm
96a49aebb7
esp_http_client: Optimize code structure
2021-07-15 16:30:46 +08:00
Clickau
bb675184bf
esp_http_client: fix truncated headers
...
Signed-off-by: yuanjm <yuanjianmin@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/6370
2021-07-15 16:30:41 +08:00
He Yin Ling
8f7f429488
CI: remove ESP32S2Beta related jobs
2021-07-15 11:59:58 +08:00
He Yin Ling
ab830517bf
CI: remove wifi lib md5 test on ESP32S2beta
2021-07-15 11:59:58 +08:00
ChenJianxing
9c897ef280
esp_wifi: rm esp32s2beta
2021-07-15 11:59:55 +08:00
KonstantinKondrashov
082c534ca3
newlib: Fix a case in FD_ISSET macro when n==-1
2021-07-15 11:18:31 +08:00
KonstantinKondrashov
1c54276021
otatool: Fixes read_ota_partition cmd, required output arg
...
Closes: https://github.com/espressif/esp-idf/issues/6559
2021-07-15 11:15:36 +08:00
Shubham Kulkarni
1630fd6abb
OTA examples: Updated server certificate
2021-07-14 12:50:05 +05:30
He Yin Ling
18b6a45146
ttfw: fix incorrect length when flush data cache after expect:
...
data cache is unicode. while we use bytes in RegEx expect. The index of
matched pattern is calculated with bytes, could be different from
unicode. Now we fix this issue by using unicode in expect.
2021-07-14 11:57:32 +08:00
Jakob Hasse
db636f6a6b
[test_utils]: added extern C decl to ccomp
...
Closes https://github.com/espressif/esp-idf/issues/7121
2021-07-12 14:48:51 +08:00
Marius Vikhammer
0dfe45249a
soc: add dummy bytes to ensure instr prefetch always valid
...
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.
Add dummy bytes to ensure fetching these wont result in an error,
e.g. MMU exceptions
2021-07-12 09:18:15 +08:00
morris
c69ceefb27
Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr_v4.1' into 'release/v4.1'
...
driver/timer: fixed auto reload problem in default isr callback (backport to 4.1)
See merge request espressif/esp-idf!13531
2021-07-06 12:48:31 +00:00
Michael (XIAO Xufeng)
0e36a7e3c0
spi_docs: Fixed the default value of max_transfer_sz.
...
(cherry picked from commit e89fabb963 )
2021-07-05 14:15:39 +08:00
fuzhibo
21150d9286
bugfix(adc): missing ranges of ADC codes in ESP32
2021-07-04 22:22:40 +08:00
Angus Gratton
47a5ef0b56
Merge branch 'bugfix/ringbuf_cache_disabled_test_v4.1' into 'release/v4.1'
...
esp_ringbuf: don't test xRingbufferCreate with cache disabled
See merge request espressif/esp-idf!14204
2021-07-02 05:52:05 +00:00
Krzysztof Budzynski
1f1de86ed9
Merge branch 'docs/windows_installer_2.9_backport_4.1' into 'release/v4.1'
...
docs: update Windows Tools 2.9 installation - backport 4.1
See merge request espressif/esp-idf!14191
2021-07-01 14:27:02 +00:00
Yang Zhao
8acac6fb74
bugfix:Set address resolution enable. If not set enable and the filter
...
policy is 2 or 3, the controller will reply with invalid param error.
2021-07-01 16:02:23 +08:00
Juraj Michálek
1738f01c10
docs: update Windows Tools 2.9 installation
2021-06-30 12:47:51 +02:00
Ivan Grokhotkov
66e45d143b
esp_ringbuf: don't test xRingbufferCreate with cache disabled
...
Creating a ringbuffer is not an operation that needs to be done when
the cache is disabled.
2021-06-30 12:01:19 +02:00
Wang Meng Yang
f8997beb0d
Merge branch 'bugfix/fix_data_length_callback_param_err_v4.1' into 'release/v4.1'
...
Fixed data length update callback parameters error(back port v4.1)
See merge request espressif/esp-idf!14182
2021-06-30 05:57:58 +00:00
Anton Maklakov
1b792c4687
Merge branch 'bugfix/gdbstub_threads_and_tests_v4.1' into 'release/v4.1'
...
gdbstub: fix thread list generation, add tests (v4.1)
See merge request espressif/esp-idf!14054
2021-06-30 04:28:09 +00:00
zwj
c6897a43ce
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-29 14:13:56 +08:00
Angus Gratton
9d82fc4447
Merge branch 'bugfix/pthread_join_debug_log_v4.1' into 'release/v4.1'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level (v4.1)
See merge request espressif/esp-idf!13778
2021-06-28 04:37:34 +00:00
Michael (XIAO Xufeng)
62034d4432
Merge branch 'bugfix/i2s_apll_disable_issue_v4.1' into 'release/v4.1'
...
backport: Bugfix/i2s apll disable issue to release/v4.1
See merge request espressif/esp-idf!14008
2021-06-27 13:34:39 +00:00
David Čermák
9bd41e2431
Merge branch 'feature/mqtt_intro_new_modes_v4.1' into 'release/v4.1'
...
MQTT: Update submodule reference to support new config modes (v4.1)
See merge request espressif/esp-idf!13709
2021-06-24 09:49:34 +00:00
Roland Dobai
7a8c9d88e9
tools: Catch OSError which is raised when the tool is not available
...
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-24 09:28:11 +02:00
Jiang Jiang Jian
da8f10bbac
Merge branch 'test/wifi_connect_with_full_scan_in_examples_v4.1' into 'release/v4.1'
...
example: set example wifi scan method to all channel (v4.1)
See merge request espressif/esp-idf!13914
2021-06-24 06:14:26 +00:00
Jiang Jiang Jian
97c8be7194
Merge branch 'bugfix/fix_amsdu_fragment_vulnerability_v4.1' into 'release/v4.1'
...
esp_wifi: fix amsdu & fragment vulnerabilities(v4.1)
See merge request espressif/esp-idf!14077
2021-06-24 05:21:59 +00:00
Angus Gratton
1e9367f48e
Merge branch 'bugfix/elf_sha256_first_byte_skip_v4.1' into 'release/v4.1'
...
app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256 (v4.1)
See merge request espressif/esp-idf!13664
2021-06-24 01:55:30 +00:00
Ivan Grokhotkov
de3a428985
Merge branch 'feature/codeowners_v4.1' into 'release/v4.1'
...
add simplified CODEOWNERS file for older release branches (v4.1)
See merge request espressif/esp-idf!14092
2021-06-23 08:06:36 +00:00
Mahavir Jain
cd961e7fff
Merge branch 'bugfix/http_client_test_memcorupt_v4.1' into 'release/v4.1'
...
ci/test: Fix esp_http_client test not to use pointer after free (v4.1)
See merge request espressif/esp-idf!13702
2021-06-23 03:29:46 +00:00
He Yin Ling
f5db736aa6
example: set example wifi scan method to all channel:
...
in CI example test we could have runners with same SSID in the same lab.
Use scan on all channel will let DUT connect to the AP with best RSSI.
2021-06-23 10:16:48 +08:00
Angus Gratton
1ea2b57b41
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj_v4.1' into 'release/v4.1'
...
ldgen: check mappings (v4.1)
See merge request espressif/esp-idf!14058
2021-06-22 23:34:31 +00:00
Ivan Grokhotkov
5e2fceafa6
add simplified CODEOWNERS file for older release branches
2021-06-22 09:23:13 +02:00
David Čermák
fb9f140fa5
Merge branch 'bugfix/mqtt_examples_certificates_update_v4.1' into 'release/v4.1'
...
bugfix/mqtt examples: Updates the CA certificates used. (v4.1)
See merge request espressif/esp-idf!13127
2021-06-22 06:06:30 +00:00
Ivan Grokhotkov
51ee6e482e
Merge branch 'feature/oocd_ver_backport_v4.1' into 'release/v4.1'
...
Feature/oocd ver backport v4.1
See merge request espressif/esp-idf!11379
2021-06-21 16:15:01 +00:00
Ivan Grokhotkov
004ea31cb7
Merge branch 'bugfix/loadable_elf_test_eco3_v4.1' into 'release/v4.1'
...
tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3 (v4.1)
See merge request espressif/esp-idf!14041
2021-06-21 15:50:31 +00:00
David Cermak
6980b57a97
ci/test: Fix esp_http_client test not to use pointer after free
2021-06-21 21:47:39 +08:00
Euripedes Rocha
e0c2145cc7
bugfix/mqtt examples: Updates the CA certificates used.
...
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
the examples.
Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2021-06-21 21:45:08 +08:00
liqigan
72e5dfb4e3
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:16:42 +08:00
ChenJianxing
e2526915b7
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-21 19:26:43 +08:00
Wang Meng Yang
14e6b55923
Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable_v4.1' into 'release/v4.1'
...
Feat/ble mesh make unprov beacon interval configurable (v4.1)
See merge request espressif/esp-idf!14063
2021-06-21 09:22:28 +00:00
Wang Meng Yang
620049646d
Merge branch 'bugfix/btdm_set_discoverable_after_create_server_v4.1' into 'release/v4.1'
...
components/bt: Set discoverable after create server
See merge request espressif/esp-idf!13727
2021-06-21 09:15:48 +00:00
wangjialiang
16898897a9
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-06-21 11:26:10 +08:00
wangjialiang
9aecaa6fd0
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-21 11:26:03 +08:00
Renz Bagaporo
bf341d966c
components: fix ldgen check errors
2021-06-21 09:52:03 +10:00
Renz Bagaporo
b9d288879d
ci: exempt upstream libmbedtls mapping for sha256
2021-06-21 09:45:23 +10:00
Renz Bagaporo
23aff378f4
ldgen: fix sections info parsing
...
Fixes an issure where the first part of an object file name is not
included, due to matching the rule for a section entry previously.
Reduce depedency on matching literal strings in sections which might
change depending on toolchain (ex. matching 'elf32-xtensa-le')
Make sure parsing rule succeeds for the entirety of the sections info
string by adding 'parseAll=True'.
Add test for sections info parsing.
2021-06-21 09:45:23 +10:00
Renz Bagaporo
ffefe603ae
ci: enabled ldgen mapping check in ci
2021-06-21 09:45:23 +10:00
Renz Bagaporo
8c6ec0bd48
ldgen: allow checking mappings
2021-06-21 09:36:26 +10:00
Ivan Grokhotkov
8ef0017662
gdbstub: fix thread list generation
...
This commit fixes an issue with gdbstub, where it would list threads
with TIDs 1 to N in qfThreadInfo/qsThreadInfo responses, and then
would tell GDB that the current TID is 0 in the qC response. This
caused an assertion failure in GDB, because it couldn't find the
thread structure corresponding to TID 0:
src/gdb/gdb/thread.c:93: internal-error: thread_info* inferior_thread(): Assertion `tp' failed.
The issue was caused by the logic of qfThreadInfo/qsThreadInfo.
If the "paniced" task index was 1, the code would report it in the
response to qfThreadInfo, and then mistakenly skip task with index 0
in qsThreadInfo, due to the use of pre-increment instead of a
post-increment.
With that issue fixed, GDB assertion doesn't happen anymore. However
the code contained a deeper problem, which manifested itself in the
fact that GDB would incorrectly show task index 0 as the current task,
after the above fix.
Previous version of the code assumed that when GDB requests the thread
list, it uses the first thread returned by the target as the "default"
thread, and subsequently shows the user that the program is stopped
in that thread. This assumption was incorrect. In fact, after
connecting to a remote target, GDB obtains information about the
"default" or "current" thread from two sources:
1. the 'thread' special register indicated in the status response
($T00thread;00000001#ee)
2. if the target has only sent the plain stop response ($T00#ee), GDB
would ask for the current thread using a qC packet.
With that in mind, it is not necessary to report the paniced task as
the first task in qfThreadInfo response. We can simply returns the
tasks in their natural order, and then indicate the current task in
the qS packet response.
However even that change does not fully resolve the issues with task
list. The previous version of this code also incorrectly interpreted
the meaning of GDB TIDs -1 and 0. When GDB sends an "Hg0" command
early in the connection process, it doesn't expect the server to set
task 0 as the current task, as the code assumed. Rather, it tells the
server to "set any (arbitrary) task as the current one", and the most
logical thing to do for the server that is already in "stopped" state
is to keep the current task selection.
Since TID 0 has a special meaning in GDB remote protocol, gdbstub code
is now modified to map task indices (which start from 0) to GDB TIDs.
GDB TIDs are arbitrary, and for simplicity we keep the same order and
start counting them from 1.
The summary of all the above changes is:
1. Use "task index + 1" as the TID reported to GDB
2. Report the tasks in natural order; don't complicate the code to
make the paniced task first in the list.
3. Centralize modification of 'current_task_index' and 'regfile'
in the new 'set_active_task' function, to improve encapsulation.
2021-06-18 16:04:02 +02:00
Ivan Grokhotkov
f9f318d666
cmake: set IDF_VERSION_* variables at requirement expansion stage
...
Currently IDF_VERSION_* variables are not available to the component
CMakeLists.txt files at the requirements expansion stage. This makes
it harder to write component CMakeLists files compatible with
different IDF versions.
Include version.cmake from the requirements expansion script, add a
build system test.
2021-06-18 15:29:53 +02:00
Ivan Grokhotkov
0d5ec69adc
tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3
...
The previous location was the return from the first ets_printf call
that prints ROM sign-on message. Since the main function was patched
in ECO3, the new address no longer works — there is no instruction at
0x40007901 in ECO3 ROM. This could be solved by setting two
breakpoints (one would work for ECO <=2, the other for ECO3), but we
would need to remove the unused breakpoint later.
Fix this by setting the breakpoint at ets_printf. This means that when
debugging a loadable ELF the ROM sign-on message will no longer be
shown, but this doesn't seem to be an issue.
2021-06-18 15:10:06 +02:00
Krzysztof Budzynski
ac5511972f
Merge branch 'bugfix/make_docs_ldgen_v4.1' into 'release/v4.1'
...
docs: remove quotes in ldgen documentation for adding fragment file (v4.1)
See merge request espressif/esp-idf!14002
2021-06-18 08:44:21 +00:00
Island
4dab171c9f
Merge branch 'bugfix/AuthValue_leak_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth... (v4.1)
See merge request espressif/esp-idf!14007
2021-06-18 06:09:37 +00:00
Krzysztof Budzynski
d8ef56e630
Merge branch 'docs/update_docs_for_doc_751_v4.1' into 'release/v4.1'
...
docs: update the documents based on customer feedbacks (v4.1)
See merge request espressif/esp-idf!13960
2021-06-17 10:14:00 +00:00
Itay Perl
27fe437412
app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256
...
At -O2 optimization level, GCC seems to optimize out the copying of the
first byte of the checksum, assuming it is zero. This "miscompilation"
happens because the esp_app_desc struct is declared const, but then modified
post-compilation. Casting to volatile disables the optimization.
Closes: https://github.com/espressif/esp-idf/pull/6389
2021-06-17 17:32:49 +08:00
wangjialiang
bfcaa64b49
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-17 17:23:49 +08:00
morris
41c82efcb9
i2s: fix driver uninstall issue
2021-06-17 16:37:11 +08:00
Island
cb1a17e7ce
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation... (v4.1)
See merge request espressif/esp-idf!13930
2021-06-17 07:20:12 +00:00
Renz Bagaporo
c97984de99
docs: remove quotes in ldgen documentation for adding fragment file
...
Closes https://github.com/espressif/esp-idf/issues/5142
2021-06-17 09:13:40 +02:00
laokaiyao
45ee699eae
driver/timer: only re-enable alarm in callback when auto reload is true
...
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-17 10:37:32 +08:00
wangjialiang
4c453660ae
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-16 17:03:38 +08:00
Michael (XIAO Xufeng)
fd1a67dd61
Merge branch 'bugfix/spi_flash_cs_setup_v4.1' into 'release/v4.1'
...
spi_flash: fix cs line setup to make the flash driver more stable(backport v4.1)
See merge request espressif/esp-idf!13964
2021-06-16 07:36:06 +00:00
David Čermák
1f76c9014b
Merge branch 'bugfix/start_emac_after_phy_reset_v4.1' into 'release/v4.1'
...
esp_eth: restart negotiation in esp_eth_start (v4.1)
See merge request espressif/esp-idf!13700
2021-06-16 06:00:32 +00:00
Jiang Jiang Jian
84f3d3e69a
Merge branch 'bugfix/enable_pmf_in_iperf_test_v4.1' into 'release/v4.1'
...
iperf example: set PMF capable to connect to PMF required APs (v4.1)
See merge request espressif/esp-idf!13871
2021-06-16 04:39:17 +00:00
David Čermák
afb5248ec8
Merge branch 'bugfix/mdns_interface_del_crash_v4.1' into 'release/v4.1'
...
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets(Backport v4.1)
See merge request espressif/esp-idf!13855
2021-06-15 12:00:10 +00:00
Suren Gabrielyan
b1e5705bbd
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
...
Closes https://github.com/espressif/esp-idf/issues/6973
2021-06-15 16:54:44 +08:00
He Yin Ling
5438706922
Merge branch 'bugfix/example_test_socket_issue_4.1' into 'release/v4.1'
...
CI: example test socket issue (4.1)
See merge request espressif/esp-idf!13906
2021-06-15 08:48:27 +00:00
Michael (XIAO Xufeng)
cd99f0856c
Merge branch 'bugfix/freemodbus_change_max_task_prio_v41' into 'release/v4.1'
...
Bugfix/freemodbus change max task prio (backport v4.1)
See merge request espressif/esp-idf!13721
2021-06-15 07:55:03 +00:00
Cao Sen Miao
7180526645
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-15 15:11:47 +08:00
Wang Fang
b9ca1e9b48
docs: update the documents based on customer feedbacks
2021-06-15 14:54:11 +08:00
Anton Maklakov
d7612c14c9
Merge branch 'ci/unify_all_target_test_artifacts_paths_v4.1' into 'release/v4.1'
...
ci: unify target test artifacts to all .log file and $LOG_PATH (v4.1)
See merge request espressif/esp-idf!13850
2021-06-11 07:32:59 +00:00
Island
a22cd6f542
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.1' into 'release/v4.1'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13917
2021-06-10 02:56:50 +00:00
Wang Meng Yang
1f075dc346
Merge branch 'bugfix/btdm_incorrectly_spelled_v4.1' into 'release/v4.1'
...
component/bt: fix Spelling mistakes (release v4.1)
See merge request espressif/esp-idf!12817
2021-06-09 10:05:53 +00:00
XieWenxiang
9daeddac0b
component/bt: Modify some ambiguous descriptions(release v4.1)
2021-06-09 14:14:18 +08:00
Island
4789575f49
Merge branch 'bugfix/bt_impersonation_passkey_fix_v4.1' into 'release/v4.1'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v4.1)
See merge request espressif/esp-idf!13760
2021-06-09 02:55:44 +00:00
Chen Yudong
dc433b50b0
test: fix socket issue in iperf example test
2021-06-08 17:20:32 +08:00
He Yin Ling
069182853e
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-06-08 17:20:18 +08:00
Chen Yudong
911cc3710b
CI: fix connection failures in asio example tests
2021-06-08 17:18:45 +08:00
xiewenxiang
a1f743772f
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:56:55 +08:00
Chinmay Chhajed
74b48f1df7
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-06-07 07:18:16 +00:00
Ivan Grokhotkov
935deb4082
Merge branch 'bugfix/idfpy_global_action_callbacks_order_v4.1' into 'release/v4.1'
...
idf.py: Run global_action_callbacks in predictable order (v4.1)
See merge request espressif/esp-idf!13683
2021-06-07 05:09:49 +00:00
Angus Gratton
1e84e87f7f
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-06-07 02:15:36 +00:00
Wang Meng Yang
27a3d44f68
Merge branch 'bugfix/invalid_feat_page_exec_v4.1' into 'release/v4.1'
...
bt controller: Fixed handling for invalid feature page.
See merge request espressif/esp-idf!13573
2021-06-07 01:50:06 +00:00
He Yin Ling
381f2008ac
example: set PMF capable to connect to PMF required APs
2021-06-04 17:59:57 +08:00
Angus Gratton
3e664c8a80
Merge branch 'bugfix/override_cmake_python_v4.1' into 'release/v4.1'
...
cmake: Minor Python CMake build fixes (v4.1)
See merge request espressif/esp-idf!13196
2021-06-04 05:27:38 +00:00
Fu Hanxi
7b9f8c0e8c
ci: unify target test artifacts to all .log file and $LOG_PATH
2021-06-03 17:45:35 +08:00
David Čermák
90a763b5a8
Merge branch 'bugfix/websocket_example_error_handling_v4.1' into 'release/v4.1'
...
ci: Fix websocket example test error handling (v4.1)
See merge request espressif/esp-idf!13807
2021-06-03 05:42:15 +00:00
Alexey Gerenkov
ce04bc87e1
gcov: Fixes not linked gcov rtio functions
2021-06-02 22:17:56 +03:00
liaowenhao
eb36b63e7d
bugfix/fix crash when lmp flooding
2021-06-02 09:48:30 +00:00
baohongde
cf5d810bae
components/bt: Delete BLE ADV priority high
2021-06-02 09:48:30 +00:00
Chinmay Chhajed
a81a6c5471
bt controller: Fixed handling for invalid feature page.
2021-06-02 09:48:30 +00:00
wangmengyang
c08d81a91f
components/bt: fix PATH of libbtdm_app.a in build script
2021-06-02 09:48:30 +00:00
Angus Gratton
7e0abf78f9
Merge branch 'bugfix/partition_table_integrity_check_v4.1' into 'release/v4.1'
...
paritition_table: Verify the partition table md5sum when loading in the app (v4.1)
See merge request espressif/esp-idf!13584
2021-06-02 08:54:01 +00:00
Angus Gratton
8d1a99e026
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-06-02 16:31:19 +10:00
Angus Gratton
e836297b55
Merge branch 'feature/idf_tools_github_mirror_v4.1' into 'release/v4.1'
...
Add GitHub mirror option for IDF tools installs (v4.1)
See merge request espressif/esp-idf!13766
2021-06-01 09:48:12 +00:00
Jakob Hasse
aba87df4f2
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-06-01 07:38:50 +00:00
Angus Gratton
10785bc1e4
ci: Fix websocket example test error handling
...
If connection fails for websocket test, a second exception was generated in
__exit__
2021-06-01 17:18:56 +10:00
Jakob Hasse
ba11976efb
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-06-01 14:51:15 +08:00
Ivan Grokhotkov
7c6ada7f86
Merge branch 'feature/installed_tool_failed_v4.1' into 'release/v4.1'
...
tools: Warning about tool being installed but failed to run. (v4.1)
See merge request espressif/esp-idf!13232
2021-05-31 17:25:24 +00:00
Ivan Grokhotkov
931577bc11
Merge branch 'feature/ci_release_zips_v4.1' into 'release/v4.1'
...
ci: Use GitHub Actions to generate recursive source code zips for releases (v4.1)
See merge request espressif/esp-idf!13200
2021-05-31 17:23:16 +00:00
Ivan Grokhotkov
ee15d4c3af
Merge branch 'feature/IDF-2612_human_readable_error_v4.1' into 'release/v4.1'
...
export.bat/install.bat: print human-readable error message if Git or Python are not in PATH (v4.1)
See merge request espressif/esp-idf!13228
2021-05-31 17:22:22 +00:00
aleks
998b67094b
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-05-31 12:20:15 +02:00
Krzysztof Budzynski
bb2ce2cb4e
Merge branch 'bugfix/lwip_docs_delete_while_select_v4.1' into 'release/v4.1'
...
lw-IP: Add docs about not supported delete of task while blocked on select (v4.1)
See merge request espressif/esp-idf!13678
2021-05-31 02:36:14 +00:00
Angus Gratton
97b6b435a8
docs: Remove some uses of IDF_TARGET_NAME accidentally backported
2021-05-31 11:09:05 +10:00
daiziyan
c8906224fd
add CN translation for index.rst in get started section for MR10616
2021-05-31 11:08:00 +10:00
Anton Maklakov
fe3fd4d561
tools: windows installer: Modify IDF's archive mirror link
2021-05-31 11:06:19 +10:00
Ivan Grokhotkov
89568b73d6
tools: windows installer: add support for IDF_GITHUB_ASSETS
...
Adds a checkbox to download tools from dl.espressif.com mirror.
2021-05-31 11:06:19 +10:00
Angus Gratton
fd91bf4500
tools: Use GitHub download URLs for all files that can be downloaded from GitHub
2021-05-31 11:06:19 +10:00
Angus Gratton
f99c367e5d
idf_tools: Add option to replace all GitHub tools download URLs with dl.espressif.com
...
Via new IDF_GITHUB_ASSETS environment variable.
2021-05-31 11:06:19 +10:00
Michael (XIAO Xufeng)
fa34265c4b
Merge branch 'ci/decrease_flash_performance_thr_4.1' into 'release/v4.1'
...
ci: decrease the flash performance threshold (4.1)
See merge request espressif/esp-idf!13747
2021-05-28 09:10:29 +00:00
Michael (XIAO Xufeng)
1ddac24b0a
ci: decrease the flash performance threshold
2021-05-27 14:07:01 +08:00
baohongde
c0a586bdea
components/bt: Set discoverable after create server
2021-05-26 11:36:08 +08:00
He Yin Ling
4ae45ff756
Merge branch 'ci/ttfw_fix_dut_exception_not_added_to_junit_report_v4.1' into 'release/v4.1'
...
ttfw: fix DUT exception not added to junit report (v4.1)
See merge request espressif/esp-idf!13612
2021-05-26 03:12:19 +00:00
Jiang Jiang Jian
3c3eab0bd8
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop_v4.1' into 'release/v4.1'
...
esp_wifi: Fix setting channel error after WiFi stop (backport v4.1)
See merge request espressif/esp-idf!13449
2021-05-25 14:53:11 +00:00
Jiang Jiang Jian
2a63d1058e
Merge branch 'nimble/fix_ble_sm_sc_pub_key_v4.1' into 'release/v4.1'
...
NimBLE: Fix MITM vulnerability and free AES context (v4.1)
See merge request espressif/esp-idf!13598
2021-05-25 14:52:59 +00:00
Jiang Jiang Jian
3a12c7ee8d
Merge branch 'bugfix/ag_use_dynamic_memory_error_v4.1' into 'release/v4.1'
...
Fix ag use dynamic memory error
See merge request espressif/esp-idf!13552
2021-05-25 14:28:21 +00:00
Prasad Alatkar
3319702355
NimBLE: Fix MITM vulnerability and free AES context (v4.1)
2021-05-25 14:47:22 +05:30
xiongweichao
7c53e88b05
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-25 09:00:09 +00:00
xiongweichao
5b5a36a7b2
fix ag use dynamic memory error
2021-05-25 09:00:09 +00:00
David Cermak
6aa902c509
MQTT: Update submodule reference to support new config modes
...
* Queueing publish messages to outbox when the client is not connected (default=off -> messages are queued if disconnected)
* Use of incremental msg-id instead of random id (default=off -> msg-id uses platform_random())
* Posting a new event-id if a queued message gets deleted from the outbox (default=off -> events are not posted)
Detailed description of included `esp-mqtt` changes
(da850b0add1e71b3659bfac5d797cc834dc3e89b...9ea804e0ab5368d5ab53ae2301a5fec9d1f12f1a)
* mqtt: Remove unused mqtt_header_state_t
- esp-mqtt commit: b7158a4aea
- esp-mqtt MR: espressif/esp-mqtt!84
- Merges https://github.com/espressif/esp-mqtt/pull/180
* Cleanup public include dirs
- esp-mqtt commit: f65d5d05db
- esp-mqtt MR: espressif/esp-mqtt!85
* Config: Add a new option to use incremental message id
- esp-mqtt commit: 8bb4a26f46
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/176
* Publish: Add new API to enqueue qos>0 messages
- esp-mqtt commit: dc7fd5c0b1
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/155
* Config: Add a new option to disable publishing when disconnected
- esp-mqtt commit: f44dcb1c26
- esp-mqtt MR: espressif/esp-mqtt!85
- Related https://github.com/espressif/esp-mqtt/issues/177
* Events: Add new event to report deleted messages from outbox
- esp-mqtt commit: 2e35d4d4d5
- esp-mqtt MR: espressif/esp-mqtt!85
* Publish: Allow for qos=0 messages to be stored using esp_mqtt_client_enqueue()
- esp-mqtt commit: e2de0f3e3e
- esp-mqtt MR: espressif/esp-mqtt!85
2021-05-25 09:56:29 +02:00
morris
bf9587132b
esp_eth: restart negotiation in esp_eth_start
2021-05-25 15:26:09 +08:00
Sergei Silnov
83bda9f63e
Run global_action_callbacks in predictable order
2021-05-24 18:20:39 +02:00
David Cermak
bd3de5c295
lwip: Add docs about not supported delete of task while blocked on select
2021-05-24 15:11:09 +02:00
He Yin Ling
f01bfeddb9
ttfw: fix DUT exception not added to junit report
2021-05-20 16:48:17 +08:00
Island
ba35834ec8
Merge branch 'nimble/fix_host_flow_ctrl_v4.1' into 'release/v4.1'
...
NimBLE: Fix host flow control in NimBLE porting layer and host (release/v4.1)
See merge request espressif/esp-idf!13576
2021-05-19 09:50:15 +00:00
Prasad Alatkar
98116a627e
NimBLE: Update submodule to fix host flow control bugs.
2021-05-18 18:46:26 +05:30
Prasad Alatkar
842a55cda3
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 19:53:37 +05:30
Michael (XIAO Xufeng)
97a0523b34
Merge branch 'bugfix/timer_spinlock_iram_v4.1' into 'release/v4.1'
...
timer: add IRAM_ATTR to spinlock give/take API (v4.1)
See merge request espressif/esp-idf!13513
2021-05-15 17:21:27 +00:00
Marius Vikhammer
5241d68bf4
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-05-13 16:07:01 +08:00
Jiang Jiang Jian
b1a5c00ee7
Merge branch 'bugfix/gtk_reinstallation_fix_v4.1' into 'release/v4.1'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.1)
See merge request espressif/esp-idf!13183
2021-05-13 07:35:05 +00:00
Hrudaynath Dhabe
e1af1fe126
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-05-13 15:34:58 +08:00
He Yin Ling
4f06532e80
Merge branch 'bugfix/python3_target_test_4.1' into 'release/v4.1'
...
ci: using python3 to tun target test (4.1)
See merge request espressif/esp-idf!13017
2021-05-11 09:13:33 +00:00
Angus Gratton
966e45598b
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots_v4.1' into 'release/v4.1'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd (v4.1)
See merge request espressif/esp-idf!13369
2021-05-11 02:10:07 +00:00
Ivan Grokhotkov
ad9987f859
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-05-10 16:29:29 +00:00
Alexey Gerenkov
49e26e05e9
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-10 16:22:43 +00:00
Jiang Jiang Jian
0f1801d6b4
Merge branch 'bugfix/backport_some_lwip_bugs_0428_v4.1' into 'release/v4.1'
...
lw-ip:backport bugfix lwip for v4.1(backport 4.1)
See merge request espressif/esp-idf!13377
2021-05-10 05:37:29 +00:00
Jiang Jiang Jian
d3f11b1e9d
Merge branch 'bugfix/fix_uart_set_rx_timeout_feature_v41' into 'release/v4.1'
...
Bugfix/fix uart set rx timeout feature (backport v4.1)
See merge request espressif/esp-idf!11538
2021-05-10 03:41:08 +00:00
Alex Lisitsyn
538117a904
Bugfix/fix uart set rx timeout feature (backport v4.1)
2021-05-10 11:41:02 +08:00
Angus Gratton
3a0652602a
cmake: Improve the error message if the Python interpreter fails to run
...
RESULT_VARIABLE will return a string not a number in this case, so display it
for the user.
2021-05-10 03:40:50 +00:00
Angus Gratton
b79fc8271f
cmake: Set IDFTOOL variable using the correct PYTHON interpreter variable
2021-05-10 03:40:50 +00:00
Angus Gratton
b8afe13b3a
cmake: Fix passing PYTHON path via CMake variable if using IDF as library
...
Closes https://github.com/espressif/esp-idf/issues/6285
2021-05-10 03:40:50 +00:00
Jiang Jiang Jian
099daf7873
Merge branch 'bugfix/fix_gpio_wakeup_light_sleep_backport_v4.1' into 'release/v4.1'
...
bugfix: gpio can't wakeup light sleep (backport v4.1)
See merge request espressif/esp-idf!12884
2021-05-10 03:37:28 +00:00
Jiang Jiang Jian
932ac7abf1
Merge branch 'nimble/add_error_prints_acl_buf_v4.1' into 'release/v4.1'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.1)
See merge request espressif/esp-idf!12970
2021-05-10 03:28:06 +00:00
Jiang Jiang Jian
2ac583cd12
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.1)
See merge request espressif/esp-idf!13256
2021-05-10 03:27:40 +00:00
Jiang Jiang Jian
db84ddc82f
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed_and_cancle_con_state_err_v4.1' into 'release/v4.1'
...
fix multi con pair failed and cancel con state error (backport v4.1)
See merge request espressif/esp-idf!13476
2021-05-08 13:01:33 +00:00
Jiang Jiang Jian
6eb2b46592
Merge branch 'bugfix/generate_value_0_when_prov_auth_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v4.1)
See merge request espressif/esp-idf!13481
2021-05-08 12:53:59 +00:00
wangjialiang
f50680310e
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 12:01:11 +08:00
zwj
3d6b03d98c
update con state when getting connection cancle complete
2021-05-07 20:51:55 +08:00
zwj
f4cadc56c0
fix multi-connection pair failed
2021-05-07 20:51:43 +08:00
Prasad Alatkar
13756c6a55
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-05-07 09:47:01 +00:00
wangjialiang
1b3ac526a7
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-05-07 03:35:42 +00:00
Michael (XIAO Xufeng)
9a8dbbc281
Merge branch 'bugfix/spi_fix_duplex_switch_v4.1' into 'release/v4.1'
...
spi_master: fix duplex mode switch issue for multi devices (4.1)
See merge request espressif/esp-idf!11234
2021-05-06 07:45:29 +00:00
xiehang
b8520d0c9c
esp_wifi: Fix setting channel error after WiFi stop
2021-05-06 11:52:26 +08:00
Angus Gratton
492297339c
Merge branch 'bugfix/freertos_addition_overflow_v4.1' into 'release/v4.1'
...
freertos: Fix addition overflow (v4.1)
See merge request espressif/esp-idf!13424
2021-05-05 23:22:49 +00:00
Angus Gratton
189c04279c
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:35:38 +10:00
Angus Gratton
7355493a35
Merge branch 'bugfix/espsecure_args_v4.1' into 'release/v4.1'
...
esptool: Update to fix espsecure.py sign_data default version argument
See merge request espressif/esp-idf!13319
2021-05-03 05:53:43 +00:00
Angus Gratton
57ff3f92a5
esptool: Update to fix espsecure.py sign_data default version argument
...
Regression in Secure Boot signing, reported at https://github.com/espressif/esp-idf/issues/6831
2021-05-03 04:44:50 +00:00
Angus Gratton
63685a3a40
ci: Use GitHub Actions to generate recursive source code zips for releases
...
We do this for all ESP-IDF releases, this step automates it.
Uses action added in https://github.com/espressif/github-actions/pull/10
2021-05-03 04:19:58 +00:00
Jiang Jiang Jian
da66ddd4c1
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.1' into 'release/v4.1'
...
[system]: Remove redundant othercore cache disable (backport v4.1)
See merge request espressif/esp-idf!13358
2021-04-30 09:18:03 +00:00
Jiang Jiang Jian
cc9d0e1e99
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.1' into 'release/v4.1'
...
backport v4.1: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13396
2021-04-30 02:50:50 +00:00
xueyunfei
72b35dec11
backport bugfix lwip for v4.1
2021-04-29 13:03:26 +00:00
Mahavir Jain
ffe4d844bf
Merge branch 'bugfix/esp_http_client_read_v4.1' into 'release/v4.1'
...
Fix esp_http_client_read for file size aligned to 289 bytes (v4.1)
See merge request espressif/esp-idf!13307
2021-04-29 06:59:15 +00:00
Li Shuai
f417181e62
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 14:14:15 +08:00
Chen Yudong
9a29375f7d
ci: run target test with python3
2021-04-28 18:10:34 +08:00
Shubham Kulkarni
22ca7adccb
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:33 +00:00
Krzysztof Budzynski
f9ec761215
Merge branch 'docs/update_CN_trans_buildsystem_v4.1' into 'release/v4.1'
...
update CN translation for build-system,ulp,unit-tests,and idf-monitor for v4.1
See merge request espressif/esp-idf!13252
2021-04-28 02:47:08 +00:00
KonstantinKondrashov
544fa05bd1
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
...
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-04-27 19:41:17 +08:00
daiziyan
9fe035e4f5
docs:update CN translation for build-system,ulp,unit-tests,and idf-monitor for v4.1
2021-04-27 09:39:01 +00:00
wuzhenghui
dcd6e82826
remove othercore cache disable
2021-04-27 14:37:45 +08:00
Marek Fiala
97631de46c
Human-readable error if Git or Python are missing.
...
When user forgot to add git.exe or python to the PATH, there was a not
very helpful error message.
This improves the error with which tool is misssing and shows a link to
the espressif installer tool.
2021-04-26 14:11:08 +02:00
Marek Fiala
2a82c353d9
tools: Warning about tool beiing installed but failed to run.
...
idf_tool.py runs "<tool> --version" which returns the error message but it is not used
This improves the error printing.
2021-04-26 13:55:45 +02:00
Angus Gratton
e17a8e1904
Merge branch 'bugfix/extern_c_decl_4.1' into 'release/v4.1'
...
[cxx]: fixed extern "C" declarations (backport 4.1)
See merge request espressif/esp-idf!12743
2021-04-23 09:59:51 +00:00
Angus Gratton
b63bbedc65
Merge branch 'bugfix/fix_partition_table_in_flash_encryption_example_v4.1' into 'release/v4.1'
...
example/flash_encryption: Fix partition table (v4.1)
See merge request espressif/esp-idf!10852
2021-04-23 08:08:58 +00:00
William Ferguson
13b0633e8d
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/6634
2021-04-23 07:35:47 +00:00
Angus Gratton
fe5c9bb03e
Merge branch 'bugfix/calc_8m_freq_test_v4.1' into 'release/v4.1'
...
rtc: increase CI acceptance range for calc 8M test (v4.1)
See merge request espressif/esp-idf!13087
2021-04-23 07:32:03 +00:00
Jiang Jiang Jian
a418a52ea1
Merge branch 'bugfix/correct_cod_check_v4.1' into 'release/v4.1'
...
esp-idf: Corrected check of Class of Device for discovered devices (v4.1)
See merge request espressif/esp-idf!13021
2021-04-22 06:06:57 +00:00
Jiang Jiang Jian
75b10c80ff
Merge branch 'bugfix/e8192_and_assert_param_v4.1' into 'release/v4.1'
...
Modify E8192 ELx200 ELx40 log level to LOGD
See merge request espressif/esp-idf!13149
2021-04-22 06:05:38 +00:00
baohongde
12b6656d90
Synchronize multiple branch of bt-lib
2021-04-21 05:29:48 +00:00
xiongweichao
c1215f27ed
Modify E8192 ELx200 ELx40 log level to LOGD
2021-04-21 05:29:48 +00:00
Ivan Grokhotkov
92f41b098b
Merge branch 'bugfix/broken_virtualenv_v4.1' into 'release/v4.1'
...
tools: Reinstall virtualenv if it is broken (v4.1)
See merge request espressif/esp-idf!12953
2021-04-20 23:34:20 +00:00
Ivan Grokhotkov
92aed6c759
Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash_v4.1' into 'release/v4.1'
...
tools: handle exception in case of logging Unicode characters (v4.1)
See merge request espressif/esp-idf!13043
2021-04-20 23:33:38 +00:00
Anton Maklakov
c6db3a426a
Merge branch 'bugfix/ci/ci_fetch_submodule_fully_match_return_first_v4.1' into 'release/v4.1'
...
fix(ci): ci_fetch_submodule return full match name first (v4.1)
See merge request espressif/esp-idf!13212
2021-04-20 02:36:03 +00:00
Fu Hanxi
97649c45eb
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:24:13 +08:00
Krzysztof Budzynski
6d5bb47512
Merge branch 'bugfix/doxygen_input_file_bug_v4.1' into 'release/v4.1'
...
docs: fix doxygen compile warnings for doxygen 1.9.1 (v4.1)
See merge request espressif/esp-idf!13078
2021-04-12 00:44:10 +00:00
Marius Vikhammer
7e839a82de
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:44:06 +08:00
Marius Vikhammer
02ce0744f0
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:37 +08:00
Juraj Michálek
f60c8c8164
tools: handle exception in case of logging Unicode characters
2021-04-06 19:17:01 +02:00
Rahul Tank
c3f3dda7df
esp-idf: Corrected check of Class of Device for discovered devices
...
Current code stopped inquiry if major class is not Phone. Modified the
condition to consider for both Phone and Audio to cover majority of real
world devices.
Closes https://github.com/espressif/esp-idf/issues/6548
2021-04-05 15:29:41 +05:30
David Čermák
a92185263e
Merge branch 'bugfix/esp_netif_ppp_event_data_v4.1' into 'release/v4.1'
...
esp-netif: Fix PPP netif event posting to include esp_netif data (v4.1)
See merge request espressif/esp-idf!11869
2021-03-31 14:25:04 +00:00
David Čermák
3a535daa8c
Merge branch 'feature/support_transport_keepalive_v4.1' into 'release/v4.1'
...
Feature/support transport keepalive v4.1 [backport v4.1]
See merge request espressif/esp-idf!12156
2021-03-31 09:37:03 +00:00
David Čermák
9ed4215787
Merge branch 'bugfix/ppp_netif_free_v4.1' into 'release/v4.1'
...
esp-modem: Remove esp-netif destroy from modem network glue code (v4.1)
See merge request espressif/esp-idf!11873
2021-03-31 09:36:41 +00:00
yuanjm
3826b80f3a
Make OTA example support keepalive
2021-03-31 05:44:48 +00:00
Shubham Kulkarni
9933037c0d
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-03-31 05:44:48 +00:00
yuanjm
f946e296a2
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
2021-03-31 05:44:48 +00:00
David Cermak
90cdceac39
esp-modem: Remove esp-netif destroy from modem network glue code
...
To be in line with other interfaces, when deleting the driver and it's glue layer to esp-netif, we DO NOT delete the related esp-netif (since is was allocated and created outside of the glue code and it works the same way in esp-eth and esp-wifi driver/glue layers).
Closes https://github.com/espressif/esp-idf/issues/5486
2021-03-31 05:44:39 +00:00
David Cermak
2da1f2059e
esp-netif: Fix PPP netif event posting to include esp_netif data
...
Closes https://github.com/espressif/esp-idf/issues/6009
2021-03-31 05:43:39 +00:00
Roland Dobai
7638d92400
tools: Reinstall virtualenv if it is broken
...
Closes https://github.com/espressif/esp-idf/issues/6656
2021-03-29 19:25:59 +02:00
Angus Gratton
a395f3592b
Merge branch 'bugfix/dport_init_min_stack_size_v4.1' into 'release/v4.1'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled (v4.1)
See merge request espressif/esp-idf!12800
2021-03-29 06:26:36 +00:00
Krzysztof Budzynski
e71033b6ee
Merge branch 'bugfix/remove_readdocs_badge_v4.1' into 'release/v4.1'
...
docs: remove read the docs badge (v4.1)
See merge request espressif/esp-idf!12843
2021-03-26 08:31:33 +00:00
Jiang Jiang Jian
44b47f79e1
Merge branch 'bugfix/btdm_controller_task_watchdog_in_wifi_test_v4.1' into 'release/v4.1'
...
Fix controller task watchdog in Wi-Fi test
See merge request espressif/esp-idf!12709
2021-03-25 06:32:21 +00:00
fuzhibo
b7c4925d0b
driver(gpio): fix gpio can't wakeup light sleep
2021-03-24 16:39:16 +08:00
Jiang Jiang Jian
69084bafec
Merge branch 'bugfix/btdm_assert_without_sw_coex_enable_v4.1' into 'release/v4.1'
...
components/bt: Fix assert without sw coexist enabled
See merge request espressif/esp-idf!12528
2021-03-24 03:25:08 +00:00
Jiang Jiang Jian
056890a41a
Merge branch 'bugfix/fix_some_wifi_bugs_0105_v4.1' into 'release/v4.1'
...
Bugfix/fix some wifi bugs 0105 v4.1 (backport v4.1)
See merge request espressif/esp-idf!11881
2021-03-23 16:36:07 +00:00
Marius Vikhammer
0d1da69fb3
docs: remove the read the docs CI badge
...
Docs are built and hosted on our server, so this badge is
no longer needed.
2021-03-23 12:21:14 +08:00
Jiang Jiang Jian
997ac7e166
Merge branch 'bugfix/spp_data_send_delay_v4.1' into 'release/v4.1'
...
Bugfix/spp data send delay v4.1
See merge request espressif/esp-idf!11773
2021-03-23 03:33:46 +00:00
Jiang Jiang Jian
21d2fa6934
Merge branch 'bugfix/mdns_txt_length_collision_v4.1' into 'release/v4.1'
...
mDNS: Fix of text length calculation when detecting a collision(Backport v4.1)
See merge request espressif/esp-idf!12028
2021-03-23 03:28:36 +00:00
Jiang Jiang Jian
645b200d73
Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes_v4.1' into 'release/v4.1'
...
Fix some issues raised by Coverity static Analyzer.(backport_v4.1)
See merge request espressif/esp-idf!11920
2021-03-23 03:27:44 +00:00
Jiang Jiang Jian
a38bbe46d0
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.1)
See merge request espressif/esp-idf!11848
2021-03-23 03:20:27 +00:00
Jiang Jiang Jian
6f788a81dd
Merge branch 'bugfix/ppp_deinit_failure_v4.1' into 'release/v4.1'
...
esp_modem: Fixed race condition on exiting PPP mode (v4.1)
See merge request espressif/esp-idf!11871
2021-03-23 03:14:07 +00:00
Jiang Jiang Jian
2750bb8e16
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources_v4.1' into 'release/v4.1'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option (v4.1)
See merge request espressif/esp-idf!11413
2021-03-23 03:08:38 +00:00
Jiang Jiang Jian
150910ccd8
Merge branch 'bugfix/esp_netif_hostname_v4.1' into 'release/v4.1'
...
esp_netif: fix get/set hostname API to reflect user settings (v4.1)
See merge request espressif/esp-idf!11360
2021-03-23 03:08:21 +00:00
Jiang Jiang Jian
450f99f0f9
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.1' into 'release/v4.1'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v4.1)
See merge request espressif/esp-idf!12494
2021-03-23 03:07:04 +00:00
Jiang Jiang Jian
8dabab4e36
Merge branch 'bugfix/fix_wifi_interface_use_v4.1' into 'release/v4.1'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA (backport v4.1)
See merge request espressif/esp-idf!12167
2021-03-23 03:06:42 +00:00
Jiang Jiang Jian
fe3ec246c0
Merge branch 'bugfix/ping_zero_interval_cause_to_assert_reset_v4.1' into 'release/v4.1'
...
lw-ip: Fixed ping assert reset when ping interval is 0 (v4.1)
See merge request espressif/esp-idf!12175
2021-03-22 12:59:36 +00:00
aleks
818b45654f
freemodbuss: fix event processing after merge
2021-03-22 09:39:49 +00:00
xiehang
c277240dc6
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-03-22 17:19:47 +08:00
xiehang
4403af7267
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-03-22 17:18:58 +08:00
Jiang Jiang Jian
d6d7a2ad12
Merge branch 'bugfix/fix_iperf_example_crash_issue_v4.1' into 'release/v4.1'
...
Bugfix/fix iperf example crash issue v4.1 (backport v4.1)
See merge request espressif/esp-idf!12021
2021-03-22 09:05:49 +00:00
Chen Wu
cffcac6106
lwip: Fixed ping assert reset when ping interval is 0
2021-03-22 08:00:30 +00:00
Michael (XIAO Xufeng)
6bd7cadc7b
Merge branch 'bugfix/fatfs_v4.1' into 'release/v4.1'
...
spi_flash: fix the issue of ext_flash_fatfs_example(backport v4.1)
See merge request espressif/esp-idf!12666
2021-03-22 07:44:12 +00:00
Michael (XIAO Xufeng)
c10fd0edb2
Merge branch 'bugfix/uart_read_o2_v4.1' into 'release/v4.1'
...
hal: workaround for UART FIFO read on ESP32 with -O2 optimization (backport v4.1)
See merge request espressif/esp-idf!12660
2021-03-22 07:41:40 +00:00
Jiang Jiang Jian
29422884d8
Merge branch 'bugfix/flash_encryption_v4.1' into 'release/v4.1'
...
ota: fix ota with flash encryption(backport v4.1)
See merge request espressif/esp-idf!12702
2021-03-22 06:13:38 +00:00
Jiang Jiang Jian
efcb1959bc
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config_v4.1' into 'release/v4.1'
...
bugfix/fix_arp_buffer_error_in_smart_config_v4.1
See merge request espressif/esp-idf!12255
2021-03-22 06:10:40 +00:00
Jiang Jiang Jian
396cc61bab
Merge branch 'bugfix/fix_iperf_example_exception_handling_for_no_ap_found_v4.1' into 'release/v4.1'
...
bugfix/fix_iperf_example_exception_handling_for_no_ap_found_v4.1
See merge request espressif/esp-idf!12272
2021-03-22 06:10:13 +00:00
Jiang Jiang Jian
b8c1824e37
Merge branch 'bugfix/spiram_reserve_size_pr5373_v4.1' into 'release/v4.1'
...
SPIRAM reserved memory size fixes (v4.1)
See merge request espressif/esp-idf!11517
2021-03-22 04:33:53 +00:00
Jiang Jiang Jian
1750acfa17
Merge branch 'bufix/ag_deep_copy_crash_v_4_1' into 'release/v4.1'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
See merge request espressif/esp-idf!12793
2021-03-22 04:32:06 +00:00
Jiang Jiang Jian
bf86c59ec4
Merge branch 'component_bt/optimize_spp_stop_server_v4.1' into 'release/v4.1'
...
component_bt/Optimize SPP Stop Server API[backport v4.1]
See merge request espressif/esp-idf!12621
2021-03-22 04:31:28 +00:00
Krzysztof Budzynski
ff084d86b2
Merge branch 'bugfix/translation_link' into 'release/v4.1'
...
docs: fix "link to translation" being broken (v4.1)
See merge request espressif/esp-idf!12689
2021-03-19 07:47:00 +00:00
Angus Gratton
4afdc394c9
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-03-19 13:22:24 +08:00
Angus Gratton
280baea4f7
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-03-19 13:22:10 +08:00
xiongweichao
f8946dc471
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:35:13 +08:00
Jiang Jiang Jian
4628a37435
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.1' into 'release/v4.1'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.1]
See merge request espressif/esp-idf!12559
2021-03-18 04:05:14 +00:00
Jiang Jiang Jian
d70f854edb
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle_v_4_1' into 'release/v4.1'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd[backport v4.1]
See merge request espressif/esp-idf!12100
2021-03-18 04:04:49 +00:00
Jiang Jiang Jian
961f79612a
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v4.1' into 'release/v4.1'
...
Bugfix/btdm backport ble bugs v4.1
See merge request espressif/esp-idf!12433
2021-03-18 03:55:49 +00:00
liqigan
a630e1317d
add API esp_spp_stop_srv_scn to stop a specific server
2021-03-18 11:48:25 +08:00
xiehang
e67d29b4e8
esp_wifi: Update WiFi lib
...
1. Change wifi scan duration from 120ms to 100ms
2. Using deport reg instead of ahb
3. Revert to report specific reason code when receiving deauth during 4-way-handshark
4. Fix the bug that tx ampdu parameter is not from peer device
5. Faster WiFi station connect improvement, avoid 100ms passive scan
6. Add FCS failed packets filter
7.Update esp32 phy lib to v4660
8.Fix country code last byte to space instead of NULL
9.Fix softap cannot forward A-MSDU
10.Fix some typos in esp_wifi.h
11.Fix max tx power to 20dBm
12.Fix the issue that the esp_wifi_sta_get_ap_info can't get country
13.Add support for 802.1x sha256 auth key mode
2021-03-17 15:30:09 +08:00
xiehang
40f124b0d0
esp_wifi: Add macro control for phy log
2021-03-17 15:27:39 +08:00
kapil.gupta
c907da0656
esp_wifi: Add support for 802.1x sha256 auth key mode
2021-03-17 15:27:39 +08:00
xiehang
37ce175bb5
esp_wifi: ESP32 phy add [sections:phy_iram]
2021-03-17 15:27:39 +08:00
ChenJianxing
f4bb2b466c
esp_wifi: optimize phy version log
2021-03-17 15:27:39 +08:00
ronghulin
18b6ed65f1
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
Closes https://github.com/espressif/esp-idf/issues/6267
2021-03-17 15:27:39 +08:00
dongyou
87968f8406
esp_wifi: Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
...
Remove description of unusable API esp_wifi_restart()
Update esp_now_fetch_peer discription
Update description for ssid and password
2021-03-17 15:27:25 +08:00
Cao Sen Miao
2333667cb5
ota: fix ota with flash encryption
2021-03-12 16:44:06 +08:00
Michael (XIAO Xufeng)
fa8d8de05e
Merge branch 'bugfix/can_backport_accumulated_fixes_v4.1' into 'release/v4.1'
...
CAN backport accumulated fixes (backport v4.1)
See merge request espressif/esp-idf!11460
2021-03-11 14:01:18 +00:00
baohongde
43ee2976f2
Fix controller task watchdog in Wi-Fi test
2021-03-11 17:21:01 +08:00
Cao Sen Miao
63e4510e9e
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-03-11 14:11:01 +08:00
Marius Vikhammer
e4af49ca23
docs: fix "link to translation" being broken
...
The translation link would link a specifc commit hash instead of
the release name.
2021-03-10 18:55:43 +08:00
Cao Sen Miao
98c4c98840
spi_flash: fix flash issue of ext_flash_fatfs_example
2021-03-09 18:34:47 +08:00
Omar Chebib
8db219c292
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
2021-03-09 14:18:28 +08:00
Darian Leung
fb2d6a44eb
CAN: ISR runs when cache is disabled
...
This commit adds the feature where the CAN ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_CAN_ISR_IN_IRAM option.
2021-03-09 08:47:58 +08:00
Darian Leung
c2afe02507
CAN: Fix BRP field initialization onf ESP32 ECO3
...
This commit zero initializes the brp_div field on ESP32 ECO3
to prevent incorrect timing configuration.
2021-03-09 08:47:58 +08:00
Darian Leung
5311a60af2
CAN: Simplify caps header
...
This commit simplifies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2021-03-09 08:47:57 +08:00
Krzysztof Budzynski
da1ed49a65
Merge branch 'docs/fix_broken_example_links_for_releasev4.1' into 'release/v4.1'
...
docs: fix broken example links for release v4.1
See merge request espressif/esp-idf!12503
2021-03-08 08:22:04 +00:00
Jiang Jiang Jian
356bf67443
Merge branch 'bugfix/fix_tx_issue_after_esp_restart_v4.1' into 'release/v4.1'
...
components/bt: Shutdown Bluetooth before esp_restart.(V4.1)
See merge request espressif/esp-idf!11756
2021-03-05 12:29:27 +00:00
Jiang Jiang Jian
8cfb4a2426
Merge branch 'bugfix/fix_csa_channel_crash_v4.1' into 'release/v4.1'
...
esp_wifi: fix CSA and BAR crash issue(v4.1)
See merge request espressif/esp-idf!12550
2021-03-05 12:24:18 +00:00
Jiang Jiang Jian
f71577afe0
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_1' into 'release/v4.1'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.1]
See merge request espressif/esp-idf!12151
2021-03-05 12:21:12 +00:00
Jiang Jiang Jian
34e1d1d69f
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_1' into 'release/v4.1'
...
Fix A2DP Underrun Issue [backport v4.1]
See merge request espressif/esp-idf!12278
2021-03-05 12:18:45 +00:00
Mahavir Jain
4567b6e866
Merge branch 'bugfix/correct_logging_timestamp_format_v4.1' into 'release/v4.1'
...
log: correct timestamp formatting to unsigned integer type (v4.1)
See merge request espressif/esp-idf!12612
2021-03-05 09:27:04 +00:00
Mahavir Jain
08333362e3
Merge branch 'fix/esp_tls_typo_v4.1' into 'release/v4.1'
...
Fix/esp_tls_mispaced_paranthesis (v4.1)
See merge request espressif/esp-idf!12632
2021-03-05 08:51:50 +00:00
Aditya Patwardhan
5b215dbc9e
protocomm: Fixed NULL check of allocated memory
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:10:55 +05:30
Aditya Patwardhan
b8274496f9
esp_tls: Fix misplaced paranthesis in esp_tls_mbedtls.c
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:10:55 +05:30
Mahavir Jain
188eb221aa
log: correct timestamp formatting to unsigned integer type
...
Closes https://github.com/espressif/esp-idf/issues/6226
Closes IDFGH-4393
2021-03-04 11:54:47 +05:30
Angus Gratton
ca9ff949a1
Merge branch 'bugfix/ci_stdout_encoding_v4.1' into 'release/v4.1'
...
ci: Fix missing sys.stdout.encoding in python2 runners (v4.1)
See merge request espressif/esp-idf!12597
2021-03-04 04:05:37 +00:00
Jiang Jiang Jian
d481781180
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v4.1' into 'release/v4.1'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v4.1]
See merge request espressif/esp-idf!11728
2021-03-04 03:34:43 +00:00
Angus Gratton
2c4f90dab2
ci: Fix missing sys.stdout.encoding in python2 runners
...
Regression in fed98cd6ad
2021-03-04 09:27:26 +11:00
ChenJianxing
a7302a6880
esp_wifi: fix CSA and BAR crash issue
2021-03-02 11:32:46 +08:00
baohongde
cc49472ea4
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-01 14:46:26 +08:00
baohongde
fdfc95812c
components/bt: Shutdown Bluetooth before esp_restart.
2021-03-01 14:46:05 +08:00
Mahavir Jain
ad93815681
Merge branch 'bugfix/esp_wifi_deinit_v4.1' into 'release/v4.1'
...
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped (v4.1)
See merge request espressif/esp-idf!12541
2021-03-01 03:53:42 +00:00
liaowenhao
195160af94
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-03-01 11:38:35 +08:00
Angus Gratton
1f79b580f9
Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open_v4.1' into 'release/v4.1'
...
ci: Fix CI issue if one example test fails, and if serial port returns some noise (v4.1)
See merge request espressif/esp-idf!12382
2021-02-28 23:57:04 +00:00
aditi_lonkar
b68f07dbc7
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:11:17 +05:30
Shubham Kulkarni
761a3cdeae
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-02-26 14:56:42 +05:30
baohongde
54c71781a9
components/bt: Fix assert without sw coexist enabled
2021-02-26 14:33:01 +08:00
Michael (XIAO Xufeng)
657ae5e11e
Merge branch 'feat/spi_flash_override_size_v4.1' into 'release/v4.1'
...
spi_flash: add config option to override flash size in bootloader header (v4.1)
See merge request espressif/esp-idf!12457
2021-02-26 02:08:39 +00:00
Island
8ed7a899d7
Merge branch 'bugfix/ble_mesh_server_model_deinit_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix deinit server models with no matching id (v4.1)
See merge request espressif/esp-idf!12316
2021-02-25 11:09:48 +00:00
Wang Fang
90118531a7
docs: fix broken example links for release v4.1
2021-02-25 13:41:04 +08:00
Angus Gratton
fcef475989
Merge branch 'bugfix/esptool_version_v4.1' into 'release/v4.1'
...
esptool: Update esptool to latest v2.x version
See merge request espressif/esp-idf!11487
2021-02-24 22:30:37 +00:00
Michael (XIAO Xufeng)
b6bc7e9df8
Merge branch 'revert-983220e2_v4.1' into 'release/v4.1'
...
ci: enable RS485 related tests again (v4.1)
See merge request espressif/esp-idf!12464
2021-02-24 06:45:13 +00:00
Krzysztof Budzynski
0503b02312
Merge branch 'docs/remove_rtd_pdf_link_v4.1' into 'release/v4.1'
...
docs: remove rtd pdf link (v4.1)
See merge request espressif/esp-idf!12467
2021-02-23 10:46:30 +00:00
Marius Vikhammer
10311644e4
docs: remove RTD download PDF links
...
PDF download is available from the version selector menu.
Read the docs links are out of date.
2021-02-23 11:46:06 +08:00
Michael (XIAO Xufeng)
46d8dad2e1
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2021-02-23 11:02:10 +08:00
Michael (XIAO Xufeng)
f6da7f3305
spi_flash: add config option to override flash size in bootloader header
...
Sometimes the flash size read from bootloader is not correct. This may
forbid SPI Flash driver from reading the the area larger than the size
in bootloader header.
When the new config option is enabled, the latest configured
ESPTOOLPY_FLAHSIZE in the app header will be used to override the value
read from bootloader header.
2021-02-23 01:23:53 +08:00
Michael (XIAO Xufeng)
52496189d9
Merge branch 'bugfix/freemodbus_fix_parity_propagation_issue_v41' into 'release/v4.1'
...
Bugfix/freemodbus fix parity propagation issue (Backport v4.1)
See merge request espressif/esp-idf!12388
2021-02-22 05:26:31 +00:00
zwj
ed04398a8c
add connection parameter check
2021-02-22 11:29:06 +08:00
zwj
62396e3b23
fix ble connection maximum latency is 499
2021-02-22 11:28:55 +08:00
zwj
37c2b7e9b7
disable bluedroid congest error log print
2021-02-22 11:28:42 +08:00
zhiweijian
490af40be5
fix read multi char failed(GATT_27001)
2021-02-22 11:28:25 +08:00
zhiweijian
89a1f8e7a9
fix add white list failed
2021-02-22 11:28:07 +08:00
zwj
c1f23ada19
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-02-22 11:27:54 +08:00
zwj
1b6572ec9f
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-02-22 11:27:39 +08:00
zwj
0e2236a2f1
fix ble read multi char err when the number of handles is more than 10
2021-02-22 11:27:22 +08:00
zwj
e109c9980c
fix scan rsp length err
2021-02-22 11:27:09 +08:00
zwj
a2eec8a1e2
fix vendor hci memory leak
2021-02-22 11:26:56 +08:00
Ivan Grokhotkov
b1c383211c
Merge branch 'bugfix/eclipse_make_decode_v4.1' into 'release/v4.1'
...
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” (v4.1)
See merge request espressif/esp-idf!12359
2021-02-19 15:55:47 +00:00
Ivan Grokhotkov
dc70cd1304
Merge branch 'feature/prefer_python3_in_installer_v4.1' into 'release/v4.1'
...
tools: Prefer python3 during install and export (v4.1)
See merge request espressif/esp-idf!12378
2021-02-19 15:53:29 +00:00
Mahavir Jain
e7e776a535
Merge branch 'bugfix/fix_enable_reset_provision_cause_device_crash_v4.1' into 'release/v4.1'
...
provisioning: Fix enable CONFIG_EXAMPLE_RESET_PROVISIONED will cause device crash [backport v4.1]
See merge request espressif/esp-idf!12351
2021-02-19 12:39:43 +00:00
lly
6b6a883824
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-19 01:03:55 +00:00
Island
77feee975e
Merge branch 'bugfix/ignore_null_valued_comb_key_4_1' into 'release/v4.1'
...
Bugfix/ignore null valued comb key 4 1
See merge request espressif/esp-idf!12408
2021-02-18 13:58:52 +00:00
Chinmay Chhajed
a585bb54e4
bt: NULL combkey check and fixed divide by zero error.
...
- Added check for NULL valued combination key. (cbc69c8b9)
- Fix divided by zero err & clear timer after remote reject when respond the parameters update (d886f91)
2021-02-18 15:37:20 +05:30
aleks
471237dab6
freemodbus: fix mb controller parity propagation issues
...
Closes https://github.com/espressif/esp-idf/issues/6377
2021-02-17 12:34:00 +01:00
Mahavir Jain
8938eed1c4
Merge branch 'bugfix/softap_prov_cookies_v4.1' into 'release/v4.1'
...
protocomm_httpd: Use HTTP cookies to track session (v4.1)
See merge request espressif/esp-idf!12266
2021-02-15 04:45:14 +00:00
Angus Gratton
fed98cd6ad
ci: ttfw: Encode serial port data to whatever the console encoding is
...
This is a bit of a hack, but gives us a way to always log it
2021-02-15 10:48:30 +11:00
Angus Gratton
65fb2ead1a
ci: Log failure to close any DUT
2021-02-15 10:48:30 +11:00
Roland Dobai
52ecfeb337
tools: Prefer python3 during install and export
...
Install and export script should work on systems without "python"
executable.
Closes https://github.com/espressif/esp-idf/pull/6471
Closes https://github.com/espressif/esp-idf/issues/6532
Related to https://github.com/espressif/esp-idf/issues/6421 and
https://github.com/espressif/arduino-esp32/issues/4717
2021-02-14 19:46:28 +01:00
Piyush Shah
3a5be7ce26
protocomm security1: Restart security session if SESSION_STATE_CMD0 is received
...
With the introduction of cookies to track a session, it is possible that the
clients restart the provisioning on the same session, specifically when a user
cancels a current provisioning attempt. This can result in an error as the state
on the device side and client side will go out of sync.
This has now been changed such that if SESSION_STATE_CMD0 is received on
an existing session, the state is reset and flow allowed to continue.
2021-02-12 05:53:00 +00:00
Piyush Shah
c13fe0be6e
protocomm_httpd: Use HTTP cookies to track session
...
Earlier, a "socket connection" was being considered as a protocomm "session".
However, for HTTP, we cannot expect clients to necessarily use the same
socket for all requests of a given transaction. This was indeed causing
some failures for Wi-Fi provisioning from Android phones.
So, we have introduced http cookies to track a session even if the socket
connection does not stay intact throughout the transaction.
This change is backward compatible. If the client does not use cookies, the
socket connection will be considered as the session.
Closes: https://github.com/espressif/esp-idf/issues/6316
Reference: https://github.com/espressif/esp-idf/pull/6330
2021-02-12 05:53:00 +00:00
Angus Gratton
ba17e97665
Merge branch 'bugfix/get_component_requirements_v4.1' into 'release/v4.1'
...
cmake: fix getting component requirements (v4.1)
See merge request espressif/esp-idf!9714
2021-02-11 07:56:19 +08:00
Patryk Krzywdziński
85b96879f2
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-10 12:50:39 +01:00
Chinmay Chhajed
428e9b008c
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 15:13:10 +05:30
Chinmay Chhajed
1c6c6998bc
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 15:13:02 +05:30
yuanjm
b497628ef6
provisioning: Fix enable CONFIG_EXAMPLE_RESET_PROVISIONED will cause device crash
2021-02-10 16:05:26 +08:00
Island
131bfd90a4
Merge branch 'bugfix/ble_mesh_mbedtls_aes_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh mbedtls aes fix (v4.1)
See merge request espressif/esp-idf!12326
2021-02-09 16:24:54 +08:00
Angus Gratton
42b126e4dd
Merge branch 'bugfix/sign_compare_warning_in_soc_component' into 'release/v4.1'
...
fix sign compare warning in soc component
See merge request espressif/esp-idf!11434
2021-02-09 11:05:12 +08:00
Michael (XIAO Xufeng)
e508a64ae9
Merge branch 'bugfix/mcpwm_can_set_two_falut_signal_v4.1' into 'release/v4.1'
...
mcpwm: fix second fault line broken issue (v4.1)
See merge request espressif/esp-idf!12172
2021-02-08 14:21:43 +08:00
Island
261d107abd
Merge branch 'bugfix/ble_mesh_log_macro_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add prefix for log macros (v4.1)
See merge request espressif/esp-idf!12325
2021-02-07 16:39:38 +08:00
Island
528e9b2818
Merge branch 'bugfix/ble_mesh_prov_use_diff_rand_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Use different random for each provisioning (v4.1)
See merge request espressif/esp-idf!12323
2021-02-07 16:38:42 +08:00
Island
47d859b2a4
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix proxy client may fail to resend msg (v4.1)
See merge request espressif/esp-idf!12322
2021-02-07 16:38:36 +08:00
Island
9ef16af05e
Merge branch 'bugfix/ble_mesh_node_set_name_status_check_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Remove node set device name return status check (v4.1)
See merge request espressif/esp-idf!12321
2021-02-07 16:38:25 +08:00
Island
3a06fa4bd9
Merge branch 'update/ble_mesh_set_hsl_states_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Enable updating lighting hsl state (v4.1)
See merge request espressif/esp-idf!12320
2021-02-07 16:38:13 +08:00
Island
afcbf0d311
Merge branch 'bugfix/ble_mesh_macro_OR_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix using wrong | for OR between macros (v4.1)
See merge request espressif/esp-idf!12319
2021-02-07 16:37:58 +08:00
Island
47d6b3f2b3
Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh build error merge master (v4.1)
See merge request espressif/esp-idf!12318
2021-02-07 16:37:49 +08:00
lly
10b5436cc9
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
2021-02-07 12:06:49 +08:00
lly
5e8695d7be
ble_mesh: stack: Fix mbedtls aes ctx not initialized
2021-02-07 12:06:49 +08:00
lly
829b16a997
ble_mesh: stack: Fix compile warning when log is disabled
2021-02-07 12:03:24 +08:00
lly
7b5a3b50f0
ble_mesh: ci: Add disable log sdkconfig test files
2021-02-07 12:03:24 +08:00
lly
cb918dcd2f
ble_mesh: stack: Add prefix BLE_MESH_ for log related macros
2021-02-07 12:03:24 +08:00
lly
638b36cc6b
ble_mesh: stack: Use different random for each provisioning
2021-02-07 11:46:20 +08:00
lly
59443eca02
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-02-07 11:44:13 +08:00
lly
7799954d99
ble_mesh: stack: Remove node set device name return status check
2021-02-07 11:41:57 +08:00
lly
fc27117299
ble_mesh: stack: Enable updating lighting hsl state
2021-02-07 11:39:53 +08:00
lly
eb52b1da96
ble_mesh: stack: Fix using wrong | for OR between macros
2021-02-07 11:36:45 +08:00
lly
4e8a53aec2
ble_mesh: stack: Fix compile warning with BIT macro
2021-02-07 11:33:00 +08:00
lly
938530b193
ble_mesh: stack: Update mesh max conn macro when using bluedroid
2021-02-07 11:32:55 +08:00
Island
c6f7abbe94
Merge branch 'feat/ble_mesh_support_ble_scan_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add BLE scan callback when mesh is enabled (v4.1)
See merge request espressif/esp-idf!12304
2021-02-07 11:22:50 +08:00
morris
e2886115dc
mcpwm: fix second fault line broken
...
Closes: https://github.com/espressif/esp-idf/issues/6053
2021-02-06 21:45:51 +08:00
morris
e85a444cd0
mcpwm: fix wrong capture edge
2021-02-06 21:45:51 +08:00
lly
2d04130ce0
ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files
2021-02-05 21:22:52 +08:00
lly
bdf6d3e8cb
ble_mesh: stack: Support reporting normal ble adv packets
2021-02-05 21:22:52 +08:00
lly
e06a5587c7
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2021-02-05 21:22:52 +08:00
lly
228ab398b9
ble_mesh: stack: Move ble scan funcitons to a single file
2021-02-05 21:22:52 +08:00
lly
9cff5797a1
ble_mesh: stack: Optimize handling received mesh adv packets
2021-02-05 21:22:52 +08:00
Island
53317da676
Merge branch 'optimize/ble_mesh_miscellaneous_v4.1' into 'release/v4.1'
...
Optimize/ble mesh miscellaneous (v4.1)
See merge request espressif/esp-idf!12293
2021-02-05 21:00:35 +08:00
lly
1cdd2b0609
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2021-02-05 14:55:38 +08:00
lly
a0da80fe89
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2021-02-05 14:55:33 +08:00
lly
f3ff34d818
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2021-02-05 14:55:11 +08:00
lly
392fb4b916
ble_mesh: stack: Update ARRAY_SIZE definition
2021-02-05 14:54:17 +08:00
Island
8812365c6f
Merge branch 'feat/ble_mesh_multiple_nvs_namespace_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces (v4.1)
See merge request espressif/esp-idf!12264
2021-02-05 14:49:32 +08:00
Angus Gratton
9d76fd62d7
Merge branch 'test/disable_twai_example_ci_v4.1' into 'release/v4.1'
...
Temporarily disable TWAI network example test (backport v4.1)
See merge request espressif/esp-idf!11562
2021-02-05 13:00:02 +08:00
Mahavir Jain
a60e9c136b
Merge branch 'fix/wolfssl_domain_name_check_v4.1' into 'release/v4.1'
...
esp_tls_wolfssl : Add domain name check (v4.1)
See merge request espressif/esp-idf!11817
2021-02-05 12:07:11 +08:00
lly
968d0fbb13
ble_mesh: ci: Add settings sdkconfig test files
2021-02-05 03:10:47 +00:00
lly
c1f3b20273
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-05 03:10:47 +00:00
Fu Hanxi
b91448aa03
Merge branch 'ci/increase_cmake_build_parallel_count_v4.1' into 'release/v4.1'
...
ci: Increase cmake build parallel count
See merge request espressif/esp-idf!12282
2021-02-05 10:46:57 +08:00
Ivan Grokhotkov
fb63cf75ad
Merge branch 'bugfix/idf_monitor_baudrate_arg_crash_v4.1' into 'release/v4.1'
...
idf monitor: fix crash when monitor baudrate argument set (Backport 4.1)
See merge request espressif/esp-idf!9759
2021-02-05 10:08:13 +08:00
Mahavir Jain
834089c4b2
Merge branch 'bugfix/protocomm_http_print_v4.1' into 'release/v4.1'
...
protocomm_httpd: Change an info print to debug print as it isn't really required in the logs (v4.1)
See merge request espressif/esp-idf!12262
2021-02-04 21:28:26 +08:00
lly
a47f4ae9fe
ci: Increase cmake build parallel count
2021-02-04 20:48:22 +08:00
weitianhua
e2dd35e6f6
Fix A2DP Underrun Issue
2021-02-04 19:33:50 +08:00
dongyou
bebd1b4106
add exception handling for iperf example's scan when no ap was found
2021-02-04 17:49:13 +08:00
Piyush Shah
6ebb73df7c
protocomm_httpd: Change an info print to debug print as it isn't really required in the logs
2021-02-04 15:04:43 +05:30
Island
52f661fa41
Merge branch 'feat/ble_mesh_provisioner_recv_hb_support_v4.1' into 'release/v4.1'
...
Feat/ble mesh provisioner recv hb support (v4.1)
See merge request espressif/esp-idf!11914
2021-02-04 17:13:20 +08:00
lly
45e0d59b3b
ble_mesh: ci: Add enabling hb recv sdkconfig file
2021-02-04 03:33:45 +00:00
lly
ad718c53cd
ble_mesh: stack: Provisioner supports receiving heartbeat
2021-02-04 03:33:45 +00:00
dongyou
53398c646a
fix smartconfig issue when router reply arp late
2021-02-04 11:33:23 +08:00
Island
8ba74ad9f7
Merge branch 'optimize/ble_mesh_provision_dev_uuid_check_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Need uuid when adding device for provisioning (v4.1)
See merge request espressif/esp-idf!11578
2021-02-04 10:57:01 +08:00
lly
1b2748e00f
ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files
2021-02-03 08:45:18 +00:00
lly
ecf8427b1e
ble_mesh: stack: Need uuid when adding device for provisioning
2021-02-03 08:45:18 +00:00
Anton Maklakov
62acc8734f
Merge branch 'bugfix/ttfw_idf_find_artifacts_inaccurate_with_same_prefix_path_v4.1' into 'release/v4.1'
...
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one (v4.1)
See merge request espressif/esp-idf!12229
2021-02-03 11:34:42 +08:00
Island
d6a07efed5
Merge branch 'bugfix/ble_mesh_node_id_adv_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix Node ID adv with wrong timeout (v4.1)
See merge request espressif/esp-idf!11878
2021-02-03 10:48:35 +08:00
Mahavir Jain
83aaee86d8
Merge branch 'bugfix/reenable_encrypted_partition_write_v4.1' into 'release/v4.1'
...
Re-enable encrypted flash read/writes even if flash encryption is disabled (v4.1)
See merge request espressif/esp-idf!12191
2021-02-02 18:31:04 +08:00
Mahavir Jain
6317ef13f8
unit-test-app: disable encrypted flash read/write in psram config to fix build failure
2021-02-02 05:10:34 +00:00
Mahavir Jain
e032384c7f
spi_flash: add config option to enable encrypted partition read/write
...
This feature can be disabled to save some IRAM (approx 1KB) for cases
where flash encryption feature is not required.
2021-02-02 05:10:34 +00:00
Mahavir Jain
0715c86211
Revert "esp_partition: disable encrypted reads/writes if flash encryption is disabled"
...
This reverts commit bf35ef1ce7 .
It has been noticed that there are scenarios where even though firmware is not enabled
with flash encryption config feature, it should be able to write to encrypted partitions.
This revert adds the feature back which was removed around v4.0 timelines, and same
change will be backported to all releases (upto v4.0) for consistency.
2021-02-02 05:10:34 +00:00
Fu Hanxi
aa2400f5f0
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
2021-02-02 11:14:18 +08:00
Mahavir Jain
9468af050b
Merge branch 'bugfix/redirection_v4.1' into 'release/v4.1'
...
esp_http_client: Skip check for redirection counter if status code is success, fix issue with digest auth, configurable user agent string. (v4.1)
See merge request espressif/esp-idf!11598
2021-02-01 20:50:03 +08:00
Mahavir Jain
dec0bca0ba
Merge branch 'bugfix/httpd_session_close_lru_v4.1' into 'release/v4.1'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru (v4.1)
See merge request espressif/esp-idf!12113
2021-02-01 17:21:55 +08:00
Mahavir Jain
0d2ab9459d
Merge branch 'bugfix/http_client_buffer_overread_v4.1' into 'release/v4.1'
...
esp_http_client: Fix buffer overread, update https_request example to use HTTP/1.1 (v4.1)
See merge request espressif/esp-idf!12109
2021-02-01 17:20:02 +08:00
Scott Shell
3f32d1020d
Make the UserAgent string in esp-http-client configurable
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/6044
2021-02-01 09:17:43 +00:00
Shubham Kulkarni
34b845e484
http_auth.c: Fix crash when opaque field is not present in challenge string
...
Closes: https://github.com/espressif/esp-idf/issues/5888
2021-02-01 09:17:43 +00:00
Shubham Kulkarni
bffeb8705c
esp_http_client: Skip check for redirection counter if status code is success.
...
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2021-02-01 09:17:43 +00:00
Mahavir Jain
64be5f1010
Merge branch 'bugfix/update_howsmyssl_cert_v4.1' into 'release/v4.1'
...
examples/protocols: update www.howsmyssl.com certificate to fix test failures (v4.1)
See merge request espressif/esp-idf!12212
2021-02-01 17:14:39 +08:00
Mahavir Jain
b35c3dd84f
examples/protocols: update www.howsmyssl.com certificate to fix test failures
2021-02-01 11:08:05 +05:30
Mahavir Jain
8b53ac9056
Merge branch 'fix/esp_tls_add_warning_if_ca_chain_has_invalid_cert_v4.1' into 'release/v4.1'
...
esp_tls: Add warning if the CA chain provided contains invalid cert (v4.1)
See merge request espressif/esp-idf!11940
2021-02-01 13:27:31 +08:00
Anton Maklakov
9760595f2f
Merge branch 'bugfix/auto_test_script_only_use_given_branch_v4.1' into 'release/v4.1'
...
CI: limit switching branches for auto_test_script (v4.1)
See merge request espressif/esp-idf!11147
2021-01-30 22:20:31 +08:00
Mahavir Jain
1fec915bdb
Merge branch 'feature/upgrade_mbedtls_to_v4.1' into 'release/v4.1'
...
mbedtls: upgrade to v2.16.9 release (v4.1)
See merge request espressif/esp-idf!11900
2021-01-29 20:35:13 +08:00
Mahavir Jain
744948e189
Merge branch 'fix/esp_tls_fix_memory_leak_v4.1' into 'release/v4.1'
...
esp-tls: Fix mem leak when global_ca_store is freed
See merge request espressif/esp-idf!12086
2021-01-29 20:34:11 +08:00
Mahavir Jain
5f7f2cc70b
Merge branch 'fix/i2c_pm_lock_v4.1' into 'release/v4.1'
...
i2c: Acquire PM lock after acquiring mutex (v4.1)
See merge request espressif/esp-idf!11831
2021-01-29 20:30:46 +08:00
Mahavir Jain
fa0f3dc13c
Merge branch 'fix/update_tls_sockfd_after_freeing_internally_v4.1' into 'release/v4.1'
...
esp-tls : (Fix) update tls->sockfd value after socket is freed internally (v4.1)
See merge request espressif/esp-idf!11696
2021-01-29 17:23:12 +08:00
Ivan Grokhotkov
f74bb4e5a9
Merge branch 'feature/nvs_erase_check_init_4.1' into 'release/v4.1'
...
NVS Flash: prevent erasing initialized partition, nvs partition deinit bug (backport v4.1)
See merge request espressif/esp-idf!10063
2021-01-29 17:12:25 +08:00
Ivan Grokhotkov
0fcd502613
Merge branch 'bugfix/tools_python_subprocess_capture_output_v4.1' into 'release/v4.1'
...
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility (v4.1)
See merge request espressif/esp-idf!11507
2021-01-29 17:10:43 +08:00
Ivan Grokhotkov
2d7b596c9e
Merge branch 'bugfix/phy_xpd_v4.1' into 'release/v4.1'
...
wifi: add set_xpd_sar override(backport v4.1)
See merge request espressif/esp-idf!11545
2021-01-29 17:10:03 +08:00
Anton Maklakov
38b0243807
Merge branch 'bugfix/ci_retries_when_download_v4.1' into 'release/v4.1'
...
CI: retry shell commands when download (v4.1)
See merge request espressif/esp-idf!9889
2021-01-29 16:55:03 +08:00
Anton Maklakov
75b33a1072
Merge branch 'feature/ci_fix_docker_build_v4.1' into 'release/v4.1'
...
ci: Use git mirror for docker image (v4.1)
See merge request espressif/esp-idf!10446
2021-01-29 16:48:57 +08:00
Angus Gratton
b691ef7e69
Merge branch 'bugfix/blecent_example_test_4.1' into 'release/v4.1'
...
Fix CI blecent example test (backport v4.1)
See merge request espressif/esp-idf!11322
2021-01-29 16:47:36 +08:00
Angus Gratton
7e2e162653
Merge branch 'ci/disable_dev_push_pipelines_v4.1' into 'release/v4.1'
...
CI: Disable pipelines generated by push on dev branches (v4.1)
See merge request espressif/esp-idf!11593
2021-01-29 16:46:49 +08:00
Angus Gratton
44d6bbea8b
Merge branch 'bugfix/driver_spi_poll_test_stack_v41' into 'release/v4.1'
...
driver test: Increase stack for the "spi poll tasks" test
See merge request espressif/esp-idf!12117
2021-01-29 16:45:53 +08:00
Angus Gratton
6713bade96
Merge branch 'update/version_4_1_1' into 'release/v4.1'
...
Update version to 4.1.1
See merge request espressif/esp-idf!12106
2021-01-29 16:45:32 +08:00
weitianhua
432b4c8863
Add init & deinit event for a2dp
2021-01-26 10:52:39 +08:00
Shubham Kulkarni
f74dbafbbe
Enable lru_purge_enable in simple HTTP server example
2021-01-22 15:34:50 +05:30
Angus Gratton
e48e6aa9df
driver test: Increase stack for the "spi poll tasks" test
...
Current stack usage gets very close to overflowing
2021-01-22 18:03:45 +11:00
Shubham Kulkarni
03a09c1f51
esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru
2021-01-22 11:16:50 +05:30
Shubham Kulkarni
a819237722
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-01-22 11:03:48 +05:30
He Yin Ling
4ebe0d8a2f
versions: Update version to 4.1.1
2021-01-22 11:08:17 +08:00
liaowenhao
c4c18c79a0
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-01-21 21:37:14 +08:00
Aditya Patwardhan
6282936f19
esp-tls: Fix mem leak when global_ca_store is freed
2021-01-21 10:58:40 +05:30
Jiang Jiang Jian
6f7c750f0d
Merge branch 'bugfix/mdns_revert_nonstrict_mode' into 'release/v4.1'
...
mdns: Revert support for queries in responses, mDNS non-strict mode (v4.1)
See merge request espressif/esp-idf!12044
2021-01-20 16:42:58 +08:00
Jiang Jiang Jian
faa740028c
Merge branch 'bugfix/bt_bluedroid_same_public_key_attack_v4.1' into 'release/v4.1'
...
Bluedroid: Fixes for some Bluetooth vulnerabilities. (v4.1)
See merge request espressif/esp-idf!11764
2021-01-19 20:49:25 +08:00
Island
2d7508bd58
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn_v4.1' into 'release/v4.1'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR. (v4.1)
See merge request espressif/esp-idf!11991
2021-01-18 19:15:36 +08:00
David Cermak
31ecdcd3f6
mdns: Revert support for queries in responses, mDNS non-strict mode
...
This reverts backporting commits to v4.1 related to mDNS non-strict mode
and the related fix for resolving the non-strict mode:
* Revert "mdns: Allow resolve its own non-strict answers"
This reverts commit 0182a84c2b .
* Revert "mdns: Support queries in responses in mDNS non-strict mode"
This reverts commit 12e86a7c1b .
2021-01-18 07:53:54 +01:00
aditi_lonkar
620e747355
esp_http_client: Fix some memory leak issues by coverity static analyzer.
2021-01-18 11:38:46 +05:30
aditi_lonkar
d6bf822ab8
wifi_provisioning: Fix some memory leak issues by coverity static analyzer.
2021-01-18 11:38:24 +05:30
aditi_lonkar
85d2d2fcf8
esp_local_ctrl: Fix some memory leak issues by coverity static analyzer.
2021-01-18 11:38:00 +05:30
aditi_lonkar
ce1e71c0de
esp_netif: Fix some memory leak issues by coverity static analyzer.
2021-01-18 11:37:10 +05:30
aditi_lonkar
a9f6042d41
fatfs: Fix some memory leak issues by coverity static analyzer.
2021-01-18 11:36:53 +05:30
aditi_lonkar
de3421718d
tcp_transport: Fix some memory leak issues by coverity static analyzer.
2021-01-18 11:36:22 +05:30
aditi_lonkar
8668c11a12
wpa_supplicant: Fix some memory leak issues by coverity static analyzer.
2021-01-18 11:35:48 +05:30
suren.gabrielyan
3b862da384
mDNS: Fix of text length calculation when detecting a collision
2021-01-15 17:03:32 +04:00
suren.gabrielyan
a02ac1ffd3
mDNS: Fix of collision detection during txt length calculation
...
Closes https://github.com/espressif/esp-idf/issues/6114
2021-01-15 17:03:17 +04:00
xiehang
025e2b0439
example: Scan failure should not cause system crash
2021-01-15 20:14:59 +08:00
xiehang
43a328a7c3
example: do not check the return value of esp_wifi_connect()
2021-01-15 20:10:35 +08:00
Marius Vikhammer
fbb5ada91d
idf monitor: fix crash when monitor baudrate argument set
...
Closes IDF-1902
2021-01-15 09:10:05 +00:00
Chinmay Chhajed
53e93c0a10
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-14 12:22:47 +05:30
Jiang Jiang Jian
22c82a4e28
Merge branch 'bugfix/mdns_resolve_nonstrict_answers_v4.1' into 'release/v4.1'
...
mdns: Allow resolve (it's own) non-strict answers (v4.1)
See merge request espressif/esp-idf!11819
2021-01-13 16:54:02 +08:00
Aditya Patwardhan
976c3787c3
esp_tls: Add warning if the CA chain provided contains one/more invalid
...
cert
2021-01-11 12:05:45 +05:30
Mahavir Jain
1c89992335
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-01-07 11:16:35 +05:30
Armando
7720cd9c34
spi: fix duplex mode switch issue for multi devices
2021-01-07 12:05:14 +08:00
Jakob Hasse
fe7ebf75a0
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
Closes FCS-533
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
* nvs host unit tests now clean up after each
test case
nvs_flash: fixed deinit other partition's handles
* When deinitializing or erasing a partition,
nvs used to close all handles instead of only
the current partition's handles.
This is fixed now
* Added a unit test for that case
2021-01-07 11:32:29 +08:00
lly
5c4d7e61c2
ble_mesh: stack: Fix Node ID adv with wrong timeout
2021-01-05 20:14:57 +08:00
David Cermak
427aeec530
esp_modem: Fixed race condition on exiting PPP mode (v4.1)
...
esp_modem_stop_ppp() stops both ppp netif and switches the modem back to
command mode. IF these two actions are not synchronised, we might
experience issues of
* active PPP session trying to send/receive uart-data
* command mode already active before modem switched to it
both resulting in crashes.
Fixed by introducing the transition mode and running these actions in sequence
* set esp-modem to transition mode
* enter command mode, wait for the reply or re-sync
* close the PPP netif
* wait until the netif closes
Other fixes include ignoring certain events if modem component not ready
or not in appropriate mode:
* ignoring all UART events comming from DTE with no DCE attached
* ignore pattern detection in PPP mode
2021-01-05 12:32:30 +01:00
baohongde
b7e6c18f8c
components/bt: Add API to config QoS
2021-01-04 11:56:00 +08:00
Mahavir Jain
382fa9072d
Merge branch 'bugfix/misc_secure_boot_v4.1' into 'release/v4.1'
...
Bugfix/misc secure boot v2 (v4.1)
See merge request espressif/esp-idf!11744
2020-12-31 18:35:58 +08:00
Morozov-5F
cca370df47
secure boot v2: Fix crash if signature verification fails in app
...
sha_handle is "finished" when verify_secure_boot_signature() returns and
should be nulled out.
Alternative version of fix submitted in https://github.com/espressif/esp-idf/pull/6210
Closes https://github.com/espressif/esp-idf/pull/6210
Signed-off-by: Angus Gratton <angus@espressif.com >
2020-12-31 14:34:25 +05:30
XieWenxiang
ddfc19d531
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:44:38 +08:00
Sachin Parekh
c8a4ad9c3b
i2c: Acquire PM lock after acquiring mutex
2020-12-30 13:25:02 +05:30
David Cermak
0182a84c2b
mdns: Allow resolve its own non-strict answers
...
the mDNS responder should not repeat questions when replying, however resolvers
must ignore these questions field if they are present. esp-idf mDNS
library does include questions in answering packets (thus not strictly
following the RFC6762) so the resolver did not correctly resolved
another instance host name.
Closes https://github.com/espressif/esp-idf/issues/6190
2020-12-29 19:05:32 +01:00
Aditya Patwardhan
52d9d07422
esp_tls_wolfssl : Add domain name check
2020-12-29 21:28:51 +05:30
Chinmay Chhajed
5dd8bf4fe5
Bluedroid: Fixes for some vulnerabilities.
...
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'
CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.
This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-25 16:01:30 +05:30
baohongde
edb2a4af41
components/bt: Add QOS for SPP, to decrease the delay from slave to master
2020-12-25 14:56:35 +08:00
Supreet Deshpande
801bbcc7ad
Secure boot v2: Fixes the issue of passing the flash calculated digest for ota verification.
2020-12-24 14:25:28 +05:30
Supreet Deshpande
2427847229
Secure Boot v2: Fix the double padding of the image length during flash encryption
...
Fixes https://github.com/espressif/esp-idf/issues/6236
2020-12-24 14:22:08 +05:30
liqigan
bf7435d80d
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:13:37 +08:00
Aditya Patwardhan
ebaf8ae461
esp-tls : (Fix) update tls->sockfd value after socket is freed internally
...
Closes https://github.com/espressif/esp-idf/issues/6163
2020-12-21 11:23:45 +05:30
Jiang Jiang Jian
64c2f8605a
Merge branch 'nimble/fix_misc_coverity_issue_v4.1' into 'release/v4.1'
...
Nimble: Fix misc issues in NimBLE NVS, `ble_eddystone`, recursive call and L2CAP CoC (v4.1)
See merge request espressif/esp-idf!11391
2020-12-21 12:07:37 +08:00
Jiang Jiang Jian
6710148748
Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly_4_1' into 'release/v4.1'
...
Fix crash cause by calling a2dp deinit when connected [backport v4.1]
See merge request espressif/esp-idf!11690
2020-12-21 12:05:40 +08:00
Jiang Jiang Jian
be2d72b660
Merge branch 'bugfix/blufi_config_potential_double_free_v4.1' into 'release/v4.1'
...
Bugfix/blufi config potential double free v4.1
See merge request espressif/esp-idf!11164
2020-12-21 12:05:33 +08:00
weitianhua
aee941a087
Fix crash cause by calling a2dp deinit when connected
2020-12-21 10:23:46 +08:00
Jiang Jiang Jian
73f601554b
Merge branch 'bugfix/eap_client_crash_4.1' into 'release/v4.1'
...
wpa_supplicant: Fix null pointer dereference if eap init failed
See merge request espressif/esp-idf!11642
2020-12-20 15:58:29 +08:00
Jiang Jiang Jian
aff13c0fbc
Merge branch 'fixbug/baidu_tcp_recv_assert_for_4.1' into 'release/v4.1'
...
lw-ip:fix bug for tcp recv assert(backport 4.1)
See merge request espressif/esp-idf!11602
2020-12-20 15:52:44 +08:00
xueyunfei
5f3f5f15b2
fix bug for tcp recv assert
2020-12-18 14:00:48 +00:00
Jiang Jiang Jian
286f8c76b6
Merge branch 'bugfix/exl200_reset_and_adv_v4.1' into 'release/v4.1'
...
Bugfix/exl200 reset and adv v4.1
See merge request espressif/esp-idf!11672
2020-12-18 21:59:32 +08:00
wangcheng
b5e93053e5
components/bt:fix exl200, add btdm_disable_adv_delay, fix RPA addr update error.
2020-12-18 12:25:19 +00:00
wangcheng
c6d2c43661
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-18 12:25:19 +00:00
Jiang Jiang Jian
bd9025f817
Merge branch 'bugfix/revert_tx_optimization_v4.1' into 'release/v4.1'
...
Revert "esp_wifi: optimize WiFi TX performance" (v4.1)
See merge request espressif/esp-idf!11675
2020-12-18 20:22:41 +08:00
Fu Hanxi
7bdef15e85
CI: Disable pipelines generated by push on dev branches
2020-12-18 08:43:22 +00:00
zhangyanjiao
20dc46ca49
Revert "esp_wifi: optimize WiFi TX performance"
...
This reverts commit 5de5eb5676 .
2020-12-18 08:38:01 +00:00
He Yin Ling
592645f0c0
Merge branch 'bugfix/ci_py2_warnings_fix_v4.1' into 'release/v4.1'
...
ci: Python 2 warnings fix (v4.1)
See merge request espressif/esp-idf!11618
2020-12-18 16:33:44 +08:00
Artem Godlevskyi
a582fbdfdc
Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
...
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5825
2020-12-17 07:20:35 +00:00
Prasad Alatkar
30c89dc11d
NimBLE: Fix misc coverity issues in NimBLE host
...
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-12-17 07:20:35 +00:00
Angus Gratton
9d21d0a671
Merge branch 'feature/dis_uart_dl_mode_v4.1' into 'release/v4.1'
...
feature: Disable UART download mode (v4.1)
See merge request espressif/esp-idf!10765
2020-12-16 16:24:25 +08:00
kapil.gupta
45370f4fae
wpa_supplicant: Fix null pointer dereference if eap init failed
2020-12-16 11:57:08 +05:30
Angus Gratton
5b3734a04a
efuse: Add ESP32 V3 'disable Download Mode' functionality
2020-12-16 17:08:04 +11:00
Cao Sen Miao
cabe0a44b7
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-15 20:57:02 +08:00
Anton Maklakov
b766dc00eb
tools: Redirect some warnings to stderr
2020-12-15 13:27:00 +07:00
Anton Maklakov
d3c35e1c5f
ci: Ignore Python 2 deprecation warning
2020-12-15 13:26:18 +07:00
Angus Gratton
fca2d78459
efuse: Add new esp_efuse_read_field_bit() convenience function
2020-12-15 15:53:26 +11:00
Angus Gratton
1ef020f0a6
efuse: Add new esp_efuse_write_field_bit() convenience function
2020-12-15 15:53:26 +11:00
Angus Gratton
9b31bd54da
efuse: Don't need to burn WR_CRYPT_CNT if CRYPT_CNT is already max
...
Reduces write cycles, and useful on ESP32 ECO3 as UART_DIS_DL is protected by
the same efuse.
Also fixes accidental macro definition introduced in 7635dce502
2020-12-15 15:53:26 +11:00
Angus Gratton
c9307cb16e
secure boot: Fix regression enabling secure boot v2
...
Regression in 18b4ae2a65 - write-protecting BLK2 caused write
registers to be cleared, so key digest was all zeroes.
2020-12-15 15:53:26 +11:00
Ivan Grokhotkov
f4739d69ab
Merge branch 'bugfix/verify-directory-exists_v4.1' into 'release/v4.1'
...
Bugfix: add check for existence build directory (v4.1)
See merge request espressif/esp-idf!11583
2020-12-12 01:43:28 +08:00
Martin Gaňo
a303b53209
Add checking if the build directory exists and move expression after docstring
2020-12-11 13:26:45 +01:00
radim.karnis
99a6072824
Changed esptool version to latest v2.x
2020-12-11 10:42:50 +01:00
Ivan Grokhotkov
77be96fd87
Merge branch 'bugfix/log-error-run-esptool_v4.1' into 'release/v4.1'
...
parttool.py: Add file stream parameter and log stdout and stderr to same stream (v4.1)
See merge request espressif/esp-idf!10517
2020-12-11 16:55:09 +08:00
Krzysztof Budzynski
3217cd4734
Merge branch 'doc/update_CN_translation_for_relase/v4.1' into 'release/v4.1'
...
update get-started/index.rst for release/v4.1
See merge request espressif/esp-idf!11513
2020-12-11 11:38:41 +08:00
Dai Zi Yan
37d8033906
update get-started/index.rst for release/v4.1
2020-12-11 11:38:37 +08:00
Krzysztof Budzynski
6daf14a031
Merge branch 'feature/python2-deprecation-warn_v4.1' into 'release/v4.1'
...
Tools: Add Python 2 deprecation warning (v4.1)
See merge request espressif/esp-idf!11527
2020-12-11 11:28:56 +08:00
Jiang Jiang Jian
bb20c40fd8
Merge branch 'bugfix/decouple_wifi_bt_with_coex_v4.1' into 'release/v4.1'
...
esp_wifi: decouple Wi-Fi and bluetooth with coexist to reduce binary file size
See merge request espressif/esp-idf!11534
2020-12-10 22:33:23 +08:00
Darian Leung
4256b1098c
twai: Temporarily disable network example test
...
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:31:56 +08:00
Xia Xiaotian
649d834c16
esp_wifi: decouple Wi-Fi and bluetooth with coexist to reduce binary file size
...
close https://github.com/espressif/esp-idf/issues/5970
2020-12-10 17:07:49 +08:00
daiziyan
026accbb91
add CN translation for adding python2 deprecation warning(MR 11115)
2020-12-09 14:41:33 +01:00
martin.gano
f75acede24
Tools: add Python 2 deprecation warning
2020-12-09 14:41:33 +01:00
Jiang Jiang Jian
69beb55bbd
Merge branch 'bugfix/revert_iram_optimizaion_v4.1' into 'release/v4.1'
...
esp_wifi: revert wifi iram optimization(v4.1)
See merge request espressif/esp-idf!11512
2020-12-09 17:39:28 +08:00
negativekelvin
161569e3f9
Fix reserved psram region
...
Closes https://github.com/espressif/esp-idf/pull/5373
Closes https://github.com/espressif/esp-idf/issues/5821
2020-12-08 17:43:49 +11:00
ChenJianxing
f5cee05010
esp_wifi: revert wifi iram optimization(v4.1)
2020-12-08 14:03:20 +08:00
Angus Gratton
e7f40fca68
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility
...
In Python 3.5 and 3.6 the equivalent to capture_output=True is to set stdout
and stderr arguments to subprocess.PIPE
2020-12-08 09:44:44 +11:00
Jiang Jiang Jian
6a9b351b67
Merge branch 'bugfix/pmf_tx_rx_routine_v4.1' into 'release/v4.1'
...
esp_wifi: Always register pmf tx/rx routines (backport v4.1)
See merge request espressif/esp-idf!11449
2020-12-03 18:10:00 +08:00
xiehang
1ae727bbc2
esp_wifi: Always register pmf tx/rx routines
...
Fixes the issue when PMF packets are not sent after mode change.
2020-12-03 15:31:30 +08:00
Jiang Jiang Jian
369222f811
Merge branch 'feature/btdm_support_some_ble_new_features_v4.1' into 'release/v4.1'
...
components/bt: backport some new features for Bluedroid BLE(release v4.1)
See merge request espressif/esp-idf!11441
2020-12-03 14:38:53 +08:00
Jiang Jiang Jian
0499dfdd0c
Merge branch 'bugfix/update_release_v4.1_bt_lib' into 'release/v4.1'
...
components/bt: backport requires commit to release v4.1
See merge request espressif/esp-idf!11425
2020-12-03 11:21:53 +08:00
xiewenxiang
1273982045
component/bt: support BLE Read Attribute value by UUID
2020-12-02 20:20:03 +08:00
xiewenxiang
5da4c0f125
component/bt: refactor ble random address setting
2020-12-02 20:19:54 +08:00
XieWenxiang
8e08156141
component/bt: support BLE Application Layer Encryption key size check
2020-12-02 20:19:45 +08:00
XieWenxiang
a6ea010898
component/bt: support BLE Authorization
2020-12-02 20:19:35 +08:00
xiewenxiang
217e90ec5c
component/bt: fix incorrect encryption flag setting
2020-12-02 20:19:21 +08:00
morris
ec2817a285
soc: fix comparison error in soc component
...
Closes https://github.com/espressif/esp-idf/issues/6120
2020-12-02 12:23:17 +08:00
wangcheng
ee4fb9b182
components/bt: backport requires commit to release v4.1
2020-12-01 19:36:39 +08:00
Ivan Grokhotkov
29d5a4dcc3
examples: fix flash encryption example test
...
Commit 5e8795eebe has changed the partition table offset, which
has resulted in the ciphertext not matching the one expected in the
example test.
Fix by calculating the ciphertext using espsecure.py.
2020-12-01 18:30:11 +08:00
KonstantinKondrashov
f124c30b6f
example/flash_encryption: Fix partition table and sdkconfig.defaults
...
When the flash encryption is enabled then we do not need to change the partition table.
The partition_example.csv should not have fixed offsets for partitions because we want to move the whole table.
The fixed offsets in the table were cleared.
2020-12-01 17:01:45 +08:00
Shivani Tipnis
38b15816b4
ci: Fix blecent example test
...
(cherry picked from commit fc146a98e4 )
2020-11-30 22:41:12 +05:30
KonstantinKondrashov
3dddf0c81d
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
...
Closes: https://github.com/espressif/esp-idf/issues/6037
2020-11-30 23:33:48 +08:00
Krzysztof Budzynski
ea28da9b61
Merge branch 'docs/self_hosted' into 'release/v4.1'
...
docs: self host docs
See merge request espressif/esp-idf!10191
2020-11-26 13:45:21 +08:00
Island
de6d8c6521
Merge branch 'bugfix/ble_mesh_wifi_coexit_example_v4.1' into 'release/v4.1'
...
bugfix: Delete local variables to avoid null global variables (backport v4.1)
See merge request espressif/esp-idf!11371
2020-11-26 10:38:00 +08:00
InfiniteYuan
30e4f83127
bugfix: Delete local variables to avoid null global variables
2020-11-25 20:51:24 +08:00
David Cermak
3d4d56727a
ESP-NETIF: fix get/set hostname API to reflect user settings
...
On startup of the common interface (ethernet, wifi), the lwip netif hostname was assigned to confg value .
Fixed to assign to esp-netif hostname if it exists
Closes https://github.com/espressif/esp-idf/issues/4737
2020-11-24 14:00:05 +01:00
Angus Gratton
611160e90e
Merge branch 'bugfix/secure_boot_v2_manual_enablement_v4.1' into 'release/v4.1'
...
Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2. (v4.1)
See merge request espressif/esp-idf!11229
2020-11-24 15:46:12 +08:00
Angus Gratton
bb3bec200c
Merge branch 'bugfix/coredump_memregion_size_v4.1' into 'release/v4.1'
...
coredump: Fixes size of memory region used by espcoredump.py (backport v4.1)
See merge request espressif/esp-idf!8976
2020-11-24 13:18:51 +08:00
wangcheng
87669b23da
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:45:36 +08:00
wangcheng
f7e870e45d
component/bt: Fix a potential double free error.
2020-11-24 10:45:36 +08:00
wangcheng
7765b07898
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:45:36 +08:00
Marius Vikhammer
329ae0a987
docs: self host docs
...
Move doc hosting from readthedocs to espressif servers
Update CI, Sphinx configs and add IDF Sphinx theme
2020-11-24 02:16:02 +00:00
Krzysztof Budzynski
50efa84dc4
Merge branch 'docs/fix_a_broken_link_to_temp_sensor_esp32s2' into 'release/v4.1'
...
docs: fix a broken link for v4.1
See merge request espressif/esp-idf!11339
2020-11-23 19:11:43 +08:00
Angus Gratton
c57de0d6ca
Merge branch 'ci/fix_annotated_tag_check_v4.1' into 'release/v4.1'
...
ci: Fix annotated tag check (v4.1)
See merge request espressif/esp-idf!11332
2020-11-23 17:34:41 +08:00
Wang Fang
753eaa03a6
docs: fix a broken link for v4.1
2020-11-23 15:46:01 +08:00
Michael (XIAO Xufeng)
f59d1dfab9
Merge branch 'bugfix/freemodbus_fix_event_processing_after_destroy_v4.1' into 'release/v4.1'
...
freemodbus: fix event processing failure after destroy (backport v4.1)
See merge request espressif/esp-idf!9326
2020-11-23 14:33:47 +08:00
Angus Gratton
9a141cc0ce
ci: Fix annotated tag check
...
Regression in 1612f84
2020-11-23 17:28:21 +11:00
Michael (XIAO Xufeng)
a4c72cfa28
Merge branch 'bugfix/fix_iram_handler_call_inline_func' into 'release/v4.1'
...
Bugfix/fix iram handler call inline function uart_ll_is_tx_idle in flash (v4.1)
See merge request espressif/esp-idf!9951
2020-11-23 12:16:57 +08:00
Alex Lisitsyn
40636d6a49
uart: fix uart_ll_is_tx_idle to inline into handler correctly when opt for size
...
Closes https://github.com/espressif/esp-idf/issues/5694
2020-11-23 12:16:57 +08:00
aleks
62c44408c2
freemodbus: fix event processing failure after destroy
...
Closes https://github.com/espressif/esp-idf/issues/5275
2020-11-23 04:08:03 +00:00
Jiang Jiang Jian
e87d95f895
Merge branch 'bugfix/backport_master_to_v4.1' into 'release/v4.1'
...
Bugfix/backport master to v4.1
See merge request espressif/esp-idf!11316
2020-11-23 00:44:21 +08:00
wangcheng
6956d43f29
components/bt: Point the btlib to the latest branch.
2020-11-22 23:26:22 +08:00
Jiang Jiang Jian
d09d5479a8
Merge branch 'feature/light_sleep_reject_v4.1' into 'release/v4.1'
...
sleep: enable sleep reject when entering light sleep (backport v4.1)
See merge request espressif/esp-idf!9500
2020-11-22 20:48:39 +08:00
baohongde
f69fe10e7e
components/coex: Some bugfix about ble dynamic prio
...
Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update
Rewrite ble dynamic prio in connection establishment
Fix ble dynamic prio with latency
Fix status bit set error when conn fail
2020-11-22 20:37:10 +08:00
baohongde
9b274cc989
components/bt: Fix waking up fail while sleeping
2020-11-22 20:37:10 +08:00
baohongde
a64acef06f
components/bt: Make sleep avaliable in hli(for future use)
2020-11-22 20:37:10 +08:00
wangcheng
c33dc7afd1
components/bt: Fix BT controller dead issue caused by clk overflow
...
components/bt: Fix assert(10, 9), when the AFPM happens
2020-11-22 20:37:10 +08:00
wangcheng
2b19bc9efa
components/bt: fixed memory damage caused by bluetooth memory release
2020-11-22 20:37:10 +08:00
wangcheng
a8035d21ef
ble_mesh: add ble mesh coex test example
2020-11-22 20:37:10 +08:00
Jiang Jiang Jian
5b73ec939c
Merge branch 'bugfix/fix_some_wifi_bugs_1120_v4.1' into 'release/v4.1'
...
WiFi: fix some wifi bugs 1120 (backport v4.1)
See merge request espressif/esp-idf!11317
2020-11-22 20:07:37 +08:00
dongyou
d950d3b6b0
WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0
2020-11-22 18:05:12 +08:00
ronghulin
5a2445bb96
bugfix: fix TCP timer interval
2020-11-22 18:03:57 +08:00
ronghulin
f835edbf5c
fix TCP retransmission interval
2020-11-22 18:03:06 +08:00
Jan-Hendrik Frintrop
87bd31983c
Fixed links to example directories for fast_scan and scan
...
Signed-off-by: ronghulin <ronghulin@espressif.com >
https://github.com/espressif/esp-idf/pull/5186
2020-11-22 17:55:09 +08:00
Hrudaynath Dhabe
fc18d7972e
wpa_supplicant: Minor bugfix with wpa_supplicant debug logs.
2020-11-22 17:47:20 +08:00
Jiang Jiang Jian
8171579a5c
Merge branch 'feature/switch_from_external_to_interanl_ram_v4.1' into 'release/v4.1'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack (v4.1)
See merge request espressif/esp-idf!9968
2020-11-22 15:17:41 +08:00
Jiang Jiang Jian
4dd4a1a2e0
Merge branch 'bugfix/backport_some_lwip_bugs_1120_v4.1' into 'release/v4.1'
...
lw-ip:backport bugfix lwip for v4.1(backport 4.1)
See merge request espressif/esp-idf!11305
2020-11-21 15:28:00 +08:00
KonstantinKondrashov
d925b564cd
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-11-21 07:14:38 +00:00
Jiang Jiang Jian
941e7771d9
Merge branch 'feature/mqtt_submodule_update_23c8e1ec_v4.1' into 'release/v4.1'
...
MQTT: Update submodule reference to da850b (config, error flags, minor fixes) (v4.1)
See merge request espressif/esp-idf!11313
2020-11-21 15:13:18 +08:00
Jiang Jiang Jian
552baf659c
Merge branch 'bugfix/mdns_src_addr_cpy_v4.1' into 'release/v4.1'
...
mdns: Fix wrong mdns source address if lwIP IPv6 zoning disabled (v4.1)
See merge request espressif/esp-idf!11311
2020-11-21 15:11:05 +08:00
Jiang Jiang Jian
fee376dcdc
Merge branch 'bugfix/customer_baidu_psram_stack_backtrace_v4.1' into 'release/v4.1'
...
backport v4.1: added psram stack check in backtrace
See merge request espressif/esp-idf!8479
2020-11-20 22:33:26 +08:00
Hrudaynath Dhabe
7eada9f4d3
wpa_supplicant: Fix configurable debug log feature's warning issue
2020-11-20 22:26:44 +08:00
liu zhifu
3dc7dc9e97
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-11-20 22:13:19 +08:00
zhangyanjiao
2c85e830e0
esp_wifi: update wifi lib
2020-11-20 20:14:07 +08:00
liu zhifu
5de5eb5676
esp_wifi: optimize WiFi TX performance
2020-11-20 19:47:01 +08:00
Nachiket Kukade
ffc87ab7d9
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache with mismatching AP config
5. Use flag ESP32_WIFI_ENABLE_WPA3_SAE to control WPA3 code, disabling
it code footprint reduces by 7.7kB in libwpa_supplicant.a
6. Fix handling of multiple AP credentials in WPS, apps need update
to handle the new event for the fix to work
Closes https://github.com/espressif/esp-idf/issues/5971
2020-11-20 19:45:21 +08:00
ChenJianxing
b8991833ca
esp_wifi: remove wifi tx buffer limits
2020-11-20 19:43:28 +08:00
Xia Xiaotian
3dbff1638c
Wi-Fi: set softap beacon DTIM count according to TSF timer
2020-11-20 19:42:13 +08:00
GOPTIONS\pfrost
77e7b15190
Reduce log level of hexdumps to verbose
...
Revert "Reduce log level of hexdumps to verbose"
Add a menuconfig option to enable or disable the logging in wpa_supplicant
Clarify help message
2020-11-20 19:40:48 +08:00
aditi_lonkar
5707296aff
wifi: Fix esp_wifi log levels
2020-11-20 19:38:34 +08:00
kapil.gupta
2c995da190
ESP-WIFI: Optimize 4way handshake failure time
...
In case of wrong passpharse, AP will keep on sending 1/4 multiple
times which may take around 10 secs to disconnect and detect
wrong password event.
Add changes to reject EAPOL1 after 3 consecutive reception
2020-11-20 19:33:43 +08:00
Nachiket Kukade
0bd483bbf5
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com >
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com >
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com >
2020-11-20 19:00:55 +08:00
David Cermak
05314b6ce0
MQTT: Update submodule reference: config, error handle, minor fixes
...
Updates esp-mqtt reference to include fixes below related mainly to:
* configuration update (disable keepalive, network timeout)
* minor fixes (size_t for all sizes, unbalanced lock, api for
outbox-size)
* extended error handle to include socket's errno
Closes https://github.com/espressif/esp-idf/issues/5906
Config: Added config value to disable keepalive mechanism
esp-mqtt commit: 8562437c8a
Related https://github.com/espressif/esp-mqtt/issues/179
Added esp_mqtt_client_get_outbox_size API
esp-mqtt commit: 0a1d9d0300
Related https://github.com/espressif/esp-mqtt/pull/178
mqtt_outbox: Removed unused retry_count field from outbox_item_t
esp-mqtt commit: 673086e13a
config: Fixed typo for configuring OUTBOX_EXPIRED_TIMEOUT_MS
esp-mqtt commit: 259baaec96
Fixed missing MQTT_API_UNLOCK in esp_mqtt_client_stop error path
esp-mqtt commit: 845c2a3a1e
Related https://github.com/espressif/esp-mqtt/issues/173
Related https://github.com/espressif/esp-mqtt/pull/174
Extended mqtt error handle to capture transport's socket errno (IDF
v4.3+)
esp-mqtt commit: 23c8e1ecf5
Config: Added configuration value to set network timeout
esp-mqtt commit: a03228ac46
Related https://github.com/espressif/esp-mqtt/pull/166
Used size_t for all lengths to allow for other architectures
esp-mqtt commit: b9db8d9020
2020-11-20 10:25:25 +01:00
David Cermak
eec0934081
mdns: Fix wrong mdns source address if lwIP IPv6 zones disabled
...
The struct definition of ip6_addr_t in lwip and esp_ip6_addr_t
differs since zone could be possibly disabled in lwip. Using memcpy to copy the
address will cause wrong source address. Copy the entries manually
instead.
Merges https://github.com/espressif/esp-idf/pull/6055
2020-11-20 10:16:01 +01:00
Li Shuai
ab63824600
added psram stack check in backtrace
2020-11-20 07:13:11 +00:00
xueyunfei
62d1f3f9ba
backport bugfix lwip for v4.1
2020-11-20 14:40:26 +08:00
Jiang Jiang Jian
ae5603381d
Merge branch 'bugfix/backport_v4.1_fix_websocket_issue' into 'release/v4.1'
...
websocket_client: fix some issues for websocket client(backport v4.1)
See merge request espressif/esp-idf!11274
2020-11-20 14:02:32 +08:00
Jiang Jiang Jian
c3324a82a3
Merge branch 'bugfix/wpa3_pmkcache_expiry_workaround_v4.1' into 'release/v4.1'
...
wpa_supplicant: Increase PMK Lifetime to a very high value
See merge request espressif/esp-idf!11275
2020-11-19 16:27:45 +08:00
Island
be7b859198
Merge branch 'feat/ble_mesh_node_local_data_func_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add node local netkey/appkey func (v4.1)
See merge request espressif/esp-idf!11281
2020-11-19 11:22:55 +08:00
Jiang Jiang Jian
c2167f137a
Merge branch 'fix/protocomm_simple_ble_v4.1' into 'release/v4.1'
...
Protocomm/simple_ble: Fix gatt table map size to number of handles received (v4.1)
See merge request espressif/esp-idf!11266
2020-11-19 11:21:04 +08:00
Jiang Jiang Jian
b21f42b279
Merge branch 'optimize/ble_mesh_gattc_conn_param_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Update connection parameters used by Central (v4.1)
See merge request espressif/esp-idf!11284
2020-11-19 11:17:44 +08:00
lly
3873c9e260
ble_mesh: stack: Update connection interval to 15ms
2020-11-18 20:24:22 +08:00
lly
1fb0861b9c
ble_mesh: stack: Update connection parameters used by Central
2020-11-18 20:24:22 +08:00
lly
e989d59a4e
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-11-18 20:15:12 +08:00
lly
7b9c04b773
ble_mesh: stack: Add node local netkey/appkey func
2020-11-18 20:14:56 +08:00
Island
9798f2c9b0
Merge branch 'optimize/ble_mesh_reduce_code_size_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Optimization introduced to reduce code size (v4.1)
See merge request espressif/esp-idf!11249
2020-11-18 20:08:29 +08:00
Jiang Jiang Jian
0a8fd1d44b
Merge branch 'bugfix/backport_v4.1_fix_pthread_priority_inheritance' into 'release/v4.1'
...
pthread: fix the priority inheritance(backport v4.1)
See merge request espressif/esp-idf!11259
2020-11-18 17:28:35 +08:00
Nachiket Kukade
50cf0c2d24
wpa_supplicant: Increase PMK Lifetime to a very high value
...
For WPA3 connection nearing PMK lifetime expiry, PMK Cache
needs a re-authentication or the cache will expire. After
current expiry of 12 hours Station ends up sending a deauth
to the AP. An SAE re-authentication also cannot occur without
a disconnection with current implementation. So increase the
PMK lifetime to 100 days for now.
2020-11-18 12:36:52 +05:30
Jiang Jiang Jian
ae202d81ec
Merge branch 'bugfix/fix_ag_outging_callback_not_triggered_v4.1' into 'release/v4.1'
...
Bugfix/Fix Ag Example Outgoing Callback Not Triggered [backport v4.1]
See merge request espressif/esp-idf!11019
2020-11-18 11:40:07 +08:00
Jiang Jiang Jian
e645e2e5d6
Merge branch 'bugfix/fix_spp_read_flow_control_v4.1' into 'release/v4.1'
...
component_bt/fix spp flow control and vfs write [backport 4.1]
See merge request espressif/esp-idf!11073
2020-11-18 11:39:35 +08:00
Alexey Gerenkov
c78f5cde40
coredump: Fixes size of memory region used by espcoredump.py
2020-11-17 20:25:56 +03:00
Prasad Alatkar
f39b02f299
Protocomm/simple_ble: Make gatt table map size equal to number of handles received (v4.1)
...
- Fixes memcpy failure observed while adding 2 or more endpoints in
wifi_provisioning.
Closes IDF-2250
2020-11-17 15:59:06 +05:30
Jiang Jiang Jian
8eff4e7a47
Merge branch 'optimization/AP_STAIPASSIGNED_passes_IP_send_through_event_data_for_4.1' into 'release/v4.1'
...
esp-event:AP_STAIPASSIGNED now passes the IP through 'event_data'(backport 4.1)
See merge request espressif/esp-idf!11240
2020-11-17 17:45:56 +08:00
xutao
88ddddbd3f
websocket_client: fix some issues for websocket client
...
1. will post twice disconnect event when read error
2. will block `timeout` times when set disable_auto_connect
3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`,
if the `esp_websocket_client_send*` fails, the status will change to
'WEBSOCKET_STATE_WAIT_TIMEOUT', and the next `esp_websocket_client_start` will fail forever
2020-11-17 15:53:19 +08:00
xutao
61807f6e52
pthread: fix the priority inheritance
...
When `pthread_mutex_destroy` is used to release mutex, `pthread_mutex_lock_internal` is used,
which results in the increase of `uxmutexehold` and no recovery base priority
2020-11-17 14:46:09 +08:00
lly
c53fe053e7
ble_mesh: example: Update sdkconfig test files for disabling Health Server model
2020-11-17 11:06:34 +08:00
lly
230e8f5c92
ble_mesh: stack: Add a Kconfig option to make Health Server model optional
2020-11-17 11:06:34 +08:00
lly
c94d7fe982
ble_mesh: stack: Split model Kconfig menu into foundation and others
2020-11-17 11:06:34 +08:00
lly
ea1c51639f
ble_mesh: example: Fix fast provisioning compile error
2020-11-17 11:06:34 +08:00
lly
447d19776c
ble_mesh: ci: Add disabling mesh model sdkconfig test files
2020-11-17 11:06:34 +08:00
lly
dad5cc4aeb
ble_mesh: stack: Add Kconfig options to make server models optional
2020-11-17 11:06:33 +08:00
lly
e44307504a
ble_mesh: stack: Use Kconfig option to make client models optional
2020-11-17 11:06:33 +08:00
lly
a67d205468
ble_mesh: stack: Make some internal static functions inline
2020-11-17 11:06:33 +08:00
lly
22cfa7ea6a
ble_mesh: ci: Add disabling mesh deinit sdkconfig test files
2020-11-17 11:06:33 +08:00
lly
bc5ba60ceb
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-11-17 11:06:33 +08:00
lly
73733396cd
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-11-17 11:06:32 +08:00
Krzysztof Budzynski
4f74fd9e95
Merge branch 'bugfix/sleep_comments_v4.1' into 'release/v4.1'
...
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions (v4.1)
See merge request espressif/esp-idf!8567
2020-11-17 08:59:22 +08:00
Angus Gratton
09e669dba2
Merge branch 'bugfix/secure_boot_v2_key_gen_py3_v4.1' into 'release/v4.1'
...
esptool: Update submodule fixing Py3 keygen in Secure boot v2
See merge request espressif/esp-idf!11230
2020-11-17 07:38:43 +08:00
israel
467bf2f53f
AP_STAIPASSIGNED now passes the IP through 'event_data'
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com >
2020-11-16 17:32:14 +08:00
Anton Maklakov
3a5457efe4
ci: use the retry script to download
2020-11-16 11:36:35 +07:00
Angus Gratton
5bb72ea5cc
Merge branch 'bugfix/cmake_example_sdkconfig_path_v4.1' into 'release/v4.1'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project (v4.1)
See merge request espressif/esp-idf!10860
2020-11-16 12:14:00 +08:00
Angus Gratton
573f5de99a
Merge branch 'bugfix/window_spill_a0_corruption_v4.1' into 'release/v4.1'
...
freertos: don't clobber a4 while spilling register windows (backport v4.1)
See merge request espressif/esp-idf!10306
2020-11-13 16:27:45 +08:00
Supreet Deshpande
5b1a3b801f
esptool: Update submodule fixing Py3 keygen in Secure boot v2
2020-11-13 12:10:19 +05:30
Supreet Deshpande
18b4ae2a65
Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2.
...
Fixes https://github.com/espressif/esp-idf/issues/6050
2020-11-13 11:36:29 +05:30
Mahavir Jain
00fb496eda
Merge branch 'fix/esp_local_ctrl_update_expired_cert_v4.1' into 'release/v4.1'
...
esp_local_ctrl: Updated the expired cacert.pem (v4.1)
See merge request espressif/esp-idf!11207
2020-11-12 23:20:37 +08:00
David Čermák
ad7f8ed0ff
Merge branch 'feature/pppos_client_test_v4.1' into 'release/v4.1'
...
PPPoS client fixes for UART: REF_TICK, driver install after config (v4.1)
See merge request espressif/esp-idf!11197
2020-11-12 20:31:45 +08:00
Jiang Jiang Jian
5468184381
Merge branch 'bugfix/update_toolchain_5.2.0_psram_final_v4.1' into 'release/v4.1'
...
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5 (backport v4.1)
See merge request espressif/esp-idf!11101
2020-11-12 14:26:21 +08:00
Axel Lin
21dc6d1bf1
esp_modem: Ensure uart_param_config and uart pins are set before uart_driver_install
...
Fixes Guru Meditation Error: Core 0 panic'ed (LoadProhibited) when config with
CONFIG_PM_ENABLE=y && CONFIG_PM_DFS_INIT_AUTO=y.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Merges https://github.com/espressif/esp-idf/pull/4904
2020-11-12 07:15:39 +01:00
David Cermak
e4575b20a1
esp_modem: pppos_client modem to use uart with REF_TICK
...
pppos_client example used the UART default clock configuration which might
cause issues if power management enabled. Settings updated to UART_SCLK_REF_TICK
Also need to explicitly disable RX interrupts in UART pattern detection
mode.
Closes https://github.com/espressif/esp-idf/issues/4801
2020-11-12 07:13:13 +01:00
Jiang Jiang Jian
86dd11f176
Merge branch 'bugfix/esp_netif_ppp_setdefault_fix_v4.1' into 'release/v4.1'
...
ESP-NETIF: Set default interface for ppp netif must be called from lw_ip context (v4.1)
See merge request espressif/esp-idf!11196
2020-11-12 14:05:50 +08:00
Jiang Jiang Jian
29a995dd78
Merge branch 'bugfix/pppos_ignored_modem_start_return_v4.1' into 'release/v4.1'
...
pppos client: modem netif fix ignoring potential modem-start error (v4.1)
See merge request espressif/esp-idf!11199
2020-11-12 14:03:54 +08:00
Jiang Jiang Jian
d397767f5d
Merge branch 'bugfix/fix_esp_modem_mode_switch_timeout_v4.1' into 'release/v4.1'
...
fix esp_modem switch mode timeout (v4.1)
See merge request espressif/esp-idf!11198
2020-11-12 14:03:15 +08:00
Aditya Patwardhan
2357d05427
esp_local_ctrl: Updated the expired cacert.pem
2020-11-12 10:16:54 +05:30
Ivan Grokhotkov
b6b1cf216b
Revert "CXX: removed exception windowspill test"
...
This reverts commit f3e180de72 .
2020-11-11 14:43:15 +00:00
Ivan Grokhotkov
cf5ef7f0e1
freertos: don't clobber a4 while spilling register windows
...
Commit 891eb3b0 was fixing an issue with PS and EPC1 not being
preserved after the window spill procedure. It did so by saving PS in
a2 and EPC1 in a4. However the a4 register may be a live register of
another window in the call stack, and if it is overwritten and then
spilled to the stack, then the corresponding register value will end
up being corrupted. In practice the problem would show up as an
IllegalInstruction exception, when trying to return from a function
when a0 value was 0x40020.
Fix by using a0 register instead of a4 as scratch. Also fix a comment
about xthal_save_extra_nw, as this function in fact doesn't clobber
a4 or a5 because XCHAL_NCP_NUM_ATMPS is defined as 1.
Closes https://github.com/espressif/esp-idf/issues/5758
2020-11-11 14:43:15 +00:00
David Cermak
07c41378fb
pppos client: modem netif fix ignoring potential modem-start error
...
esp-modem netif glue layer implements esp-netif attach callback to setup corresponding driver functions and start the modem. The error code of esp_modem_start_ppp() was ignored and ESP_OK returned in all cases. Fixed by passing esp_modem_start_ppp()'s error code to post_attach callback.
Closes https://github.com/espressif/esp-idf/issues/5430
2020-11-11 14:25:05 +01:00
morris
e8834b66c5
fix esp_modem switch mode timeout
...
Closes https://github.com/espressif/esp-idf/issues/3506
Closes https://github.com/espressif/esp-idf/issues/4324
2020-11-11 14:19:23 +01:00
David Cermak
4c1ad38f79
esp-netif-ppp: support for setting ppp netif up and down
...
calling esp_netif_up() and esp_netif_down() was not supported if the
underlying netif wos of ppp type. Updated the code to enable setting
these interfaces up/down and registered actions in moden_netif glue for
connection/disconnection events to set the netif up/down.
2020-11-11 13:29:13 +01:00
David Cermak
b9d1afdb86
esp-netif: set default interface for ppp netif must be called from lwip context
...
On update of any interface (set up/down) a routing preference is updated calling esp_netif_update_default_netif() that is called from
lwip context. But if the related netif was ppp type, the set_default api used user-mode, thus causing a dead lock.
Closes https://github.com/espressif/esp-idf/issues/4746
2020-11-11 13:29:13 +01:00
Angus Gratton
f1d98671d2
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions
...
Closes https://github.com/espressif/esp-idf/issues/4681
Discussion https://esp32.com/viewtopic.php?f=13&t=15145
2020-11-11 17:34:42 +11:00
xiehang
2178f319c4
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5
2020-11-10 20:15:13 +08:00
He Yin Ling
a59a8edfc0
Merge branch 'bugfix/example_test_import_error_4.1' into 'release/v4.1'
...
bugfix: import error in example tests (4.1)
See merge request espressif/esp-idf!11047
2020-11-09 19:19:37 +08:00
Chen Yu Dong
fd10a095dd
ci: limit switching branches for auto_test_script
2020-11-06 17:19:54 +08:00
Jiang Jiang Jian
538b04bf14
Merge branch 'bugfix/fix_16mbit_psram_id_read_error_v4.1' into 'release/v4.1'
...
psram: fix 16mbit psram id read error (backport v4.1)
See merge request espressif/esp-idf!9426
2020-11-05 14:10:39 +08:00
Michael (XIAO Xufeng)
534b8a7940
spiram: fix the read id failure
...
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.
Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.
Issue introduced in 3ecbb59c15 .
2020-11-05 04:13:39 +00:00
chenjianqiang
cbf4d51ddb
psram: fix 16mbit psram id read error
2020-11-05 04:13:39 +00:00
Jiang Jiang Jian
91e435d662
Merge branch 'feature/lwip_tcp_isn_hook_v4.1' into 'release/v4.1'
...
lw-ip: enable TCP ISN hook (v4.1)
See merge request espressif/esp-idf!11063
2020-11-05 12:10:17 +08:00
Michael (XIAO Xufeng)
ab1f6299ff
Merge branch 'bugfix/fix_uart_module_enable_issue_v4.1' into 'release/v4.1'
...
Bugfix (uart): fix uart module reset issue (release/v4.1)
See merge request espressif/esp-idf!8592
2020-11-05 10:32:28 +08:00
Michael (XIAO Xufeng)
7cbf4c4330
Merge branch 'bugfix/fix_i2s_reset_issue_v4.1' into 'release/v4.1'
...
driver(I2S): Fix I2S reset issue for release/v4.1
See merge request espressif/esp-idf!9584
2020-11-05 09:05:50 +08:00
Michael (XIAO Xufeng)
32c3db089b
Merge branch 'bugfix/fix_i2c_slave_rxfifo_full_interrupt_bug_v.4.1' into 'release/v4.1'
...
Bugfix (I2C): fix I2C slave rxfifo_full interrupt enabled incorrectly bug (release/v4.1)
See merge request espressif/esp-idf!7679
2020-11-05 02:27:03 +08:00
Jiang Jiang Jian
c8289caa23
Merge branch 'mesh/bugfix_1023_backport_v4.1' into 'release/v4.1'
...
esp_wifi_mesh: update wifi mesh libs(Backport v4.1)
See merge request espressif/esp-idf!11080
2020-11-04 22:49:47 +08:00
Michael (XIAO Xufeng)
73381b5582
Merge branch 'bugfix/pcnt_interrupt_clear_v4.1' into 'release/v4.1'
...
pcnt: fix bug in clear interrupt status (v4.1)
See merge request espressif/esp-idf!10693
2020-11-04 19:43:01 +08:00
Michael (XIAO Xufeng)
5ca047ac9b
Merge branch 'bugfix/rmt_memory_write_multiple_blocks_v4.1' into 'release/v4.1'
...
rmt: fix TX data truncated issue (v4.1)
See merge request espressif/esp-idf!10904
2020-11-04 18:44:51 +08:00
houwenxiang
eda943b7c5
driver(uart): fix uart module reset issue (release/v4.1)
...
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.
2020-11-04 18:41:43 +08:00
houwenxiang
e76038ed76
driver(I2C): fix I2C slave rxfifo_full interrupt enabled incorrectly bug (release/v4.1)
2020-11-04 08:25:59 +00:00
houwenxiang
9f6f510ce2
driver(I2S): Fix I2S reset issue for release/v4.1
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-11-04 08:18:20 +00:00
Jiang Jiang Jian
f68b6e6c60
Merge branch 'bugfix/lwip_netdb_cpp_guards_v4.1' into 'release/v4.1'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code (v4.1)
See merge request espressif/esp-idf!11090
2020-11-04 15:18:14 +08:00
Jiang Jiang Jian
718efee074
Merge branch 'cherry-pick-65bee988' into 'release/v4.1'
...
esp_wifi: Add Failures Reason code in all WPS failure send event(backport v4.1)
See merge request espressif/esp-idf!11087
2020-11-04 15:07:55 +08:00
Ivan Grokhotkov
db2eec2096
Merge branch 'bugfix/ci_clone_https_v4.1' into 'release/v4.1'
...
ci: use HTTPS for cloning in IT jobs (v4.1)
See merge request espressif/esp-idf!11096
2020-11-03 21:45:47 +08:00
Ivan Grokhotkov
e552ea0d9c
ci: use HTTPS for cloning in IT jobs
2020-11-03 19:30:30 +08:00
mathiasbredholt
10526ca207
lwip: Changed to C linkage for fixing bug when using mixed C/C++ code
...
Merges https://github.com/espressif/esp-idf/pull/5900
2020-11-03 08:42:02 +01:00
Jiang Jiang Jian
55bb405583
Merge branch 'bugfix/wps_fail_reason_code' into 'master'
...
esp_wifi: Add Failures Reason code in all WPS failure send event
Closes WIFI-2947
See merge request espressif/esp-idf!10924
(cherry picked from commit 65bee98861 )
474c38a5 esp_wifi: Add WPS Reason code in all failures
2020-11-03 13:48:21 +08:00
Mahavir Jain
246e97c721
esp_netif: initialize TCP ISN hook if enabled in configuration
2020-11-02 14:27:33 +05:30
Mahavir Jain
3689b94882
lwip: provide configuration option to enable TCP ISN hook
2020-11-02 14:27:33 +05:30
Mahavir Jain
591606ba59
tcp_isn: use ROM APIs for md5 calculations
2020-11-02 14:27:26 +05:30
Mahavir Jain
2b351a936c
lwip: add custom TCP ISN hook implementation
...
Source:
https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/
2020-11-02 14:26:19 +05:30
liqigan
caee4c24a9
replace list and ringbuffer with fixed queue
...
use eventgroup to sync spp_vfs_write
each connection has a switch_delay_timer not sharing a one
revert functions like spp_find_slot_by_xxx
fix vfs read bug when peer close
2020-11-02 10:33:19 +08:00
liqigan
c3171252ec
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-11-02 10:33:19 +08:00
liqigan
8171702293
add event when calling spp API failed
2020-11-02 10:33:19 +08:00
Island
572ccd503f
Merge branch 'bugfix/fix_node_test_func_not_set_role_v4.1' into 'release/v4.1'
...
ble_mesh: test: Fix node test function not update role flag (v4.1)
See merge request espressif/esp-idf!11041
2020-10-30 21:05:40 +08:00
Angus Gratton
176f146678
Merge branch 'bugfix/err_to_name_paths_windows_v4.1' into 'release/v4.1'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows (v4.1)
See merge request espressif/esp-idf!10896
2020-10-30 15:12:43 +08:00
Ivan Grokhotkov
0cad7edf40
Merge branch 'bugfix/ldgen_section_windows_line_ending_v4.1' into 'release/v4.1'
...
tools/ldgen: Fix parsing of section names on Windows (v4.1)
See merge request espressif/esp-idf!11036
2020-10-30 03:55:20 +08:00
Chen Yu Dong
96a650169a
bugfix: import error in example tests
2020-10-29 21:14:54 +08:00
shenjun
a281b667bb
esp_wifi_mesh: update wifi mesh libs
...
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
2020-10-29 20:26:49 +08:00
lly
02c3881b7e
ble_mesh: test: Fix node test function not update role flag
2020-10-29 15:49:35 +08:00
Roland Dobai
1bc0f5ac0a
tools/ldgen: Fix parsing of sections names on Windows
2020-10-29 08:34:33 +01:00
liqigan
c89640103f
fix ag example outgoing callback not triggered
...
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-28 20:13:40 +08:00
Jiang Jiang Jian
e365d1ff60
Merge branch 'feature/esp_tls_for_supplicant_v4.1' into 'release/v4.1'
...
wpa_supplicant: Support for mbedtls tls handshake(backport v4.1)
See merge request espressif/esp-idf!9856
2020-10-28 19:29:55 +08:00
Jiang Jiang Jian
77eb201241
Merge branch 'bugfix/add_clear_bond_complete_evt_4_1' into 'release/v4.1'
...
componenet_bt/bugfix: add remove bond device complete event 4.1
See merge request espressif/esp-idf!10653
2020-10-28 16:03:35 +08:00
Jiang Jiang Jian
447708ef05
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect_4_1' into 'release/v4.1'
...
Bugfix/bredr bugfix release for qa dummy disconnect 4.1
See merge request espressif/esp-idf!10646
2020-10-28 16:03:21 +08:00
Jiang Jiang Jian
b6615a6c5a
Merge branch 'bugfix/wpa_supplicant_link_depth_v4.1' into 'release/v4.1'
...
wpa_supplicant: Fix failure to link under some circumstances (v4.1)
See merge request espressif/esp-idf!10977
2020-10-28 15:59:22 +08:00
Jiang Jiang Jian
634a5e9355
Merge branch 'bugfix/add_disconn_req_action_when_no_link_4.1' into 'release/v4.1'
...
Bugfix/add disconn req action when no link 4.1
See merge request espressif/esp-idf!10509
2020-10-28 14:27:10 +08:00
morris
353826cacc
rmt: fix RMT data trancate issue
...
Closes https://github.com/espressif/esp-idf/issues/5992
2020-10-27 19:43:11 +08:00
Michael (XIAO Xufeng)
abc2b2c968
Merge branch 'bugfix/fix_adc_dac_driver_ut_backport_v4.1' into 'release/v4.1'
...
bugfix(adc): add io init in adc dma driver for esp32 (backport v4.1)
See merge request espressif/esp-idf!10638
2020-10-26 22:04:29 +08:00
Jiang Jiang Jian
153c1f991d
Merge branch 'bugfix/fix_tsf_bug_v4.1' into 'release/v4.1'
...
WiFi: fix tsf bug (backport v4.1)
See merge request espressif/esp-idf!10948
2020-10-26 21:31:57 +08:00
Jiang Jiang Jian
976dc42931
Merge branch 'bugfix/wpa3_to_wpa2_transition_fix_v4.1' into 'release/v4.1'
...
wpa_supplicant: Fix WPA3 and WPA2 transition related failures (Backport v4.1)
See merge request espressif/esp-idf!9864
2020-10-26 15:09:13 +08:00
Angus Gratton
865c1dd3dc
wpa_supplicant: Fix failure to link under some circumstances
...
Depending on CMake internals, the wpa_supplicant library may need to be repeated
multiple times in the linker command line.
Closes https://github.com/espressif/esp-idf/issues/5641
2020-10-26 15:13:01 +11:00
Angus Gratton
c92efa0ae3
Merge branch 'bugfix/ldgen_unicode_path_v4.1' into 'release/v4.1'
...
tools/ldgen: Parse paths with Unicode characters in archives (v4.1)
See merge request espressif/esp-idf!10965
2020-10-26 12:08:07 +08:00
Jiang Jiang Jian
1e0bb9c4d3
Merge branch 'bugfix/fix_bredr_read_rssi_delta_v4.1' into 'release/v4.1'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr [backport v4.1]
See merge request espressif/esp-idf!10802
2020-10-26 11:47:45 +08:00
zhangyanjiao
d1d5de9aa5
esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally
2020-10-26 02:10:25 +00:00
He Yin Ling
de8a512228
Merge branch 'feature/move_auto_test_script_to_new_repo_4.1' into 'release/v4.1'
...
ci: move auto_test_script to new repo (backport 4.1)
See merge request espressif/esp-idf!10879
2020-10-24 09:25:00 +08:00
Chen Yu Dong
52c3aa87b5
ci: move auto_test_script to new repo (backport 4.1)
2020-10-24 09:24:59 +08:00
Roland Dobai
4836d295a8
tools/ldgen: Parse paths with Unicode characters in archives
...
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-23 13:43:55 +02:00
Jiang Jiang Jian
f4e6607e7e
Merge branch 'bugfix/ipv6_ping_error_when_src_ip_miss_for_4.1' into 'release/v4.1'
...
lw-ip:bugfix ipv6 ping error when src ip miss for 4.1(backport 4.1)
See merge request espressif/esp-idf!10933
2020-10-23 15:26:27 +08:00
Nachiket Kukade
af66eab249
wpa_supplicant: Fix WPA3 and WPA2 transition related failures
...
1. If Device is connected to AP in WPA3-PSK mode, AP switching
security to WPA2-PSK causes connection failures even after reset.
Fix is to not store WPA3's PMK in NVS for caching.
2. AP switching back to WPA3 causes even more connection failures.
This is due to device not clearing Supplicant level PMK Cache when
it is no longer valid. Fix is to clear the Cache when 4-way handshake
fails and to check Key Mgmt of Cache before using.
3. When AP switches from WPA3 to WPA2, device's PMF config in
Supplicant remains enabled. This may cause failures during
4-way handshake. So clear PMF config in when PMF is no longer used.
2020-10-22 10:05:02 +00:00
xueyunfei
16dd05981b
bugfix ipv6 ping error when src ip miss for 4.1
2020-10-21 20:46:39 +08:00
Mahavir Jain
da7eaade68
Merge branch 'bugfix/esp_idf_version_v4.1' into 'release/v4.1'
...
Add __ASSEMBLER__ flag in esp_idf_version.h to fix build failure with assembly files (v4.1)
See merge request espressif/esp-idf!10900
2020-10-21 20:08:22 +08:00
fuzhibo
365cc0c1c8
bugfix(adc): add io init in adc dma driver for esp32
2020-10-20 12:58:26 +00:00
Jiang Jiang Jian
5a0124a103
Merge branch 'bugfix/fix_some_wifi_bugs_0924_v4.1' into 'release/v4.1'
...
fix some wifi bugs 0924 (v4.1)
See merge request espressif/esp-idf!10613
2020-10-20 20:30:21 +08:00
Island
163bffd0c4
Merge branch 'bugfix/ble_mesh_autorsp_description_v4.1' into 'release/v4.1'
...
esp_ble_mesh: api: fixed comment about autoresp (v4.1)
See merge request espressif/esp-idf!10889
2020-10-19 16:34:03 +08:00
Shubham Kulkarni
20fd302201
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-19 13:21:52 +05:30
Marius Vikhammer
a20c4a79e6
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
...
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-19 14:38:57 +08:00
Michael (XIAO Xufeng)
68961436f1
Merge branch 'spi_dma_close_before_cpu_reset_v4.1' into 'release/v4.1'
...
spi: fix issue with closing DMA before CPU reset (4.1)
See merge request espressif/esp-idf!10824
2020-10-19 14:30:40 +08:00
andreachiara
dcde5626ad
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 11:00:30 +08:00
Angus Gratton
65f1be59ad
Merge branch 'bugfix/idf_py_disable_cmake_warnings_default_v4.1' into 'release/v4.1'
...
idf.py: disable cmake uninitialized variable warnings by default (v4.1)
See merge request espressif/esp-idf!10202
2020-10-19 06:34:15 +08:00
Armando
961af7f903
spi: fix issue with closing DMA before CPU reset
2020-10-16 06:39:01 +00:00
Angus Gratton
157ce5953a
cmake: Log the project sdkconfig path as part of normal CMake status output
...
As discussed in footnote to https://github.com/espressif/esp-idf/issues/5251#issuecomment-625563782
2020-10-16 10:11:52 +11:00
Angus Gratton
bdd7461235
examples: Move idf_as_lib sdkconfig file to the project directory
...
Also add some explanation about configuring the project in the README
Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-16 10:11:52 +11:00
David Čermák
d1c78c72d9
Merge branch 'bugfix/mdns_query_id_v4.1' into 'release/v4.1'
...
mdns: Responding: Fix query ID, add questions if not strict mode (v4.1)
See merge request espressif/esp-idf!10807
2020-10-15 22:43:58 +08:00
Ivan Grokhotkov
96469ad3dd
Merge branch 'bugfix/docker_gdb_python_v4.1' into 'release/v4.1'
...
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (backport v4.1)
See merge request espressif/esp-idf!10308
2020-10-15 16:01:44 +08:00
Martin Stejskal
3932df3966
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
...
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.
Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
2020-10-14 19:07:34 +00:00
Ivan Grokhotkov
ad78c86936
Merge branch 'feature/oocd_ver_backport_v4.1' into 'release/v4.1'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' (backport v4.1)
See merge request espressif/esp-idf!8435
2020-10-15 02:53:28 +08:00
Island
e810e4f036
Merge branch 'optimize/ble_mesh_make_buf_config_invisible_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Make mesh buf debug option invisible (v4.1)
See merge request espressif/esp-idf!10795
2020-10-13 19:51:38 +08:00
Island
27a6550800
Merge branch 'feat/ble_mesh_device_properties_v2_v4.1' into 'release/v4.1'
...
Feat/ble mesh device properties v2 (v4.1)
See merge request espressif/esp-idf!10788
2020-10-13 19:50:03 +08:00
lly
18c753ba67
ble_mesh: stack: Make mesh buf debug option invisible
2020-10-13 09:31:32 +00:00
lly
1b1139ed55
ble_mesh: stack: Add mesh device properties v2 definitions
...
Also fixes wrong characteristic value length of some device
properties.
2020-10-13 09:29:50 +00:00
lly
10a618e7b2
ble_mesh: stack: Move device property to model common part
2020-10-13 09:29:50 +00:00
Island
e877d96ee2
Merge branch 'bugfix/ble_mesh_proxy_cfg_replay_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh proxy cfg replay (v4.1)
See merge request espressif/esp-idf!10820
2020-10-13 17:24:04 +08:00
zhangyanjiao
4c1903a83e
esp_wifi:
...
1. Modify LR for esp32 and esp32s2
2. Fix esp32s2 RTS rate
3. Optimize some debug logs for probe response
4. Optimize phy and soc files
5. Fix the bug that no event for connect
6. drop receiving packets from myself
2020-10-13 16:22:22 +08:00
kapil.gupta
d9fa1f6436
wpa_supplicant: Fix IOT issue with latest freeradius
...
Fix inter operability issue with freeradius version 3.0.21
and openssl 1.1.1f when internal tls client is used which
requires extension elements in client hello.
closes https://github.com/espressif/esp-idf/issues/5273
closes https://github.com/espressif/esp-idf/issues/5627
2020-10-13 08:09:00 +00:00
kapil.gupta
1d59af5c84
wpa_supplicant: Fix invalid pointer deference and memleak
...
Add following changes as part of this:
1. EAP client will crash during validation of key size when CA
certs and keys not present. Add changes to validate it first.
2. Free memory allocated in TLS context
2020-10-13 08:09:00 +00:00
kapil.gupta
70fb594873
wpa_supplicant: Support for mbedtls tls handshake
...
Add support for mbedtls based tls handshake, this removes
dependency from internal implementation of EAP client.
2020-10-13 08:09:00 +00:00
lly
6dadc60c8e
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-10-13 14:28:44 +08:00
lly
79d7cb2751
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-10-13 14:28:44 +08:00
Island
d363fafb0b
Merge branch 'bugfix/ble_mesh_node_deinit_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Persistent storage misc fixes (v4.1)
See merge request espressif/esp-idf!10814
2020-10-13 14:07:04 +08:00
lly
0c136620d9
ble_mesh: stack: Persistent storage misc fixes
...
* Fix the issue that deinit node with "erase_flash"
set to true, but info is not erased from nvs
* Reuse bt_mesh_cfg_reset() when deinit node
* Optimize Provisioner related erase operations
* No store pending timeout will be used when Node
is not provisioned OR Provisioner is disabled
and erase operation is performed
* Change the default timeout for settings operation
to 0, and rpl store rate to 0
2020-10-13 10:54:18 +08:00
Island
c01f0a08fc
Merge branch 'bugfix/ble_mesh_settings_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh settings fix (v4.1)
See merge request espressif/esp-idf!10785
2020-10-13 10:50:03 +08:00
David Čermák
d94867aaac
Merge branch 'bugfix/fix_transport_ssl_blocking_v4.1' into 'release/v4.1'
...
transport: fix transport ssl blocking (v4.1)
See merge request espressif/esp-idf!10692
2020-10-12 21:42:16 +08:00
David Cermak
fcfc04c42a
mdns test: Add test to resolve esp32 hostname with DiG
2020-10-12 13:26:27 +02:00
David Cermak
2afcd77874
examples: Common connect component: Unregister shutdown handler on disconnection
...
To be able to connect smoothly after disconnecting, we have to unregister all handlers including shutdown handler on disconnection
2020-10-12 13:26:27 +02:00
David Cermak
12e86a7c1b
mdns: Support queries in responses in mDNS non-strict mode
...
By default adds original queries to responses in order to be resolved by some resolvers, such as lwIP mdns library. This functionality however is discouraged by the RFC6762, so it could be disabled in menuconfig if MDNS_STRICT_MODE configured
Closes https://github.com/espressif/esp-idf/issues/5521
2020-10-12 13:24:30 +02:00
David Cermak
e2b314522e
mdns: Fix include query ID in reponses
...
Closes https://github.com/espressif/esp-idf/issues/5574
2020-10-12 13:24:30 +02:00
xutao
87bcb95180
transport: fix transport ssl blocking
...
In SSL mode, if `esp_transport_poll_read` function is used, the cache data in mebdtls will be blocked
2020-10-12 10:11:22 +00:00
liqigan
ca42c8ec5c
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-10-12 17:55:53 +08:00
lly
d48b719e66
ble_mesh: stack: Use settings_core_erase when deinit
2020-10-12 08:47:49 +08:00
lly
cf500b3f47
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-10-12 08:47:49 +08:00
lly
ff88343a10
ble_mesh: stack: Continue restore even if failure happens
...
Previously we have used this solution for node info
restore. Here use the same solution for other mesh
information restore.
2020-10-12 08:47:49 +08:00
lly
66a798dbf2
ble_mesh: stack: Split model settings store and clear
2020-10-12 08:47:49 +08:00
lly
2598844423
ble_mesh: stack: Erase netkey and appkey with key index
2020-10-12 08:47:49 +08:00
lly
402fe837c1
ble_mesh: stack: Add clear hb_pub in settings
2020-10-12 08:47:49 +08:00
lly
e05d42d910
ble_mesh: stack: Transport rx reset settings update
...
When reset the rx info of transport layer, the
rpl list will always cleared, and rpl stored
in the nvs will only be erased when erase flag
is true and BLE_MESH_SETTINGS is enabled.
Compared with the previous solution, it should
be more clear.
2020-10-12 08:47:48 +08:00
lly
895dd44f8e
ble_mesh: stack: Use erase settings functions
2020-10-12 08:47:47 +08:00
lly
ecf065e2a6
ble_mesh: stack: Use mutex for settings operation
...
Also expose the settings functions with the parameter
bt_mesh_nvs_handle_t, which will be used for further
updates.
2020-10-12 08:47:46 +08:00
lly
5444c8a462
ble_mesh: stack: Add role check before enabling device
2020-10-12 08:47:45 +08:00
lly
4b27c84095
ble_mesh: stack: Define a type for mesh nvs handle
2020-10-12 08:47:45 +08:00
lly
53d7b12c29
ble_mesh: ci: Enable settings in sdkconfig.ci.xxx
2020-10-12 08:47:44 +08:00
Krzysztof Budzynski
5d258af93c
Merge branch 'feature/guide_change_for_catalina_v4.1' into 'release/v4.1'
...
docs: Add profile file name used by zsh shell (v4.1)
See merge request espressif/esp-idf!10773
2020-10-10 18:02:51 +08:00
Krzysztof
3bca931923
docs: Add profile file name used by zsh shell
2020-10-09 19:16:59 +02:00
Jiang Jiang Jian
751e0d205d
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check_v4.1' into 'release/v4.1'
...
NimBLE: host_rcv_pkt event buf size check. (v4.1)
See merge request espressif/esp-idf!10759
2020-10-09 15:19:41 +08:00
Chinmay Chhajed
0d25a9cff8
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-09 09:29:57 +05:30
Ivan Grokhotkov
580246d6ff
Merge branch 'gdb/bt_on_invalid_pc_v4.1' into 'release/v4.1'
...
gdb: Modify PC in case of invalid PC (v4.1)
See merge request espressif/esp-idf!10748
2020-10-08 17:42:53 +08:00
Angus Gratton
7caa230cf9
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci_v4.1' into 'release/v4.1'
...
CI: get git describe from annotated tags (v4.1)
See merge request espressif/esp-idf!10674
2020-10-08 16:44:18 +08:00
Mahavir Jain
e957cfe0eb
Merge branch 'bugfix/bootloader_anti_rollback_mmap_v4.1' into 'release/v4.1'
...
bootloader_support: fix issue in memory mapping for getting app descriptor (v4.1)
See merge request espressif/esp-idf!10735
2020-10-08 16:31:54 +08:00
Sachin Parekh
63c006ac91
gdb: Modify PC in case of invalid PC
...
Incase the PC is invalid, GDB will fail to translate addresses to
function names. To fix this, replace the invalid PC with a placeholder
address
2020-10-08 11:13:17 +05:30
Angus Gratton
c48760e2d1
Merge branch 'bugfix/embed_file_symbol_names_v4.1' into 'release/v4.1'
...
cmake: fix C identifier generation from embedded file (v4.1)
See merge request espressif/esp-idf!10665
2020-10-08 11:59:50 +08:00
Angus Gratton
9f49a27c12
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 13:57:19 +11:00
Angus Gratton
df61488e54
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 13:57:19 +11:00
Mahavir Jain
f7f81c33f7
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here ensures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-10-06 14:42:45 +05:30
Angus Gratton
dc66bcb5ac
Merge branch 'bugfix/efuse_test_stackoverflow_v4.1' into 'release/v4.1'
...
CI: Increase stack size for efuse unit test (Backport v4.1)
See merge request espressif/esp-idf!10547
2020-10-06 16:20:17 +08:00
Angus Gratton
15edb0d4b5
Merge branch 'bugfix/returns_correct_flash_encryption_mode_v4.1' into 'release/v4.1'
...
bootloader: Fix esp_get_flash_encryption_mode() (v4.1)
See merge request espressif/esp-idf!10713
2020-10-05 13:50:48 +08:00
Victor Lamoine
ccfe70872e
Fix ccache documentation: environment variable is IDF_CCACHE_ENABLE
...
Merges https://github.com/espressif/esp-idf/pull/5753
2020-10-05 05:35:02 +00:00
Angus Gratton
aecb2bd8ee
idf.py: Disable CMake --warn-uninitialized option by default
...
Can still be enabled by passing --cmake-warn-uninitialized on the command line
Prevents CMake warnings printed by default if IDF_PATH is underneath the CMake
project directory.
The reason for this is that CMake --warn-uninitialized only enables checks
inside the project directory (ie top-level CMakeLists.txt directory and
subdirectories), it doesn't enable for files included from other directories.
(The only way to enable warnings in other directories is to pass
--check-system-dirs and this looks like it's only useful for CMake's own
developers as it prints a lot of warnings from inside CMake otherwise - see
https://gitlab.kitware.com/cmake/cmake/-/issues/19645 )
Plan to follow up with a later commit to clean up most of the warnings (which
aren't problems for CMake execution), but we'll also disable this option by
default to avoid this unexpected triggering of IDF warnings.
2020-10-05 05:35:02 +00:00
Ivan Grokhotkov
37fb85b998
Merge branch 'bugfix/spi_flash_yield_coredump_v4.1' into 'release/v4.1'
...
spi_flash: don't call vTaskDelay in non-os context (v4.1)
See merge request espressif/esp-idf!10298
2020-10-03 14:52:55 +08:00
KonstantinKondrashov
66acb32665
bootloader: Fix esp_get_flash_encryption_mode(). RELEASE = (CRYPT_CNT == max) or (CRYPT_CNT.write_protect == true)
...
If the CRYPT_CNT efuse is max it means the same as a write protection bit for this efuse.
Closes: https://github.com/espressif/esp-idf/issues/5747
2020-10-01 14:29:43 +08:00
He Yin Ling
52baa25aa1
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:33:04 +08:00
morris
73a4063163
pcnt: fix bug in clear interrupt status
2020-09-30 11:12:33 +08:00
Renz Bagaporo
ef1d0b3d2e
cmake: fix C identifier generation from embedded file
2020-09-28 21:16:20 +08:00
Renz Bagaporo
e0ee809d7d
cmake: fix getting component requirements
2020-09-28 18:56:18 +08:00
baohongde
684ffdfe70
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-09-28 15:27:24 +08:00
baohongde
98e7bc3375
components/bt: Fix clear bond fail when connected without ble included
2020-09-28 15:26:56 +08:00
xiongweichao
9c4e79dafa
add remove bond device complete event
2020-09-28 15:26:48 +08:00
xiongweichao
09e48edd87
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 11:11:12 +08:00
xiongweichao
3db75c4e9d
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 11:10:54 +08:00
Krzysztof Budzynski
7b7c641076
Merge branch 'feature/docs-add-python-clean_v4.1' into 'release/v4.1'
...
docs: Add solution for ImportError in idf.py into the documentation (v4.1)
See merge request espressif/esp-idf!10631
2020-09-27 14:28:07 +08:00
Island
49ee45e89b
Merge branch 'optimize/ble_mesh_provisioner_delete_dev_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Optimize Provisioner delete device function (v4.1)
See merge request espressif/esp-idf!10604
2020-09-27 10:53:20 +08:00
martin.gano
c44bc3752f
docs: add description of python-clean command
2020-09-27 00:03:56 +02:00
Krzysztof Budzynski
5a0ee17ae2
Merge branch 'bugfix/remove_shortcut_to_build_instructions_v4.1' into 'release/v4.1'
...
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions (v4.1)
See merge request espressif/esp-idf!10607
2020-09-25 21:04:49 +08:00
Krzysztof
83482b8912
doc: Getting Started Guide, remove shortcuts to 'build toolchain from scratch' instructions
2020-09-25 16:05:49 +08:00
Krzysztof Budzynski
7b60e83fd0
Merge branch 'doc/remove_lts_versions_v4.1' into 'release/v4.1'
...
docs: Update Versions file in line with the latest Support Policy document (v4.1)
See merge request espressif/esp-idf!10601
2020-09-25 14:16:57 +08:00
lly
0e83f4b960
ble_mesh: stack: Optimize Provisioner delete device function
...
Since we have provided separate functions for deleting node
information with node's unicast address, device uuid, etc.
So we update the behavior of this function, which will only
be used to delete device information which is not provisioned
or just under provisioning.
2020-09-25 14:03:52 +08:00
Angus Gratton
dab3d1750e
docs: Update Versions file in line with the latest Support Policy document
2020-09-25 10:12:56 +10:00
Jiang Jiang Jian
4a1cfff12c
Merge branch 'bugfix/update_esp32_phy_4390_v4.1' into 'release/v4.1'
...
esp_wifi: update phy v4390.(backport v4.1)
See merge request espressif/esp-idf!10487
2020-09-24 14:14:10 +08:00
Jiang Jiang Jian
df7fc6c452
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages_v4.1' into 'release/v4.1'
...
flash_mmap: can mmap after get enough free MMU pages (backport v4.1)
See merge request espressif/esp-idf!10585
2020-09-24 14:13:46 +08:00
Jiang Jiang Jian
d5d05b053a
Merge branch 'bugfix/fix_build_err_in_cpp_backport_v4.1' into 'release/v4.1'
...
ble_hid_device_demo: fix build if building with c++ backport v4.1
See merge request espressif/esp-idf!9232
2020-09-24 13:05:10 +08:00
Jiang Jiang Jian
46238b6ef0
Merge branch 'doc/add_UUID_description_in_gattc_demo_backport_v4.1' into 'release/v4.1'
...
docs:add 128-bit UUID description backport v4.1
See merge request espressif/esp-idf!9225
2020-09-24 13:05:01 +08:00
Jiang Jiang Jian
1cffedd6d2
Merge branch 'cherry-pick-4dcaa0e6-2' into 'release/v4.1'
...
wpa_supplicant: Deinit wpa2 states in wifi deinit(backport v4.1)
See merge request espressif/esp-idf!10162
2020-09-24 13:04:18 +08:00
Jiang Jiang Jian
e14f4d3fdb
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj_4.1' into 'release/v4.1'
...
Confirmed bugfix from Baidu project 4.1
See merge request espressif/esp-idf!10545
2020-09-24 13:01:16 +08:00
Angus Gratton
d4e9953212
Merge branch 'bugfix/cpp_header_rom_secure_boot_v4.1' into 'release/v4.1'
...
Secure Boot: Fixes the cpp macro in esp32 secure boot rom functions.
See merge request espressif/esp-idf!10572
2020-09-24 12:25:22 +08:00
jiangguangming
387905a4ad
flash_mmap: restore interrupt and cache before err return
2020-09-24 09:59:06 +08:00
jiangguangming
0ff3ceba32
flash_mmap: can mmap after get enough free MMU pages
2020-09-24 09:59:06 +08:00
Jiang Jiang Jian
b29209e3db
Merge branch 'bugfix/ipv6_send_data_error_when_src_ip_miss_for_4.1' into 'release/v4.1'
...
lw-ip:ipv6 send multicast data fail when src address is null ( backport 4.1)
See merge request espressif/esp-idf!10559
2020-09-23 22:29:52 +08:00
Jiang Jiang Jian
805ee815d0
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v4.1' into 'release/v4.1'
...
wifi: Fix spin lock allocation in PSRAM bug(v4.1)
See merge request espressif/esp-idf!10552
2020-09-23 18:58:27 +08:00
Ivan Grokhotkov
8a849b29f2
Merge branch 'bugfix/panic_instr_fetch_prohibited_v4.1' into 'release/v4.1'
...
panic: skip over the first invalid PC in case of InstrFetchProhibited (v4.1)
See merge request espressif/esp-idf!10294
2020-09-23 17:00:16 +08:00
Supreet Deshpande
66315e71fe
Secure Boot: Fixes the cpp macro in esp32 secure boot rom functions.
...
Closes https://github.com/espressif/esp-idf/issues/5878
2020-09-23 02:57:30 +05:30
xueyunfei
e55af6c8a5
ipv6 send multicast data fail when src address is null for 4.1
2020-09-22 17:21:10 +08:00
David Čermák
b7fb9be045
Merge branch 'bugfix/openss_strict_verify_mode_4.1' into 'release/v4.1'
...
openssl: made verification mode conversion to mbetls modes more strict (v4.1)
See merge request espressif/esp-idf!10500
2020-09-22 16:33:02 +08:00
Angus Gratton
59ff505809
Merge branch 'bugfix/adjtime_return_outdelta_before_new_delta_set_v4.1' into 'release/v4.1'
...
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment (v4.1)
See merge request espressif/esp-idf!9972
2020-09-22 15:34:27 +08:00
dongyou
d95e91b344
Fix spin lock allocation in PSRAM bug
2020-09-22 14:28:18 +08:00
Jiang Jiang Jian
67b87e1bd8
Merge branch 'bugfix/fix_udp_tx_performance_issue_v4.1' into 'release/v4.1'
...
lw-ip: fix udp tx packet loss issue (backport v4.1)
See merge request espressif/esp-idf!10018
2020-09-22 14:16:12 +08:00
Marius Vikhammer
890a62b53e
CI: Increase stack size for efuse unit test
...
"Batch mode is thread-safe" case would occasionally cause a stackoverflow.
Increased stack size.
2020-09-22 12:00:33 +08:00
weitianhua
754c91f9e1
Confirmed bugfix from Baidu project
2020-09-22 11:46:01 +08:00
David Cermak
8350f2fb6e
openssl: made verification mode conversion to mbetls modes more strict
2020-09-21 13:21:41 +00:00
Angus Gratton
d83520060c
Merge branch 'bugfix/esp32s2_o2_op_v4.1' into 'release/v4.1'
...
freertos: fix build error at -O2 optimization level (v4.1)
See merge request espressif/esp-idf!10304
2020-09-21 15:15:16 +08:00
ChenJianxing
4b11a05391
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-09-21 11:08:47 +08:00
xiehang
4b662d1a22
lw-ip: fix udp tx packet loss issue
2020-09-21 10:58:43 +08:00
Michael (XIAO Xufeng)
214cc69fc1
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_4.1' into 'release/v4.1'
...
spi_master: correctly set cs polarity (4.1)
See merge request espressif/esp-idf!10392
2020-09-21 10:19:33 +08:00
Jiang Jiang Jian
1e526a5d7d
Merge branch 'bugfix/wifi_create_and_start_ap_v4.1' into 'release/v4.1'
...
Set default AP handlers in wifi_create_and_start_ap() v4.1
See merge request espressif/esp-idf!10457
2020-09-20 16:36:16 +08:00
Jiang Jiang Jian
167966380b
Merge branch 'docs/fix_event_typo_backport_v4.1' into 'release/v4.1'
...
docs/fix event typo backport v4.1
See merge request espressif/esp-idf!9383
2020-09-20 16:29:33 +08:00
Ivan Grokhotkov
e348a291ad
spi_flash: don't call vTaskDelay in non-os context
...
Fixes regression in core dump, when a crash happens in interrupt
context.
2020-09-18 15:34:32 +00:00
Ivan Grokhotkov
ecd9d2515f
Merge branch 'bugfix/parttool_example_test_fail_v4.1' into 'release/v4.1'
...
examples/parttool: fix the test to work on parallel test runner (backport v4.1)
See merge request espressif/esp-idf!10374
2020-09-18 23:30:45 +08:00
Mahavir Jain
88a3f963c4
Merge branch 'bugfix/provisioning_example_warning_with_O2_optimization_v4.1' into 'release/v4.1'
...
provisioning: use memcpy instead of strncpy for copying SSID (v4.1)
See merge request espressif/esp-idf!10495
2020-09-18 17:25:59 +08:00
martin.gano
6870c87aac
add file stream parameter and log stdout and stderr to same stream
2020-09-18 10:39:07 +02:00
weitianhua
f78c8cc0db
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-18 14:11:27 +08:00
weitianhua
e797e742f8
Add global header and change declaration position
2020-09-18 14:11:18 +08:00
weitianhua
627b5a4cae
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:11:10 +08:00
weitianhua
3c88fa5a1e
Rewrite a2dp clean_up function
2020-09-18 14:11:00 +08:00
weitianhua
8ad40cecb4
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-18 14:10:48 +08:00
Island
98b6fe8f30
Merge branch 'bugfix/ble_mesh_check_stack_init_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Check if mesh stack initialized before init vendor client (v4.1)
See merge request espressif/esp-idf!10482
2020-09-18 09:40:01 +08:00
Angus Gratton
5f5a398662
Merge branch 'backport/shared_stack_4.1' into 'release/v4.1'
...
Backport/shared stack 4.1
See merge request espressif/esp-idf!10302
2020-09-18 05:15:30 +08:00
Mahavir Jain
04b8564249
provisioning: use memcpy instead of strncpy for copying SSID
...
Per WiFi library requirement, SSID can be non-null terminated string
if its length goes to 32 bytes (maximum). Use of strncpy in this case,
along with compiler optimization level -O2 results in some warnings
for potential use of non-null terminated strings.
Fix here ensures use of memcpy to copy SSID string upto appropriate
desired length. This helps to avoid compiler specific workaround
flags added earlier.
Closes https://github.com/espressif/esp-idf/issues/5866
Closes IDFGH-3983
2020-09-17 15:54:23 +05:30
Ivan Grokhotkov
c2f46eb802
Merge branch 'feature/toolchain_2020r3_v4.1' into 'release/v4.1'
...
Update toolchain to esp-2020r3 (backport v4.1)
See merge request espressif/esp-idf!10389
2020-09-17 18:07:10 +08:00
Angus Gratton
bee6612ab9
Merge branch 'bugfix/doc_build_ut_cmdline_v4.1' into 'release/v4.1'
...
docs: Fixup format of a command line to build unit tests (backport v4.1)
See merge request espressif/esp-idf!9043
2020-09-17 17:43:35 +08:00
ChenJianxing
2c87065521
esp_wifi: update phy v4390.(backport v4.1)
2020-09-17 15:51:09 +08:00
Jiang Jiang Jian
f280be4a86
Merge branch 'bugfix/clean_wpa2_wifi_deinit' into 'master'
...
wpa_supplicant: Deinit wpa2 states in wifi deinit
See merge request espressif/esp-idf!10103
(cherry picked from commit 4dcaa0e6f4 )
06bc7f1d wpa_supplicant: Deinit wpa2 states in wifi deinit
2020-09-17 06:06:40 +00:00
Jakob Hasse
89523af91f
toolchain: C++ exception workaround
...
* disable C++ exception FDE sorting (saves RAM)
Closes IDF-1128
2020-09-17 10:51:39 +07:00
Anton Maklakov
c7ba54ed73
Update toolchain to esp-2020r3
...
Fixup more for PSRAM issue;
Allow GDB work correctly with Privileged Registers;
Based on GCC 8.4.0;
Update a fix of C++ exception crashs from the GCC mainline;
Fixup strptime_l() and some locale in libc;
2020-09-17 10:49:14 +07:00
lly
d1311d1e23
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-17 11:26:40 +08:00
Angus Gratton
94cb7e8b8f
Merge branch 'bugfix/cxx_flag_operators_v4.1' into 'release/v4.1'
...
esp_eth: moved extern "C" after includes (v4.1)
See merge request espressif/esp-idf!10352
2020-09-15 16:13:06 +08:00
Angus Gratton
01db565aef
Merge branch 'bugfix/ulp_as_version_v4.1' into 'release/v4.1'
...
ulp: fix ULP assembler version detection for localized systems (v4.1)
See merge request espressif/esp-idf!10394
2020-09-15 15:23:18 +08:00
Angus Gratton
e7b34b921d
Merge branch 'bugfix/eclipse_make_py3_v4.1' into 'release/v4.1'
...
tools: Fix Python 3 incompatibility for building with Eclipse on Windows (v4.1)
See merge request espressif/esp-idf!10399
2020-09-15 15:08:12 +08:00
Angus Gratton
ab98baff14
Merge branch 'bugfix/bootloader_skip_verify_jtag_v4.1' into 'release/v4.1'
...
bootloader_support: don't check signature when JTAG is attached (v4.1)
See merge request espressif/esp-idf!10379
2020-09-15 15:06:17 +08:00
dongyou
26bfb1cf10
Set default AP handlers in wifi_create_and_start_ap()
2020-09-15 14:53:11 +08:00
Angus Gratton
b022bb2770
Merge branch 'feature/portmux_debug_bump_timeout' into 'release/v4.1'
...
bugfix/freertos: increase portmux timeouts to avoid crashing when using debug feature
See merge request espressif/esp-idf!9957
2020-09-15 14:29:19 +08:00
Anton Maklakov
e1ad627a0f
docs: Fixup format of a command line to build unit tests
2020-09-15 16:21:44 +10:00
Sergei Silnov
9d359b814f
ci: Use git mirror for docker image
2020-09-14 12:49:29 +02:00
Michael (XIAO Xufeng)
1ced3f9750
Merge branch 'bugfix/add_return_in_uart_wait_tx_done_bp4.1' into 'release/v4.1'
...
bugfix(UART): Add return in uart_wait_tx_done(backport v4.1)
See merge request espressif/esp-idf!10336
2020-09-14 14:25:05 +08:00
Michael (XIAO Xufeng)
edb19cd748
Merge branch 'bugfix/fix_rtcio_adc_driver_for_esp32' into 'release/v4.1'
...
rtc(adc/rtcio): fix adc rtcio driver for esp32
See merge request espressif/esp-idf!8347
2020-09-14 10:57:26 +08:00
Island
9e8b44e353
Merge branch 'bugfix/ble_mesh_prov_iv_index_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Using the latest iv_index for provisioning (v4.1)
See merge request espressif/esp-idf!10417
2020-09-11 20:09:01 +08:00
Jiang Jiang Jian
df3aef80c0
Merge branch 'component/seperate_bta_jv_l2c_4.1' into 'release/v4.1'
...
Component/seperate bta jv l2c 4.1
See merge request espressif/esp-idf!9645
2020-09-11 19:38:00 +08:00
Jiang Jiang Jian
b204bc1bd6
Merge branch 'bugfix/change_pcm_config_position_4.1' into 'release/v4.1'
...
Bugfix/ Change PCM config position 4.1
See merge request espressif/esp-idf!10314
2020-09-11 19:35:55 +08:00
Jiang Jiang Jian
b131fffa84
Merge branch 'bugfix/add_protection_for_spp_api_4.1' into 'release/v4.1'
...
Bugfix/add protection for spp api 4.1
See merge request espressif/esp-idf!10282
2020-09-11 19:33:49 +08:00
lly
bca0b85fc3
ble_mesh: stack: Using the latest iv_index for provisioning
...
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 10:56:06 +08:00
Jiang Jiang Jian
445635fe45
Merge branch 'bugfix/fix_some_wifi_bugs_0907_v4.1' into 'release/v4.1'
...
bugfix: fix some wifi bugs (backport v4.1)
See merge request espressif/esp-idf!10315
2020-09-10 22:33:05 +08:00
Felipe Neves
10c498ae7d
expression_with_stack: added a tweak on TCB stackpointers to avoid false trigger of stack overflow
2020-09-10 10:00:32 -03:00
Jiang Jiang Jian
723c8d9899
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory_v4.1' into 'release/v4.1'
...
components/bt: Fix SPP using NULL point with dynamic memory
See merge request espressif/esp-idf!10323
2020-09-10 18:24:11 +08:00
Ivan Grokhotkov
97b1f0f60c
Merge branch 'init_priority_fix_v4.1' into 'release/v4.1'
...
CXX: make __attribute__((init_priority(n))) work (v4.1)
See merge request espressif/esp-idf!8444
2020-09-10 16:10:10 +08:00
Ivan Grokhotkov
b695152d43
Merge branch 'feature/nvs_allow_custom_part_4.1' into 'release/v4.1'
...
Feature/nvs allow custom part 4.1
See merge request espressif/esp-idf!9515
2020-09-10 16:08:36 +08:00
Roland Dobai
31f9c88269
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
2020-09-10 09:46:10 +02:00
Roland Dobai
28e393c062
ulp: fix ULP assembler version detection for localized systems
2020-09-10 09:35:45 +02:00
Wielebny666
67d7fad764
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
2020-09-10 14:48:37 +08:00
Mahavir Jain
ae72c7d417
Merge branch 'bugfix/secure_boot_v2_sign_cmake_copy_v4.1' into 'release/v4.1'
...
Add platform independent CMake copy during signing (v4.1)
See merge request espressif/esp-idf!9545
2020-09-10 14:41:26 +08:00
Island
e42c8d2f1f
Merge branch 'feat/ble_mesh_use_model_c_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Use model callback for operations [Zephyr] (v4.1)
See merge request espressif/esp-idf!10363
2020-09-10 10:39:54 +08:00
Island
b5df4843b2
Merge branch 'bugfix/ble_mesh_remove_assert_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Avoid using assert in mesh stack (v4.1)
See merge request espressif/esp-idf!10359
2020-09-10 10:39:00 +08:00
Island
33ddc213ad
Merge branch 'bugfix/ble_mesh_nimble_ccc_handle_v4.1' into 'release/v4.1'
...
ble_mesh: nimble: Fix updating ccc handle with wrong value (v4.1)
See merge request espressif/esp-idf!10355
2020-09-10 10:38:19 +08:00
Ivan Grokhotkov
42e694bb8f
bootloader_support: don't check signature when JTAG is attached
...
If an insecure configuration is enabled (no hardware secure boot, just
software signature check), skip the signature check in bootloader if
JTAG debugger is attached. This allows the debugger to set breakpoints
in Flash before the application runs.
Closes https://github.com/espressif/esp-idf/issues/4734
Closes https://github.com/espressif/esp-idf/issues/4878
2020-09-09 23:42:24 +02:00
Ivan Grokhotkov
48fda05b3e
examples/parttool: fix the test to work on parallel test runner
...
Pass the DUT port to parttool_example.py as an argument.
2020-09-09 18:37:06 +02:00
He Yin Ling
146c714541
Merge branch 'bugfix/remove_auto_conn_case_v4.1' into 'release/v4.1'
...
test: remove auto conn case because we do not support this anymore (v4.1)
See merge request espressif/esp-idf!9941
2020-09-09 15:55:05 +08:00
ronghulin
e9ece1255a
bugfix: fix some wifi bugs
...
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api
3. fix connect hidden AP doesn't update information
4. add rf test long short support
2020-09-09 07:34:40 +00:00
lly
c570f51b53
ble_mesh: stack: Use model callback for operations [Zephyr]
...
- Previously when a model is initialized or deinitialized, in the
access layer, we need to check the model id with the ids in the
table in order to find the proper model operation function.
- Currently all the operation functions of each model will be set
during the mesh initialization. When the model is found, we can
directly use the corresponding callback for different operations.
- Currently only init/deinit operations are registered, later we
will add more operations.
2020-09-09 14:00:21 +08:00
lly
67055161c1
ble_mesh: stack: Avoid using assert in mesh stack
2020-09-09 10:57:25 +08:00
Jakob Hasse
5c223e17cb
esp_eth: moved extern "C" after includes
2020-09-09 10:19:10 +08:00
Krzysztof Budzynski
aa8fffcd73
Merge branch 'bugfix/doc_main_readme_build_v4.1' into 'release/v4.1'
...
Fix the setup instructions in the main README (v4.1)
See merge request espressif/esp-idf!10338
2020-09-09 02:45:49 +08:00
lly
67ed9b5799
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-08 21:02:34 +08:00
Roland Dobai
7da1603a1c
Fix the setup instructions in the main README
2020-09-08 10:15:15 +02:00
Chen Yi Qun
824c358097
UART: Add return in uart_wait_tx_done
...
uart_wait_tx_done quit due to timeout but without return ESP_ERR_TIMEOUT.
2020-09-08 15:10:30 +08:00
Jiang Jiang Jian
5123c80060
Merge branch 'bugfix/ipv6_fragment_for_4.1' into 'release/v4.1'
...
lw-ip:fix bug for ipv6 fragment(backport4.1)
See merge request espressif/esp-idf!9648
2020-09-08 12:21:10 +08:00
baohongde
86cd54117e
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:45:33 +08:00
David Čermák
d425a25875
Merge branch 'feature/mqtt_sub_update_01594bf1_v4.1' into 'release/v4.1'
...
MQTT: Update submodule reference (Backport v4.1)
See merge request espressif/esp-idf!10231
2020-09-07 14:58:56 +08:00
David Čermák
217e95d4db
Merge branch 'bugfix/ws_stop_deadlock_v4.1' into 'release/v4.1'
...
Websocket client: avoid deadlock if stop called from event handler (Backport 4.1)
See merge request espressif/esp-idf!10227
2020-09-07 14:58:25 +08:00
Jiang Jiang Jian
7891ba1e24
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.1' into 'release/v4.1'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.1
See merge request espressif/esp-idf!10254
2020-09-07 14:11:57 +08:00
weitianhua
585120da0d
Change PCM config position
2020-09-07 10:34:34 +08:00
Ivan Grokhotkov
420d436199
freertos: fix compilation warning at -O2 level
...
Closes https://github.com/espressif/esp-idf/issues/5525
2020-09-04 21:39:10 +02:00
Felipe Neves
124ec431e6
test/shared_stack_printf: improved printf with shared stack function test
2020-09-04 16:03:51 -03:00
Ivan Grokhotkov
3a96d07e11
panic: skip over the first invalid PC in case of InstrFetchProhibited
...
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.
Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-09-04 20:56:03 +02:00
Jiang Jiang Jian
245047e82d
Merge branch 'feature/enable_pcm_config_v4.1' into 'release/v4.1'
...
Feature/enable pcm config v4.1
See merge request espressif/esp-idf!9654
2020-09-04 20:07:27 +08:00
Island
4e8ebc2463
Merge branch 'bugfix/ble_mesh_sensor_example_fix_v4.1' into 'release/v4.1'
...
ble_mesh: example: Fix sensor data wrong iteration (v4.1)
See merge request espressif/esp-idf!10274
2020-09-04 16:54:51 +08:00
wangcheng
e963390324
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:25:49 +08:00
Michael (XIAO Xufeng)
febabaa55a
Merge branch 'ci/test_spi_speed_psram_enabled_4.1' into 'release/v4.1'
...
driver test: disable the spi master performance test when psram is used (v4.1)
See merge request espressif/esp-idf!9638
2020-09-04 15:55:01 +08:00
weitianhua
b4dc11a409
Add protection for rfcomm close API in SPP
2020-09-04 14:41:34 +08:00
weitianhua
15111210a1
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-09-04 14:41:26 +08:00
lly
eff8dedb2b
ble_mesh: example: Fix sensor data wrong iteration
2020-09-04 11:55:14 +08:00
Hou Chen Yao
aefe9e0b03
remove auto conn case because we do not support this anymore
2020-09-04 03:32:19 +00:00
Mahavir Jain
da530f01dc
Merge branch 'bugfix/http_client_read_v4.1' into 'release/v4.1'
...
Fix error handling in esp_http_client_read and esp_https_ota_perform (v4.1)
See merge request espressif/esp-idf!9203
2020-09-03 19:58:33 +08:00
wangcheng
8acffd2931
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:45:26 +08:00
Shubham Kulkarni
39ef55261c
Increase receive timeout in sdkconfig.ci to fix CI failures
2020-09-02 12:30:51 +00:00
Shubham Kulkarni
101c1a953a
esp_https_ota.c: Add fix to return failure if (-1) is returned from esp_http_client_read
...
Closes https://github.com/espressif/esp-idf/issues/4960
2020-09-02 12:30:51 +00:00
Shubham Kulkarni
b9edf4783c
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
2020-09-02 12:30:51 +00:00
Island
da669efa0c
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.1)
See merge request espressif/esp-idf!10240
2020-09-02 14:20:44 +08:00
XieWenxiang
1f54e90bb4
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.1)
2020-09-02 11:15:27 +08:00
Michael (XIAO Xufeng)
444b5582a7
driver test: disable the spi master performance test when psram is used
2020-09-02 00:58:20 +08:00
Island
eca90124fb
Merge branch 'bugfix/ble_mesh_example_compile_warn_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh example compile warn (v4.1)
See merge request espressif/esp-idf!10223
2020-09-01 20:39:39 +08:00
weitianhua
645715c1b0
Enable PCM config in controller
2020-09-01 16:35:07 +08:00
weitianhua
887f5040da
Enable PCM config in host
2020-09-01 16:35:07 +08:00
Marius Vikhammer
1d4b8a742d
MQTT: Update submodule reference
...
SSL: add config option for skipping common name check
esp-mqtt commit: 5e8950e681 )
Closes https://github.com/espressif/esp-mqtt/issues/158
SSL: add support for tls with secure element (ATECC608A)
esp-mqtt commit: a7ff9afa3f )
Closes https://github.com/espressif/esp-mqtt/issues/156
Websocket: Allow the query part of the uri to be a part of the path
esp-mqtt commit: 40b06deb10 )
Closes https://github.com/espressif/esp-mqtt/issues/161
Config: Add check for consistency between config settings
esp-mqtt commit: 8a412c147d )
Add IDF version check for secure element feature
esp-mqtt commit: db4bce01ab )
Fix esp_mqtt_client_stop deadlock
esp-mqtt commit: 5e17dcaeb2 )
Closes https://github.com/espressif/esp-mqtt/issues/163
Add dispatch error event for read errors
esp-mqtt commit: d4aaec08ff
Closes https://github.com/espressif/esp-idf/issues/5704
Cleanup expired messages when offline
esp-mqtt commit: bdadd77c6e
Closes https://github.com/espressif/esp-idf/issues/5668
esp_mqtt_client_publish now returns msg id for QoS > 0 when offline
esp-mqtt commit: f7325bfa10
2020-09-01 16:00:49 +08:00
Marius Vikhammer
d28f1682fc
Websocket client: avoid deadlock if stop called from event handler
2020-09-01 15:38:12 +08:00
lly
41a3759314
ble_mesh: example: Remove some useless included header files
2020-09-01 14:11:39 +08:00
Carlos Sobrinho
3adfa1ac78
Fix compilation warnings about portmacro being already define.
2020-09-01 14:11:06 +08:00
Island
85e3c733ff
Merge branch 'bugfix/ble_mesh_client_msg_optimize_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh client msg optimize (v4.1)
See merge request espressif/esp-idf!10214
2020-09-01 09:34:09 +08:00
David Čermák
f6517cf4e7
Merge branch 'bugfix/ppp_netif_up_after_new_v4.1' into 'release/v4.1'
...
esp-netif: ppp netif to use netif_is_link_up() to update interface state (v4.1)
See merge request espressif/esp-idf!9425
2020-08-31 21:14:04 +08:00
David Čermák
636a719f4d
Merge branch 'feature/pin_ethernet_task_to_core_v4.1' into 'release/v4.1'
...
ethernet: support pin emac task to core (v4.1)
See merge request espressif/esp-idf!9037
2020-08-31 21:13:39 +08:00
lly
92ce5c1f23
ble_mesh: stack: Client model related code clean
2020-08-31 17:33:12 +08:00
lly
df1c6fd95c
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-31 17:33:11 +08:00
lly
bbe75af7a3
ble_mesh: stack: Check client msg result in common func
2020-08-31 17:33:11 +08:00
lly
4634ad6fa4
ble_mesh: stack: Fix no events for some error conditions
2020-08-31 17:33:10 +08:00
lly
5ccf6cd381
ble_mesh: stack: Move client role set to the msg function
2020-08-31 17:33:10 +08:00
lly
259d1924cb
ble_mesh: stack: Remove some not used client parameters
2020-08-31 17:33:09 +08:00
lly
1bd4fe1f50
ble_mesh: stack: Remove some not used variables & functions
2020-08-31 17:33:09 +08:00
lly
62458dbb90
ble_mesh: stack: Update client model msg send
2020-08-31 17:33:08 +08:00
Island
d81dbd48ed
Merge branch 'bugfix/ble_mesh_health_current_status_recv_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix recv health current status incorrectly (v4.1)
See merge request espressif/esp-idf!10208
2020-08-31 17:30:10 +08:00
Ivan Grokhotkov
0dea1b38cb
sleep: enable sleep reject when entering light sleep
2020-08-31 08:58:51 +00:00
David Čermák
e1115c951e
Merge branch 'bugfix/fix_static_analysis_rules_v4.1' into 'release/v4.1'
...
static analysis: Apply current limits of known defects (v4.1)
See merge request espressif/esp-idf!9282
2020-08-31 14:42:36 +08:00
David Čermák
2973114938
Merge branch 'bugfix/eth_insert_min_hw_reset_time_v4.1' into 'release/v4.1'
...
ethernet: insert min assert time for PHY HW reset (v4.1)
See merge request espressif/esp-idf!9580
2020-08-31 14:41:10 +08:00
David Čermák
2222f842d6
Merge branch 'bugfix/esp_netif_restart_dhcpc_v4.1' into 'release/v4.1'
...
esp_netif: Remove restarting DHCP client/server if it has already been started (backport v4.1)
See merge request espressif/esp-idf!10000
2020-08-31 14:40:14 +08:00
David Čermák
8b89fbe88b
Merge branch 'bugfix/ws_send_abort_v4.1' into 'release/v4.1'
...
websocket client: the client now aborts the connection if send fails. (v4.1)
See merge request espressif/esp-idf!9170
2020-08-31 14:38:40 +08:00
David Cermak
2c1bf3ec3b
esp-netif: ppp netif to use netif_is_link_up() to update interface state
...
Closes https://github.com/espressif/esp-idf/issues/5069
2020-08-31 06:38:17 +00:00
morris
aaa7476456
ethernet: support pin emac task to core
2020-08-31 06:36:23 +00:00
David Čermák
b72ab0b1f8
Merge branch 'bugfix/ethernet_handle_early_rx_interrupt_v4.1' into 'release/v4.1'
...
Bugfix/ethernet handle early rx interrupt (v4.1)
See merge request espressif/esp-idf!10099
2020-08-31 14:34:36 +08:00
lly
5704b13bc9
ble_mesh: stack: Fix recv health current status incorrectly
2020-08-31 13:57:12 +08:00
Island
32fa7c6c6c
Merge branch 'bugfix/ble_mesh_misc_updates_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh misc updates (v4.1)
See merge request espressif/esp-idf!10206
2020-08-31 13:42:06 +08:00
lly
d4348656ec
ble_mesh: ci: Enable friend & low power in build check
2020-08-31 11:23:36 +08:00
lly
c3b300064b
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-08-31 11:23:35 +08:00
lly
bbd9a8a44d
ble_mesh: stack: Make proxy server & client functions clear
2020-08-31 11:23:34 +08:00
fuzhibo
72f43489a5
rtc(adc/rtcio): fix adc rtcio driver for esp32
2020-08-31 03:19:58 +00:00
Island
5f9a48c352
Merge branch 'bugfix/ble_mesh_add_misc_check_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh add misc check (v4.1)
See merge request espressif/esp-idf!10198
2020-08-31 11:15:01 +08:00
Michael (XIAO Xufeng)
5b97931527
Merge branch 'feature/vfs_uart_set_line_ending_v4.1' into 'release/v4.1'
...
vfs: support vfs uart set line endings with specified uart number release/v4.1
See merge request espressif/esp-idf!9597
2020-08-30 22:33:11 +08:00
Angus Gratton
89d9b2ac27
Merge branch 'bugfix/mfg_tool_v4.1' into 'release/v4.1'
...
mfg_util: Update file handling to maintain line endings across various OS (backport v4.1)
See merge request espressif/esp-idf!10175
2020-08-28 18:23:14 +08:00
lly
72ce618f9a
ble_mesh: stack: Add proxy cfg pdu length check
2020-08-28 17:45:09 +08:00
lly
36dc7ae71e
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-08-28 17:45:08 +08:00
lly
7fa85d9a6a
ble_mesh: example: Add result check during mesh init
2020-08-28 17:45:08 +08:00
lly
7b57311a0e
ble_mesh: stack: Add more checks about input prov bearers
2020-08-28 17:45:07 +08:00
Island
6e52afaa2b
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc_v4.1' into 'release/v4.1'
...
Feat/ble mesh use iram for mem alloc (v4.1)
See merge request espressif/esp-idf!10186
2020-08-28 17:32:26 +08:00
lly
ad412850d0
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-08-28 06:07:17 +00:00
lly
20d33f27d6
ble_mesh: stack: Use macros for adv task name & prio
2020-08-28 06:07:17 +00:00
lly
34690034e6
ble_mesh: ci: Add psram configurations
2020-08-28 06:07:17 +00:00
lly
84012fa82f
ble_mesh: stack: Make freertos static allocation visible
2020-08-28 06:07:17 +00:00
lly
ffcd55bbf2
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-08-28 06:07:17 +00:00
Island
e1e082072c
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh fast prov misc update (v4.1)
See merge request espressif/esp-idf!9465
2020-08-28 14:03:10 +08:00
Island
329f7f8210
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.1)
See merge request espressif/esp-idf!9947
2020-08-28 13:55:28 +08:00
Island
0cc8639e2f
Merge branch 'bugfix/ble_mesh_update_send_ttl_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh update send ttl (v4.1)
See merge request espressif/esp-idf!10159
2020-08-28 10:43:43 +08:00
XieWenxiang
a88420c860
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.1)
2020-08-28 07:10:11 +08:00
Jiang Jiang Jian
21ef71fa2b
Merge branch 'bugfix/customer_baidu_int_wdt_v4.1' into 'release/v4.1'
...
backport v4.1: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9209
2020-08-27 22:44:56 +08:00
Jiang Jiang Jian
346f09bf1c
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v4.1' into 'release/v4.1'
...
fix some wifi bugs 0703 (v4.1)
See merge request espressif/esp-idf!9517
2020-08-27 22:44:25 +08:00
lly
ce4a8af3c7
ble_mesh: stack: Update some fast prov functions
2020-08-27 14:36:58 +00:00
lly
e3a7fb2fd4
ble_mesh: stack: Move fast prov functions to a single file
2020-08-27 14:36:58 +00:00
Island
9b9ff7b183
Merge branch 'bugfix/ble_mesh_split_tinycrypt_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh split tinycrypt (v4.1)
See merge request espressif/esp-idf!10160
2020-08-27 22:26:38 +08:00
lly
7308f60a74
ble_mesh: ci: Fix failing to compile when using make
2020-08-27 10:57:51 +00:00
lly
50fc403018
ble_mesh: Mark platform related default RNG as 0
2020-08-27 10:57:51 +00:00
lly
0b65005ffd
ble_mesh: Remove the previously added redundant aes files
2020-08-27 10:57:51 +00:00
lly
60ba33afa9
ble_mesh: Update CMake and make files for tinycrypt
2020-08-27 10:57:51 +00:00
lly
d90f3f9119
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-08-27 10:57:51 +00:00
lly
7d40d308bb
ble_mesh: Format source and header files of tinycrypt
2020-08-27 10:57:51 +00:00
lly
0dda8869cd
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-08-27 10:57:51 +00:00
Island
8a0ae62a03
Merge branch 'bugfix/ble_mesh_compile_error_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh proxy compile error (v4.1)
See merge request espressif/esp-idf!9431
2020-08-27 18:03:01 +08:00
Island
6c15b3c44e
Merge branch 'bugfix/ble_mesh_example_tag_define_v4.1' into 'release/v4.1'
...
ble_mesh: Move TAG definition to each example (v4.1)
See merge request espressif/esp-idf!10171
2020-08-27 18:02:49 +08:00
Shivani Tipnis
4680bae94d
mfg_util: Update file handling to maintain line endings across various OS
...
Fixes: https://github.com/espressif/esp-idf/issues/4888
2020-08-27 11:55:32 +05:30
Island
ce0189dd5a
Merge branch 'bugfix/ble_mesh_readme_fix_v4.1' into 'release/v4.1'
...
ble_mesh: example: Fix example README & tutorial link error (v4.1)
See merge request espressif/esp-idf!9435
2020-08-27 14:24:27 +08:00
lly
90403c658c
ble_mesh: Move TAG definition to each example
...
Move the TAG definition of each example to the corresponding
source file (previously it is defined in the common example
intialization header file), which can avoid the redefinition
of TAG in some situations.
2020-08-27 06:00:01 +00:00
Island
c4c3696d9b
Merge branch 'bugfix/ble_mesh_example_nvs_store_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh example nvs store (v4.1)
See merge request espressif/esp-idf!9016
2020-08-27 13:58:45 +08:00
Jiang Jiang Jian
ca5c632b38
Merge branch 'workaround/wps_iot_fixes_v4.1' into 'release/v4.1'
...
wpa_supplicant: WPS Inter operatability Fixes( backport v4.1)
See merge request espressif/esp-idf!8952
2020-08-27 11:42:21 +08:00
Angus Gratton
a7bd982556
Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition_v41' into 'release/v4.1'
...
Bugfix/espcoredump fix error reported for blank partition (Backport v4.1)
See merge request espressif/esp-idf!9628
2020-08-27 08:46:59 +08:00
Alex Lisitsyn
8647e5a839
Bugfix/espcoredump fix error reported for blank partition (Backport v4.1)
2020-08-27 08:46:58 +08:00
Angus Gratton
065d64555d
Merge branch 'bugfix/idf_py_help_env_var_v4.1' into 'release/v4.1'
...
Tools: Mention ESPPORT and ESPBAUD in idf.py --help (v4.1)
See merge request espressif/esp-idf!9291
2020-08-27 08:46:43 +08:00
Angus Gratton
2a3ecaa926
Merge branch 'feature/pyc_clean_v4.1' into 'release/v4.1'
...
tools/idf.py: Clean Python bytecode files (v4.1)
See merge request espressif/esp-idf!9263
2020-08-27 08:46:38 +08:00
Angus Gratton
b76c3afa3a
Merge branch 'bugfix/no_pyc_files_v4.1' into 'release/v4.1'
...
tools: Don't generate pyc files (v4.1)
See merge request espressif/esp-idf!8970
2020-08-27 08:46:30 +08:00
kapil.gupta
ab7eafa3b8
wpa_supplicant: WPS Inter operatability Fixes
...
Add WPS IOT fixes under config option
Current fixes under this flag.
1. Allow NULL-padded WPS attributes.
2. Bypass WPS-Config method validation
2020-08-26 08:49:43 +00:00
Nachiket Kukade
367397385e
wpa_supplicant: Allow NULL-padded WPS attributes
...
Some AP's keep NULL-padding at the end of some variable length WPS
Attributes. This is not as par the WPS2.0 specs, but to avoid interop
issues, ignore the padding by reducing the attribute length by 1.
2020-08-26 08:49:43 +00:00
lly
632cfa5a82
ble_mesh: Add nvs operations for examples
...
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info
Closes https://github.com/espressif/esp-idf/issues/5359
2020-08-26 08:28:12 +00:00
lly
6dddeaec5b
ble_mesh: Add mesh example common nvs operations
2020-08-26 08:28:12 +00:00
lly
8988fb9b8d
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-08-26 08:28:12 +00:00
lly
bd187b022f
ble_mesh: Add more checks of net_idx & app_idx
2020-08-26 08:28:12 +00:00
lly
7ba69e5439
ble_mesh: Optimize some send & recv logs
2020-08-26 08:28:12 +00:00
lly
75af20e687
ble_mesh: stack: Add two application macros for TTL
2020-08-26 16:12:26 +08:00
lly
5952694160
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-08-26 16:12:26 +08:00
lly
1c87f1df05
ble_mesh: example: Fix example README & tutorial link error
2020-08-26 16:03:36 +08:00
Island
e40e694cf9
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh set recv rssi (v4.1)
See merge request espressif/esp-idf!9400
2020-08-26 15:56:02 +08:00
lly
476a54886f
ble_mesh: ci: Add different proxy configurations
2020-08-26 07:50:10 +00:00
lly
45f7edd4f2
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-08-26 07:50:10 +00:00
weitianhua
fea61290d3
Fix tsk watchdog when running spp vfs demo
2020-08-26 15:30:26 +08:00
weitianhua
899ef49272
Seperate BTA_JV_L2CAP for less bin size
2020-08-26 15:30:26 +08:00
Island
ade43317ca
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.1' into 'release/v4.1'
...
ble_mesh: Get node info with pre-configured node name (v4.1)
See merge request espressif/esp-idf!10145
2020-08-26 15:28:15 +08:00
xiehang
58d37de620
esp_wifi: Add API to get available internal heap size.
2020-08-26 12:06:26 +08:00
zhangyanjiao
1e8f68f829
esp_wifi:
...
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. If AP's tsf has been restarted, STA will disconnect from AP.
5. Do not reset softAP's tsf except it restart
6. Fix the WiFi regdomain update bug
7. Fix WiFi fragment issue
2020-08-26 12:05:50 +08:00
Jiang Jiang Jian
a27ea5a6c8
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.1' into 'release/v4.1'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9339
2020-08-26 11:33:12 +08:00
Angus Gratton
d54f4bd691
Merge branch 'bugfix/idf_build_process_default_v4.1' into 'release/v4.1'
...
cmake: fix issue with setting defaults in idf_build_process (v4.1)
See merge request espressif/esp-idf!9712
2020-08-26 07:58:54 +08:00
xueyunfei
84c0fde0e8
fix bug for ipv6 fragment
2020-08-25 17:43:13 +08:00
lly
292333a27c
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-08-25 09:35:34 +08:00
Island
1c8ce47465
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.1' into 'release/v4.1'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.1)
See merge request espressif/esp-idf!9396
2020-08-24 17:20:12 +08:00
lly
bd59c89540
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883 ,
copy the recv_rssi for other mesh messages.
2020-08-24 08:52:05 +00:00
mbroek
c3fe42250c
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-08-24 08:52:05 +00:00
houwenxiang
f664527eb4
vfs: support vfs uart set line endings with specified uart number (release/v4.1)
2020-08-24 15:37:44 +08:00
Angus Gratton
9b7dca3769
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_v4.1' into 'release/v4.1'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image (v4.1)
See merge request espressif/esp-idf!9953
2020-08-24 13:37:27 +08:00
Angus Gratton
24efb6308d
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v4.1' into 'release/v4.1'
...
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init (v4.1)
See merge request espressif/esp-idf!9495
2020-08-24 13:36:51 +08:00
Chinmay Chhajed
6f22d7590e
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.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-08-24 10:27:04 +05:30
Jiang Jiang Jian
91903234a9
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.1' into 'release/v4.1'
...
Bugfix/fix event bug in GAP API [backport v4.1]
See merge request espressif/esp-idf!9192
2020-08-24 12:34:30 +08:00
Jiang Jiang Jian
294a00c15d
Merge branch 'feature/esp_spp_stop_srv_v4.1' into 'release/v4.1'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.1]
See merge request espressif/esp-idf!10011
2020-08-24 12:34:04 +08:00
Jiang Jiang Jian
55203e9c09
Merge branch 'bugfix/wifi_deinit_stop_crash_v4.1' into 'release/v4.1'
...
esp_wifi: fix the crash when wifi stop after deinit (v4.1)
See merge request espressif/esp-idf!10030
2020-08-24 12:32:58 +08:00
Jiang Jiang Jian
a40a5405b7
Merge branch 'feature/make_tcp_rto_configurable_v4.1' into 'release/v4.1'
...
make TCP rto time configurable (backport v4.1)
See merge request espressif/esp-idf!9212
2020-08-24 12:32:23 +08:00
Jiang Jiang Jian
c547044f28
Merge branch 'bugfix/fix_error_in_ag_api_4.1' into 'release/v4.1'
...
Fix error of AG API return line v4.1
See merge request espressif/esp-idf!9604
2020-08-24 12:32:21 +08:00
Jiang Jiang Jian
d4af9d1ce4
Merge branch 'bugfix/fix_hci_max_page_num_v4.1' into 'release/v4.1'
...
bugfix/Support for more Bluetooth HID devices [backport v4.1]
See merge request espressif/esp-idf!9661
2020-08-24 12:31:22 +08:00
Jiang Jiang Jian
bb0fe3785f
Merge branch 'bugfix/fix_softap_mode_wpa_memory_leak_issue_v4.1' into 'release/v4.1'
...
bugfix: fix softap mode wpa memory leak (backport v4.1)
See merge request espressif/esp-idf!9846
2020-08-24 12:30:37 +08:00
Jiang Jiang Jian
84b9ce81bb
Merge branch 'bugfix/fix_get_bond_device_list_v4.1' into 'release/v4.1'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.1]
See merge request espressif/esp-idf!9667
2020-08-24 12:30:07 +08:00
Jiang Jiang Jian
6b1473e084
Merge branch 'bugfix/fix_ping_specify_length_issue_v4.1' into 'release/v4.1'
...
bugfix: fix ICMP specify length issue (backport v4.1)
See merge request espressif/esp-idf!9402
2020-08-24 12:29:41 +08:00
Jiang Jiang Jian
975b8d228f
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v4.1' into 'release/v4.1'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v4.1)
See merge request espressif/esp-idf!9936
2020-08-24 12:28:25 +08:00
Jiang Jiang Jian
a36a020657
Merge branch 'bugfix/connect_param_check_and_channel_map_bugs_v4.1' into 'release/v4.1'
...
components/bt:Fix channel map instant reverse and add ble connect paramter check.(backport 4.1)
See merge request espressif/esp-idf!9235
2020-08-24 12:27:59 +08:00
Jiang Jiang Jian
788fe71b6b
Merge branch 'nimble/nrpa_support_v4.1' into 'release/v4.1'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v4.1)
See merge request espressif/esp-idf!9740
2020-08-24 12:27:03 +08:00
Jiang Jiang Jian
9c96e4554c
Merge branch 'mesh/bugfix_set_type_4.1' into 'release/v4.1'
...
mesh/bugfix (backport 4.1)
See merge request espressif/esp-idf!9111
2020-08-24 12:25:26 +08:00
Michael (XIAO Xufeng)
c9ca1fbe78
Merge branch 'bugfix/fix_touch_sensor_api_backport_v4.1' into 'release/v4.1'
...
(High priority) driver(touch): fix touch sensor driver redundancy (backport v4.1)
See merge request espressif/esp-idf!9872
2020-08-23 16:08:49 +08:00
Krzysztof Budzynski
e3e5a41bc9
Merge branch 'doc/broken_readme_links_v4.1' into 'release/v4.1'
...
Docs: Fix broken README links (v4.1)
See merge request espressif/esp-idf!9502
2020-08-22 00:40:19 +08:00
Krzysztof Budzynski
c47cbe8139
Merge branch 'docs/doc138_backport_v4.1' into 'release/v4.1'
...
Fix incorrect redirect link in getting started guide (backport v4.1)
See merge request espressif/esp-idf!9719
2020-08-22 00:38:37 +08:00
Krzysztof Budzynski
d2fd9c10b3
Merge branch 'doc/freertos_backport_v4.1' into 'release/v4.1'
...
add a note about ESP-IDF FreeRTOS version (backport v4.1)
See merge request espressif/esp-idf!9811
2020-08-22 00:18:25 +08:00
lly
3d888ca777
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-08-21 12:58:34 +00:00
Island
2a5679c253
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh model recv fix (v4.1)
See merge request espressif/esp-idf!9007
2020-08-21 20:37:53 +08:00
Island
b7259bab36
Merge branch 'bugfix/ble_mesh_local_model_sub_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh local model sub (v4.1)
See merge request espressif/esp-idf!8983
2020-08-21 20:37:37 +08:00
He Yin Ling
a3f71eeeb4
Merge branch 'test/merge_ble_mesh_node_and_provioner_in_console_v4.1' into 'release/v4.1'
...
Test:merge ble mesh node and provioner in console (backport v4.1)
See merge request espressif/esp-idf!9912
2020-08-21 20:00:34 +08:00
Lu Chang Jie
3512a775bc
Test:merge ble mesh node and provioner in console
2020-08-21 20:00:32 +08:00
Michael (XIAO Xufeng)
869742de00
Merge branch 'bugfix/freemodbus_fix_long_frame_buffer_failure_backport4_1' into 'release/v4.1'
...
freemodbus: freemodbus fix long frame buffer failure (backport v4.1)
See merge request espressif/esp-idf!8197
2020-08-21 18:59:45 +08:00
Michael (XIAO Xufeng)
2a4e91553d
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.1' into 'release/v4.1'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.1)
See merge request espressif/esp-idf!9553
2020-08-21 18:58:25 +08:00
Michael (XIAO Xufeng)
fc1f1902a8
Merge branch 'bugfix/gpio_hold_function_for_esp32' into 'release/v4.1'
...
Bugfix/gpio hold function for esp32 (backport v4.1)
See merge request espressif/esp-idf!9175
2020-08-21 18:50:23 +08:00
lly
9ba5899206
ble_mesh: correct the return type [Zephyr]
2020-08-21 07:21:15 +00:00
lly
6b6cf151cf
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-08-21 07:21:15 +00:00
lly
897acd6a1d
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-08-21 07:21:15 +00:00
lly
cc36e415c0
ble_mesh: Local model (un)subscribes group address
2020-08-21 07:18:44 +00:00
lly
a43e5feee8
ble_mesh: Define a macro for invalid company id
2020-08-21 07:18:44 +00:00
Island
ab6139b9df
Merge branch 'bugfix/ble_mesh_check_model_status_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Check model status with variable length (v4.1)
See merge request espressif/esp-idf!9399
2020-08-21 14:57:03 +08:00
Island
6e42afb45b
Merge branch 'bugfix/ble_mesh_not_define_bool_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh not define bool (v4.1)
See merge request espressif/esp-idf!9394
2020-08-21 14:56:46 +08:00
Island
252aaf2ab7
Merge branch 'bugfix/ble_mesh_bt_hex_v4.1' into 'release/v4.1'
...
ble_mesh: Fix wrong log output with bt_hex (v4.1)
See merge request espressif/esp-idf!9393
2020-08-21 14:56:34 +08:00
Island
9ff30e81c5
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.1' into 'release/v4.1'
...
ble_mesh: Remove relay option dependency (v4.1)
See merge request espressif/esp-idf!9026
2020-08-21 14:56:23 +08:00
Island
7bc32cb773
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.1' into 'release/v4.1'
...
ble_mesh: Rework prov pdu length check (v4.1)
See merge request espressif/esp-idf!9003
2020-08-21 14:56:07 +08:00
Mahavir Jain
12cb99e815
Merge branch 'bugfix/enable_mbedtls_renegotiation_v4.1' into 'release/v4.1'
...
esp-tls: enable TLS renegotiation using explicit API call (v4.1)
See merge request espressif/esp-idf!9592
2020-08-21 12:30:45 +08:00
Michael (XIAO Xufeng)
866dde5025
Merge branch 'bugfix/sdmmc_check_slot_before_pullup_4.1' into 'release/v4.1'
...
sdmmc: Correctly check function parameters before using them (4.1)
See merge request espressif/esp-idf!9055
2020-08-20 21:59:31 +08:00
Mahavir Jain
829080e10e
Merge branch 'bugfix/convert-string-to-bytes_v4.1' into 'release/v4.1'
...
components: convert string to bytes to fix TypeError (backport v4.1)
See merge request espressif/esp-idf!9733
2020-08-20 21:54:21 +08:00
Mahavir Jain
67504984c1
Merge branch 'feature/upgrade_mbedtls_to_v4.1' into 'release/v4.1'
...
mbedtls: update to mbedtls release v2.16.7 (v4.1)
See merge request espressif/esp-idf!9907
2020-08-20 21:52:51 +08:00
Mahavir Jain
29c40aa784
Merge branch 'bugfix/mbedtls_disable_sha_mpi_v4.1' into 'release/v4.1'
...
mbedtls: Don't compile hardware MPI & SHA files if disabled in config (v4.1)
See merge request espressif/esp-idf!9403
2020-08-20 21:50:36 +08:00
Mahavir Jain
6e22f6bae9
Merge branch 'fix/esp_tls_wolfssl_fix_cert_verify_v4.1' into 'release/v4.1'
...
esp_tls_wolfssl : fix incorrect error message after handshake fails (v4.1)
See merge request espressif/esp-idf!9231
2020-08-20 21:48:50 +08:00
Mahavir Jain
23a36bdd77
Merge branch 'bugfix/http_server_lru_v4.1' into 'release/v4.1'
...
esp_http_server: Update LRU counter on accepting a new connection (v4.1)
See merge request espressif/esp-idf!9351
2020-08-20 21:47:56 +08:00
Mahavir Jain
b3af5fb2c3
Merge branch 'bugfix/softap_prov_session_v4.1' into 'release/v4.1'
...
protocomm_httpd: Restart security session if request is received on a new session (v4.1)
See merge request espressif/esp-idf!9116
2020-08-20 21:47:34 +08:00
Mahavir Jain
a603bf9e02
Merge branch 'bugfix/httpd_lru_purge_v4.1' into 'release/v4.1'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge (v4.1)
See merge request espressif/esp-idf!8830
2020-08-20 21:46:45 +08:00
Michael (XIAO Xufeng)
9ff88e9f0e
Merge branch 'fixbug/sdmmc_spi_highspeed_v4.1' into 'release/v4.1'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode(backport v4.1)
See merge request espressif/esp-idf!9840
2020-08-20 19:14:30 +08:00
Michael (XIAO Xufeng)
c83a8c4cc7
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.1' into 'release/v4.1'
...
bugfix(uart): fix esp32 fifo_cnt bug(backport v4.1)
See merge request espressif/esp-idf!9040
2020-08-20 19:13:57 +08:00
Michael (XIAO Xufeng)
000c0b4b8a
Merge branch 'bugfix/fix_adc_dac_conflict_backportv4.1' into 'release/v4.1'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v4.1)
See merge request espressif/esp-idf!9361
2020-08-20 19:12:35 +08:00
Michael (XIAO Xufeng)
d8061fa8d9
Merge branch 'bugfix/esp_flash_revert_qe_clear_4.1' into 'release/v4.1'
...
esp_flash: fix the regression of non-quad mode by default chip driver, bugs in add_device and deprecate cs_id (4.1)
See merge request espressif/esp-idf!8836
2020-08-20 19:11:00 +08:00
Michael (XIAO Xufeng)
6e148c0051
Merge branch 'bugfix/esp_flash_write_performance_regression_4.1' into 'release/v4.1'
...
esp_flash: fix the write performance regression (Backport v4.1)
See merge request espressif/esp-idf!8800
2020-08-20 19:09:59 +08:00
morris
612d8f173f
ethernet: support power on timeout
...
Closes https://github.com/espressif/esp-idf/issues/5425
2020-08-20 10:54:50 +08:00
morris
221e89cf59
ethernet: set DMA owner after all descriptors have configured
2020-08-20 10:54:50 +08:00
morris
f5dde8b17e
ethernet: handle early rx interrupt
2020-08-20 10:54:49 +08:00
fuzhibo
4fc12259dd
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-08-14 06:49:35 +00:00
liqigan
40bc362809
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-08-13 12:15:33 +08:00
KonstantinKondrashov
c519d78e00
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init
...
Closes: IDF-1870
Closes: IDFGH-3671
Closes: https://github.com/espressif/esp-idf/issues/5605
2020-08-12 14:59:01 +08:00
Felipe Neves
fe6bc06366
freertos/portmux: increase portmux timeouts to avoid crashing when using debug feature
...
Closes: https://github.com/espressif/esp-idf/issues/3629#
2020-08-11 11:34:05 -03:00
zhangyanjiao
535fa9615c
esp_wifi: fix the crash when wifi stop after deinit
2020-08-10 20:37:38 +08:00
David Cermak
c4f38c361e
esp_netif tests: Add manual DHCP state transision tests
...
Extended test cases for DHCP server and DHCP client state transitions to include also manual transitions using esp_netif_dhcps_start/stop() esp_netif_dhcpc_start/stop()
2020-08-10 18:52:34 +08:00
David Cermak
75c82c5bc7
esp_netif: Remove restarting DHCP client and server if it has already been started
...
To be in line with previous behaviour in tcpip_adapter, do nothing and return appropriate error if the DHCP client/server has already been started
2020-08-10 18:52:27 +08:00
boblane
b57953efdf
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-08-10 10:06:42 +08:00
Li Shuai
b89a2bb266
add soft solution for esp32 eco3 live lock issue
2020-08-07 06:42:35 +00:00
KonstantinKondrashov
4d735d8279
newlib: Fix UT for adjtime
2020-08-06 20:02:30 +08:00
KonstantinKondrashov
c370a8f7ce
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment
...
If the olddelta argument is not a null pointer, the adjtime function returns information
about any previous time adjustment that has not yet completed.
Closes: https://github.com/espressif/esp-idf/issues/5194
2020-08-06 20:02:30 +08:00
KonstantinKondrashov
55fafa887c
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-08-05 22:09:15 +08:00
dongyou
46691df851
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
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-05 16:30:16 +08:00
Mahavir Jain
ac0731e977
mbedtls: update to mbedtls release v2.16.7
...
For detailed release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7
2020-08-03 15:46:55 +05:30
fuzhibo
67a48580fa
driver(touch): fix touch sensor driver redundancy
2020-07-30 16:42:48 +08:00
Jakob Hasse
5e536a3f43
CXX: make __attribute__((init_priority(n))) work
...
* Added corresponding test case
* Moved all C++ init tests to separate file
Closes https://github.com/espressif/esp-idf/issues/5038
2020-07-30 15:40:33 +08:00
lly
7f7397e67f
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-07-30 03:58:27 +00:00
Jakob Hasse
59680bbaff
nvs: unit tests for new partition API
2020-07-29 16:40:13 +00:00
Dmitriy Shilin
07a88fbb7c
nvs: allow to specify custom partition
...
Closes https://github.com/espressif/esp-idf/pull/5172
2020-07-29 16:40:13 +00:00
ronghulin
828cc1318b
bugfix: fix softap mode wpa memory leak
2020-07-29 14:15:56 +08:00
Michael (XIAO Xufeng)
19fcd9cc19
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
...
SD cards don't support CMD7 (select_card) in SPI mode. Highspeed probe
of sdspi will fail in this step and stop working in highspeed mode.
Remove the CMD7 in enable_hs_mode_and_check to fix this issue.
Please note that, on ESP32, you have to use the IOMUX pins to use sdspi
in 40MHz, otherwise the initialization process will report reading issue
and fail.
2020-07-28 17:38:37 +08:00
yiying
ba01132b41
add a note about ESP-IDF FreeRTOS version
2020-07-27 19:05:59 +08:00
Prasad Alatkar
9587b53b2f
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.1)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-24 06:48:14 +00:00
Alexey Gerenkov
7e2f701a3c
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709'
2020-07-22 23:37:46 +03:00
yiying
ca38f1eb0a
docs: change redirection link in get-started
...
This link is supposed to go to Step 3, but it goes to Step 2.
2020-07-22 17:44:06 +08:00
martin.gano
b41752b95c
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
...
(cherry picked from commit cb0bdb8bba )
2020-07-22 11:19:10 +02:00
Renz Christian Bagaporo
b8c893774f
ci: pushd and cd in one go in idf_build_process defaults test
2020-07-20 18:29:19 +08:00
Renz Bagaporo
d101da4ca4
cmake: fix setting defaults in idf_build_process
...
Closes https://github.com/espressif/esp-idf/issues/5053
2020-07-20 18:29:19 +08:00
Renz Bagaporo
a716442c72
ci: test idf_build_process defaults set properly
2020-07-20 18:29:19 +08:00
DerfJagged
16e33e3e33
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-17 10:14:34 +08:00
weitianhua
491d564f5a
Fix error of AG API return line
...
Closes https://github.com/espressif/esp-idf/issues/5554
2020-07-14 14:44:20 +08:00
Mahavir Jain
4c01c1a034
esp-tls: enable TLS renegotiation using explicit API call
...
mbedTLS stack does not keep TLS renegotiation enabled even if
relevant config option is turned on, it needs explicit API call
`mbedtls_ssl_conf_renegotiation` to do so.
This issue was observed in case of Azure IoT, where keys needs to
be refreshed periodically to keep TLS connection intact.
2020-07-13 15:35:57 +05:30
morris
ee6ff6bdd2
ethernet: insert min assert time for PHY HW reset
...
Closes https://github.com/espressif/esp-idf/issues/5528
2020-07-13 11:13:31 +08:00
chenyudong
907e206dff
mesh/ci: fix MESH_EST_0216
2020-07-10 18:04:52 +08:00
chenyudong
b20943ad43
mesh: backport some bugfixes
...
1. If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router.
2. Release esp_mesh_recv_toDS when the root becomes non-root.
3. esp_mesh_set_type now supports MESH_IDLE and MESH_STA.
4. Fix ie.rc_rssi is not updated during scan and vote.
5. Fix ie.mesh_type do not match ie.layer caused by parent switch.
6. Fix during root switch, the original root doesn't disconnect from the router after it receives the switch request from the new voted root. (root switch happens by invoking esp_mesh_waive_root).
7. Fix the routing announce timer is not stopped immediately in a new root if the new root is transformed from non-root.
8. Choose the candidate with less ie.assoc when doing parent switch.
2020-07-10 18:04:50 +08:00
Wielebny666
b6e69b5014
Fix init MCPWM Fault line via config struct
...
Signed-off-by: wubowen <wubowen@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5491
Closes https://github.com/espressif/esp-idf/issues/5433
2020-07-09 19:13:56 +08:00
Supreet Deshpande
f8874e6940
Add platform independent CMake signing
2020-07-09 11:55:21 +05:30
liqigan
f5d37dd416
components/bt: Adjust the description of esp_bt_gap_start_discovery and esp_bt_gap_cancel_discovery.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-07-08 14:22:19 +08:00
Marius Vikhammer
7ab64c5345
Fix broken README links
2020-07-07 17:35:35 +08:00
Angus Gratton
40c9f0599c
mbedtls: Don't compile hardware MPI & SHA files if disabled in config
...
Fixes bug where hardware accelerated mbedtls_mpi API was always used, even when
disabled in config.
2020-07-03 10:37:15 +10:00
ronghulin
15c8337424
bugfix: fix ICMP specify length issue
2020-06-30 10:53:48 +08:00
lly
bf35465658
ble_mesh: stack: Check model status with variable length
2020-06-30 09:31:27 +08:00
lly
289b8bcea7
ble_mesh: Remove boolean type definitions
2020-06-30 09:18:42 +08:00
Nikolaos Strikos
0d5eb50ce2
ble_mesh: Do not #define bool when compiling in C++
2020-06-30 09:18:42 +08:00
lly
353f893d95
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-30 09:16:29 +08:00
liminyang
a55bd7339c
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 20:56:08 +08:00
fuzhibo
c711a048bb
driver(gpio): Solve gpio hold problems caused by code refactoring.
...
Closes https://github.com/espressif/esp-idf/issues/4600
2020-06-28 14:12:29 +00:00
Marius Vikhammer
5eb5b1148a
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-06-28 02:10:18 +00:00
Shubham Kulkarni
4b41f19a01
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:24:49 +05:30
Roland Dobai
0ff9b0a812
Tools: Mention ESPPORT and ESPBAUD in idf.py --help
...
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-25 08:17:55 +02:00
David Cermak
a19fa857ad
static analysis: Apply current limits of known defects on v4.1
2020-06-25 05:45:16 +00:00
Roland Dobai
43aafb0d86
tools/idf.py: Clean Python bytecode files
2020-06-22 10:24:12 +02:00
Aditya Patwardhan
6aba4efca0
esp_tls_wolfssl: fix incorrect error message after handshake fails
2020-06-18 13:58:07 +05:30
wangcheng
5cff7b1d55
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 15:52:34 +08:00
Elvis Dukaj
5925f6458a
ble_hid_device_demo: fix build if building with c++
...
Signed-off-by: Elvis Dukaj <elvis.dukaj@gmail.com >
Signed-off-by: liminyang <liminyang@example.com >
Merges https://github.com/espressif/esp-idf/pull/5191
2020-06-18 15:44:25 +08:00
liminyang
be80b6f270
docs:perfect 128-bit UUID description
...
The previous description is not easy for the reader to understand, some changees have been made to perfect it.
Closes https://github.com/espressif/esp-idf/issues/5057
2020-06-18 14:44:28 +08:00
yuanjm
af82516cfb
feat(lwip): make LWIP TCP rto time configurable
2020-06-17 15:29:25 +08:00
Piyush Shah
6baa5f0d7b
protocomm_httpd: Restart security session if request is received on a new session
...
This commit fixes a bug as well as changes a behaviour.
Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.
Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).
Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-06-17 05:34:11 +00:00
xiongyu
cf3b2df4a4
bugfix(uart): fix esp32 fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-16 14:48:02 +08:00
aleks
4be2170250
freemodbus: add comments for limitation in current version of freemodbus
2020-06-04 09:46:04 +02:00
Alexander Borsuk
29d3c40a25
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 11:49:40 +08:00
lly
1bd7944316
ble_mesh: Rework prov pdu length check
2020-06-02 10:13:51 +08:00
Armando
75dd9835f6
esp_flash: fix cache exception when CS pin is through IOMUX
2020-06-01 15:29:30 +08:00
Armando
bda0c84552
esp_flash: fix the cleanup when add device fails
2020-06-01 15:29:30 +08:00
Armando
eacefba1c6
esp_flash: fix the regression of non-quad mode by default chip driver
2020-06-01 15:29:30 +08:00
Roland Dobai
c89d045322
tools: Don't generate pyc files
2020-05-29 10:08:51 +02:00
Piyush Shah
492cece316
esp_http_server: Fixed a bug which could cause issues with LRU purge
...
LRU counter should be started from 1, and not 0, so that all checks
work fine.
Closes https://github.com/espressif/esp-idf/issues/4753
2020-05-27 10:56:22 +00:00
Michael (XIAO Xufeng)
4a8effcbb9
ci: increase unit test job count
2020-05-27 15:09:50 +08:00
Michael (XIAO Xufeng)
d2666545d1
spi: simplify the caps header
2020-05-27 15:09:50 +08:00
Michael (XIAO Xufeng)
6f410cb7c4
spi_flash: add unit test for read/write performance
2020-05-27 15:09:49 +08:00
Michael (XIAO Xufeng)
8df1369d0a
esp_flash: fix the write performance regression
...
Also changed internal delay unit into microsecond.
2020-05-27 15:09:49 +08:00