Commit Graph

17766 Commits

Author SHA1 Message Date
Marius Vikhammer
798dac6225 gdma: fixed crash from logging when using newlib nano
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.

Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 13:48:48 +08:00
zwj
cd1b88c97e Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-05-04 06:37:19 +00:00
wangmengyang
239e97ff7e bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller 2023-05-04 06:37:19 +00:00
xiongweichao
a83b16f18d bt:Fixed esp32 controller bug
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval

Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-05-04 06:37:19 +00:00
xiongweichao
0624049a60 bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:12:56 +08:00
Laukik Hase
841e033de8
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH value
- As per the memory block diagram for ESP32-S3, the
  internal memory address ranges as follows:
  DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
  IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-05-04 10:54:35 +05:30
Laukik Hase
e0bedd19ab
esp_hw_support: Update memory ptr location/property checks
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3

- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
  the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
  check on that memory pointer, it fails as the address block from 0x3C000000
  corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
  (E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
  the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
  have been updated to acknowledge this memory as a part of the DRAM.

Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-05-04 10:54:34 +05:30
laokaiyao
18d7ecc470 i2s: fix interrupt flag of pdm rx mode
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-05-04 04:23:30 +00:00
KonstantinKondrashov
11e71cd3eb fixup! efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5) 2023-05-01 06:23:23 +00:00
KonstantinKondrashov
94ae902d78 efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
    - BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-05-01 06:23:23 +00:00
Jin Chen
0f9ba10f4e ble:fix connection establishemnt timeout issue 2023-04-28 17:47:29 +08:00
Armando
08c77a7eaf sar: init sar periph power state 2023-04-27 10:52:38 +08:00
Adam Múdry
6bb750901d sdmmc: sdio combination cards correct setup
Co-authored-by: Mau Abata <mauabata@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/9822
Closes https://github.com/espressif/esp-idf/issues/10280
2023-04-26 13:28:09 +02:00
isha.pardikar@espressif.com
8aff96d382 wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping. 2023-04-25 15:48:18 +05:30
harshal.patil
35d466b814 mbedtls: fix ci failures for update v3.4.0
- While updating to mbedtls release/v3.4.0, building mbedtls/library/psa_crypto.c,
clang produced an unreachable-code warning, so added `-Wno-unreachable-code` compile option for clang.
- In `mbedtls/v3.4.0`, the ECDSA restartable sign and verify functions (`ecdsa.c`) were made public.
- But the `mbedtls_ecdsa_sign_det_restartable` function prototype was declared in the file `ecdsa.h`,
only when `MBEDTLS_ECDSA_SIGN_ALT` was not defined.
- added a patch in mbedtls library to fix it.
2023-04-24 12:07:10 +05:30
harshal.patil
c293708409 mbedtls: replace low-level sha apis with md apis in esp_ssl_tls 2023-04-24 12:03:55 +05:30
harshal.patil
8017e23611 mbedtls: Update config options as per release/v3.4.0
- Added a Kconfig option for the newly added mbedtls option MBEDTLS_PKCS7_C
2023-04-24 12:03:55 +05:30
harshal.patil
911c12b7f0 mbedtls: Update to release/v3.4.0
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0
2023-04-24 12:03:55 +05:30
Marius Vikhammer
b2c883f0c0 system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
Closes https://github.com/espressif/esp-idf/issues/11233
2023-04-24 13:53:34 +08:00
Darian Leung
b79cdd7e54 usb_host: Update docs and comments regarding first configuration enumeration
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113.
2023-04-21 12:50:00 +08:00
Jason
62e1e5b765 Fix usb enumeration stage error for some device 2023-04-21 12:50:00 +08:00
KonstantinKondrashov
b1315b27c5 esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
Closes https://github.com/espressif/esp-idf/issues/10522
Closes https://github.com/espressif/esp-idf/issues/10859
2023-04-20 14:49:12 +08:00
wuzhenghui
46a1253022 bugfix: fix deepsleep saradc leakage 2023-04-20 11:45:58 +08:00
Li Shuai
d84cdace52 sleep: fix sleep current issue caused by sar adc 2023-04-20 11:45:58 +08:00
chenjianhua
cceb2b4db6 bluedroid: support get bluetooth device name 2023-04-20 10:54:16 +08:00
chenjianhua
3eb5185b7b bluedroid: report status after clearing the BLE white list 2023-04-20 10:38:23 +08:00
chenjianhua
11147b0473 bluedroid: fix GATTC cache address save 2023-04-20 10:37:13 +08:00
chenjianhua
fa051d8dc4 bluedroid: fix adv and scan state conflict 2023-04-20 10:36:14 +08:00
Armando
85980884d7 adc: improve adc power logic 2023-04-20 10:34:37 +08:00
Armando
1ebeea7763 sdmmc: I/O phase adjustments
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
   with the TRM.
