Michael (XIAO Xufeng)
81948262c8
sdio_slave: fixed the issue DMA desc not capable
2022-02-14 12:55:56 +08:00
Christian Winkler
06d7fd95d4
secure_boot.c add missing '#include "esp_flash_encrypt.h"'
2022-02-13 19:51:55 +01:00
Cao Sen Miao
1f980ae982
psram: add ESP32-D0WD-R2-V3 support
2022-02-13 22:31:24 +08:00
Michael (XIAO Xufeng)
d04dacdaa1
Merge branch 'bugfix/usb_device_struct_cleanup_v4.3' into 'release/v4.3'
...
USB: Cleanup device side struct and fix incorrect DM pulldown configuration (v4.3)
See merge request espressif/esp-idf!17103
2022-02-12 20:53:02 +00:00
Kapil Gupta
7df150b3de
wpa_supplicant: Fix invalid memory dereference
2022-02-12 10:32:53 +05:30
Ivan Grokhotkov
f527010044
esp_rom: remove functions which depend on sizeof(struct stat)
...
...and all their callers.
With the upcoming switch from sizeof(time_t)==4 to sizeof(time_t)==8,
sizeof(struct stat) is also increasing.
A few newlib functions present in ROM allocate 'struct stat' on the
stack and call _fstat_r on this structure. The implementation of
fstat is provided in ESP-IDF. This implementation will often do
memset(st, 0, sizeof(*st)), where st is 'struct stat*', before setting
some fields of this structure. If IDF is built with sizeof(st)
different from sizeof(st) which ROM was built with, this will lead
to an out-of-bounds write and a stack corruption.
This commit removes problematic ROM functions from the linker script.
Here are the functions which allocate 'struct stat':
* _isatty_r (in ROM)
* __swhatbuf_r, called by __smakebuf_r, called by __swsetup_r and
__srefill_r (in ROM)
* _fseeko_r (not in ROM)
* glob2 (not in ROM)
* _gettemp (not in ROM)
As a result, these functions are used from libc.a, and use correct
size of 'stat' structure.
Closes https://github.com/espressif/esp-idf/issues/7980
2022-02-11 07:07:12 +00:00
songruojing
b1017de2e6
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3
2022-02-10 20:27:43 +08:00
Michael (XIAO Xufeng)
dcfd5187ac
Merge branch 'bugfix/fix_spi_cs_hold_time_issue_v4.3' into 'release/v4.3'
...
spi_master: fix spi cs_ena_posttrans issue (v4.3)
See merge request espressif/esp-idf!16687
2022-02-10 09:36:50 +00:00
Darian Leung
7f51eb7e7c
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-10 17:20:39 +08:00
morris
b979547b06
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap_v4.3' into 'release/v4.3'
...
rmt: do not support rx wrap on esp32s2 (v4.3)
See merge request espressif/esp-idf!17080
2022-02-10 09:12:04 +00:00
Cao Sen Miao
9c4b96d63b
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2022-02-10 10:33:40 +08:00
Wang Meng Yang
119ae77993
Merge branch 'bugfix/a2dp_source_congest_v4.3' into 'release/v4.3'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.3)
See merge request espressif/esp-idf!16735
2022-02-09 11:34:21 +00:00
Wang Meng Yang
ab099369c8
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.3' into 'release/v4.3'
...
component_bt: fixed config parse crash after flash_erase(v4.3)
See merge request espressif/esp-idf!16731
2022-02-09 11:15:52 +00:00
Cao Sen Miao
3a628eb470
usb_serial_jtag: remove the strict condition check in esp_phy
2022-02-09 19:02:36 +08:00
morris
81e3035f4d
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-09 18:23:44 +08:00
Cao Sen Miao
d64553797c
usb_serial_jtag: can print when wifi enabled by default
...
Closes https://github.com/espressif/esp-idf/issues/8131
2022-02-09 17:36:04 +08:00
Zim Kalinowski
5c72bbcb3d
Merge branch 'bugfix/uart_no_int_after_flush_v4.3' into 'release/v4.3'
...
UART: RX interrupts are now properly restored after a flush (backport v4.3)
See merge request espressif/esp-idf!16928
2022-02-09 06:51:43 +00:00
Ivan Grokhotkov
5bcb77fdca
Merge branch 'bugfix/vfs_open_errno_v4.3' into 'release/v4.3'
...
vfs: don't overwrite errno by a hard coded ENOENT (Github PR) (v4.3)
See merge request espressif/esp-idf!17045
2022-02-08 14:37:45 +00:00
Kapil Gupta
b19424d67e
wpa_supplicant: Scan resumption in PBC mode
2022-02-08 17:16:29 +05:30
Jiang Jiang Jian
93a3a47440
Merge branch 'bugfix/fix_common_clock_bug_v4.3' into 'release/v4.3'
...
esp_wifi: fix common clock bug (backport v4.3)
See merge request espressif/esp-idf!16969
2022-02-08 11:28:02 +00:00
Ivan Grokhotkov
489fcf1b6c
vfs: add test for errno value after 'open'
2022-02-07 11:36:21 +01:00
hörbert
d8c3b4d646
vfs: don't overwrite errno by a hard coded ENOENT
...
Calling "open" in CHECK_AND_CALL sets a perfectly correct errno.
There is no need to overwrite that with a value of ENOENT, since doing
so hides lower level errors like EIO.
Closes https://github.com/espressif/esp-idf/pull/8036
2022-02-07 11:36:20 +01:00
Armando
b3c51e74c8
spi_master: fix spi cs_ena_posttrans issue
2022-02-07 12:22:15 +08:00
Mahavir Jain
fea5bdce86
Merge branch 'feature/mbedtls-2.28.0_v4.3' into 'release/v4.3'
...
mbedtls: Upgrading to v2.28.0 (v4.3)
See merge request espressif/esp-idf!17005
2022-02-03 04:12:10 +00:00
Laukik Hase
bdd329ff02
ci: Fix issues for build stage
...
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
- Fix for make-system build errors
2022-02-02 15:07:50 +05:30
Laukik Hase
df9f101792
mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
...
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
(config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-02-02 11:00:32 +05:30
Laukik Hase
6957b4815a
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-02-02 11:00:32 +05:30
Laukik Hase
46388a0741
wpa_supplicant: Saved message-type digest used in handshake for PRF operations
2022-02-02 11:00:32 +05:30
Laukik Hase
92c0c09514
mbedtls: Moved mbedtls_mpi_mul_int to port layer
2022-02-02 11:00:32 +05:30
Laukik Hase
29b6d229c1
mbedtls: Added config options for v2.28.0 upgrade
2022-02-02 11:00:32 +05:30
Laukik Hase
021627754c
mbedtls: Upgrade to v2.28.0
2022-02-02 11:00:27 +05:30
Shubham Patil
aa89d67923
espcoredump: Parse bt for instruction fetch prohibited cause
2022-02-01 18:28:30 +05:30
Sachin Parekh
e0fc13b23d
coredump: Parse backtrace info for RISCV
...
For RISCV, backtrace generation on device is not possible without
including and parsing DWARF sections. We extract the crash task stack
and let the host generate the backtrace
2022-02-01 17:52:13 +05:30
Shubham Patil
8536cf46a5
espcoredump: Fix string truncation build failure
2022-02-01 17:51:55 +05:30
Shubham Patil
9928f44894
espcoredump: On device core dump parsing to generate summary
2022-02-01 15:24:16 +05:30
Laukik Hase
d29ab82bc9
wifi_prov_mgr: Fix provisioning not stopping in release mode
...
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
assertions disabled), the task to stop provisioning is never started
as it is voided by the assert function it is called in.
Closes https://github.com/espressif/esp-idf/issues/8309
2022-02-01 09:50:45 +05:30
Harshit Malpani
5b36459611
expat: upgrade to v2.4.3 release
...
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_3/expat/Changes
2022-01-31 11:15:29 +05:30
liuning
72e4b5ac5b
esp_wifi: fix common clock bug (backport v4.3)
2022-01-27 20:20:31 +08:00
Omar Chebib
a5a4718600
UART: RX interrupts are now properly restored after a flush
...
Added a unit test to make sure the expected behavior happens
2022-01-27 10:53:41 +08:00
aditi_lonkar
aa044f4a63
esp_wifi: Fixes memory leak in wpa3 connection.
2022-01-26 17:33:20 +08:00
yuanjm
51e196ac93
smartconfig: Fix smartconfig set socket option fail
2022-01-26 11:09:22 +08:00
Zim Kalinowski
87f8a0d5f1
Merge branch 'bugfix/efuse_timesettigs_in_burn_op_v4.3' into 'release/v4.3'
...
efuse: Fixes eFuse timesettings issue on esp32c3 (v4.3)
See merge request espressif/esp-idf!16922
2022-01-26 00:48:52 +00:00
KonstantinKondrashov
8374e3b0ee
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
...
Closes https://github.com/espressif/esp-idf/issues/8274
2022-01-25 20:01:00 +08:00
KonstantinKondrashov
5ebbe6aea7
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-25 19:16:16 +08:00
xiongweichao
58bd27b713
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-24 14:39:33 +08:00
xiongweichao
a0f69c3499
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-24 14:39:33 +08:00
xiongweichao
8368bf3760
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-24 14:39:31 +08:00
xiongweichao
c56cf9d6fd
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-24 14:39:28 +08:00
Hrudaynath Dhabe
e8196c0ff2
esp_wifi: Add support for EAP-FAST authentication method
2022-01-24 14:24:14 +08:00
Jiang Jiang Jian
ab6b4a13db
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_v4.3' into 'release/v4.3'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.3)
See merge request espressif/esp-idf!16814
2022-01-24 06:02:47 +00:00