Commit Graph

13844 Commits

Author SHA1 Message Date
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