2. Choose input and output phases to satisfy typical timing
   requirements.
3. Move use_hold_reg setting into the host driver, since it is related
   to timing.

Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-19 15:38:57 +08:00
Peter Dragun
9c4282ac5f feat(esptool): allow to set force for write_flash 2023-04-18 13:47:09 +02:00
morris
2b9ca66752 spi_lcd: test spi lcd io can transfer color data to a fixed window region
also test the io tx_param and tx_color can skip the command phase
2023-04-18 10:46:52 +08:00
morris
f4d27b0f92 spi_lcd: maximum transfer size should respect bus configuration
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-18 10:46:52 +08:00
Sudeep Mohanty
dc53189e46 esp_ringbuf: Added functions to linker.lf file which can be placed in Flash
This commit adds symbols from the ringbuf.c file which can be placed in
Flash in order to free up IRAM space.
2023-04-17 16:11:23 +02:00
Mahavir Jain
1a389f4ebb
Fix coverity warning in esp-tls component
The regressions was introduced in the commit: 0abd1cb51f
2023-04-12 17:23:47 +05:30
Mark H. Spatz
ee403a1bb6
[esp-tls] Add addr_family option to esp_tls_cfg_t 2023-04-12 16:02:18 +05:30
wangjialiang
b9f7049bc5 ble_mesh: stack: Update the heartbeat filter entry add/remove handling 2023-04-12 16:11:24 +08:00
Shyamal Khachane
2fe39f79d1 wpa_supplicant : Fix association response processing in OWE 2023-04-07 11:44:23 +05:30
Xiao Xufeng
80e4b67fd1 himem: Fixed incorrect out_ptr when calling esp_himem_map range_offset non-zero
Closes: https://github.com/espressif/esp-idf/issues/5639
2023-04-06 01:46:20 +08:00
Kapil Gupta
c4941e2e75 wpa_supplicant: Get WPS credential in passphrase format
Closes https://github.com/espressif/esp-idf/issues/10339
2023-04-05 16:05:44 +05:30
isha.pardikar@espressif.com
dbeeaf6a21 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-04-04 17:39:18 +05:30
Yuan Mingfu
3cc5ad7ac4 bugfix: deinit ble for specifies ESP_BT_MODE_BTDM 2023-04-04 18:04:12 +08:00
chenjianxing
3f4e4cf964 esp_wifi: fix potential issue when tx fragment pkt. 2023-04-03 17:50:02 +08:00
morris
3afa39b408 spi_lcd: don't release bus if acquire failed
Closes https://github.com/espressif/esp-idf/issues/10952
2023-04-03 13:15:28 +08:00
laokaiyao
3c4c1fe010 lcd_i2c: reduce recommended link size
Closes: https://github.com/espressif/esp-idf/issues/11015
2023-04-03 09:41:18 +08:00
muhaidong
3537da8d85 smartconfig: fix the issue of sending failure and exit 2023-03-31 17:23:31 +08:00
morris
5d11967f2e rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode 2023-03-31 09:59:32 +08:00
Kapil Gupta
f44ce0960a wpa_supplicant: Update WPS API documentation 2023-03-30 20:04:53 +05:30
chenjianxing
97225286ca esp_wifi: improve tx robust for c2/c3/s3 2023-03-30 21:46:07 +08:00
morris
e06bea0445 rmt: use gpio_num_t to define gpio number 2023-03-30 15:52:08 +08:00
Jin Cheng
02bfc34aa0 Optimized the document for GAP API:
`esp_bt_gap_set_cod`
2023-03-30 14:16:02 +08:00
isha.pardikar@espressif.com
a5b20d3d52 NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN 2023-03-30 11:26:52 +05:30
Jiang Jiang Jian
ef4b1b7704 Merge branch 'contrib/github_pr_10997_v5.0' into 'release/v5.0'
i2s: intrerrupt fix (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22953
2023-03-30 09:35:10 +08:00
Jiang Jiang Jian
5919c3fba5 Merge branch 'bugfix/usb_host_enumeration_delay_v5.0' into 'release/v5.0'
USB Host: SetAddress recovery interval + menuconfig configuration (backport v5.0)

See merge request espressif/esp-idf!22711
2023-03-30 09:34:32 +08:00
Jiang Jiang Jian
7d5c6b9b0a Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep-esp32c2_espnow_enter_modem_sleep_unexpectly_v5.0' into 'release/v5.0'
fix: systimer_stall_issue_in_lightsleep & esp32c2_espnow_enter_modem_sleep_unexpectly (v5.0)

See merge request espressif/esp-idf!22983
2023-03-30 04:14:51 +08:00
Jiang Jiang Jian
e3778fa2a9 Merge branch 'bugfix/add_unregister_wpa3_cb_v5.0' into 'release/v5.0'
wpa_supplicant : Fix issues encountered in WFA testing (v5.0)

See merge request espressif/esp-idf!22891
2023-03-30 00:56:59 +08:00
Jiang Jiang Jian
63994a2f52 Merge branch 'bugfix/sta_sa_query_process_v5.0' into 'release/v5.0'
esp_wifi: Improve station SA query procedure handling and other bugfixes (Backport v5.0)

See merge request espressif/esp-idf!22903
2023-03-30 00:12:42 +08:00
liuning
dfb4a3daa0 esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2 2023-03-29 21:20:33 +08:00
liuning
6b5bc6304a rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3 2023-03-29 21:19:21 +08:00
David Cermak
a3ca732e5d esp-netif: Fix non-lwip build using esp_netif loopback
This partially backports 8142a6f9fc633c5f3ef461af41528eb5a6794755.
allowing esp_netif build with loopback only

Closes https://github.com/espressif/esp-idf/issues/10587
2023-03-29 11:35:22 +00:00
Jiang Jiang Jian
f944418ca4 Merge branch 'bugfix/delay_report_memory_leak_v5.0' into 'release/v5.0'
bugfix: fixed memory leak in AVDT delay report (v5.0)

See merge request espressif/esp-idf!22885
2023-03-29 19:14:40 +08:00
Jiang Jiang Jian
273b1b3bc5 Merge branch 'feature/add_ext_adv_instance_check' into 'release/v5.0'
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not.

See merge request espressif/esp-idf!22837
2023-03-29 19:11:45 +08:00
Jiang Jiang Jian
fa4dccbe68 Merge branch 'bugfix/remove_Wno_format_in_esp_phy_esp_wifi_and_wpa_supplicant_components_v5.0' into 'release/v5.0'
Remove -Wno-format in esp_phy, esp_wifi, part of wpa_supplicant components(Backport v5.0)

See merge request espressif/esp-idf!22829
2023-03-29 15:49:14 +08:00
KonstantinKondrashov
76291d0095 efuse: Fix load_efuses_from_flash when FE is on
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.

Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.

Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-29 14:58:50 +08:00
Sarvesh Bodakhe
fd19fc9343 esp_wifi: Improve station SA query procedure handling and other bugfixes
1. Disable SA query timers when station disconnect and other SA query related improvements
2. Send appropriate reason code in 4 way handshake failure
2023-03-29 11:15:50 +05:30
David Cermak
98777343bd lwip:esp_netif: Send Periodic Gratuitous ARP only on valid IPv4
It was possible that the device would send a Gratuitous ARP before
acquiring a valid address, advertising it has 0.0.0.0 address.
2023-03-29 07:25:31 +02:00
yn386
6cfc016dc5 esp_psram: fix compile error for SPI PSRAM 2T mode 2023-03-29 11:42:51 +08:00
Jiang Jiang Jian
2048d1e0c0 Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network_v5.0' into 'release/v5.0'
wifi_mesh: fix bugs for mesh network (backport v5.0)

See merge request espressif/esp-idf!22902
2023-03-29 10:45:49 +08:00
dizcza
7bfc40b5fb i2s interrupt fix
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 18:37:48 +08:00
lly
f92ee6d70b ble_mesh: stack: Minor fix for provisioner provisioning timeout 2023-03-28 04:29:07 +00:00
wangjialiang
353eade320 ble_mesh: add BQB LOG 2023-03-28 04:29:07 +00:00
luoxu
d63bcc75a4 ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01 2023-03-28 04:29:07 +00:00
luoxu
d63200c0b4 ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg 2023-03-28 04:29:07 +00:00
luoxu
0f87363e3e ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link 2023-03-28 04:29:07 +00:00
muhaidong
b6be20a95d Remove -Wno-format in esp_phy, esp_wifi and part of wpa_supplicat components 2023-03-27 17:33:32 +08:00
wangjialiang
9f36ad8ab6 ble_mesh: stack: bug fix in bqb 2023-03-24 16:21:40 +08:00
wangjialiang
f02b18b392 ble_mesh: stack: add description of internal BQB Test 2023-03-24 16:20:06 +08:00
lly
71bc754b0a ble_mesh: stack: Minor updates for BQB test log 2023-03-24 16:05:08 +08:00
wangjialiang
161e78150f ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log 2023-03-24 16:05:01 +08:00
Marius Vikhammer
f1070229f8 system: fixed USE_FIXED_STATIC_RAM_SIZE option
The USE_FIXED_STATIC_RAM_SIZE was not actually causing the heap to start
at a fixed address.

Closes https://github.com/espressif/esp-idf/issues/10270
Closes https://github.com/espressif/esp-idf/issues/10271
2023-03-24 12:33:14 +08:00
zhangyanjiao
9801647fa5 wifi_mesh: update mesh doc 2023-03-23 17:18:23 +08:00
zhangyanjiao
348f8f9bac wifi_mesh: Fix several bugs on mesh network 2023-03-23 17:18:00 +08:00
Michael (XIAO Xufeng)
d8d6d3da5b Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq_5.0' into 'release/v5.0'
mspi: turn down freq to fix crash when sleep (v5.0)

See merge request espressif/esp-idf!22841
2023-03-23 17:08:56 +08:00
Michael (XIAO Xufeng)
76c8f09856 Merge branch 'bugfix/usb_serial_driver_block_v5.0' into 'release/v5.0'
usb_serial_jtag: Fix bug of blocking TX xfer when using driver (backport v5.0)

See merge request espressif/esp-idf!22830
2023-03-23 16:58:36 +08:00
Jiang Jiang Jian
e8205de110 Merge branch 'bugfix/lwip_core_locking_v5.0' into 'release/v5.0'
esp_netif/lwip: Fix core-locking config (v5.0)

See merge request espressif/esp-idf!22443
2023-03-23 16:54:49 +08:00
Michael (XIAO Xufeng)
8f202f0ea5 Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v5.0' into 'release/v5.0'
uart: Fix TX side concurrency issues (v5.0)

See merge request espressif/esp-idf!22595
2023-03-23 15:29:33 +08:00
jgujarathi
4a0fbdccc7 wpa_supplicant : Add disable for tls key usage check.
Disable the key usage check this leads to false negative results
while using wfa certificates during testing.
2023-03-23 10:53:13 +05:30
jgujarathi
4e1d466fc5 wpa_supplicant : Add validations for 192-bit Suite B test cases.
Add validation for group data cipher, pairwise cipher and AKM Suites to
ensure correct ciphers are supported by AP during 192-bit Enterprise
connections.
2023-03-23 10:53:13 +05:30
jgujarathi
6279e58c42 wpa_supplicant : Add deinitialization of Enterprise config_methods.
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-03-23 10:53:13 +05:30
jgujarathi
f283b589ed wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-03-23 10:53:13 +05:30
Jiang Jiang Jian
7cf3f99bfa Merge branch 'bugfix/nvs_save_for_new_config_v5.0' into 'release/v5.0'
esp_wifi: Add nvs code for new config params(backport v5.0)

See merge request espressif/esp-idf!22867
2023-03-23 12:22:07 +08:00
Jin Cheng
7d61e0bc52 Fixed memory leak in AVDT delay report 2023-03-23 11:23:43 +08:00
Jin Cheng
b0f6a4174a Fixed the index out of bounds of hfp_ag BTC control block 2023-03-22 15:48:32 +08:00
Kapil Gupta
8a6bc4363e esp_wifi: Add nvs code for new config params 2023-03-22 12:40:55 +05:30
morris
3050ea656f Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq_v5.0' into 'release/v5.0'
i2s_pdm: fix tx frequency limitation (v5.0)

See merge request espressif/esp-idf!22832
2023-03-21 20:23:50 +08:00
Jiang Jiang Jian
c575587ea4 Merge branch 'bugfix/flash_large_memory_size_v5.0' into 'release/v5.0'
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory(backport v5.0)

See merge request espressif/esp-idf!21533
2023-03-21 18:58:33 +08:00
David Cermak
a18d019fc9 lwip: Fix lwiopts macro expansion and dhcps-test
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
Fix lwip thread safety issue in tests: dhcp server should be started and
stopped only in lwip context/thread. Without this fix, the test would
fail if `CONFIG_LWIP_CHECK_THREAD_SAFETY=y`
Adds CONFIG_LWIP_TCPIP_CORE_LOCKING=y to some mqtt example tests (the
same configs as used in v5.1)
2023-03-21 11:21:07 +01:00
David Cermak
285362e8d6 lwip: Add missing esp_sntp_enabled() 2023-03-21 11:09:56 +01:00
David Cermak
42594bffe4 lwip/sntp: Fix esp_sntp_ API races (v5.0)
Some of the esp_sntp_...() APIs that wrap lwip's SNTP
module use tcpip_callback() to execute the lwip functionality
in the correct state (either with locked TCP/IP core,
or within the TCP/IP thread).
tcpip_callback() however doesn't wait for completion of the callback,
which doesn't prevent from using the stack variables after destroy
if used as a parameter.
Introduced in a71fa82.
Fixed by using of tcpip_api_call() instead of the tcpip_callback().

Closes https://github.com/espressif/esp-idf/issues/10611
2023-03-21 11:09:56 +01:00
David Cermak
5b75693522 esp_netif/lwip: Fix core-locking config (v5.0)
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples

Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-03-21 11:09:56 +01:00
Jiang Jiang Jian
f9f4a23159 Merge branch 'bugfix/set_generic_len_for_rsnxe_v5.0' into 'release/v5.0'
esp_wifi: bugfix RSNXE related changes

See merge request espressif/esp-idf!22420
2023-03-21 12:35:11 +08:00
Cao Sen Miao
4c66d7e6df esp_flash: correct veriable 'size' description 2023-03-21 12:10:38 +08:00
Shreyas Sheth
77c675db25 esp_wifi: bugfix RSNXE related changes
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-03-20 21:55:44 +05:30
wanlei
20924e3a72 mspi: turn down freq to fix crash when sleep 2023-03-20 19:46:25 +08:00
laokaiyao
ec55f7fe6e i2s_pdm: fix tx frequency limitation
Closes: https://github.com/espressif/esp-idf/issues/10420
2023-03-20 19:22:40 +08:00
isha.pardikar@espressif.com
d3546e3fa3 NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not. 2023-03-20 16:36:20 +05:30
Jiang Jiang Jian
dc172b63d3 Merge branch 'bugfix/close_rf_in_deep_sleep_backport_v5.0' into 'release/v5.0'
deep sleep: further optimize sleep current if RF is enabled (backport v5.0)

See merge request espressif/esp-idf!22738
2023-03-20 15:48:29 +08:00
laokaiyao
b02d50e33b i2s: fix some typos 2023-03-20 14:51:07 +08:00
Cao Sen Miao
8e3b4f68dc usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
Merges https://github.com/espressif/esp-idf/pull/10208
2023-03-20 14:07:55 +08:00
Chip Weinberger
6f0746734f [USB Serial/JTAG Driver] use time-limited blocking for TX 2023-03-20 14:07:41 +08:00
Jiang Jiang Jian
763e369858 Merge branch 'feature/support_7.2.8_soc/pvt_dig_v5.0' into 'release/v5.0'
ESP32S3:support auto adjust LDO voltage based on pvt-dig(backport 5.0)

See merge request espressif/esp-idf!19774
2023-03-20 14:06:48 +08:00
Cao Sen Miao
e94d95103e spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory,
Closes https://github.com/espressif/esp-idf/pull/9566
2023-03-20 13:07:35 +08:00
Michael (XIAO Xufeng)
55e040b54b Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v5.0' into 'release/v5.0'
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v5.0)

