morris
c166160f64
Merge branch 'bugfix/rtcio_increase_size_v4.3' into 'release/v4.3'
...
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue (v4.3)
See merge request espressif/esp-idf!17202
2022-02-21 20:13:34 +00:00
Ivan Grokhotkov
4670bcf40e
Merge branch 'task/esp_core_dump_get_summary_v4.3' into 'release/v4.3'
...
espcoredump: esp_core_dump_get_summary API (v4.3)
See merge request espressif/esp-idf!17012
2022-02-21 11:19:39 +00:00
Michael (XIAO Xufeng)
d3df24d950
Merge branch 'bugfix/ledc_consecutive_fade_v4.3' into 'release/v4.3'
...
ledc: Bugfixes for issues related to fade protection (backport v4.3)
See merge request espressif/esp-idf!16661
2022-02-19 17:38:15 +00:00
Jiang Jiang Jian
5c78283f6e
Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict_v43' into 'release/v4.3'
...
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) (backport v4.3)
See merge request espressif/esp-idf!16898
2022-02-18 05:40:50 +00:00
Alex Lisitsyn
073da59d27
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) (backport v4.3)
2022-02-18 05:40:49 +00:00
Jiang Jiang Jian
d501fd4b96
Merge branch 'fix/sdio_slave_recv_intr_unhandled_v4.3' into 'release/v4.3'
...
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled (v4.3)
See merge request espressif/esp-idf!17149
2022-02-18 05:40:33 +00:00
Michael (XIAO Xufeng)
8ff2ce6852
soc: updated soc_caps about rtc_io and the format
2022-02-18 11:11:24 +08:00
Michael (XIAO Xufeng)
f8e45766b5
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue
2022-02-18 11:10:49 +08:00
Michael (XIAO Xufeng)
501d67fdc5
Merge branch 'bugfix/sdio_slave_dma_desc_int_v4.3' into 'release/v4.3'
...
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area (v4.3)
See merge request espressif/esp-idf!17138
2022-02-18 01:24:42 +00:00
Michael (XIAO Xufeng)
30a17ea53d
Merge branch 'feature/support_new_psram_v4.3' into 'release/v4.3'
...
psram: add ESP32-D0WD-R2-V3 support(backport v4.3)
See merge request espressif/esp-idf!16707
2022-02-18 01:21:37 +00:00
Michael (XIAO Xufeng)
9e9fb39a07
Merge branch 'flash/add_th_support_v4.3' into 'release/v4.3'
...
spi_flash: add support for th 1M flash(backport v4.3)
See merge request espressif/esp-idf!16716
2022-02-18 01:20:28 +00:00
Jiang Jiang Jian
b1f93150f9
Merge branch 'bugfix/fix_ble_adv_underrun_error_v4.3' into 'release/v4.3'
...
components/bt: Fix ble adv_underrun issue(backport v4.3)
See merge request espressif/esp-idf!17165
2022-02-17 09:56:06 +00:00
Jiang Jiang Jian
40c0c33ae0
Merge branch 'bugfix/wifi_netif_on_off_cycle_race_v4.3' into 'release/v4.3'
...
wifi: Fix race conditon invoking invalid callback on deinit (v4.3)
See merge request espressif/esp-idf!16622
2022-02-17 04:18:18 +00:00
Jiang Jiang Jian
726ceb4fed
Merge branch 'ci/add_esp32c3_integration_test' into 'release/v4.3'
...
CI: support integration c3 test (4.3)
See merge request espressif/esp-idf!17108
2022-02-16 09:25:29 +00:00
Nachiket Kukade
9a09f24572
esp_wifi: Update wifi lib
...
1. Fix assoc comeback causing invalid state
2. Better cleanup in some FTM failure cases
2022-02-16 12:54:08 +05:30
morris
c831d1f1e0
Merge branch 'feature/adc_calibration_version_2_on_c3_v4.3' into 'release/v4.3'
...
adc: upgrade adc calibration algorithm to version 2 on c3 (v4.3)
See merge request espressif/esp-idf!17050
2022-02-16 07:02:07 +00:00
Jiang Jiang Jian
f75ed7c7cc
Merge branch 'bugfix/mdns_null_deref_fuzzer_v4.3' into 'release/v4.3'
...
mdns: Fix potential null deref reported by fuzzer test(v4.3)
See merge request espressif/esp-idf!17146
2022-02-16 06:27:25 +00:00
Jiang Jiang Jian
df7cfa025c
Merge branch 'bugfix/fix_esp_restart_does_not_reset_timer_groups_periph_v43' into 'release/v4.3'
...
modbus: fix esp restart does not reset timer groups periph (backport v4.3)
See merge request espressif/esp-idf!15501
2022-02-16 04:05:38 +00:00
Alex Lisitsyn
e48f87468e
modbus: fix esp restart does not reset timer groups periph (backport v4.3)
2022-02-16 04:05:37 +00:00
Jiang Jiang Jian
8fa37107be
Merge branch 'bugfix/usb_default_print_wifi_v4.3' into 'release/v4.3'
...
esp_phy: enable usb under default(without choosing USB_SERIAL_JTAG) (backport v4.3)
See merge request espressif/esp-idf!17078
2022-02-16 04:04:38 +00:00
Jiang Jiang Jian
ad2238d7fb
Merge branch 'bugfix/eap_client_crash_v4.3' into 'release/v4.3'
...
wpa_supplicant: Fix memory corruption (v4.3)
See merge request espressif/esp-idf!17129
2022-02-16 04:03:49 +00:00
Jiang Jiang Jian
87c2352a1e
Merge branch 'bugfix/support_esp32s2_eco1_v4.3' into 'release/v4.3'
...
esp_phy: Update ESP32S2 phy lib to support eco1 chip(v4.3)
See merge request espressif/esp-idf!16723
2022-02-16 03:29:22 +00:00
Zim Kalinowski
e4743e7d79
Merge branch 'docs/fix_broken_links_4.3' into 'release/v4.3'
...
docs: fix broken links in queue.h file (v4.3)
See merge request espressif/esp-idf!17162
2022-02-16 02:40:32 +00:00
xiewenxiang
2d65703547
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:37:38 +08:00
Mahavir Jain
be19818db7
Merge branch 'contrib/github_pr_8402' into 'release/v4.3'
...
secure boot: add missing `#include "esp_flash_encrypt.h"`
See merge request espressif/esp-idf!17159
2022-02-15 10:42:43 +00:00
Armando
bcb8d87108
adc: upgrade adc calibration algorithm to version 2 on c3
2022-02-15 15:27:25 +08:00
Ivan Grokhotkov
22e741a281
esp_adc_cal: move esp_adc_cal_get_voltage into common source file
2022-02-15 15:27:25 +08:00
Ivan Grokhotkov
b075101316
esp_adc_cal: simplify CMakeLists.txt
2022-02-15 15:27:25 +08:00
chenjianxing
5e4ec25ace
esp_phy: Update ESP32S2 phy lib to support eco1 chip
2022-02-15 14:58:04 +08:00
intern
a8736a9b66
docs:fix broken links
2022-02-15 14:28:59 +08:00
Chen Yudong
ad6095ad80
CI: optimize integration test workflow
2022-02-15 13:23:15 +08:00
songruojing
7b70f6e135
ledc: Fix FADE_NO_WAIT mode concurrency problem.
...
Add test cases for fade concurrency issue and fade timing check.
Closes https://github.com/espressif/esp-idf/issues/6710
(cherry picked from commit be2ab09832
)
2022-02-15 11:29:33 +08:00
songruojing
ad3b9a8002
ledc: bugfix - Simplify the procedure to perform a one-time duty update
...
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.
Closes https://github.com/espressif/esp-idf/issues/7288
(cherry picked from commit e175086226
)
2022-02-15 11:29:33 +08:00
Michael (XIAO Xufeng)
25b1c57121
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
2022-02-15 00:01:33 +08:00
Michael (XIAO Xufeng)
7d65b17898
Merge branch 'bugfix/alarm_update_invalid_v4.3' into 'release/v4.3'
...
timer: stop alarm if alarm value doesn't change in ISR callback (v4.3)
See merge request espressif/esp-idf!16533
2022-02-14 15:38:14 +00:00
David Cermak
03f9eedc27
mdns: Fix potential null deref reported by fuzzer test
2022-02-14 22:49:34 +08:00
Jiang Jiang Jian
8d5316ceb8
Merge branch 'bugfix/wps_scan_resumption_v4.3' into 'release/v4.3'
...
wpa_supplicant: Scan resumption in PBC mode(backport v4.3)
See merge request espressif/esp-idf!17063
2022-02-14 13:05:28 +00:00
Jiang Jiang Jian
9ff972046b
Merge branch 'bugfix/fix_smartconfig_setopt_fail_v4.3' into 'release/v4.3'
...
smartconfig: Fix smartconfig set socket option fail(backport v4.3)
See merge request espressif/esp-idf!16771
2022-02-14 13:03:35 +00:00
Cao Sen Miao
d3f5fd6eb6
spi_flash: add support for th 1M flash
2022-02-14 16:01:43 +08:00
Michael (XIAO Xufeng)
b1d6217f5c
Merge branch 'bugfix/usb_no_rom_log_v4.3' into 'release/v4.3'
...
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting(backport v4.3)
See merge request espressif/esp-idf!17074
2022-02-14 07:34:24 +00:00
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
xiongweichao
947e7909b9
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-24 14:02:01 +08:00
jincheng
53f20589a4
fix cs event for rd_rem_ext_feats delayed issue
2022-01-24 10:31:27 +08:00
Fu Hanxi
b9a96186fd
Merge branch 'feature/espcoredump_py_riscv_support_v4.3' into 'release/v4.3'
...
feature: espcoredump py riscv support (v4.3)
See merge request espressif/esp-idf!16840
2022-01-20 01:16:04 +00:00
Ivan Grokhotkov
9aa263c103
Merge branch 'test/remove_spi_flash_perf_thr_v4.3' into 'release/v4.3'
...
spi_flash_test: remove threshold from unit test (v4.3)
See merge request espressif/esp-idf!16822
2022-01-18 11:51:26 +00:00
Fu Hanxi
b865a84661
test(coredump): refactor coredump test and add esp32s2/esp32c3 tests
2022-01-18 18:03:44 +08:00
Fu Hanxi
fbfef19982
feat(coredump): add esp32s2 and esp32c3 support
2022-01-18 17:48:41 +08:00
Michael (XIAO Xufeng)
cc2c92a7ab
spi_flash_test: remove threshold from unit test
2022-01-18 15:40:00 +08:00
Fu Hanxi
f9cf648afd
fix(coredump): pr_status pid padding should be uint16
2022-01-18 13:50:10 +08:00
Marius Vikhammer
3bad4e3ca4
Task WDT: Fix overflow issue during timeout calculation
...
Closes https://github.com/espressif/esp-idf/issues/8239
2022-01-17 10:06:38 +08:00
Mahavir Jain
8a5f624801
Merge branch 'bugfix/invalid_url_cause_to_crash_v4.3' into 'release/v4.3'
...
http: Fix parsing invalid url cause to crash (v4.3)
See merge request espressif/esp-idf!16479
2022-01-13 06:39:28 +00:00