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
Ondrej Kosta
f241f61c48
esp_eth: DM9051 stop/start issue fixed
2023-03-28 17:41:39 +02: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
Ondrej
9d7132c330
esp_eth: allowed DM9051 to receive multicast packets
...
Removed extra PHY status link checks from DM9051 MAC layer
2023-03-21 16:20:24 +00:00
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
morris
c24222dcde
gptimer: fix race condition between start and stop
...
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-11 11:42:09 +08:00
Zim Kalinowski
bf082dcd1c
Merge branch 'bugfix/spram_and_virt_efuse_can_work' into 'release/v5.0'
...
esp_psram: Use efuse_ll instead of efuse API
See merge request espressif/esp-idf!22641
2023-03-11 00:00:08 +08:00
Roman Leonov
35068ee7b9
usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig.
...
Closes https://github.com/espressif/esp-idf/issues/10444
Closes https://github.com/espressif/esp-idf/issues/10718
2023-03-10 12:40:01 +01:00
gauri patankar
cad044a3b6
wpa_supplicant:Fix potential null pointer dereference
2023-03-10 16:00:55 +05:30
Sarvesh Bodakhe
7999489c6e
Combine improvements in sa query and buffer deauth, disassoc, action frames for connected station in sleep mode
2023-03-10 16:00:55 +05:30
wangmengyang
57b26802a5
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
...
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-03-10 07:37:24 +00:00
morris
ac0237670b
Merge branch 'bugfix/fixed_wrong_sdm_struct_sequence_v5.0' into 'release/v5.0'
...
sdm: fixed potential memory leak (v5.0)
See merge request espressif/esp-idf!22648
2023-03-10 15:19:22 +08:00
KonstantinKondrashov
963a8b1c57
esp_psram: Use efuse_ll instead of efuse API
...
When the virt efuse mode is on and psram is on as well
then efuse buffer is not filled by efuses (it is filled by 0).
So the psram init func gets wrong pkg_ver = 0.
Closes https://github.com/espressif/esp-idf/issues/10925
Close IDFGH-9576
2023-03-10 05:14:50 +00:00
laokaiyao
a6b190c083
sdm: fixed potential memory leak
2023-03-10 03:48:27 +00:00
Aditya Patwardhan
6692a1346b
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
...
Closes https://github.com/espressif/esp-idf/issues/10765
2023-03-10 03:46:19 +00:00
Marius Vikhammer
319208c3d1
Merge branch 'bugfix/clang_tidy_and_nvs_memory_issue' into 'release/v5.0'
...
clang tidy add C++ and nvs memory issue (backports 5.0)
See merge request espressif/esp-idf!22666
2023-03-10 11:42:02 +08:00
Mahavir Jain
045ad4638e
Merge branch 'feature/memprot_test_app_v5.0' into 'release/v5.0'
...
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3 (v5.0)
See merge request espressif/esp-idf!22582
2023-03-10 11:27:01 +08:00
Aditya Patwardhan
f31e3c1046
Merge branch 'fix/esp32_hw_mpi_data_corruption_v5.0' into 'release/v5.0'
...
esp32/mpi: Added alternate workaround for MPI data corruption issue (v5.0)
See merge request espressif/esp-idf!22581
2023-03-10 11:17:31 +08:00
Wang Meng Yang
e9092c2d2d
Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v5.0' into 'release/v5.0'
...
support ble write and notify throughput test at the same time (backport v5.0)
See merge request espressif/esp-idf!22143
2023-03-09 11:38:15 +08:00
Zim Kalinowski
2a804de4b7
Merge branch 'staging/rename_twdt_config_examples_v5.0' into 'release/v5.0'
...
TWDT: Use the new TWDT Kconfig options in the examples and tests (Backport v5.0)
See merge request espressif/esp-idf!22631
2023-03-08 16:09:58 +08:00
Jakob Hasse
0eddee63e8
bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init()
2023-03-08 14:13:11 +08:00
Zim Kalinowski
416ada0ce1
Merge branch 'refactor/nvs_allocatable_objects_v5.0' into 'release/v5.0'
...
refactor(nvs): custom allocator for all objects allocated in NVS (v5.0)
See merge request espressif/esp-idf!21792
2023-03-07 14:15:49 +08:00
morris
a77d7d2343
Merge branch 'bugfix/timg0_disable_v5.0' into 'release/v5.0'
...
esp_system: Fix TIMG0 still enabled after Timer is freed (v5.0)
See merge request espressif/esp-idf!22630
2023-03-07 11:56:50 +08:00
Omar Chebib
83907aaa20
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-03-07 10:23:43 +08:00
morris
2b6576ff08
Merge branch 'bugfix/some_small_fix_for_sleep_examples_backport_v5.0' into 'release/v5.0'
...
examples: some small fix for sleep examples(backport v5.0)
See merge request espressif/esp-idf!22618
2023-03-07 10:20:02 +08:00
morris
4cd4762b1f
Merge branch 'bugfix/return_error_when_fail_detect_oct_psram_v5.0' into 'release/v5.0'
...
esp_psram: return error when fail to detect oct psram (v5.0)
See merge request espressif/esp-idf!22612
2023-03-07 10:18:28 +08:00
Gustavo Henrique Nihei
aab0a5a4a8
esp_system: Fix TIMG0 still enabled after Timer is freed
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Gustavo Henrique Nihei
24484887a9
esp_system: Ensure TIMG0 clock is always enabled during normal operation
...
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Laukik Hase
a2dd95434f
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-06 12:39:12 +00:00
morris
6b397d5114
Merge branch 'contrib/github_pr_10640_v5.0' into 'release/v5.0'
...
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22588
2023-03-06 15:35:24 +08:00
Laukik Hase
d53d4ec930
esp32/mpi: Added alternate workaround for MPI data corruption issue
...
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
MPI peripheral
- Updated the previous workaround added for the same issue as it
was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
enabled.
- The test performance numbers had to be updated due to the
performance penalty introduced by this fix.
Closes https://github.com/espressif/esp-idf/issues/10403
2023-03-06 06:43:17 +00:00
jingli
cb64ff74fc
system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK
2023-03-06 11:56:56 +08:00
jingli
38c25ebceb
konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED
2023-03-06 11:53:35 +08:00
Song Ruo Jing
639e49d157
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
2023-03-06 11:14:05 +08:00
Armando
753ed2697f
esp_psram: return error when fail to detect oct psram
2023-03-06 10:56:28 +08:00
morris
2b14b7d061
Merge branch 'contrib/github_pr_10402_v5.0' into 'release/v5.0'
...
ledc: move callback to IRAM as it's called from an ISR (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22590
2023-03-06 10:14:58 +08:00
Marius Vikhammer
7ea24f38a7
Merge branch 'refactor/move_rom_test_to_fpga_only_v5.0' into 'release/v5.0'
...
esp_rom: miniz test only on FPGA (backport 5.0)
See merge request espressif/esp-idf!22601
2023-03-06 09:15:54 +08:00
morris
6f74272d56
Merge branch 'contrib/github_pr_10856_v5.0' into 'release/v5.0'
...
Correct typo in referenced function name (GitHub PR) (v5.0)
See merge request espressif/esp-idf!22587
2023-03-05 23:42:37 +08:00
Song Ruo Jing
f177b2c6c6
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-03-03 19:18:08 +08:00
jofrev
aa496e6550
Set errno in adjtime if delta is too large
...
errno should be set to EINVAL in this case according to adjtime's man
page.
2023-03-03 18:15:27 +08:00
jofrev
f2c8de6b1b
Set errno in adjtime if newlib time funcs are not implemented
...
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2023-03-03 18:15:26 +08:00
Jakob Hasse
1581c494d3
refactor(esp_rom): miniz test only on FPGA now
2023-03-03 18:15:06 +08:00
wanlei
62e1e2500c
spi_slave: fix io re-config issue
2023-03-03 17:56:23 +08:00
Song Ruo Jing
bdffb4403d
ledc: Add check for whether the registered callback is in iram in ledc_cb_register
2023-03-03 17:21:56 +08:00
Simon Arlott
9d34501ad1
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-03-03 16:50:26 +08:00
Bradley McFadden
701780891c
uart: Correct typo in referenced function name
...
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.
Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-03 16:45:17 +08:00
Zim Kalinowski
11c59a2e69
Merge branch 'bugfix/fix_psram_kconfig_help_v5.0' into 'release/v5.0'
...
psram: removed deprecated statement about coredump and external BSS (backport v5.0)
See merge request espressif/esp-idf!22562
2023-03-03 13:35:30 +08:00
Jiang Jiang Jian
7d7196d2d2
Merge branch 'ci/add_generic_to_xtal_26mhz_runners_5.0' into 'release/v5.0'
...
Ci: add generic to xtal 26mhz runners 5.0
See merge request espressif/esp-idf!21756
2023-03-02 17:17:47 +08:00
morris
0a5ed6ff9c
Merge branch 'bugfix/fix_btld_app_overlap_c2_v5.0' into 'release/v5.0'
...
ld: fixed bootloader and app potential overlap issue (v5.0)
See merge request espressif/esp-idf!22569
2023-03-02 15:26:02 +08:00
Rahul Tank
2b5f1140dd
Nimble: Added return value (success / failure ) to nimble_port_init
2023-03-02 09:47:03 +05:30
Jakob Hasse
28c325b291
refactor(nvs): custom allocator for all objects allocated in NVS
2023-03-02 10:49:53 +08:00
Armando
fbe7d6fca9
ld: fixed bootloader and app potential overlap issue
2023-03-02 10:45:40 +08:00
Chen Yudong
c8e7ab7f17
CI: add generic to xtal_40mhz jobs
2023-03-01 22:40:32 +08:00
Omar Chebib
e4c94328b9
psram: removed deprecated statement about coredump and external BSS
2023-03-01 19:02:24 +08:00
Armando
aa3cc6ac17
esp_adc: fix continuous mode pm lock release fail issue and add tests
...
Closes https://github.com/espressif/esp-idf/issues/10853
2023-03-01 10:51:19 +08:00
Island
564b94fe5b
Merge branch 'feature/esp32c2_optimize_npl_api_v5.0' into 'release/v5.0'
...
Optimized NPL Freertos API
See merge request espressif/esp-idf!21906
2023-02-28 20:51:49 +08:00
Jiang Jiang Jian
d759ee5aea
Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
...
touch: update examples and tests (v5.0)
See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Mahavir Jain
d56a6e1691
Merge branch 'fix/http_client_disable_auto_redirect_causes_loop_v5.0' into 'release/v5.0'
...
http_client: fixed looping caused when disable_auto_redirect enabled (v5.0)
See merge request espressif/esp-idf!22536
2023-02-28 19:54:31 +08:00
Jiang Jiang Jian
008a4dc54e
Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue_v5.0' into 'release/v5.0'
...
NimBLE: Fix incomplete clearing of peer_dev_rec (v5.0)
See merge request espressif/esp-idf!21952
2023-02-28 14:20:48 +08:00
harshal.patil
f39f6011f5
http_client: fixed looping caused when disable_auto_redirect enabled
...
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-28 10:29:24 +05:30
zwl
3eb8a9cf1e
ble: Fixed flow control count error on ESP32-C2
2023-02-27 21:48:19 +08:00
zhiweijian
61c3b96957
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2023-02-27 13:01:13 +00:00
Marius Vikhammer
ca0623e311
Merge branch 'bugfix/freertos_stream_buffer_test_v5.0' into 'release/v5.0'
...
FreeRTOS: Fix stream buffer send-receive test (v5.0)
See merge request espressif/esp-idf!22507
2023-02-27 19:02:04 +08:00
Zim Kalinowski
fd707e1d03
Merge branch 'bugfix/twai_listen_only_errata_v5.0' into 'release/v5.0'
...
twai: Add errata workaround for listen only mode (v5.0)
See merge request espressif/esp-idf!22514
2023-02-27 18:13:11 +08:00
Shen Weilong
0fce029b92
[esp32c2] Fixed the occasional assertion when deinit the ble controller
2023-02-27 16:56:05 +08:00
zwl
7b28d40c0a
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-27 16:56:05 +08:00
zwl
530c07a5be
Optimized NPL Freertos API
2023-02-27 16:56:05 +08:00
Sumeet Singh
ace6a3b4bb
NimBLE: Fix incomplete clearing of peer_dev_rec
2023-02-27 14:21:57 +05:30
Jiang Jiang Jian
4abb6efb36
Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v5.0' into 'release/v5.0'
...
sleep: fix gpio wakeup related issues(backport v5.0)
See merge request espressif/esp-idf!22332
2023-02-27 15:12:13 +08:00
Jiang Jiang Jian
5ca38da869
Merge branch 'bugfix/remove_global_min_max_def_v5.0' into 'release/v5.0'
...
Nimble: Removes global min/max definition causing problems with other libraries (v5.0)
See merge request espressif/esp-idf!21817
2023-02-27 15:11:28 +08:00
Jiang Jiang Jian
1f73b5e4cd
Merge branch 'bugfix/wps_start_state_issue_v5.0' into 'release/v5.0'
...
esp_wifi: Add check for wps start state (v5.0)
See merge request espressif/esp-idf!22025
2023-02-27 15:10:01 +08:00
Jiang Jiang Jian
809aeb77b7
Merge branch 'bugfix/update_esp_rom_rtc_header_v5.0' into 'release/v5.0'
...
update esp rom rtc header (backport to v5.0)
See merge request espressif/esp-idf!21915
2023-02-27 15:09:19 +08:00