See merge request espressif/esp-idf!22665
2023-03-20 12:49:56 +08:00
Jiang Jiang Jian
e9b2f6ddce Merge branch 'bugfix/minor_syntax_changes_v5.0' into 'release/v5.0'
wpa_supplicant : Fixing a collection of issues encountered during application testing.

See merge request espressif/esp-idf!22178
2023-03-17 19:39:49 +08:00
Jiang Jiang Jian
faad05cf56 Merge branch 'bugfix/default_wpa2_causing_pmk_recal_v5.0' into 'release/v5.0'
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.(v5.0)

See merge request espressif/esp-idf!22427
2023-03-17 19:39:40 +08:00
Michael (XIAO Xufeng)
385ca5a041 Merge branch 'test/add_spi_slave_freq_test_v5.0' into 'release/v5.0'
spi_slave: fix io re-config issue (v5.0)

See merge request espressif/esp-idf!22592
2023-03-17 19:17:23 +08:00
zlq
135381943a 1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq 2023-03-17 11:14:01 +00:00
Michael (XIAO Xufeng)
3da8120029 Merge branch 'bugfix/gpio_ut_usj_v5.0' into 'release/v5.0'
gpio: add a test case to test the ability of disabling USB D+ pin pull-up (v5.0)

See merge request espressif/esp-idf!22605
2023-03-17 16:34:17 +08:00
Song Ruo Jing
27f9ee66d5 gpio: Fix IO hold function related problems
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API

docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2023-03-17 14:44:29 +08:00
Song Ruo Jing
a7222acf47 rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup 2023-03-17 14:44:23 +08:00
Jiang Jiang Jian
fe743a057f Merge branch 'bugfix/avrcp_psth_cmd_rsp_v5.0' into 'release/v5.0'
bt:Added a parameter to tell the user the result of the pass through command implementation(v5.0)

See merge request espressif/esp-idf!22726
2023-03-17 14:22:22 +08:00
Jiang Jiang Jian
9718c91a38 Merge branch 'bugfix/bluedroid_le_coc_compile_error_v5.0' into 'release/v5.0'
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs(backport v5.0)

See merge request espressif/esp-idf!22492
2023-03-17 13:56:36 +08:00
Jiang Jiang Jian
df0ec3f5e4 Merge branch 'bugfix/modify_configuration_for_ble_5_v5.0' into 'release/v5.0'
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips (v5.0)

See merge request espressif/esp-idf!22780
2023-03-17 13:56:22 +08:00
Jiang Jiang Jian
b837e910a9 Merge branch 'bugfix/add_debug_check_v5.0' into 'release/v5.0'
Nimble: Added debug relate flag around debug code_v5.0

See merge request espressif/esp-idf!22782
2023-03-17 13:55:54 +08:00
Jiang Jiang Jian
b7ca4320bb Merge branch 'bugfix/atomic_gptimer_fsm_v5.0' into 'release/v5.0'
gptimer: fix race condition between start and stop (v5.0)

