Wang Meng Yang
09a8221d31
Merge branch 'feature/update_hfp_hf_version_v4.2' into 'release/v4.2'
...
component_bt: Update HFP_HF version to 1.7.2(v4.2)
See merge request espressif/esp-idf!17393
2022-03-10 20:20:08 +08:00
Wang Meng Yang
093fc90b92
Merge branch 'bugfix/a2dp_sniff_v4.2' into 'release/v4.2'
...
Fix crash when host exit sniff mode(v4.2)
See merge request espressif/esp-idf!17342
2022-03-10 14:09:03 +08:00
Krzysztof Budzynski
219c579084
Merge branch 'docs/fix_broken_links_4.2' into 'release/v4.2'
...
docs: fix broken links in queue.h file (v4.2)
See merge request espressif/esp-idf!17182
2022-03-09 19:12:40 +08:00
morris
cc518c3d05
Merge branch 'bugfix/i2s_write_failed_in_32bit_slave_mode_v4.2' into 'release/v4.2'
...
i2s: fix write failure issue in slave mode (backport v4.2)
See merge request espressif/esp-idf!15082
2022-03-09 19:10:56 +08:00
xiongweichao
5e8b07bdea
Update HFP_HF version to 1.7.2
2022-03-08 11:11:58 +08:00
Armando
e9bbe44d19
spi_master: fix master HD mode cannot correctly receive data issue when using DMA
2022-03-07 13:54:25 +08:00
Armando
e6c97308b9
sleep: restore analog calibration registers after waking up from light sleep
2022-03-07 11:18:21 +08:00
Ivan Grokhotkov
bb29e93ddf
versions: Update version to 4.2.3
2022-03-03 14:44:57 +01:00
xiongweichao
306df682cc
Fix crash when host exit sniff mode
2022-03-03 16:31:43 +08:00
laokaiyao
0c71604b80
i2s: fix write failure issue in slave mode (backport v4.2)
2022-03-03 15:16:53 +08:00
songruojing
3d13370968
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-02 10:53:30 +08:00
Michael (XIAO Xufeng)
d87d385e6f
bootloader: fixed the issue custom_uart_gpio doesn't take effect
2022-03-02 10:53:30 +08:00
jingli
8dd7662696
fix pm lock issue in dual core mode
2022-02-23 22:00:36 +08:00
Jiang Jiang Jian
d503c23d7a
Merge branch 'bugfix/update_stack_init_check_4.2' into 'release/v4.2'
...
Nimble: Updated checks of stack initialization status before executing stack command
See merge request espressif/esp-idf!17198
2022-02-22 09:12:00 +00:00
Michael (XIAO Xufeng)
ea6f4fd2ff
esp_flash: fix write issue using buffer on stack out of lifetime
2022-02-20 03:24:59 +08:00
Isha Pardikar
05f7dd1d28
Merge branch 'bugfix/update_stack_init_check_4.2' into 'release/v4.2'
...
Nimble: Updated checks of stack initialization status before executing stack command
2022-02-17 15:09:52 +05:30
intern
e954c47abd
docs: fix broken links
2022-02-16 14:24:22 +08:00
xiewenxiang
e39a101aaa
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:28:45 +08:00
Nachiket Kukade
9f85fb2843
esp_wifi: Update wifi lib
...
Fix assoc comeback causing invalid state
2022-02-15 18:11:41 +05:30
Darian Leung
a0666b9be8
TWAI: FIFO overrun handling and errata workarounds
...
This commit adds handling for FIFO overruns and
adds workarounds for HW erratas on the ESP32.
Closes https://github.com/espressif/esp-idf/issues/2519
Closes https://github.com/espressif/esp-idf/issues/4276
2022-02-15 14:16:53 +08:00
Darian Leung
90ee294139
TWAI: Track HW state in HAL
...
This commit refactors the TWAI HAL such that it now tracks
the harwdare's state instead of at the driver layer.
Some HAL and LL cleanup was also done.
2022-02-15 14:16:53 +08:00
zhangyanjiao
c4ae443171
esp_wifi: refactor modem sleep access phy
2022-02-15 11:48:03 +08:00
Xia Xiaotian
cf2093be03
esp_wifi: store PHY digital registers before disabling PHY and load
...
them after enabling PHY
2022-02-15 11:43:10 +08:00
zhangyanjiao
8920361ff3
make esp32 same to esp32s2 in esp_phy_enable()
2022-02-15 11:43:10 +08:00
Xia Xiaotian
d472641430
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-15 11:43:10 +08:00
Zim Kalinowski
15a20d8100
Merge branch 'bugfix/sdio_slave_dma_desc_int_v4.2' into 'release/v4.2'
...
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area (v4.2)
See merge request espressif/esp-idf!17139
2022-02-15 03:38:38 +00:00
Zim Kalinowski
6f2d77ed2c
Merge branch 'bugfix/mdns_null_deref_fuzzer_v4.2' into 'release/v4.2'
...
mdns: Fix potential null deref reported by fuzzer test(v4.2)
See merge request espressif/esp-idf!17145
2022-02-15 03:37:55 +00:00
Jiang Jiang Jian
3055474491
Merge branch 'bugfix/usb_device_struct_cleanup_v4.2' into 'release/v4.2'
...
USB: Cleanup device side struct and fix incorrect DM pulldown configuration (v4.2)
See merge request espressif/esp-idf!17102
2022-02-15 03:28:01 +00:00
Jiang Jiang Jian
128f228169
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap_v4.2' into 'release/v4.2'
...
rmt: do not support rx wrap on esp32s2 (v4.2)
See merge request espressif/esp-idf!17081
2022-02-15 03:07:16 +00:00
Jiang Jiang Jian
95f7e51af0
Merge branch 'bugfix/eap_client_crash_v4.2' into 'release/v4.2'
...
wpa_supplicant: Fix memory corruption (v4.2)
See merge request espressif/esp-idf!17130
2022-02-15 03:06:40 +00:00
Michael (XIAO Xufeng)
aed907c728
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
2022-02-15 00:01:46 +08:00
Darian Leung
3e9eec1ebf
Fix incorrect D- pulldown and cleanup USB device struct
...
This commit fixes the incorrect setting of the D- pulldown resistor in the USB LL.
The usb_struct.h used by USB device mode has also been cleaned up.
2022-02-14 23:51:32 +08:00
David Cermak
3efd220463
mdns: Fix potential null deref reported by fuzzer test
2022-02-14 22:52:26 +08:00
Jiang Jiang Jian
7482ad5139
Merge branch 'bugfix/support_esp32s2_eco1_v4.2' into 'release/v4.2'
...
esp_phy: Update ESP32S2 phy lib to support eco1 chip(v4.2)
See merge request espressif/esp-idf!16722
2022-02-14 12:40:55 +00:00
Wang Meng Yang
faba034955
Merge branch 'bugfix/clear_whitelist_v4.2' into 'release/v4.2'
...
Nimble : Modify `ble_gap_wl_set` to support clearing complete whitelist
See merge request espressif/esp-idf!16942
2022-02-14 10:47:02 +00:00
Jiang Jiang Jian
a5ce5002c0
Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key_v42' into 'release/v4.2'
...
freemodbus: fix invalid error handling for duplicate param key (backport v4.2)
See merge request espressif/esp-idf!14787
2022-02-14 06:09:03 +00:00
Jiang Jiang Jian
893fae229c
Merge branch 'bugfix/task_wdt_timeout_uint32_overflow_v4.2' into 'release/v4.2'
...
Task WDT: Fix overflow issue during timeout calculation (v4.2.3)
See merge request espressif/esp-idf!16983
2022-02-14 06:08:10 +00:00
Jiang Jiang Jian
82c529a773
Merge branch 'bugfix/mcpwm-deadtime-preset-config-backport_v4.2' into 'release/v4.2'
...
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v4.2)
See merge request espressif/esp-idf!14623
2022-02-14 06:02:37 +00:00
Li Hang Fan
54251cfada
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v4.2)
2022-02-14 06:02:36 +00:00
Michael (XIAO Xufeng)
dbf33d7947
sdio_slave: fixed the issue DMA desc not capable
2022-02-14 12:57:57 +08:00
Michael (XIAO Xufeng)
4d9a68e091
Merge branch 'flash/add_th_support_v4.2' into 'release/v4.2'
...
spi_flash: add support for th 1M flash(backport v4.2)
See merge request espressif/esp-idf!16717
2022-02-14 04:45:59 +00:00
Michael (XIAO Xufeng)
b4862d1ba2
Merge branch 'feature/support_new_psram_v4.2' into 'release/v4.2'
...
psram: add ESP32-D0WD-R2-V3 support(backport v4.2)
See merge request espressif/esp-idf!16709
2022-02-13 14:45:30 +00:00
morris
c7b5d3494c
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-13 12:20:20 +08:00
Kapil Gupta
eec9d6db94
wpa_supplicant: Fix invalid memory dereference
2022-02-12 10:36:00 +05:30
Marius Vikhammer
9c81bceb0e
Task WDT: Fix overflow issue during timeout calculation
...
Closes https://github.com/espressif/esp-idf/issues/8239
2022-02-11 15:57:33 +08:00
Ivan Grokhotkov
dd67f769d9
driver: add diagnostic information into UART test, enable flow control
2022-02-11 13:47:06 +08:00
Rahul Tank
3e1efffd8a
Nimble : Modify ble_gap_wl_set
to support clearing complete whitelist
2022-02-11 10:35:01 +05:30
Jiang Jiang Jian
9e7811b95e
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_4.2' into 'release/v4.2'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.2)
See merge request espressif/esp-idf!16892
2022-02-11 02:59:01 +00:00
Michael (XIAO Xufeng)
dc50f0e828
Merge branch 'bugfix/fix_spi_cs_hold_time_issue_v4.2' into 'release/v4.2'
...
spi_master: fix spi cs_ena_posttrans issue (v4.2)
See merge request espressif/esp-idf!16688
2022-02-10 09:37:34 +00:00
jincheng
17b8fbfc1b
fix cs evt for rd_rem_ext_feats delayed issue
2022-02-10 15:28:26 +08:00
chenjianxing
10c604475d
esp_phy: Update ESP32S2 phy lib to support eco1 chip
2022-02-10 14:00:53 +08:00
Kapil Gupta
eb90d9bf18
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:13:01 +05:30
Jiang Jiang Jian
fcce82ea53
Merge branch 'bugfix/modbus_port_fix_lgpl_licensed_files_v4.2' into 'release/v4.2'
...
freemodbus: fix port contains lgpl licensed files (v4.2)
See merge request espressif/esp-idf!16551
2022-01-19 08:23:42 +00:00
zhangyanjiao
2df406b6ce
esp_wifi:
...
1. fix the issue that no tbtt is generated in station+softap mode when maximum modem sleep is enabled
2. store PHY digital registers before disabling PHY and load them after enabling PHY
3. update libphy.a to V4670 719f9f6_20210218 for esp32
4. update libphy.a to V1500 20210225_0a54a2f for esp32s2
2022-01-18 13:18:36 +08:00
Xia Xiaotian
c98745a5aa
esp_wifi: store PHY digital registers before disabling PHY and load
...
them after enabling PHY
2022-01-18 13:18:36 +08:00
aditi_lonkar
459674c444
esp_wifi: Fixed null pointer dereference
2022-01-14 15:00:52 +08:00
zhangyanjiao
c01c7acdab
esp_wifi:
...
1. Fixed sniffer fcs error crash issue
2. Added support of SHA256 AKM without PMF enabled
3. Added station based check for auth frame formation
2022-01-14 14:57:51 +08:00
ronghulin
f70ac4e529
fix phy init memory leak
2022-01-14 14:26:02 +08:00
0xFEEDC0DE64
28a340af37
Init phy data to default if invalid in flash partition to avoid bootloops
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6610
2022-01-14 14:26:02 +08:00
Jiang Jiang Jian
909db7cd91
Merge branch 'mesh/bugfix_fix_layer2_node_connection_issue_v4.2' into 'release/v4.2'
...
esp_wifi_mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared(backport_v4.2)
See merge request espressif/esp-idf!15730
2022-01-14 05:32:46 +00:00
Jiang Jiang Jian
0336c5f525
Merge branch 'bugfix/wpa3_memory_leak_v4.2' into 'release/v4.2'
...
esp_wifi: Fixes memory leak in wpa3 connection.(v4.2)
See merge request espressif/esp-idf!16561
2022-01-14 04:42:53 +00:00
Jiang Jiang Jian
cf5d7befaf
Merge branch 'bugfix/PRs_on_esp_hid_v4.2' into 'release/v4.2'
...
bugfix/handle_2_esp_hid_PRs (v4.2)
See merge request espressif/esp-idf!16710
2022-01-14 03:12:41 +00:00
Jiang Jiang Jian
9b53301b4d
Merge branch 'bugfix/fix_spp_open_err_bda_v4.2' into 'release/v4.2'
...
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.2]
See merge request espressif/esp-idf!16615
2022-01-14 03:12:03 +00:00
Jiang Jiang Jian
85a36b86d0
Merge branch 'bugfix/touch_ll_get_sleep_time_v4.2' into 'release/v4.2'
...
Fixed error in "touch_ll_get_sleep_time" function for ESP32 (v4.2)
See merge request espressif/esp-idf!16249
2022-01-14 03:05:00 +00:00
Jiang Jiang Jian
9bf6cf5ed4
Merge branch 'bugfix/alarm_update_invalid_v4.2' into 'release/v4.2'
...
timer: stop alarm if alarm value doesn't change in ISR callback (v4.2)
See merge request espressif/esp-idf!16534
2022-01-14 03:04:36 +00:00
Jiang Jiang Jian
6683751579
Merge branch 'bugfix/gpio_uninstall_isr_service_intr_wdt_crash_v4.2' into 'release/v4.2'
...
gpio: Bugfix - Move esp_intr_free() out of the critical section in gpio_uninstall_isr_service() (backport v4.2)
See merge request espressif/esp-idf!16597
2022-01-14 03:04:15 +00:00
yuanjm
1ebd52f36a
smartconfig: Fix smartconfig set socket option fail
2022-01-13 11:00:13 +08:00
Roland Dobai
698efba393
Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail_v42' into 'release/v4.2'
...
Bugfix/fix modbus rs485 rts en fail (backport v4.2)
See merge request espressif/esp-idf!11566
2022-01-12 08:44:05 +00:00
Zim Kalinowski
5f2f1c013a
Merge branch 'bugfix/app_compatible_with_3_1_bootloader_v4.2' into 'release/v4.2'
...
esp_system: Fix RTC_WDT protection in esp_restart_noos (v4.2)
See merge request espressif/esp-idf!16742
2022-01-12 08:37:55 +00:00
Krzysztof Budzynski
476a0eb26d
Merge branch 'fix/remove_deprecated_macro_SPI_TRANS_SET_CD_v4.2' into 'release/v4.2'
...
Remove a deprecated macro: SPI_TRANS_SET_CD (v4.2)
See merge request espressif/esp-idf!16690
2022-01-12 05:50:53 +00:00
Michael (XIAO Xufeng)
aa445dceeb
Merge branch 'bugfix/adc_power_issue_4.2' into 'release/v4.2'
...
adc: fix adc power issue (4.2)
See merge request espressif/esp-idf!14280
2022-01-12 03:38:19 +00:00
Wang Meng Yang
9b5e0fb672
Merge branch 'bugfix/a2dp_source_congest_v4.2' into 'release/v4.2'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink(v4.2)
See merge request espressif/esp-idf!16708
2022-01-11 02:41:55 +00:00
KonstantinKondrashov
18f2078c5c
esp_system: Fix RTC_WDT protection in esp_restart_noos
...
Fixed issue - v4.3 app not compatible with 3.1 bootloader
2022-01-10 21:58:01 +08:00
Cao Sen Miao
e59e7e1432
spi_flash: add support for th 1M flash
2022-01-10 11:53:37 +08:00
Cao Sen Miao
dfa736b0e3
psram: add ESP32-D0WD-R2-V3 support
2022-01-10 11:06:25 +08:00
xiongweichao
f41d77cce9
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-10 11:01:41 +08:00
xiongweichao
45b9b12c04
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-10 11:00:59 +08:00
xiongweichao
cf2f2a44c7
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-10 11:00:03 +08:00
xiongweichao
190bd80f3d
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-10 10:59:43 +08:00
aleks
239e56541c
freemodbus: fix uart_wait_tx_done() reenable tx_done interrupt
2022-01-07 16:45:47 +00:00
aleks
9ac8205208
freemodbus: fix rts enable fail when transmit frame
2022-01-07 16:45:47 +00:00
aleks
4c5099d194
freemodbus: fix modbus rs485 rts enable fail v42
2022-01-07 16:45:47 +00:00
aleks
bf8bff9870
freemodbus: fix invalid error handling for duplicate param_key
2022-01-07 16:09:25 +00:00
xiongweichao
ae676e3491
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-07 17:13:03 +08:00
Wang Fang
fec6e140fb
fix: remove a deprecated macro: SPI_TRANS_SET_CD
2022-01-07 16:39:31 +08:00
Armando
ca6636c33e
spi_master: fix spi cs_ena_posttrans issue
2022-01-07 14:28:57 +08:00
Jiang Jiang Jian
2b95a627be
Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.2' into 'release/v4.2'
...
CI: set authmode by switching number to string (backport v4.2)
See merge request espressif/esp-idf!16555
2022-01-06 10:09:30 +00:00
Armando
a129933ccd
adc: apply adc power API to adc driver
2022-01-06 11:42:55 +08:00
Zim Kalinowski
dca26e3fe9
Merge branch 'bugfix/psram_fix_bootloader_v4.2' into 'release/v4.2'
...
bootloader: disable psram cache bug fix for bootloader (v4.2)
See merge request espressif/esp-idf!15806
2022-01-02 06:13:12 +00:00
liqigan
4b3b77e4e8
fix SPP open with wrong remote bd_addr
2021-12-31 15:46:15 +08:00
songruojing
7ef8012019
gpio: Bugfix - Move esp_intr_free() out of the critical section in gpio_uninstall_isr_service()
...
Closes https://github.com/espressif/esp-idf/issues/5571
Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
(cherry picked from commit 0e8286c57b
)
2021-12-30 14:45:13 +08:00
Murray Fordyce
000599986f
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2021-12-30 11:02:54 +08:00
Robin Krens
e9714eaaa5
spacing styling correction
2021-12-30 11:02:54 +08:00
Robin Krens
c115194e88
minor styling changes
2021-12-30 11:02:54 +08:00
Robin Krens
77c3a113bf
esp_hid: fix output report char declaration
...
Current issue: output reports sent by Windows not received.
The report characteristic declaration should also support write without
response as specified by HIDS profile:
See https://www.bluetooth.com/specifications/GATT/ (page 14)
2021-12-30 11:02:54 +08:00
Zim Kalinowski
5f137204b1
Merge branch 'bugfix/ringbuf_read_pointer_wrap_v4.2' into 'release/v4.2'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v4.2)
See merge request espressif/esp-idf!15883
2021-12-30 02:22:05 +00:00
Zim Kalinowski
f94ce9f51d
Merge branch 'bugfix/fix_select_timeout_v4.2' into 'release/v4.2'
...
VFS: `select` function's timeout is now POSIX compliant (backport v4.2)
See merge request espressif/esp-idf!16191
2021-12-30 02:20:31 +00:00
aditi_lonkar
0b98671385
esp_wifi: Fixes memory leak in wpa3 connection.
2021-12-28 11:37:23 +05:30
huchaoru
fac6a5af5b
bugfix: set authmode by switching number to string (backport v4.2)
2021-12-27 20:00:33 +08:00
aleks
394c2c100f
freemodbus: fix port contains lgpl licensed files
...
Initial version of freemodbus master port files have been added to ESP-IDF based on https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32 .
The overall repository license, at the time of adding these files, has been BSD 3-clause. However at that time, several port files carried LGPL license headers. As the author of these files confirmed in https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32/issues/61#issuecomment-977828450 , this wasn't intentional. ESP-IDF version of modbus master port has been rewritten to target FreeRTOS instead of RT-Thread, but the license headers remained from the original version. This commit corrects this, replacing the license of these files with BSD 3-clause.
2021-12-27 11:12:32 +01:00
Sudeep Mohanty
c6134337a6
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:14:17 +08:00
Sudeep Mohanty
31327caaf5
Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.2' into 'release/v4.2'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.2)
See merge request espressif/esp-idf!16231
2021-12-24 06:16:47 +00:00
morris
93c784e1c8
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:08:33 +08:00
Jiang Jiang Jian
775701d610
Merge branch 'feature/mbedtls-2.16.12-integration_v4.2' into 'release/v4.2'
...
mbedtls: upgrade to release v2.16.12 (v4.2)
See merge request espressif/esp-idf!16485
2021-12-24 03:20:34 +00:00
RichFalk
6df7b049a3
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-23 15:53:48 +08:00
shenjun
5ed4a3dbfb
esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted
...
1. fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted
2. fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2021-12-23 11:19:19 +08:00
Jiang Jiang Jian
9273f5045e
Merge branch 'bugfix/fix_rx_fragment_error_issue_v4.2' into 'release/v4.2'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs(Backport v4.2)
See merge request espressif/esp-idf!16398
2021-12-22 17:33:54 +00:00
Mahavir Jain
1319034019
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:03:30 +05:30
Mahavir Jain
50df004292
mbedtls: small documentation update
2021-12-21 14:03:30 +05:30
Wang Meng Yang
e7687c7688
Merge branch 'bugfix/fix_spp_listen_err_v4.2' into 'release/v4.2'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.2]
See merge request espressif/esp-idf!16385
2021-12-21 05:28:25 +00:00
Jiang Jiang Jian
0c15051452
Merge branch 'bugfix/wpa_supplicant_logs_release_v4.2' into 'release/v4.2'
...
esp_wifi: Change the verbosity of wpa_supplicant logs. (Backport v4.2)
See merge request espressif/esp-idf!16347
2021-12-21 03:36:28 +00:00
Wang Meng Yang
db669217ac
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.2' into 'release/v4.2'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.2)
See merge request espressif/esp-idf!16379
2021-12-20 03:11:22 +00:00
Jiang Jiang Jian
769099dd64
Merge branch 'bugfix/lwip_config_dhcp_client_id_v4.2' into 'release/v4.2'
...
lw-ip: Add config for DHCP client id; Fix DNS server idx assert issue (v4.2)
See merge request espressif/esp-idf!16174
2021-12-16 06:43:41 +00:00
Jiang Jiang Jian
33a6effd3e
Merge branch 'feature/support_eap_fast_release_v4.2' into 'release/v4.2'
...
Feature/support eap fast release v4.2
See merge request espressif/esp-idf!16142
2021-12-16 03:37:49 +00:00
Jiang Jiang Jian
0204aea35b
Merge branch 'bugfix/fix_blufi_encryption_fail_v4.2' into 'release/v4.2'
...
components/bt: fix blufi encryption fail(backport release/v4.2)
See merge request espressif/esp-idf!16316
2021-12-16 03:33:51 +00:00
David Cermak
0eb18951be
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/7912
2021-12-15 13:17:03 +01:00
Konstantin Kondrashov
0877949237
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac_v4.2' into 'release/v4.2'
...
efuse_table_gen: Fixes wrong joining fields with omitted names (v4.2)
See merge request espressif/esp-idf!15739
2021-12-14 14:07:39 +00:00
NikLeberg
8c3b358abf
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 19:44:31 +08:00
Shang Zhou
6f8ad7eb5e
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-14 19:43:54 +08:00
muhaidong
6baac84d4a
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 19:28:31 +08:00
nishanth.radja
69ca323a74
esp_wifi: Add support for EAP-FAST authentication method
2021-12-14 12:37:26 +05:30
xiewenxiang
146bbe95be
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 14:10:29 +08:00
xiewenxiang
b3adae9b40
components/bt: Support low duty cycle directed advertising
2021-12-14 14:10:29 +08:00
liqigan
6c2d8ea653
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:16:42 +08:00
Vikram Dattu
3af5f20da1
Added support for security1 in local control
...
1. Added config options to chose from protocom security.
It can be chosen 0/1 or custom.
Possible to set POP as well
2. Added support in `esp_local_ctrl.py` test script for sec_ver selection
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-12-09 15:26:14 +08:00
Hrudaynath Dhabe
c3e66a4ba2
esp_wifi: Change the verbosity of wpa_supplicant logs.
2021-12-09 12:55:32 +05:30
Jiang Jiang Jian
2fa5cee80d
Merge branch 'bugfix/fix_some_wifi_bugs_20211202_v4.2' into 'release/v4.2'
...
fix wifi bugs 20211202 (backport v4.2)
See merge request espressif/esp-idf!16256
2021-12-09 06:19:06 +00:00
xiewenxiang
ab7ad4e771
components/bt: fix blufi encryption fail
2021-12-08 14:09:29 +08:00
Mahavir Jain
5cc2eb15c9
Merge branch 'bugfix/bootloader_debug_buffers_v4.2' into 'release/v4.2'
...
bootloader_support: Fix and re-enable bootloader_debug_buffer function (v4.2)
See merge request espressif/esp-idf!16075
2021-12-07 02:34:42 +00:00
Jiang Jiang Jian
e694ffd5af
Merge branch 'bugfix/link_spi_flash_rom_func_in_bootloader_stage_v4.2' into 'release/v4.2'
...
esp_rom: link rom spi flash functions in bootloader stage (v4.2)
See merge request espressif/esp-idf!15258
2021-12-06 03:57:55 +00:00
Jiang Jiang Jian
6317335174
Merge branch 'feature/add_coex_hci_command_v4.2' into 'release/v4.2'
...
Add hci command to set coexistence status (v4.2)
See merge request espressif/esp-idf!16055
2021-12-06 03:57:11 +00:00
Jiang Jiang Jian
38714c37d1
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback_v4.2' into 'release/v4.2'
...
bootloader_support: Adds fault injection protection for check_anti_rollback (v4.2)
See merge request espressif/esp-idf!16181
2021-12-06 03:56:33 +00:00
Jiang Jiang Jian
36574af3c9
Merge branch 'reduce_bootup_time_when_using_usb-serial-jtag_v4.2' into 'release/v4.2'
...
rtc_clk: reduce bootup time when using usb-serial-jtag(backport v4.2)
See merge request espressif/esp-idf!16262
2021-12-06 03:55:21 +00:00
Jiang Jiang Jian
06db6f510f
Merge branch 'feature/add_dhcp_option_v4.2' into 'release/v4.2'
...
lw-ip: Add macro to disable vendor class option(backport v4.2)
See merge request espressif/esp-idf!15982
2021-12-06 03:54:59 +00:00
jingli
417711c390
reduce bootup time when using usb-serial-jtag
2021-12-03 21:01:02 +08:00
zhangyanjiao
aa5e034c52
eps_wifi:
...
1. Fix airkiss and esptouch find channel crash issue
2. Fix RF singal test without 9M rate issue
3. Fix issue of setting invalid size to nvs misc log even after erasing it
4. Fix WEP connection and crash issue
2021-12-03 17:59:31 +08:00
xiehang
a249794640
esp_wifi: Add beacon timeout event
2021-12-03 15:37:06 +08:00
Axel Lin
721fe216e7
wpa_supplicant: Fix wps_free_pins to remove all pins
...
Current code does not correctly free all pins in wps_free_pins due to the
semicolon at the end of dl_list_for_each_safe(). Fix it.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-12-03 14:35:55 +08:00
Sergey Gorban
f74b5accf3
Fixed error in "touch_ll_get_sleep_time" function for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/6895
2021-12-03 12:41:31 +08:00
Mahavir Jain
37634f09b2
Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode_v4.2' into 'release/v4.2'
...
secure_boot: Fix warning when UART ROM DL mode is disabled (v4.2)
See merge request espressif/esp-idf!16239
2021-12-03 04:27:14 +00:00
Jiang Jiang Jian
b656c406bf
Merge branch 'bugfix/enable_gpio_20_v4.2' into 'release/v4.2'
...
gpio: Enable IO20 on ESP32 (backport v4.2)
See merge request espressif/esp-idf!15023
2021-12-03 03:39:47 +00:00
Jiang Jiang Jian
19643f715c
Merge branch 'bugfix/fix_memory_leak_controller_deinit_v4.2' into 'release/v4.2'
...
ESP32: Fix memory leak in controller deinit function v4.2
See merge request espressif/esp-idf!15970
2021-12-03 03:32:18 +00:00
Aditya Patwardhan
bffa30785b
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-12-02 21:40:49 +08:00
Mahavir Jain
adda59cc97
bootloader: add anti-FI checks around secure version in anti-rollback scheme
2021-12-02 21:17:27 +08:00
Gustavo Henrique Nihei
8ffd02be29
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-30 21:02:23 +08:00
Omar Chebib
53daf3dbbf
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:22:55 +08:00
yuanjm
3cfcf2b4fd
lwip: Add macro to disable vendor class option
2021-11-23 19:37:50 +08:00
Alexey Gerenkov
6d7aa57177
coredump: Fixes core dump private header inclusion guard
2021-11-23 13:06:18 +03:00
Alexey Gerenkov
0473ddffa7
coredump: Fixes ESP-specific panic reasons handling
2021-11-23 13:06:03 +03:00
Jiang Jiang Jian
d4c247dac6
Merge branch 'bugfix/fix_static_check_error_mr_4.2' into 'release/v4.2'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16046
2021-11-23 07:27:18 +00:00