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
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
intern
c7fd71a893
docs: update wifi and nvs cn trans
2022-02-09 17:52:55 +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
Roland Dobai
7bb51e9a67
Merge branch 'bugfix/win_rename_delay_v4.3' into 'release/v4.3'
...
Tools: Use delay between rename attempts on Windows in the installer (v4.3)
See merge request espressif/esp-idf!17057
2022-02-08 18:24:10 +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
Roland Dobai
422892d7b4
Tools: Use delay between rename attempts on Windows in the installer
2022-02-08 11:08:27 +01: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
Wang Meng Yang
8a4bcdb563
Merge branch 'bugfix/nimble_spp_v4.3' into 'release/v4.3'
...
NimBLE : SPP example fails to build on Windows (v4.3)
See merge request espressif/esp-idf!17014
2022-02-07 02:35:24 +00:00
Zim Kalinowski
187c5b893d
Merge branch 'feature/adds_tips_to_run_ci_example_tests_v4.3' into 'release/v4.3'
...
examples: Adds a note on how to meet requirements to run the example_test.py (v4.3)
See merge request espressif/esp-idf!16945
2022-02-06 09:25:14 +00:00
David Cermak
17f9c7aaef
Examples/PPPoS: Add troubleshooting to correctly power modem
...
Closes https://github.com/espressif/esp-idf/issues/7807
2022-02-04 17:07:37 +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
Isha Pardikar
1a3f5accda
Merge branch 'bugfix/nimble_spp' into 'release/v4.3'
...
NimBLE : Fixed BLE SPP build fail on Windows
Closes : https://github.com/espressif/esp-idf/issues/8305
See merge request espressif/esp-idf!17014
2022-02-02 15:18:09 +05:30
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