See merge request espressif/esp-idf!22712
2023-03-17 10:38:53 +08:00
Marius Vikhammer
14723a07d1 Merge branch 'bugfix/flakey_task_snapshot_tests_v5.0' into 'release/v5.0'
FreeRTOS: Fix flakey task snapshot tests (v5.0)

See merge request espressif/esp-idf!22778
2023-03-17 10:25:25 +08:00
Rahul Tank
32a02459dc Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-16 12:08:58 +05:30
aditi_lonkar
49c5a92181 esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
Closes https://github.com/espressif/esp-idf/issues/10214
2023-03-16 11:48:55 +05:30
Jiang Jiang Jian
6dc6b57180 Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314' into 'release/v5.0'
bufix/Backport_some_wifi_lwip_bugs_for_5.0_0314

See merge request espressif/esp-idf!22758
2023-03-16 10:49:26 +08:00
Jiang Jiang Jian
10010b1976 Merge branch 'bugfix/fix_fast_packets_handling_v5.0' into 'release/v5.0'
Nimble: Retry buffer allocation, if previous allocation fails (v5.0)

See merge request espressif/esp-idf!22730
2023-03-16 10:27:42 +08:00
Rahul Tank
ce7df40968 Nimble: Added debug relate flag around debug code 2023-03-15 16:30:29 +05:30
xueyunfei
1d6ba06366 esp_wifi:bugfix for optimize abnormal beacon log 2023-03-15 16:21:02 +08:00
xueyunfei
392533f0e2 Fixed bug for dhcp server support CIDR
Closes https://github.com/espressif/esp-idf/issues/10024

