Commit Graph

18453 Commits

Author SHA1 Message Date
Yuan Hong Hui
69b9ad27c3 ble mesh:example:response for checking restart in auto_test 2022-02-16 15:17:48 +08:00
Yuan Hong Hui
432e9b6293 ble mesh:example:correct repl config prompt 2022-02-16 15:17:35 +08:00
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
acc55cae88 Merge branch 'fix/gitlab_404_local_mirror_v4.3' into 'release/v4.3'
Handle gitlab 404 error (v4.3)

See merge request espressif/esp-idf!16959
2022-02-16 04:05:21 +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
Chen Yudong
7fecad1473 CI: support integration c3 test 2022-02-15 13:23:15 +08:00
songruojing
230861e80f ci: increase target-test.yml UT_T1_1 job to support newly added LEDC fade ut tests 2022-02-15 11:29:33 +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
Mahavir Jain
8504a878f3 Merge branch 'bugfix/fix_esp_http_client_example_v4.3' into 'release/v4.3'
esp_http_client: Fix memory leak in esp_http_client_example (backport v4.3)

See merge request espressif/esp-idf!17094
2022-02-13 13:26:25 +00: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
Sergei Silnov
d359f88054 examples: Add the component manager example 2022-02-10 13:17:29 +00:00
Sergei Silnov
917510ea96 docs: Add component manager documentation 2022-02-10 13:17:29 +00:00
Sergei Silnov
611c5a2496 Build System: Don't track dependencies.lock 2022-02-10 13:17:29 +00:00
Sergei Silnov
69e784d07e Add idf-component-manager python dependency 2022-02-10 13:17:29 +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
yuanjm
94e58eac30 esp_http_client: Fix memory leak in esp_http_client_example
Closes https://github.com/espressif/esp-idf/issues/8346
2022-02-10 14:35:49 +08: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
Krzysztof Budzynski
4a14745b28 Merge branch 'docs/update_wifi_cn_trans_4.3' into 'release/v4.3'
Docs: update wifi.rst and nvs_flash.rst docs (Backport 4.3)

See merge request espressif/esp-idf!16899
2022-02-09 14:09:34 +00: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