Closes https://github.com/espressif/esp-idf/issues/10559
2023-03-15 16:20:33 +08:00
Darian Leung
e0b1ccf6ce freertos: Fix flakey task snapshot tests
The task snapshot tests use esp_cpu_stall() to stall the other CPU before
manually walking the task lists. However, it is possible that the other CPU
was also accessing the task lists when esp_cpu_stall() is called, leading to
flakey tests

This commit fixes the test by using a 2-way handshake instead of
esp_cpu_stall().
2023-03-15 16:12:24 +08:00
xueyunfei
446b49cc15 dhcp server:bugfix softap excedes the range of subnet 2023-03-15 14:35:42 +08:00
xueyunfei
62983624ae 1 dhcp: Fix dhcp_fine_tmr() not to use netif after free
2 tcp_in/ooseq: Fix incorrect segment trim when FIN moved

* Update submodule: git log --oneline 10197b212a95c49c733fb18ffed56cafb0d196d4..d5e56d06658ae11292be1baea56204f7120b6fa7

Detailed description of the changes:
  - dhcp: Fix dhcp_fine_tmr() not to use netif after free (esp-lwip@d5e56d06)
  - tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@9e62afff)
  - netdb:fixed addrtype and length in gethostbyname (esp-lwip@aee6b3ed)
  - lwip/napt: Added api to enable/disable napt based on lwip netif (esp-lwip@280c3d61)
  - lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp (esp-lwip@86df9f44)
2023-03-15 14:35:42 +08:00
xueyunfei
3b46f2f698 lwip:optimization dhcp coarse timer 2023-03-15 14:35:42 +08:00
xueyunfei
6f311db07e lwip: solve some routers do not forward multicast packet issue 2023-03-15 14:35:42 +08:00
Marius Vikhammer
84b9cebb04 Merge branch 'docs/broken_links_2_v5.0' into 'release/v5.0'
docs: fix broken links (v5.0)

See merge request espressif/esp-idf!22748
2023-03-15 14:16:15 +08:00
isha.pardikar@espressif.com
ff004d9ab9 wifi_prov_mgr : Fixed return value of characteristic read operation 2023-03-14 06:50:20 +00:00
wuzhenghui
64d5421d8b deep sleep: close rf to optimize sleep current 2023-03-14 13:57:42 +08:00
Jiang Jiang Jian
6db1f2f9a7 Merge branch 'bugfix/some_small_fix_for_sleep_backport_v5.0' into 'release/v5.0'
soc/soc_caps: update soc caps for chips that support power-down of modem hardware(backport v5.0)

See merge request espressif/esp-idf!22720
2023-03-14 13:55:39 +08:00
Marius Vikhammer
420e20f95b docs: fix broken links 2023-03-14 10:24:51 +08:00
wuzhenghui
568dd3d823 Revert "optimize deep sleep current in wifi softap mode"
This reverts commit 344ec80fad.
2023-03-13 20:49:36 +08:00
Jiang Jiang Jian
89bb920c86 Merge branch 'bugfix/ps_bufferable_mmpdu_v5.0' into 'release/v5.0'
Combine improvements in sa query and buffer mgmt frames on SoftAP, fix NULL ptr dereference (Backport v5.0)

See merge request espressif/esp-idf!22215
2023-03-13 19:39:03 +08:00
Rahul Tank
ceeff063e8 Nimble: Added change to give time to allocate buffers, in case previous
allocation fails

Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-13 15:23:04 +05:30
Jiang Jiang Jian
358ed1af5d Merge branch 'bugfix/add_return_type_nimble_port_init_v5.0' into 'release/v5.0'
Nimble: Added return value (success / failure ) to nimble_port_init  / nimble_port_deinit (v5.0)

See merge request espressif/esp-idf!22191
2023-03-13 15:19:06 +08:00
xiongweichao
46e7347177 bt:Added a parameter to tell the user the result of the pass through command implementation 2023-03-13 15:03:55 +08:00
jingli
833f201610 soc/soc_caps: update soc caps for chips that support power-down of modem hardware 2023-03-13 13:33:18 +08:00
liqigan
109d42bb85 fix HID Host bug when handling the two consecutive connection request
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:16:51 +08:00