David Cermak
c0e105cc41
mdns: Fix potential null deref reported by fuzzer test
2022-02-16 06:23:57 +00:00
Zim Kalinowski
33f7009bef
Merge branch 'bugfix/i2c_spiram_bug_v4.4' into 'release/v4.4'
...
i2c: fix buffer check when SPIRAM used as a heap (backport v4.4)
See merge request espressif/esp-idf!17098
2022-02-16 05:16:32 +00:00
Jiang Jiang Jian
d483bd9518
Merge branch 'feature/support_eap_fast_release_v4.4' into 'release/v4.4'
...
Add support for EAP-FAST authentication (backport v4.4)
See merge request espressif/esp-idf!16279
2022-02-16 03:28:15 +00:00
Jiang Jiang Jian
11ec6ed917
Merge branch 'bugfix/eap_client_crash_v4.4' into 'release/v4.4'
...
wpa_supplicant: Fix memory corruption (v4.4)
See merge request espressif/esp-idf!17128
2022-02-16 03:27:47 +00:00
Jiang Jiang Jian
e3a5a85e2f
Merge branch 'feature/gcov_esp32c3_v4.4' into 'release/v4.4'
...
debug_stubs and gcov: Refactor and add support for RISCV (v4.4)
See merge request espressif/esp-idf!17068
2022-02-16 03:26:49 +00:00
Zim Kalinowski
6ba07ccfaa
Merge branch 'bugfix/typo_in_i2c_macro_v4.4' into 'release/v4.4'
...
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name (backport v4.4)
See merge request espressif/esp-idf!17116
2022-02-16 02:49:01 +00:00
xiewenxiang
35b2b3e24c
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:39:00 +08:00
David Cermak
a145a5ee48
mdns: Use memcpy() for copy to support non-text TXTs
2022-02-15 13:32:53 +01:00
David Cermak
ec9dbd922d
mdns: Support for null-value TXT records
...
Closes https://github.com/espressif/esp-idf/issues/8267
2022-02-15 13:32:53 +01:00
Cao Sen Miao
93be7d5192
usb_serial_jtag: remove the strict condition check in esp_phy
2022-02-15 18:56:49 +08:00
Cao Sen Miao
bf523af21d
usb_serial_jtag: can print when wifi enabled by default
...
Closes https://github.com/espressif/esp-idf/issues/8131
2022-02-15 18:56:48 +08:00
Cao Sen Miao
a74e06560b
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2022-02-15 18:56:06 +08:00
Michael (XIAO Xufeng)
8c61c5c565
Merge branch 'bugfix/lcd_rgb_memory_alignment_v4.4' into 'release/v4.4'
...
rgb lcd memory alignment(v4.4)
See merge request espressif/esp-idf!16883
2022-02-14 15:34:49 +00:00
morris
21b6c46d11
Merge branch 'bugfix/sdio_slave_dma_desc_int_v4.4' into 'release/v4.4'
...
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area (v4.4)
See merge request espressif/esp-idf!17135
2022-02-14 06:27:47 +00:00
Jiang Jiang Jian
13d30652cc
Merge branch 'bugfix/wps_fixes_v4.4' into 'release/v4.4'
...
wpa_supplicant: Add WPS Fixes (Backport V4.4)
See merge request espressif/esp-idf!17064
2022-02-14 06:24:16 +00:00
Jiang Jiang Jian
71b81e4a01
Merge branch 'bugfix/support_esp32s2_eco1_v4.4' into 'release/v4.4'
...
esp_phy: Update ESP32S2 phy lib to support eco1 chip(V4.4)
See merge request espressif/esp-idf!16715
2022-02-14 05:55:29 +00:00
Michael (XIAO Xufeng)
21b4cd8325
sdio_slave: fixed the issue DMA desc not capable
2022-02-13 22:35:04 +08:00
Michael (XIAO Xufeng)
c2c4b126f7
Merge branch 'feature/support_new_psram_v4.4' into 'release/v4.4'
...
psram: add ESP32-D0WD-R2-V3 support(backport v4.4)
See merge request espressif/esp-idf!16705
2022-02-13 14:13:38 +00:00
Michael (XIAO Xufeng)
246f72020f
Merge branch 'bugfix/modbus_port_fix_lgpl_licensed_files_v4.4' into 'release/v4.4'
...
freemodbus: fix port contains lgpl licensed files (v4.4)
See merge request espressif/esp-idf!16550
2022-02-12 20:43:22 +00:00
Kapil Gupta
136c5b8204
wpa_supplicant: Fix invalid memory dereference
2022-02-12 10:32:33 +05:30
Dmitry Koptsov
f60a914bae
I2C: Fix I2C Master operation with repeated start condition
...
* Closes https://github.com/espressif/esp-idf/pull/8353
2022-02-11 15:37:24 +08:00
paul
8f3b47da39
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
...
* Closes https://github.com/espressif/esp-idf/pull/8012
2022-02-11 15:29:52 +08:00
Michael (XIAO Xufeng)
730ca0ea43
Merge branch 'bugfix/cpu_reset_perip_clk_disable_v4.4' into 'release/v4.4'
...
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison (backport v4.4)
See merge request espressif/esp-idf!15898
2022-02-10 10:32:09 +00:00
Hrudaynath Dhabe
e21832cabb
esp_wifi: Add support for EAP-FAST authentication method
2022-02-10 15:54:15 +05:30
Michael (XIAO Xufeng)
8b86834a72
Merge branch 'bugfix/gpio_pin_num_fix_v4.4' into 'release/v4.4'
...
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3 (backport v4.4)
See merge request espressif/esp-idf!16594
2022-02-10 10:21:52 +00:00
Michael (XIAO Xufeng)
954d52ff3a
Merge branch 'flash/add_th_support_v4.4' into 'release/v4.4'
...
spi_flash: add support for th 1M flash(backport v4.4)
See merge request espressif/esp-idf!16714
2022-02-10 09:40:40 +00:00
Michael (XIAO Xufeng)
fb1695ade7
Merge branch 'bugfix/fix_spi_cs_hold_time_issue_v4.4' into 'release/v4.4'
...
spi_master: fix spi cs_ena_posttrans issue (v4.4)
See merge request espressif/esp-idf!16686
2022-02-10 09:12:15 +00:00
morris
38b5c012f9
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap_v4.4' into 'release/v4.4'
...
rmt: do not support rx wrap on esp32s2 (v4.4)
See merge request espressif/esp-idf!17076
2022-02-10 09:11:32 +00:00
Omar Chebib
98647cf351
i2c: fix buffer check when SPIRAM used as a heap
...
* Closes https://github.com/espressif/esp-idf/issues/8173
2022-02-10 16:16:01 +08:00
Mahavir Jain
5355ba06f1
transport_ssl: use return value from close
for non-TLS case
2022-02-10 13:03:32 +05:30
Dániel Buga
9e892fbf46
Set success when closing socket
...
Closes https://github.com/espressif/esp-idf/pull/8337
Closes IDFGH-6709
2022-02-10 13:02:58 +05:30
chenjianxing
50302e4157
esp_phy: Update ESP32S2 phy lib to support eco1 chip
2022-02-10 14:13:02 +08:00
Wang Meng Yang
c7b9f94733
Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid compile issue(backport release/v4.4)
See merge request espressif/esp-idf!16592
2022-02-09 11:28:57 +00:00
morris
956c6b889f
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-09 17:29:09 +08:00
Jiang Jiang Jian
c8075df214
Merge branch 'bugfix/a2dp_source_congest_v4.4' into 'release/v4.4'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.4)
See merge request espressif/esp-idf!16733
2022-02-09 08:16:01 +00:00
Alexey Gerenkov
89fe956ebc
gcov: Fixes interference of gcov dump with normal IPC calls
2022-02-08 22:25:33 +03:00
Alexey Gerenkov
792f510d0d
gcov: Do not use shrunk ROM's fake stdout and stderr FILE struct
2022-02-08 22:24:54 +03:00
Alexey Gerenkov
1bbefc3e5d
debug_stubs: Refactor and add support for RISCV
2022-02-08 22:24:54 +03:00
Ivan Grokhotkov
330da63548
Merge branch 'bugfix/nvs_oom_check_wrong_pointer_v4.4' into 'release/v4.4'
...
nvs: fixed OOM check wrong pointer issue (backport 4.4)
See merge request espressif/esp-idf!16976
2022-02-08 14:54:48 +00:00
Ivan Grokhotkov
6c0c3029ab
Merge branch 'bugfix/vfs_open_errno_v4.4' into 'release/v4.4'
...
vfs: don't overwrite errno by a hard coded ENOENT (Github PR) (v4.4)
See merge request espressif/esp-idf!17044
2022-02-08 14:37:29 +00:00
Kapil Gupta
757445422d
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:22:40 +05:30
aleks
e26318bcac
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.
2022-02-08 12:43:08 +01:00
Jiang Jiang Jian
6934a0164a
Merge branch 'bugfix/fix_common_clock_bug_v4.4' into 'release/v4.4'
...
esp_wifi: fix common clock bug (backport v4.4)
See merge request espressif/esp-idf!16971
2022-02-08 09:10:34 +00:00
Mahavir Jain
93855605f3
Merge branch 'bugfix/esp32c3_sysview_examples_build_error_v4.4' into 'release/v4.4'
...
riscv: fix portSTACK_GROWTH redefinition error (v4.4)
See merge request espressif/esp-idf!17038
2022-02-07 12:48:02 +00:00
Ivan Grokhotkov
23b0cdad8a
vfs: add test for errno value after 'open'
2022-02-07 11:36:00 +01:00
hörbert
931dd74da6
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:35:59 +01:00
Ivan Grokhotkov
096c013675
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-07 11:23:59 +01:00
Michael (XIAO Xufeng)
1e80a52de4
Merge branch 'bugfix/i2s_mclk_stopped_when_set_clock' into 'release/v4.4'
...
i2s: fix mclk stop issue when setting clock (v4.4)
See merge request espressif/esp-idf!16706
2022-02-07 09:47:19 +00:00
Erhan Kurubas
5c8bfa9b46
esp32c3: fix portSTACK_GROWTH redefinition error
2022-02-07 09:47:57 +01:00
xiewenxiang
2fe53759c9
components/bt: Fix bluedroid compile issue
2022-02-07 16:04:50 +08:00
Wang Meng Yang
0a0b652815
Merge branch 'bugfix/fix_bluedroid_ble50_adv_data_length_issue_v4.4' into 'release/v4.4'
...
components/bt: Fix bluedroid ble50 adv data length issue(backport release/v4.4)
See merge request espressif/esp-idf!16579
2022-02-07 08:01:55 +00:00
laokaiyao
a9df58c776
i2s: fix mclk stopped when setting clock
2022-02-07 15:27:35 +08:00
Armando
1140036424
spi_master: fix spi cs_ena_posttrans issue
2022-02-07 12:19:51 +08:00
Mahavir Jain
d501a53f2f
Merge branch 'feature/mbedtls-2.28.0_v4.4' into 'release/v4.4'
...
mbedtls: Upgrading to v2.28.0 (v4.4)
See merge request espressif/esp-idf!17004
2022-02-02 13:52:54 +00:00
Laukik Hase
51fc67f5fa
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:03:48 +05:30
Laukik Hase
11366d643f
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 10:56:48 +05:30
Laukik Hase
c3d2f2361c
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-02-02 10:56:48 +05:30
Laukik Hase
b10d0a533c
wpa_supplicant: Saved message-type digest used in handshake for PRF operations
2022-02-02 10:56:48 +05:30
Laukik Hase
76b9beff3c
mbedtls: Moved mbedtls_mpi_mul_int to port layer
2022-02-02 10:56:48 +05:30
Laukik Hase
76658d5066
mbedtls: Added config options for v2.28.0 upgrade
2022-02-02 10:56:48 +05:30
Laukik Hase
0fdc5f7490
mbedtls: Upgrade to v2.28.0
2022-02-02 10:56:13 +05:30
Laukik Hase
b7c1c4913e
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:49:45 +05:30
Mahavir Jain
602b26ccd4
Merge branch 'feature/upgrade_expat_component_v4.4' into 'release/v4.4'
...
expat: upgrade to v2.4.3 release
See merge request espressif/esp-idf!16981
2022-01-31 07:14:04 +00:00
Harshit Malpani
3dbe641c6b
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:13:26 +05:30
Anton Maklakov
bfd3e9c54c
Merge branch 'ci/split_assign_test_and_add_c3_integration_test_4.4' into 'release/v4.4'
...
Ci: split assign test and add c3 integration test 4.4
See merge request espressif/esp-idf!16925
2022-01-28 14:39:16 +00:00
Ivan Grokhotkov
b9eda8431e
Merge branch 'test/esp32s2_fatfs_speedtest_ci_fix_v4.4' into 'release/v4.4'
...
[Storage]: Re-enable FatFS write/read speed test (v4.4)
See merge request espressif/esp-idf!16080
2022-01-28 10:37:10 +00:00
morris
42abd894d4
build: fix unused tag string
...
Closes https://github.com/espressif/esp-idf/issues/8250
2022-01-28 11:59:45 +08:00
Michael (XIAO Xufeng)
c8eb02bb39
bugfix (nvs): fixed wrong pointer check
2022-01-28 11:37:53 +08:00
liuning
6e6c8bb682
esp_wifi: fix common clock bug (backport v4.4)
2022-01-27 20:19:41 +08:00
Matus Fabo
e64ae67888
fix: pin definitions for other boards
...
fix: re-enabled fatfs r/w test on sdspi
fix: copyright notice
add: pin definitions for esp32c3
fix: Changed fixed spi dma channel to a macro definition
2022-01-27 12:06:41 +01:00
Mahavir Jain
d16aaae498
Merge branch 'feature/memprot_api_unified_c3_v4.4' into 'release/v4.4'
...
Memprot API unified - ESP32C3 (v4.4.1)
See merge request espressif/esp-idf!16489
2022-01-27 11:00:03 +00:00
songruojing
b80a070395
esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset
...
(cherry picked from commit f57456e9dd919e5eea1d3cd0caa64b5c97a4df73)
2022-01-27 09:51:00 +00:00
Jiang Jiang Jian
1f45f160a8
Merge branch 'bugfix/fix_console_linenosie_backport_v4.4' into 'release/v4.4'
...
console: fix console stuck in auto test (backport v4.4)
See merge request espressif/esp-idf!16914
2022-01-27 07:18:46 +00:00
Jiang Jiang Jian
8ab30f72b2
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs_v4.4' into 'release/v4.4'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue (v4.4)
See merge request espressif/esp-idf!16813
2022-01-27 05:45:35 +00:00
Jiang Jiang Jian
6114ac2994
Merge branch 'bugfix/fix_smartconfig_setopt_fail_v4.4' into 'release/v4.4'
...
smartconfig: Fix smartconfig set socket option fail (backport v4.4)
See merge request espressif/esp-idf!16772
2022-01-27 05:44:35 +00:00
Jiang Jiang Jian
d982a9a5e1
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.4' into 'release/v4.4'
...
component_bt: fixed config parse crash after flash_erase(v4.4)
See merge request espressif/esp-idf!16730
2022-01-27 05:44:17 +00:00
Jiang Jiang Jian
4f9afec016
Merge branch 'bugfix/ci_check_blobs_v4.4' into 'release/v4.4'
...
ci: improve checks for Wi-Fi/PHY libraries (v4.4)
See merge request espressif/esp-idf!16659
2022-01-27 05:42:56 +00:00
Jiang Jiang Jian
bfd68507d8
Merge branch 'bugfix/PRs_on_esp_hid_v4.4' into 'release/v4.4'
...
bugfix/handle_3_esp_hid_PRs (v4.4)
See merge request espressif/esp-idf!16590
2022-01-27 05:41:52 +00:00
Jiang Jiang Jian
5788a393ea
Merge branch 'doc/update_document_of_demo_bt_discovery_v4.4' into 'release/v4.4'
...
Doc/update document of demo bt discovery v4.4
See merge request espressif/esp-idf!16575
2022-01-27 05:40:52 +00:00
Mahavir Jain
7d9b93e2e0
Merge branch 'bugfix/MR16031_v4.4' into 'release/v4.4'
...
heap: adjust the order of RTC memory heap caps and regions(backport v4.4)
See merge request espressif/esp-idf!16704
2022-01-27 05:30:02 +00:00
Martin Vychodil
7d9652dccf
System/Security: Memprot API unified (ESP32C3,ESP32S3)
...
Unified Memory protection API for all PMS-aware chips
Closes JIRA IDF-3849
2022-01-27 12:40:27 +08:00
Chen Yudong
641bfa388a
ci: move integration test related files outside of components
2022-01-26 22:33:14 +08:00
Chen Yudong
6e11783992
ci: split assign tests
2022-01-26 22:33:09 +08:00
Mahavir Jain
55b1756d5f
Merge branch 'contrib/github_pr_8139_backport_v4.4' into 'release/v4.4'
...
ledc.h - fix extern "C" to include ledc_cb_register() (backport v4.4)
See merge request espressif/esp-idf!16585
2022-01-26 13:40:22 +00:00
Jiang Jiang Jian
56e854bb4e
Merge branch 'bugfix/set_authmode_by_switching_number_to_string_v4.4' into 'release/v4.4'
...
CI: change ap authmode from number to string (backport v4.4)
See merge request espressif/esp-idf!16553
2022-01-26 11:53:30 +00:00
Roland Dobai
a59e3ab59d
Merge branch 'feature/esp32s3_apptrace_v4.4' into 'release/v4.4'
...
Feature/esp32s3 apptrace v4.4
See merge request espressif/esp-idf!16649
2022-01-26 09:58:35 +00:00
Michael (XIAO Xufeng)
a76f908074
Merge branch 'test/remove_spi_flash_perf_thr_v4.4' into 'release/v4.4'
...
spi_flash_test: remove threshold from unit test (v4.4)
See merge request espressif/esp-idf!16821
2022-01-26 08:20:26 +00:00
Mahavir Jain
f5ef3e2cf2
Merge branch 'wifi_prov_mgr/service_key_check_v4.4' into 'release/v4.4'
...
wifi_prov_mgr: Added check for passphrase length in softAP scheme (v4.4)
See merge request espressif/esp-idf!16569
2022-01-26 02:37:43 +00:00
Mahavir Jain
48eea7c479
Merge branch 'bugfix/fix_esp_https_ota_v4.4' into 'release/v4.4'
...
esp_https_ota: Fix esp_https_ota_begin may return error and exist memory leak (backport v4.4)
See merge request espressif/esp-idf!16777
2022-01-26 02:36:56 +00:00
Mahavir Jain
39386e05a5
Merge branch 'bugfix/invalid_url_cause_to_crash_v4.4' into 'release/v4.4'
...
http: Fix parsing invalid url cause to crash (v4.4)
See merge request espressif/esp-idf!16478
2022-01-26 02:34:29 +00:00
Zim Kalinowski
fb1d00a9d1
Merge branch 'bugfix/efuse_timesettigs_in_burn_op_v4.4' into 'release/v4.4'
...
efuse: Fixes eFuse timesettings issue on esp32c3 (v4.4)
See merge request espressif/esp-idf!16921
2022-01-26 00:52:33 +00:00
Zim Kalinowski
979745417b
Merge branch 'refactor/tinyusb_uses_usb_phy_v4.4' into 'release/v4.4'
...
tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY (v4.4)
See merge request espressif/esp-idf!16855
2022-01-26 00:51:42 +00:00
Zim Kalinowski
40949e8d43
Merge branch 'bugfix/app_compatible_with_3_1_bootloader_v4.4' into 'release/v4.4'
...
esp_system: Fix RTC_WDT protection in esp_restart_noos (v4.4)
See merge request espressif/esp-idf!16740
2022-01-26 00:50:54 +00:00
Zim Kalinowski
eb13f8a61d
Merge branch 'bugfix/freertos_pd_ticks_to_ms_precision_v4.4' into 'release/v4.4'
...
Freertos: Fix loss of precision in pdTICKS_TO_MS (v4.4)
See merge request espressif/esp-idf!16673
2022-01-26 00:50:35 +00:00
KonstantinKondrashov
0b5d4edbc6
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
...
Closes https://github.com/espressif/esp-idf/issues/8274
2022-01-25 19:58:29 +08:00
KonstantinKondrashov
1638b36804
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-25 19:14:31 +08:00
wuzhenghui
c11b6f4885
fix console stuck in auto test
2022-01-25 17:04:48 +08:00
David Čermák
c899c1b1da
Merge branch 'bugfix/mdns_txt_alloc_issue_v4.4' into 'release/v4.4'
...
mdns: Fix alloc issue if TXT has empty value(Backport v4.4)
See merge request espressif/esp-idf!16889
2022-01-25 06:33:54 +00:00
David Cermak
b3f913a058
mdns: Fix alloc issue if TXT has empty value
2022-01-21 22:52:33 +04:00
David Čermák
88486324db
Merge branch 'bugfix/fix_tcp_transport_exception_v4.4' into 'release/v4.4'
...
tcp_transport: fix tcp trasnport exception(backport release/v4.4)
See merge request espressif/esp-idf!16811
2022-01-21 09:45:45 +00:00
Michael (XIAO Xufeng)
f4c97455c4
Merge branch 'bugfix/apll_coeff_calculate_v4.4' into 'release/v4.4'
...
i2s: impove the clock division calculation (v4.4)
See merge request espressif/esp-idf!16783
2022-01-21 07:06:30 +00:00
morris
f6ab703390
lcd: alloc framebuffer in alignment
2022-01-21 11:30:20 +08:00
morris
9c262ce065
lcd: split gpio check for de and hv mode
2022-01-21 11:30:20 +08:00
David Čermák
a48c6e097a
tcp_transport: fix tcp trasnport exception
2022-01-20 15:38:44 +08:00
songruojing
6a6801e357
tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY
2022-01-19 18:18:08 +08:00
Michael (XIAO Xufeng)
0382215ec7
spi_flash_test: remove threshold from unit test
2022-01-17 15:07:06 +08:00
jincheng
a0e20e17f0
fix cs event for rd_rem_ext_feats delayed issue
2022-01-17 13:02:26 +08:00
laokaiyao
816b0ce878
i2s: impove the apll and clock division calculation
2022-01-13 11:06:40 +08:00
yuanjm
dbb0eeecc7
esp_https_ota: Fix esp_https_ota_begin may return ESP_OK when http status code is not 200 and may exist memory leak
...
Closes https://github.com/espressif/esp-idf/issues/8195
2022-01-12 19:53:08 +08:00
yuanjm
9cf57a86a0
smartconfig: Fix smartconfig set socket option fail
...
Closes https://github.com/espressif/esp-idf/issues/8189
2022-01-12 14:48:02 +08:00
laokaiyao
f0aaf48a93
i2s: revert reading/writing return error code
...
Closes https://github.com/espressif/esp-idf/issues/8121
Revert reading/writing return ESP_ERR_TIMEOUT introduced in commit b26da6f
2022-01-11 15:43:29 +08:00
likunqiao
7aa2577d86
esp_phy: move lib_printf.c to esp_phy
...
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-11 12:09:11 +08:00
KonstantinKondrashov
8f2045f0da
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:57:29 +08:00
xiongweichao
7485b4d4b2
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-10 19:17:13 +08:00
xiongweichao
49f496e539
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-10 19:16:25 +08:00
xiongweichao
e4277d5202
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-10 19:15:30 +08:00
xiongweichao
d338750b86
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-10 19:15:17 +08:00
xiongweichao
50e00e641b
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-10 17:41:57 +08:00
Jiang Jiang Jian
03d3c43882
Merge branch 'bugfix/fix_null_pointer_deference_issue_4.4_mr' into 'release/v4.4'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16637
2022-01-10 08:31:33 +00:00
Cao Sen Miao
67b4ba33dd
spi_flash: add support for th 1M flash
2022-01-10 12:39:09 +08:00
Cao Sen Miao
e2ef65e117
psram: add ESP32-D0WD-R2-V3 support
2022-01-10 10:39:00 +08:00
jingli
23ec015d75
adjust the order of RTC memory heap caps and regions
2022-01-08 16:19:35 +08:00
Jiang Jiang Jian
22b57850bd
Merge branch 'bugfix/dpp_no_ip_issue_v4.4' into 'release/v4.4'
...
Fix STA not getting IP after DPP issue (Backport v4.4)
See merge request espressif/esp-idf!16645
2022-01-06 10:07:02 +00:00
lisekt84
bead7c2eeb
freertos: Fix loss of precision in pdTICKS_TO_MS
...
Closes https://github.com/espressif/esp-idf/pull/7856
Closes https://github.com/espressif/esp-idf/issues/7853
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-01-06 15:44:17 +08:00
Zim Kalinowski
b5a1df1db4
Merge branch 'bugfix/spi_slave_test_non_dma_v4.4' into 'release/v4.4'
...
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM (v4.4)
See merge request espressif/esp-idf!16305
2022-01-06 03:11:12 +00:00
Zim Kalinowski
219242de89
Merge branch 'bugfix/uart_custom_isr_broken' into 'release/v4.4'
...
UART: fix a bug preventing the user from freeing a previously registered ISR
See merge request espressif/esp-idf!16581
2022-01-06 03:10:29 +00:00
Alexey Gerenkov
8c2990fcea
trax: Adds ESP32-S3 support
2022-01-05 19:34:28 +01:00
Alexey Gerenkov
18cd2ea3e6
apptrace: Adds ESP32-S3 support
2022-01-05 19:26:33 +01:00
Ondrej Kosta
fd9f97b5f4
emac_hal_start/stop function description added
2022-01-05 16:26:37 +01:00
Jack
63366f011a
phy: update phy lib to remove ets_printf references
2022-01-05 17:29:55 +08:00
Ivan Grokhotkov
09552fdf68
ci: improve checks for Wi-Fi/PHYlibraries
...
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
checking Wi-Fi libraries. This used to happen until libphy.a was
moved into a separate submodule.
Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-05 17:29:35 +08:00
Nachiket Kukade
b9989d3644
esp_wifi: Update wifi lib
...
Fix STA not getting IP after DPP
2022-01-05 16:24:00 +08:00
Murray Fordyce
52224aebcf
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2022-01-05 10:46:46 +08:00
Nachiket Kukade
53c2b1f65b
esp_wifi: Miscellaneous FTM bugfixes
...
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
2022-01-04 15:49:45 +05:30
Omar Chebib
4288588751
UART: fix a bug preventing the user from freeing a previously registered ISR
...
* Closes https://github.com/espressif/esp-idf/issues/8150
2022-01-04 13:38:03 +08:00
Jiang Jiang Jian
d1f1b03beb
Merge branch 'contrib/github_pr_7971_v4.4' into 'release/v4.4'
...
bugfix: Conflicting declaration error when include<rom/secure_boot.h> (v4.4)
See merge request espressif/esp-idf!16566
2022-01-04 03:37:35 +00:00
Jiang Jiang Jian
9a00ef1bc2
Merge branch 'feature/s3_rng_v4.4' into 'release/v4.4'
...
Bootloader add rng sampling (v4.4)
See merge request espressif/esp-idf!16623
2022-01-04 03:37:15 +00:00
“YangZhao”
8628079c42
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 10:42:09 +08:00
Jakob Hasse
ee24264c75
feat (bootloader): added rng sampling
...
Set maximum RNG query frequency to save value known from tests
2022-01-03 16:24:41 +05:30
Chen Wu
bd9ee38f3c
http: Fix parsing invalid url cause to crash
...
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953
2021-12-31 14:40:21 +08:00
Ivan Grokhotkov
dc707d5933
freertos: ensure interrupts are disabled before enabling tick timer
...
xPortStartScheduler calls vPortSetupTimer -> _frxt_tick_timer_init,
which enables tick timer interrupt and sets up the first timeout.
From that point on, the interrupt can fire. If the interrupt happens
while _frxt_dispatch is running, the scheduler will enter an infinite
loop. This is because _frxt_dispatch isn't supposed to be preemptable,
and the tick interrupt will overwrite some of the registers used by
_frxt_dispatch.
Note that this situation doesn't practically occur on the real
hardware, where the execution of vPortSetupTimer and _frxt_dispatch
happens quickly enough. However it can be reproduced on an emulator
if the tick period is set to 1ms.
Add an explicit call to portDISABLE_INTERRUPTS in xPortStartScheduler
to guarantee that _frxt_dispatch doesn't run with interrupts enabled.
This is similar to the esprv_intc_int_set_threshold(1); call in
RISC-V version of port.c.
2021-12-30 18:00:59 +08:00
songruojing
b25fb1111d
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3
2021-12-30 12:27:14 +08:00
Robin Krens
e39b0dcd2e
spacing styling correction
2021-12-30 10:47:49 +08:00
Robin Krens
a61a935506
minor styling changes
2021-12-30 10:47:49 +08:00
Robin Krens
b72a03fd07
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 10:47:49 +08:00
jincheng
629bd67001
fix on esp_hidh report map length checking function
...
Closes https://github.com/espressif/esp-idf/issues/7586
2021-12-30 10:47:49 +08:00
Emil Muratov
8423e7d785
ledc.h - fix extern "C" to include ledc_cb_register()
...
(cherry picked from commit d4de08182e
)
2021-12-29 21:14:37 +08:00
xiewenxiang
bf6b3ec0a8
component/bt: Support set HW CCA threshold value
2021-12-29 14:43:33 +08:00
xiewenxiang
5fc5016981
component/bt: fix periodic adv parameters detection issue
2021-12-29 14:43:22 +08:00
baohongde
f4c6c48123
components/bt: Update the document of demo bt discovery
2021-12-29 14:31:38 +08:00
Laukik Hase
474ff3e38f
wifi_prov_mgr: Added check for passphrase length in softAP scheme
...
Closes https://github.com/espressif/esp-idf/issues/8063
2021-12-28 18:13:40 +05:30
Mahavir Jain
9d73448272
Fix copyright headers for few include files
2021-12-28 14:29:33 +05:30
lovyan03
530a06cf61
bugfix: Conflicting declaration error with include<esp_efuse.h>, and Unified secure_boot.h include guard to "pragma once".
2021-12-28 14:29:28 +05:30
huchaoru
bd8e9d98ba
CI: change ap authmode from number to string (backport v4.4)
2021-12-27 19:57:40 +08:00
Kapil Gupta
d57b946bbf
esp_wifi: Refactor key install code
2021-12-24 11:58:18 +08:00
Jiang Jiang Jian
f9ab0ac458
Merge branch 'feature/usb-msc_v4.4' into 'release/v4.4'
...
USB MSC class (v4.4)
See merge request espressif/esp-idf!16530
2021-12-24 03:48:29 +00:00
Jiang Jiang Jian
84ac488837
Merge branch 'bugfix/alarm_update_invalid_v4.4' into 'release/v4.4'
...
timer: stop alarm if alarm value doesn't change in ISR callback (v4.4)
See merge request espressif/esp-idf!16524
2021-12-24 03:48:10 +00:00
Jiang Jiang Jian
3171667845
Merge branch 'bugfix/rtc_section_alignment_v4.4_2' into 'release/v4.4'
...
System: fix RTCFAST section alignment (v4.4)
See merge request espressif/esp-idf!16517
2021-12-24 03:47:02 +00:00
Jiang Jiang Jian
3b4c2b8281
Merge branch 'bugfix/doc_for_ipc_isr_v4.4' into 'release/v4.4'
...
esp_ipc: Update documentation and API descriptions (v4.4)
See merge request espressif/esp-idf!16032
2021-12-24 03:35:54 +00:00
Jiang Jiang Jian
11cbcdf46a
Merge branch 'bugfix/wpa3_memory_leak_v4.4' into 'release/v4.4'
...
esp_wifi: Fixes memory leak in wpa3.
See merge request espressif/esp-idf!16528
2021-12-24 03:27:31 +00:00
Martin Valik
204aa05d0b
USB: added MSC Host Driver with VFS support
...
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-23 18:30:24 +01:00
Michael (XIAO Xufeng)
88acf66506
Merge branch 'bugfix/freemodbus_timer_struct_not_initialized' into 'release/v4.4'
...
freemodbus: fixed timer config struct not initialized issue (v4.4)
See merge request espressif/esp-idf!16117
2021-12-23 17:15:00 +00:00
Michael (XIAO Xufeng)
e093575e39
freemodbus: fixed timer config struct not initialized issue (v4.4)
2021-12-23 17:15:00 +00:00
Michael (XIAO Xufeng)
ec554944b7
Merge branch 'feature/backport/usb_host/cdc_driver' into 'release/v4.4'
...
USB: Add CDC-ACM subclass host driver (backport v4.4)
See merge request espressif/esp-idf!16363
2021-12-23 17:02:33 +00:00
aditi_lonkar
7cd52401b0
esp_wifi: Fixes memory leak in wpa3.
2021-12-23 19:05:03 +05:30
Michael (XIAO Xufeng)
5b80dd44be
Merge branch 'feature/gdma_iram_interrupt_v4.4' into 'release/v4.4'
...
gdma: support IRAM interrupt (v4.4)
See merge request espressif/esp-idf!15993
2021-12-23 12:50:22 +00:00
Michael (XIAO Xufeng)
9f5c6f287e
Merge branch 'feature/update_adc_cali_due_to_efuse_version_change_v4.4' into 'release/v4.4'
...
adc: update s3 adc calibration efuse version (v4.4)
See merge request espressif/esp-idf!16357
2021-12-23 12:49:11 +00:00
Michael (XIAO Xufeng)
81f81b97c3
Merge branch 'feature/adc_dma_driver_4.4' into 'release/v4.4'
...
adc: dma driver (v4.4)
See merge request espressif/esp-idf!16437
2021-12-23 12:48:47 +00:00
Jiang Jiang Jian
9a42760b22
Merge branch 'feature/posix_compat_functions_v4.4' into 'release/v4.4'
...
newlib: implement posix_memalign, sysconf, realpath (v4.4)
See merge request espressif/esp-idf!16464
2021-12-23 11:20:54 +00:00
morris
b0122177b7
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-23 18:58:43 +08:00
Michael (XIAO Xufeng)
ec380d04b2
Merge branch 'refactor/fun_pointer_opi_v4.4' into 'release/v4.4'
...
opi_flash: Add a function pointer for opi required registers(backport v4.4)
See merge request espressif/esp-idf!16359
2021-12-23 09:24:18 +00:00
Jiang Jiang Jian
61149302e5
Merge branch 'bugfix/fix_spp_open_err_bda_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.4]
See merge request espressif/esp-idf!16519
2021-12-23 09:23:33 +00:00
Armando
1ec46ad3b8
adc: support adc dma driver on all chips
2021-12-23 17:13:46 +08:00
Jiang Jiang Jian
6279f9eb62
Merge branch 'bugfix/fix_heap_memory_corruption_v4.4' into 'release/v4.4'
...
Heap: Fix a possible bug in the TLSF allocator (backport v4.4)
See merge request espressif/esp-idf!16507
2021-12-23 03:29:45 +00:00
Jiang Jiang Jian
7f48664eda
Merge branch 'feature/mbedtls-2.16.12-integration_v4.4' into 'release/v4.4'
...
mbedtls: upgrade to release v2.16.12 (v4.4)
See merge request espressif/esp-idf!16483
2021-12-23 03:26:17 +00:00
Jiang Jiang Jian
cb2906c7b2
Merge branch 'bugfix/fix_blufi_encryption_fail_v4.4' into 'release/v4.4'
...
components/bt: fix blufi encryption fail(backport release/v4.4)
See merge request espressif/esp-idf!16314
2021-12-23 03:23:24 +00:00
liqigan
3390caf994
fix SPP open with wrong remote bd_addr
2021-12-23 10:02:39 +08:00
Martin Vychodil
60386410ae
System: fix RTCFAST section alignment
...
This bugfix contains 3 fixes:
1. .rtc_dummy section is removed (not needed for C3)
2. .rtc_text section is padded with 16B for possible CPU prefetch
3. .rtc_text section is aligned to 4B boundary to comply with PMS Memprot requirements
2021-12-22 21:58:20 +01:00
Jiang Jiang Jian
ba50a4e25e
Merge branch 'bugfix/stdatomic_sync_op_and_fetch_v4.4' into 'release/v4.4'
...
newlib: stdatomic: implement missing "op_fetch", "nand" builtins (v4.4)
See merge request espressif/esp-idf!16465
2021-12-22 12:44:09 +00:00
xiewenxiang
3051ad2159
components/bt: fix blufi encryption fail
2021-12-22 20:40:48 +08:00
Jiang Jiang Jian
710883d9bf
Merge branch 'bugfix/scannable_adv_duration_estimation_v4.4' into 'release/v4.4'
...
[Coexistence]: fixed BLE scannable extended adv performance issue in case of Wi-Fi coexistence(backport v4.4)
See merge request espressif/esp-idf!16476
2021-12-22 12:38:17 +00:00
Jiang Jiang Jian
af429e56bb
Merge branch 'bugfix/esp_eth_start_tx_buff_v4.4' into 'release/v4.4'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size` (v4.4)
See merge request espressif/esp-idf!16497
2021-12-22 12:36:40 +00:00
Jiang Jiang Jian
a15bac6b5c
Merge branch 'docs/fix_typo_in_header_file' into 'release/v4.4'
...
docs: Fix typo in sdmmc_cmd.h and inconsistency in spi_master.h (backport release/v4.4)
See merge request espressif/esp-idf!16382
2021-12-22 12:34:05 +00:00
Jiang Jiang Jian
07221ebaf5
Merge branch 'bugifx/freertos_missing_api_config_v4.4' into 'release/v4.4'
...
freertos: Add missing INCLUDE_ configurations for some functions (v4.4)
See merge request espressif/esp-idf!16267
2021-12-22 12:28:35 +00:00
Jiang Jiang Jian
c2a71ce5c6
Merge branch 'feature/mbedtls_dynamic_memory_v4.4' into 'release/v4.4'
...
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable...(backport v4.4)
See merge request espressif/esp-idf!16472
2021-12-22 12:27:27 +00:00
Ivan Grokhotkov
f158a0d538
newlib: implement posix_memalign, sysconf, realpath
...
Closes https://github.com/espressif/esp-idf/issues/6119
Closes https://github.com/espressif/esp-idf/issues/7798
2021-12-22 10:54:54 +01:00
Omar Chebib
155de9c49e
Heap: Add a target test to check that TLFS allocates the requested size
2021-12-22 14:06:41 +08:00
Omar Chebib
09db8845c6
Heap: Fix a possible bug in the TLSF allocator
...
Fix a bug that could return a chunk of memory smaller than requested,
easily leading to a memory corruption, when the required memory alignment
passed to the allocator is 4.
2021-12-22 14:06:41 +08:00
Jiang Jiang Jian
5f5f8bd64e
Merge branch 'bugifx/nimble_timer_memory_leak_v4.4' into 'release/v4.4'
...
[NimBLE]: Fixed memory leak of timer during NimBLE Host start-stop process(backport v4.4)
See merge request espressif/esp-idf!16445
2021-12-22 05:45:23 +00:00
Jiang Jiang Jian
775f2886cc
Merge branch 'bugfix/fix_rx_fragment_error_issue_v4.4' into 'release/v4.4'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs(Backport v4.4)
See merge request espressif/esp-idf!16390
2021-12-22 05:40:19 +00:00
Ondrej Kosta
74ba1175b6
Fixed ESP32 EMAC driver insufficient TX buffer size
which could followed esp_eth_stop and esp_eth_start sequence
2021-12-21 14:04:55 +01:00
Li Jingyi
c91afab332
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable MBEDTLS_SSL_PROTO_DTLS when open MBEDTLS_DYNAMIC_BUFFER
2021-12-21 16:31:47 +08:00
Mahavir Jain
3e3e1a9a9d
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 13:58:40 +05:30
Mahavir Jain
d0b465c7cd
mbedtls: small documentation update
2021-12-21 13:58:40 +05:30
wangmengyang
8152978d73
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-21 12:43:33 +08:00
wangmengyang
bcd47fa0cc
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-21 12:31:42 +08:00
Jiang Jiang Jian
d037359359
Merge branch 'bugfix/static_analysis_fixes_v4.4' into 'release/v4.4'
...
ESP_WIFI: Remove static analysis warnings(backport v4.4)
See merge request espressif/esp-idf!16333
2021-12-21 04:11:22 +00:00
Jiang Jiang Jian
187f47d232
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.4' into 'release/v4.4'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.4)
See merge request espressif/esp-idf!16377
2021-12-21 04:07:13 +00:00
Jiang Jiang Jian
c50eec53d1
Merge branch 'bugfix/fix_spp_listen_err_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.4]
See merge request espressif/esp-idf!16383
2021-12-21 04:06:40 +00:00
Jiang Jiang Jian
a650995a2e
Merge branch 'bugfix/bt_enc_proc_finish_v4.4' into 'release/v4.4'
...
bt/bugfix: ACL Rx data is sent to host before enc change event
See merge request espressif/esp-idf!16424
2021-12-21 04:06:22 +00:00
Jiang Jiang Jian
8529a1da35
Merge branch 'bugfix/wpa_supplicant_logs_release_v4.4' into 'release/v4.4'
...
esp_wifi: Change the verbosity of wpa_supplicant logs (Backport v4.4)
See merge request espressif/esp-idf!16340
2021-12-21 04:03:17 +00:00
Darian Leung
f72baac109
freertos: Add missing INCLUDE_ configurations for some functions
...
This commit adds missing INCLUDE_ configurations to FreeRTOSConfig.h for
the following functions:
- xTaskAbortDelay()
- xTaskGetHandle()
Unit tests for these functions were also added.
Closes https://github.com/espressif/esp-idf/issues/7902
2021-12-21 10:54:28 +08:00
Ivan Grokhotkov
c8c65a2854
newlib: stdatomic: implement missing "op_fetch", "nand" builtins
...
* Adds implementations of __{atomic,sync}_nand_fetch_n. These builtins
were implemented for other operations but were not defined for NAND.
* Adds implementation of __atomic_OP_fetch_n for all OPs.
* Adds implementation of __sync_OP_and_fetch_n for all OPs.
Reported in https://github.com/espressif/arduino-esp32/issues/5948
2021-12-21 02:15:45 +01:00
Jiacheng Guo
9688cf5c04
openthread: update libraries to v4.4 release
...
Fixes the library mismatch and border router crash issue in v4.4
release.
2021-12-20 16:16:10 +08:00
Darian Leung
63ac2111ce
esp_ipc: Update documentation and API descriptions
...
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-12-20 12:41:10 +08:00
Jiang Jiang Jian
161d7ee25a
Merge branch 'bugfix/mcpwm_ll_missing_type_conversion_v4.4' into 'release/v4.4'
...
mcpwm: fix implicit conversion in LL function (v4.4)
See merge request espressif/esp-idf!16407
2021-12-16 10:16:03 +00:00
Chinmay Chhajed
431bf72295
bt/bugfix: ACL Rx data is sent to host before enc change event
2021-12-16 15:41:31 +05:30
morris
23e4c12a86
mcpwm: fix implicit conversion in LL function
...
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-15 10:24:42 +08:00
Armando
2aed35b804
adc: fix adc1 channel 8 and 9 not defined bug on s3
2021-12-14 20:10:47 +08:00
Hrudaynath Dhabe
40ae2037bc
esp_wifi: Change the verbosity of wpa_supplicant log.
2021-12-14 14:29:09 +05:30
NikLeberg
416b3b9465
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 12:46:37 +08:00
Shang Zhou
c42db9308f
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-14 12:46:11 +08:00
muhaidong
094b3dba33
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 12:42:25 +08:00
liqigan
b8602d4bf9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:03:57 +08:00
intern
215f8fe68e
docs: fix typo in header files
2021-12-14 11:01:17 +08:00
xiewenxiang
a628ef5be0
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 09:32:34 +08:00
xiewenxiang
5086d6f3d2
components/bt: Support low duty cycle directed advertising
2021-12-14 09:32:15 +08:00
Armando
4a429d59ac
adc: update adc calibration efuse version
...
ADC calibration scheme and algorithm are not changed. Only the eFuse bit BLOCK1_VERSION is changed. This MR updated the logic to recognize the adc efuse version
2021-12-13 13:03:23 +08:00
Tomas Rezucha
e04eae6659
usb: Add USB host CDC-ACM class driver
2021-12-10 10:04:16 +01:00
Cao Sen Miao
a9a5894fe9
opi_flash: Add a function pointer for opi required registers
2021-12-10 15:11:33 +08:00
Jiang Jiang Jian
f23dcd3555
Merge branch 'bugfix/fix_phy_enable_watchdog_timeout_issue_4.4' into 'release/v4.4'
...
Fix the ble task watchdog timeout issue
See merge request espressif/esp-idf!16287
2021-12-09 08:32:34 +00:00
Marius Vikhammer
d730c84038
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
...
"can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow.
Fixed wrong usage of stack size and slightly increased it.
2021-12-09 13:59:30 +08:00
Jiang Jiang Jian
e104dd7f27
Merge branch 'bugfix/fix_wifi_bugs_v4.4' into 'release/v4.4'
...
esp_wifi: fix wifi bugs (Backport v4.4)
See merge request espressif/esp-idf!16278
2021-12-08 15:46:40 +00:00
Jiang Jiang Jian
bd650062ca
Merge branch 'feature/update_rtc_memory_heap_caps' into 'release/v4.4'
...
heap: update RTC memory heap caps (backport v4.4)
See merge request espressif/esp-idf!15941
2021-12-08 13:35:18 +00:00
Jiang Jiang Jian
141c1cd004
Merge branch 'bugfix/crypto_allocate_lldesc_v4.4' into 'release/v4.4'
...
crypto: dont create DMA descriptors on the stack (v4.4)
See merge request espressif/esp-idf!16323
2021-12-08 13:31:41 +00:00
Kapil Gupta
a77ab8c03e
ESP_WIFI: Remove static analysis warnings
2021-12-08 18:03:43 +05:30
Mahavir Jain
c190ab1830
Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode_v4.4' into 'release/v4.4'
...
secure_boot: Fix warning when UART ROM DL mode is disabled (v4.4)
See merge request espressif/esp-idf!16228
2021-12-08 11:56:15 +00:00
Yang Zhao
9c686ff341
Update esp32c3 and esp32s3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-08 19:16:28 +08:00
Jiang Jiang Jian
fe5ee1041c
Merge branch 'bugfix/minimal_stacksize_watchpoint_aware_4.4' into 'release/v4.4'
...
[freertos]: Changed minimal stack size to regard watchpoint usage (backport v4.4)
See merge request espressif/esp-idf!16303
2021-12-08 10:28:05 +00:00
Jiang Jiang Jian
f2db4c7520
Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.4' into 'release/v4.4'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.4)
See merge request espressif/esp-idf!16229
2021-12-08 10:26:12 +00:00
Jiang Jiang Jian
a6e31652b8
Merge branch 'feature/mbedtls_dynamic_memory_v4.4' into 'release/v4.4'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost(backport v4.4)
See merge request espressif/esp-idf!16275
2021-12-08 10:21:04 +00:00
Jiang Jiang Jian
a89ff2677b
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac_v4.4' into 'release/v4.4'
...
efuse_table_gen: Fixes wrong joining fields with omitted names (v4.4)
See merge request espressif/esp-idf!15735
2021-12-08 10:12:25 +00:00
Jiang Jiang Jian
67fcfc2e02
Merge branch 'feature/freertos_try_enter_critical_v4.4' into 'release/v4.4'
...
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions (v4.4)
See merge request espressif/esp-idf!16040
2021-12-08 10:10:17 +00:00
Mahavir Jain
ff3922d217
Merge branch 'bugfix/fix_select_timeout_v4.4' into 'release/v4.4'
...
VFS: `select` function's timeout is now POSIX compliant (and fix eventfd example) (backport v4.4)
See merge request espressif/esp-idf!16189
2021-12-08 08:32:42 +00:00
Aditya Patwardhan
2a2d8f5cbc
efuse_example_test: Fix the example test
...
*Unify the log messages when UART ROM Download mode is kept enabled
2021-12-08 16:11:59 +08:00
Aditya Patwardhan
2c0081b286
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-12-08 16:11:59 +08:00
Marius Vikhammer
a1ee43fe9d
crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
...
Closes https://github.com/espressif/esp-idf/issues/7944
2021-12-08 16:10:19 +08:00
Marius Vikhammer
3b3826b61c
crypto: allocate all DMA descriptors to DMA capable memory.
...
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2021-12-08 16:10:18 +08:00
Jiang Jiang Jian
36e1d1c180
Merge branch 'bugfix/wifi_netif_on_off_cycle_race_v4.4' into 'release/v4.4'
...
wifi: Fix race conditon invoking invalid callback on deinit (v4.4)
See merge request espressif/esp-idf!16309
2021-12-08 07:31:13 +00:00
Jiang Jiang Jian
feee6a2f36
Merge branch 'bugfix/eth_emac_reset_dma_desc_v4.4' into 'release/v4.4'
...
esp-eth: emac: Reset Tx DMA channel owner on init (v4.4)
See merge request espressif/esp-idf!16008
2021-12-08 07:18:42 +00:00
Michael (XIAO Xufeng)
f4e5948102
Merge branch 'bugfix/lcd_rgb_pclk_default_to_low_v4.4' into 'release/v4.4'
...
lcd: rgb pclk idle default to low && RMT IR protocol example for esp32s3 (v4.4)
See merge request espressif/esp-idf!16211
2021-12-08 07:01:08 +00:00
David Cermak
1b7cc59b10
wifi: Fix race conditon invoking invalid callback on deinit
...
Closes https://github.com/espressif/esp-idf/issues/7579
2021-12-08 07:14:08 +01:00
Jakob Hasse
32077601c4
bugfix (freertos): Changed minimal stack size to regard watchpoint usage
2021-12-08 11:29:09 +08:00
Marius Vikhammer
68fc49c4d2
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
2021-12-08 10:59:26 +08:00
Nachiket Kukade
d7599a53b8
esp_wifi: Update wifi lib
...
1. Fix FTM failures after repeated operations
2. Update Mexico channel refer to FCC
3. Mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
4. Decouple softap and 8684 support
2021-12-06 17:45:57 +08:00
Zhang Jun Hao
f490adf800
esp_wifi: support station only mode for code size down
2021-12-06 17:34:56 +08:00
Li Jingyi
03b7ffdf4a
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-06 17:07:11 +08:00
Jiang Jiang Jian
220a91ae30
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback_v4.4' into 'release/v4.4'
...
bootloader_support: Adds fault injection protection for check_anti_rollback (v4.4)
See merge request espressif/esp-idf!16179
2021-12-06 04:03:11 +00:00
Jiang Jiang Jian
6affb3da3c
Merge branch 'bugfix/scheduler_state_query_thread_safety_v4.4' into 'release/v4.4'
...
freertos: fix thread safety for checking scheduler state (v4.4)
See merge request espressif/esp-idf!16126
2021-12-06 04:02:53 +00:00
Jiang Jiang Jian
3211346669
Merge branch 'bugfix/hardware_mpi_fallback_issue_v4.4' into 'release/v4.4'
...
mbedtls: fix hardware MPI (bignum) related regression (v4.4)
See merge request espressif/esp-idf!16236
2021-12-06 04:00:36 +00:00
Jiang Jiang Jian
0c8391acb1
Merge branch 'reduce_bootup_time_when_using_usb-serial-jtag_v4.4' into 'release/v4.4'
...
rtc_clk: reduce bootup time when using usb-serial-jtag(backport v4.4)
See merge request espressif/esp-idf!16260
2021-12-06 04:00:01 +00:00
Jiang Jiang Jian
b458a60791
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.4' into 'release/v4.4'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16145
2021-12-06 03:37:24 +00:00
Jiang Jiang Jian
5e9c085ae9
Merge branch 'bugfix/xStreamBufferReset_crashing_v4.4' into 'release/v4.4'
...
FreeRTOS: Fix xStreamBufferReset function always crashing (backport v4.4)
See merge request espressif/esp-idf!16170
2021-12-06 03:36:51 +00:00
morris
e311554554
lcd: rgb pclk idle default to low
2021-12-06 10:02:55 +08:00
jingli
1d6c95000b
reduce bootup time when using usb-serial-jtag
2021-12-03 20:50:22 +08:00
yuanjm
3ebb1a2a00
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
...
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-03 17:23:35 +08:00
Mahavir Jain
a28e0bf064
mbedtls: remove wrap from component.mk as well
...
Note: This was not required in original MR, as master branch does
not support GNU Make.
2021-12-02 17:13:31 +05:30
Mahavir Jain
7fe9d41e33
esp_bignum: move check for supported MPI bits at start of API
...
This can allow hardware MPI API to return as soon as it identifies
that it can handle require bitlength operation.
2021-12-02 15:07:08 +05:30
Mahavir Jain
9cb4948a23
mbedtls: update mbedtls submodule pointer for MPI API change
2021-12-02 15:07:08 +05:30
Mahavir Jain
99c9637e9b
mbedtls: fix hardware MPI (bignum) related regression
...
In commit de22f3a4e5
, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.
This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).
This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-12-02 15:07:08 +05:30
Mahavir Jain
e0e6523c09
mbedtls: update kconfig help to correct on supported MPI bits
2021-12-02 15:07:07 +05:30
David Čermák
b98a2a41e0
Merge branch 'bugfix/ksz8081_loopback' into 'release/v4.4'
...
KSZ8081 Loopback Callback Fix
See merge request espressif/esp-idf!16081
2021-12-02 07:29:31 +00:00
David Čermák
d5c607c54a
Merge branch 'bugfix/dm9051_tx_throughput_rate_optimization_v4.4' into 'release/v4.4'
...
esp_eth: optimize dm9051 Tx throughput(v4.4)
See merge request espressif/esp-idf!15885
2021-12-02 06:51:22 +00:00
RichFalk
92829f66c8
esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
...
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-02 10:25:06 +05:30
Zim Kalinowski
aa96a98c0c
Merge branch 'bugfix/riscv_fix_vector_mcause_v4.4' into 'release/v4.4'
...
RISC-V: fix usage of special register when interrupts are enabled (backport v4.4)
See merge request espressif/esp-idf!16187
2021-12-01 04:20:54 +00:00
Zim Kalinowski
66c547e5ab
Merge branch 'bugfix/ringbuf_read_pointer_wrap_v4.4' into 'release/v4.4'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v4.4)
See merge request espressif/esp-idf!15881
2021-12-01 04:18:48 +00:00
xutao
5c08cd3fe1
esp_http_client: add a get HTTP client session errno API for esp_http_client(backport v4.4)
2021-11-30 15:26:48 +08:00
Yang Zhao
a96b8e151d
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:24:52 +08:00
Jiang Jiang Jian
51e295b5c2
Merge branch 'bugfix/vfs-select-lock-latency-4.4' into 'release/v4.4'
...
vfs: reduce lock in vfs_select (v4.4)
See merge request espressif/esp-idf!16172
2021-11-30 03:56:08 +00:00
Jiang Jiang Jian
db6bc89b8c
Merge branch 'bugfix/leedarson_v4.4' into 'release/v4.4'
...
component_bt: Fix some code logic errors (v4.4)
See merge request espressif/esp-idf!16016
2021-11-30 03:52:24 +00:00
Omar Chebib
cf21312d8d
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 11:51:46 +08:00
Omar Chebib
7cab983b86
RISC-V: fix usage of special register when interrupts are enabled
2021-11-30 11:45:18 +08:00
Mahavir Jain
5f7037d143
bootloader: add anti-FI checks around secure version in anti-rollback scheme
2021-11-29 18:49:22 +05:30
Christian Fischerauer
26baeaca60
esp_eth: add loopback for ksz8081
2021-11-29 20:16:35 +08:00
Jiacheng Guo
ce7c936633
vfs: reduce lock in vfs_select
2021-11-29 17:32:43 +08:00
Omar Chebib
581f1c4550
FreeRTOS: Fix xStreamBufferReset function always crashing
...
This function resets the spinlock given as a parameter after taking it
(when entering the critical section). This then results in a panic once
it tries to exit the same critical section.
* Closes https://github.com/espressif/esp-idf/issues/7725
2021-11-29 15:31:30 +08:00
Jiang Jiang Jian
75fa6d7e3f
Merge branch 'feature/add_coex_hci_command_v4.4' into 'release/v4.4'
...
Add hci command to set coexistence status (v4.4)
See merge request espressif/esp-idf!16053
2021-11-29 03:23:32 +00:00
Mahavir Jain
a524bd85fd
Merge branch 'bugfix/bootloader_utility_warnings_v4.4' into 'release/v4.4'
...
bootloader_support: Fix compiler warnings (v4.4)
See merge request espressif/esp-idf!16139
2021-11-26 13:32:28 +00:00
Roland Dobai
3c02b30a54
Merge branch 'bugfix/app_trace_tmo_init_v4.4' into 'release/v4.4'
...
startup: init timer before calling esp_apptrace_tmo_init (v4.4)
See merge request espressif/esp-idf!16136
2021-11-26 11:53:09 +00:00
Jiang Jiang Jian
fe91b306e4
Merge branch 'bugfix/multi_heap_get_info_impl_backport_v4.4' into 'release/v4.4'
...
heap: fix multi_heap_get_info_impl(backport v4.4)
See merge request espressif/esp-idf!16119
2021-11-26 05:44:49 +00:00
Gustavo Henrique Nihei
6f6538f053
bootloader_support: Fix unused-but-set-variable compiler warning
...
When building with BOOTLOADER_LOG_LEVEL lesser then VERBOSE, an error
code variable was being set but not consumed, resulting in a compiler
warning.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-26 01:34:42 -03:00
Gustavo Henrique Nihei
d21ef9b10a
bootloader_support: Fix unused-variable compiler warning
...
Builds for every chip other than ESP32 resulted in a compiler warning
due to "drom_load_addr_aligned" and "irom_load_addr_aligned" not being
used, besides being possible to actually reuse them.
Furthermore, extended the logic for the other similar variables.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-26 01:34:40 -03:00
Erhan Kurubas
b748053e2e
startup: init timer before calling esp_apptrace_tmo_init
2021-11-25 23:58:36 +01:00
Mahavir Jain
41906a8d31
freertos: fix thread safety for checking scheduler state
...
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-25 15:43:07 +05:30
Wang Meng Yang
02237e4b77
Merge branch 'bugfix/bt_assert_failed_when_interrupt_hlevel_disable_v4.4' into 'release/v4.4'
...
component/bt: fix assert fail when interrupt hlevel disable(backport release/v4.4)
See merge request espressif/esp-idf!16043
2021-11-25 06:30:08 +00:00
gaoxiaojie
666218d753
heap: fix multi_heap_get_info_impl
2021-11-25 10:34:06 +08:00
Gustavo Henrique Nihei
18dc2cfcc2
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-23 09:01:24 -03:00
xiewenxiang
d7995a650e
component/bt: fix assert fail when interrupt hlevel disable
2021-11-23 19:50:54 +08:00
Jiang Jiang Jian
8539939c7d
Merge branch 'bugfix/nimble_dirty_timer_handle_after_deinit_v4.4' into 'release/v4.4'
...
[NimBLE]: clear timer handler during de-initialization(backport for v4.4)
See merge request espressif/esp-idf!16028
2021-11-23 07:15:50 +00:00
Jiang Jiang Jian
e073663660
Merge branch 'bugfix/11kv_scan_event_removal_v4.4' into 'release/v4.4'
...
esp_wifi: Fixes related to 802.11kv (v4.4)
See merge request espressif/esp-idf!16034
2021-11-23 07:15:31 +00:00
Jiang Jiang Jian
09a892a44f
Merge branch 'bugfix/sleep_wrong_log_lvl_v4.4' into 'release/v4.4'
...
Sleep: fix wrong debug level (backport v4.4)
See merge request espressif/esp-idf!16036
2021-11-23 07:15:02 +00:00
Jiang Jiang Jian
958d63a8d2
Merge branch 'bugfix/fix_static_check_error_mr_4.4' into 'release/v4.4'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16044
2021-11-23 07:14:41 +00:00
Mahavir Jain
81e0c7f662
Merge branch 'bugfix/nvs_partition_encrypted_flag_compatibility_v4.4' into 'release/v4.4'
...
nvs: add config to ignore "encrypted" flag of nvs partitions (v4.4)
See merge request espressif/esp-idf!15920
2021-11-23 05:46:44 +00:00
xiongweichao
a24ea59820
Add hci command to set coexistence status
2021-11-23 11:34:34 +08:00
xiongweichao
d43f5af6ef
Missing break in switch
2021-11-23 11:31:06 +08:00
xiongweichao
c48dec0d44
Dereference null return value
2021-11-23 11:31:06 +08:00
xiongweichao
74be458e62
already defined in bt_target.h
2021-11-23 11:31:06 +08:00
xiongweichao
a946b6042a
Dereference after null check
2021-11-23 11:31:06 +08:00
xiongweichao
abbc552f5f
Dereference before null check
2021-11-23 11:31:06 +08:00
xiongweichao
86ea712aa4
Logically dead code
2021-11-23 11:31:06 +08:00
“YangZhao”
4345e15f23
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 19:41:50 +08:00
Darian Leung
c5efb55d43
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
...
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()
Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()
Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
thus the spinlock test pass threshold had to be increased to account for the extra runtime.
Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 18:42:10 +08:00
Omar Chebib
2ca86a3eaf
Sleep: fix wrong debug level
...
Fix usage of ESP_LOGD in sleep_modes.c which triggers a panic when
used in debug log level.
* Closes https://github.com/espressif/esp-idf/issues/7942
2021-11-22 16:32:21 +08:00
Kapil Gupta
1780c7d8da
esp_wifi: Remove scan done event for supplicant scans
...
Closes https://github.com/espressif/esp-idf/issues/7423
2021-11-22 13:37:42 +05:30
Kapil Gupta
57dc6de613
wpa_supplicant: Fix compilation error when debug enabled
...
Closes https://github.com/espressif/esp-idf/issues/7789
2021-11-22 13:37:42 +05:30
Kapil Gupta
e5091bb7af
wpa_supplicant: Optimize BTM request scan
2021-11-22 13:37:42 +05:30
Jiang Jiang Jian
81ce15f0e0
Merge branch 'bugfix/fix_esp32s3_usb_otg_v4.4' into 'release/v4.4'
...
esp_phy: fix esp32s3 phy work with USB-OTG issue(v4.4)
See merge request espressif/esp-idf!15914
2021-11-22 06:17:21 +00:00
wangmengyang
9d67cd8ac6
[nimble]: clear timer handler during de-initialization
2021-11-22 11:17:23 +08:00
Yang Zhao
9b450e19da
It is abnormal when getting the deep sleep state bit. So we need to check
...
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-19 15:54:20 +08:00
Yang Zhao
1c792fe57d
Fix the issue of device name len limited
2021-11-19 15:50:18 +08:00
Mahavir Jain
056ec73dd2
Merge branch 'bugfix/protocomm_nimble_allocation_v4.4' into 'release/v4.4'
...
Fix for potential allocation bug in protocomm_nimble.c (v4.4)
See merge request espressif/esp-idf!15996
2021-11-19 05:26:32 +00:00
Wang Meng Yang
b2e1c6eb57
Merge branch 'bugfix/fix_custmoer_issues_v4.4' into 'release/v4.4'
...
bugfix/fix_3_controller_issues_v4.4
See merge request espressif/esp-idf!15973
2021-11-19 03:34:13 +00:00
Wang Meng Yang
f16bad24ec
Merge branch 'bugfix/wifi_prov_mgr_crash_v4.4' into 'release/v4.4'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning (v4.4)
See merge request espressif/esp-idf!15859
2021-11-19 03:00:47 +00:00
Michael (XIAO Xufeng)
bafb157749
Merge branch 'bugfix/remove_mcpwm_deprecations_v4.4' into 'release/v4.4'
...
mcpwm: revert back to allow user register isr handler (v4.4)
See merge request espressif/esp-idf!15940
2021-11-18 09:58:33 +00:00
Steinbart Andreas (HAU-EDS)
43811dc172
esp-eth: emac: Reset Tx DMA channel owner on init
...
Reset ethernet TX DMA descriptors sets owner to CPU, so re-installing the ethernet driver will now not result in packet loss
Merges https://github.com/espressif/esp-idf/pull/7752
2021-11-18 10:46:07 +01:00
isha pardikar
5ba6ac26c4
Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
...
NimBLE: Fixed potential allocation bug in protocomm_nimble.c
Closes https://github.com/espressif/esp-idf/issues/7689
See merge request espressif/esp-idf!15669
2021-11-18 14:17:35 +05:30
Rahul Tank
45bc50b2d2
NimBLE: Fixed wifi_prov_mgr crash after provisioning
...
See merge request espressif/esp-idf!15793
2021-11-17 18:37:20 +05:30
Cao Sen Miao
fcecbde778
vfs_usb_serial: set secondary selection for making usb port can output under default menu
2021-11-17 19:54:15 +08:00
Wang Meng Yang
8517af090d
Merge branch 'bugfix/fix_memory_leak_controller_deinit_v4.4' into 'release/v4.4'
...
Bugfix/fix memory leak controller deinit v4.4
See merge request espressif/esp-idf!15968
2021-11-17 10:22:32 +00:00
jincheng
66b887a680
fix HCI_Read_Clock error
...
fix HCI_Create_Connection_Cancel error
fix ASSERT_WARN during epr
2021-11-17 17:59:26 +08:00
Michael (XIAO Xufeng)
e54802113d
Merge branch 'bugfix/esp_timer_before_init_v4.4' into 'release/v4.4'
...
esp_timer: allow querying the timer before esp_timer_init is called(backport v4.4)
See merge request espressif/esp-idf!15876
2021-11-17 09:20:35 +00:00
morris
ee00029c05
gdma: support IRAM interrupt
2021-11-17 12:57:52 +08:00
chenjianxing
c3951d5e9d
esp_phy: fix esp32s3 phy work with USB-OTG issue
2021-11-17 11:12:40 +08:00
Rahul Tank
1891761fbb
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
Closes https://github.com/espressif/esp-idf/issues/7653
2021-11-16 10:41:32 +05:30
morris
e6ee8b2fcf
mcpwm: revert back to allow user register isr handler
...
Closes https://github.com/espressif/esp-idf/issues/7890
2021-11-16 11:38:48 +08:00
Mahavir Jain
35b20cadce
Merge branch 'bugfix/efuse_utility_header_v4.4' into 'release/v4.4'
...
efuse: Add missing esp_rom_sys.h include file (v4.4)
See merge request espressif/esp-idf!15955
2021-11-15 13:19:39 +00:00
Mahavir Jain
1846c29693
Merge branch 'bugfix/efuse_stdbool_v4.4' into 'release/v4.4'
...
efuse: Add missing stdbool.h include file (v4.4)
See merge request espressif/esp-idf!15935
2021-11-15 12:58:46 +00:00
Mahavir Jain
ad233f4896
Merge branch 'bugfix/aes_gcm_unaligned_psram_v4.4' into 'release/v4.4'
...
aes: fix potential unaligned access in aes-gcm (v4.4)
See merge request espressif/esp-idf!15801
2021-11-15 12:54:50 +00:00
KonstantinKondrashov
deff19706f
spi_flash: No CPU release time for an erase operation when OS is not running
...
During the early start, the virtual eFuse mode can call erase operations when OS is not yet running.
Possible workaround: CONFIG_SPI_FLASH_YIELD_DURING_ERASE=n
Fixed for the legacy flash driver as well.
2021-11-15 19:38:09 +08:00
Cao Sen Miao
99caa4950c
esp_timer: init rtc timer and system timer in early init
2021-11-15 19:38:09 +08:00
Ivan Grokhotkov
85bc2d7240
esp_timer: allow querying the timer before esp_timer_init is called
2021-11-15 19:38:09 +08:00
Gustavo Henrique Nihei
8d9ab894c3
efuse: Add missing esp_rom_sys.h include file
...
This prevents the compiler error for the implicit declaration of
function "esp_rom_printf".
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-15 07:52:01 -03:00
Zim Kalinowski
ebaffab2fb
Merge branch 'bugfix/freertos_round_robin_scheduling_retain_skip_v4.4' into 'release/v4.4'
...
freertos: Implement best effort round robin scheduling (v4.4)
See merge request espressif/esp-idf!15907
2021-11-15 07:47:43 +00:00
Zim Kalinowski
a0f339fead
Merge branch 'bugfix/usb_hcd_robustness_v4.4' into 'release/v4.4'
...
USB Host: Fix how disconnections an EP halts are handled (v4.4)
See merge request espressif/esp-idf!15908
2021-11-15 07:47:37 +00:00
wuzhenghui
8d33d54af7
heap: update RTC memory heap caps
2021-11-15 10:56:08 +08:00
Gustavo Henrique Nihei
3c341364eb
efuse: Enable C++ linkage for the include headers on esp_efuse.h
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 13:29:58 -03:00
Gustavo Henrique Nihei
0132d2c868
efuse: Add missing stdbool.h include file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 13:29:58 -03:00
Li Shuai
e75762b02f
sleep: deep sleep does not need cpu and wifi/bt mac retention
2021-11-12 19:38:32 +08:00
Li Shuai
0665e0165b
light sleep: replace new kconfig option of mac bb power down & phy reduce tx power
2021-11-12 19:38:09 +08:00
Marius Vikhammer
e3a771511a
aes: fix potential unaligned access in aes-gcm
2021-11-12 12:28:28 +08:00
Mahavir Jain
29aba769f2
spi_flash: minor cleanup, use type/subtype from esp_partition.h
2021-11-12 09:43:51 +05:30
Mahavir Jain
e2fb582cf8
nvs: add config to ignore "encrypted" flag of nvs partitions
...
This is to allow having pre IDF v4.3 behavior where "encrypted"
flag was not being checked for NVS partitions.
It is recommended to enable this new config only if you have
production devices where NVS partition was being set with "encrypted"
flag by mistake.
Please see commit aca9ec28b3
which
introduced check to not allow NVS partitions with "encrypted" flag set.
More discussion on this at:
https://github.com/espressif/esp-idf/issues/5747#issuecomment-956223024
https://github.com/espressif/esp-idf/issues/7839#issuecomment-961477667
Closes https://github.com/espressif/esp-idf/issues/7839
Closes IDFGH-6162
2021-11-12 09:43:51 +05:30
Michael (XIAO Xufeng)
df0929009a
Merge branch 'bugfix/gpio_interrupt_on_app_cpu_v4.4' into 'release/v4.4'
...
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1 (backport v4.4)
See merge request espressif/esp-idf!15902
2021-11-11 17:01:36 +00:00
Jiang Jiang Jian
dd5d452428
Merge branch 'bugfix/power_down_bluetooth_module_when_deinit_v4.4' into 'release/v4.4'
...
component/bt: Power down bluetooth module when deinit
See merge request espressif/esp-idf!15717
2021-11-11 08:27:51 +00:00
Darian Leung
1af36a5b9d
usb: Change API and refactor tests
...
This commit updates the USB Host Library API in the following wasy:
- usb_host_client_handle_t and usb_device_handle_t made into struct pointers
to generate compiler warnings about conflicting handle types
- usb_host_client_config_t changed to future proof API for Synchronous Clients
- Added usb_host_lib_unblock()
- Added usb_host_device_addr_list_fill()
- Return of usb_host_device_free_all() updated to indicate whether there
are still devices yet to be freed.
- Blockg APIs are now marked explicitly
- Fixed a bug in usb_host_transfer_submit_control() when checking the bEndpointAddress
of a control transfer.
Tests are also refactored to move some common macros into shared headers
Closes https://github.com/espressif/esp-idf/issues/7786
2021-11-11 16:26:56 +08:00
Darian Leung
891c979c64
usb: Add USB Host Library sudden disconnect tests
2021-11-11 16:26:35 +08:00
Darian Leung
0a948594cb
usb: Fix USBH handling of disconnections
...
This commit fixes how the USBH handling of a sudden device disconnection,
more specifically handling of device gone.
- Previously the USBH would only halt, flush, and dequeue the device's
default EP, then send a device gone event to the Host Library layer.
- Now the USBH will also halt and flush all non-default EPs, allowing
all of the URBs to be dequeud.
- Some internal object members are now protected by a mutex instead of
a spinlock.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-11 16:26:09 +08:00
Darian Leung
de6bf09f40
usb: Fix how the HCD handles sudden disconnection
...
This commit fixes how the USB Host HCD handles sudden disconnections.
Bugs:
- HW channels remain active when the port suddenly disconnects, and
previously the channel would be disabled by setting the disabled bit,
then waiting for a disabled interrupt. However, ISOC channels do not
generate the disabled interrupt when the port is invalid, thus leading
to tasks getting indefinitely blocked in hcd_pipe_command().
Fix:
On a sudden disconnection, forcibly treat all channels as halted even
if their HCCHAR.ChEna bit is still set. We do a soft reset after a port
error anyways, so the channels will eventually be reset.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-11 16:25:01 +08:00
Darian Leung
a1082dfa59
usb: Fix LL 8/16 bit register field access
...
This commit addes the 8/16 bit register field access workarounds to
the DWC_OTG peripheral. This workaround was applied to all other
peripherals in commit 874a720286
.
2021-11-11 16:24:08 +08:00
Darian Leung
466c42c3c1
freertos: Fix SMP round robin scheduling
...
The previous SMP freertos round robin would skip over tasks when
time slicing. This commit implements a Best Effort Round Robin
where selected tasks are put to the back of the list, thus
makes the time slicing more fair.
- Documentation has been updated accordingly.
- Tidy up vTaskSwitchContext() to match v10.4.3 more
- Increased esp_ipc task stack size to avoid overflow
Closes https://github.com/espressif/esp-idf/issues/7256
2021-11-11 16:16:11 +08:00
songruojing
762ca128b4
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1
...
Introduced in 874a720286
Closes https://github.com/espressif/esp-idf/issues/7594
(cherry picked from commit 7ec38fcc42
)
2021-11-11 12:43:09 +08:00
Jiang Jiang Jian
f6db71539e
Merge branch 'bugfix/esp32_light_sleep_crash_4.4' into 'release/v4.4'
...
Fix crash caused by bluetooth high level interrupt (v4.4)
See merge request espressif/esp-idf!15872
2021-11-11 03:38:49 +00:00
baohongde
0c0d0f9b35
components/bt: Fix the issue caused by the power off the bt power domain
2021-11-11 11:33:15 +08:00
Li Shuai
a2790756b0
fix the wifi scan fail issue caused by the power off the wifi power domain
2021-11-11 11:33:04 +08:00
Armando (Dou Yiwen)
bd9d8c314e
Merge branch 'bugfix/fix_120m_sdr_flash_config_on_non_s3_bug_v4.4' into 'release/v4.4'
...
spi_flash: make 120m config only visible on s3 sdr mode (v4.4)
See merge request espressif/esp-idf!15868
2021-11-11 02:47:47 +00:00
Ondrej Kosta
018bc054a5
Merge branch 'bugfix/LAN8720_reset_assertion_v4.4' into 'release/v4.4'
...
Increased LAN8720 ETH-PHY reset assertion time (v4.4)
See merge request espressif/esp-idf!15825
2021-11-10 20:39:58 +00:00
Darian
d722a37aa6
Merge branch 'refactor/freertos_deprecate_critical_nested_macros_v4.4' into 'release/v4.4'
...
freertos: Deprecate critical nested macros (v4.4)
See merge request espressif/esp-idf!15613
2021-11-10 16:16:53 +00:00
Xie Wen Xiang
10afcc9f63
Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection_v4.4' into 'release/v4.4'
...
component/bt: check the ble ext conn parameter(backport v4.4)
See merge request espressif/esp-idf!15768
2021-11-10 13:01:22 +00:00
Darian Leung
7e725751e4
freertos: Remove critical nested macros
...
This commit removes the following critical nested macros as follows:
- portENTER_CRITICAL_NESTED()
- portEXIT_CRITICAL_NESTED()
They are replaced with portSET_INTERRUPT_MASK_FROM_ISR() and
portCLEAR_INTERRUPT_MASK_FROM_ISR() which are the proper FreeRTOS interfaces.
Created a portmacro_deprecated.h for each port to contain deprecated API
that were originally from portmacro.h
2021-11-10 18:34:32 +08:00
Sudeep Mohanty
9e46667545
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-11-10 14:42:40 +05:30
Tian Sen Wen
2c24beca04
esp_eth: optimize dm9051 Tx throughput
2021-11-10 17:08:21 +08:00
Jiang Jiang Jian
44d13c648b
Merge branch 'bugfix/fix_ota_crash_backport_v4.4' into 'release/v4.4'
...
spi_flash: fix app crash when OTA because the OTA task's stack is in rtc fast memory(backport v4.4)
See merge request espressif/esp-idf!15852
2021-11-10 08:35:34 +00:00
xiongweichao
44b9e6e055
Fix crash caused by bluetooth high level interrupt
2021-11-10 16:14:52 +08:00
Mahavir Jain
214d2eeba7
Merge branch 'bugfix/manual_secure_boot_v2_multiple_digest_issue_v4.4' into 'release/v4.4'
...
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow (v4.4)
See merge request espressif/esp-idf!15780
2021-11-10 04:22:55 +00:00
Armando
d5218e84e2
spi_flash: make 120m config only visible on s3 sdr mode
2021-11-10 12:04:49 +08:00
Jan Procházka
683da6b46d
fatfs: Implementation of disk_status nad disk_initialize for SD/MMC card
...
FATFS provides a disk status and disk initialize callback which were not
implemented. Implementation has very low impact on SD/MMC speed and
fixes issues, when trying to open file when SD card was removed from
slot and not deinited.
If disk_status returns STA_NOINIT, it will always continue with
disk_initialize. If that returns 0, it will continue like everything is
working normally. So there has to be the same check as in disk_status.
Return of disk_initialize is always checked like this for STA_NOINIT or
STA_PROTECT so if command fails, we return the STA_NOINIT.
stat = disk_initialize(pdrv);
if (stat & STA_NOINIT) return FR_NOT_READY;
if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;
Closes IDF-4125
2021-11-09 20:17:03 +08:00
Sachin Parekh
2f39639c20
secure_boot: Do not allow key revocation in bootloader
2021-11-09 15:19:47 +05:30
Sachin Parekh
7fe2a4815d
secure_boot: Added Kconfig option for aggressive key revoke
...
Applicable to S2, C3, and S3
2021-11-09 15:19:47 +05:30
jingli
07b1b45ad6
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
2021-11-09 17:10:20 +08:00
Wang Meng Yang
5e4d166323
Merge branch 'bugfix/fix_crash_when_shutdown_bt_v4.4' into 'release/v4.4'
...
component/bt: fix crash when shutdown bt(backport v4.4)
See merge request espressif/esp-idf!15708
2021-11-09 08:06:24 +00:00
Ivan Grokhotkov
864605785b
Merge branch 'feature/rw_lock_cond_var_4.4' into 'release/v4.4'
...
pthread: reader-writer locks implementation (backport 4.4)
See merge request espressif/esp-idf!15830
2021-11-08 13:31:16 +00:00
Kevin (Lao Kaiyao)
1433f5337f
Merge branch 'bugfix/i2s_ws_polarity_in_tdm_v4.4' into 'release/v4.4'
...
i2s: fix ws signal polarity in tdm mode (v4.4)
See merge request espressif/esp-idf!15820
2021-11-08 09:30:14 +00:00
Wei Tian Hua
397e148049
Merge branch 'doc/make_classic_bt_API_ref_only_for_esp32_4.4' into 'release/v4.4'
...
Doc/make classic bt api ref only for esp32 [backport v4.4]
See merge request espressif/esp-idf!15727
2021-11-08 09:14:24 +00:00
Mahavir Jain
4ac351247d
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow
...
This commit fixes issue where empty (unprogrammed) digest slot out of
multiple supported (e.g. 3 for ESP32-C3) could cause issue in
workflow enablement process.
Notes:
1. This issue was applicable for chips supporting "secure-boot-v2"
scheme with multiple digests slots
2. This issue was affecting only manual workflow, where digest of
public was pre-flashed in efuse
3. Change in "flash_encrypt.c" is only for additional safety purpose
2021-11-08 12:48:12 +08:00
xiewenxiang
7a6a61feef
component/bt: fix crash when shutdown bt(backport v4.4)
2021-11-08 10:55:12 +08:00
Jakob Hasse
b117bcd2a0
feat (pthread): reader-writer locks implementation
...
* Added implementation based on cond. variables
* Added unit tests
Closes https://github.com/espressif/esp-idf/issues/7411
2021-11-08 10:21:37 +08:00
Ondrej Kosta
43b62a5b62
Copyright message fix for 'Increased LAN8720 ETH-PHY reset assertion time'
2021-11-05 11:39:04 +01:00
Frank Sautter
5f9ae3510a
Increased LAN8720 ETH-PHY reset assertion time (IDFGH-6018)
...
Increase reset assertion time from 100µs (as specified minimum in the datasheet) to 150µs.
Some specimen of the LAN8720 need the reset signal asserted longer than 100µs to initialise properly. Otherwise they are in a zombie state where they are establishing and loosing an Ethernet link once in a seconds interval.
2021-11-05 11:35:35 +01:00
Ondrej Kosta
484d5c8491
esp_eth: KSZ8851SNL, enable Rx multicast in MAC filter
...
Closes https://github.com/espressif/esp-idf/issues/7750
2021-11-05 11:23:14 +01:00
laokaiyao
f7f9683ef1
i2s: fix ws signal polarity in tdm mode
2021-11-05 11:35:02 +08:00
liulinyan
b298795e37
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v4.4)
See merge request espressif/esp-idf!15815
2021-11-05 03:16:51 +00:00
lly
461ffffd77
ble_mesh: nimble: return error if init host twice
2021-11-04 20:31:57 +08:00
lly
c255c6a6f8
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-04 20:29:38 +08:00
Island
dc20c1fd41
Merge branch 'bugfix/ble_mesh_update_license_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Update license of esp specific files (v4.4)
See merge request espressif/esp-idf!15765
2021-11-04 12:12:05 +00:00
Darian
423b6697ac
Merge branch 'bugfix/freertos_prvTaskIsTaskSuspended_v4.4' into 'release/v4.4'
...
freertos: Fix prvTaskIsTaskSuspended check (v4.4)
See merge request espressif/esp-idf!15612
2021-11-04 10:26:54 +00:00
Darian
9fae314f50
Merge branch 'feature/freertos_static_allocation_task_memory_callbacks_v4.4' into 'release/v4.4'
...
freertos: Add memory hooks for static IDLE and Timer tasks (v4.4)
See merge request espressif/esp-idf!15614
2021-11-03 11:20:10 +00:00
lly
c1df3636b7
ble_mesh: stack: Update license of esp specific files
2021-11-03 14:22:31 +08:00
liulinyan
226f49f37d
Merge branch 'bugfix/heartbeat_filter_with_acceptlist_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix heartbeat filter with accept list (v4.4)
See merge request espressif/esp-idf!15675
2021-11-03 06:21:32 +00:00
lly
9e82f7fdcf
ble_mesh: stack: Update the license of provisioner_main.c
2021-11-02 20:56:25 +08:00
wangjialiang
77eb671168
ble_mesh: stack: Fix heartbeat filter with accept list
2021-11-02 20:54:02 +08:00
Liu Han
89873937eb
lwip/dhcp: add configure for enable vendor class identify option
...
Closes https://github.com/espressif/esp-idf/issues/6786
2021-11-02 18:02:22 +08:00
Wang Meng Yang
2d3ec44011
Merge branch 'bugfix/ble_conn_latency_max_value_v4.4' into 'release/v4.4'
...
BLE: Set connection max latency value to 499.
See merge request espressif/esp-idf!15754
2021-11-02 09:11:12 +00:00
xiewenxiang
d89112badf
component/bt: check the ble ext conn parameter
2021-11-02 15:54:27 +08:00
Darian Leung
5ac3b05cbe
freertos: Add memory hooks for static IDLE and Timer tasks
...
This commit adds the following hook functions to obtain memory
for the IDLE and Timer Daemon tasks when configSUPPORT_STATIC_ALLOCATION
is enabled:
- vApplicationGetIdleTaskMemory()
- vApplicationGetTimerTaskMemory()
Currently, both functions simply allocate from the same memory as
regular tasks (i.e., internal memory for both the stack and TCB)
Closes https://github.com/espressif/esp-idf/issues/7511
2021-11-02 14:54:01 +08:00
Darian Leung
efad5e56ae
freertos: Fix prvTaskIsTaskSuspended check
...
This commit fixes prvTaskIsTaskSuspended(). Both pending ready lists
should be checked to confirm that is truly suspended.
Closes https://github.com/espressif/esp-idf/issues/7564
2021-11-02 14:51:17 +08:00
Chinmay Chhajed
affe1a0692
BLE: Set connection max latency value to 499.
2021-11-01 16:45:16 +05:30
Martin Vychodil
3f26866533
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
...
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.
IDF-4094
2021-10-29 15:02:17 +02:00
KonstantinKondrashov
fb3c88510c
efuse_table_gen: Fixes wrong joining fields with omitted names
...
The issue is related to the non-sequential way of description when
such fields going together sequential.
Related to esp32h2 chip for eFuses: MAC_FACTORY and MAC_EXT.
The issue is in wrong indexes of MAC_EXT.
MAC_EXT got indexes like it is joined to MAC_FACTORY.
const esp_efuse_desc_t* ESP_EFUSE_MAC_FACTORY[] = {
&MAC_FACTORY[0],
&MAC_FACTORY[1],
&MAC_FACTORY[2],
&MAC_FACTORY[3],
&MAC_FACTORY[4],
&MAC_FACTORY[5],
NULL
};
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[6],
&MAC_EXT[7],
NULL
};
This commit fixed it to:
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[0],
&MAC_EXT[1],
NULL
};
2021-10-29 19:17:51 +08:00
zhangwenxu
281598077a
efuse: fix esp32h2 get ext_mac
2021-10-29 19:17:51 +08:00
weitianhua
1383785aa1
Remove dummy defines of Classic BT
2021-10-29 14:21:26 +08:00
weitianhua
f4aad85f8b
Make Classic BT related document links only visible for ESP32
2021-10-29 14:21:12 +08:00
baohongde
89d290f17a
component/bt: Power down bluetooth module when deinit
2021-10-29 10:44:02 +08:00
yuanjm
9705ea5e97
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request
...
Closes https://github.com/espressif/esp-idf/issues/7777
2021-10-29 10:16:12 +08:00
Anton Maklakov
697f829d60
Merge branch 'bugfix/gdbstub_4_c3_v4.4' into 'release/v4.4'
...
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2. (backport v4.4)
See merge request espressif/esp-idf!15664
2021-10-27 16:49:21 +00:00
Jiang Jiang Jian
7aa3dfc087
Merge branch 'bugfix/fix_phy_usb_issue_v4.4' into 'release/v4.4'
...
esp_phy: fix esp32c3/s3 phy USB & RSSI issue(v4.4)
See merge request espressif/esp-idf!15646
2021-10-27 14:01:48 +00:00
xiongweichao
3187b9b5a4
1. Fix the scan failed issue.
...
2. Fix connection failed with LG 5.0 phone
3. Remove assert when inquiry done
2021-10-27 14:54:37 +08:00
Dmitry
1703b9d0f3
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-26 20:00:58 +03:00
David Čermák
43a81fb2f9
Merge branch 'bugfix/asio_ssl_build' into 'release/v4.4'
...
asio: Fix ssl example build removing openssl warning
See merge request espressif/esp-idf!15498
2021-10-26 14:26:12 +00:00
Ivan Grokhotkov
d47d413e25
esp_system: fix high level interrupt handler not linked for GNU Make
...
In 4972605
, high-level interrupt handler hook was renamed from
ld_include_highint_hdl to ld_include_panic_highint_hdl. However the
change wasn't applied in GNU Make based build system. As a result,
the default interrupt handler was linked and features which depended
on the high-level interrupt didn't work.
Closes https://github.com/espressif/esp-idf/issues/7759
Closes https://github.com/espressif/esp-idf/issues/7447
2021-10-26 11:26:45 +02:00
chenjianxing
5eb55d2e7a
esp_phy: fix esp32c3/s3 phy USB & RSSI issue
2021-10-26 15:48:27 +08:00
Anton Maklakov
91696b9d6d
coredump: update test data for toolchain 2021r2
2021-10-25 19:55:41 +07:00
David Cermak
0a8c1259dc
asio: Fix ssl example build removing openssl warning
...
Regression from e68afcb45036901ebc9174b2c8f3804f7921410c causing
non-clean builds for standard asio-ssl example (warning was
suppressed in the CI build only)
2021-10-25 11:59:02 +00:00
Andrei Safronov
cb6e5b0980
newlib: fix clang atomics
...
Correction of the SYNC_LOCK_* macros in stdatomic
2021-10-21 17:34:48 +01:00
Marius Vikhammer
108f85f8b3
ci: update cert used for esp_eth test
2021-10-21 10:05:56 +08:00
David Čermák
4e03a9c34c
Merge branch 'bugfix/mdns_non_standard_domains' into 'master'
...
mdns: Fix parsing non-standard queries
Closes IDFGH-6009
See merge request espressif/esp-idf!15566
2021-10-20 16:21:24 +00:00
Scott Mabin
f06bc441f3
Merge branch 'bugfix/remove-uneeded-clang-ifdefs' into 'master'
...
remove `__clang__` ifdef around atomic libcalls
See merge request espressif/esp-idf!15489
2021-10-20 14:54:28 +00:00
Mahavir Jain
81e3eb45ca
cpu_start: rename function to add core prefix for more clarity
2021-10-20 15:16:25 +05:30
Mahavir Jain
11d9faf38c
spi_flash: enable cache access error test for all targets except ESP32-S2
2021-10-20 15:16:25 +05:30
Mahavir Jain
61820f5b30
cpu_start: let individual core clear its interrupt matrix
...
There was race condition where interrupt entries set by APP cpu core
could have been cleared during PRO cpu startup.
This was observed while setting up "cache access error" interrupt in
SMP mode for ESP32-S3.
This fix allows to NOT modify or clear any entries set by other core
(APP or PRO) and thus avoiding any race conditions during startup code.
2021-10-20 15:16:25 +05:30
Mahavir Jain
bdeaeb8d7f
esp_system: enable "cache disable but cache accessed" interrupt for ESP32-S3
2021-10-20 15:16:25 +05:30
Michael (XIAO Xufeng)
390f71cbcb
Merge branch 'bugfix/add_support_for_mspi_to_work_with_cpu_clock_switch' into 'master'
...
mspi: make cpu clock source switch safe
Closes IDFCI-902
See merge request espressif/esp-idf!15557
2021-10-20 08:21:53 +00:00
Li Shuai
e8188e5d8f
ci: replacing old header with new SPDX header style
2021-10-20 11:36:23 +08:00
Li Shuai
7c7f3aa84e
unit test: add sleep test case for esp32s3
2021-10-20 11:36:23 +08:00
Li Shuai
a939f7d34b
light sleep: add software workaround for esp32s3 gpio reset issue
2021-10-20 11:36:22 +08:00
Li Shuai
44da7d27ef
heap: add a new heap caps attribute for RTC fast memory
2021-10-20 11:36:22 +08:00
Li Shuai
62a4587e87
deep sleep: modified to support dual-core mode
2021-10-20 11:36:22 +08:00
Li Shuai
881e1b0fd5
deep sleep: add deep sleep support for esp32s3
2021-10-20 11:36:20 +08:00
David Cermak
d16f9bade5
mdns: Fix parsing non-standard queries
...
Fix for packets containing unexpected domains, such as openthread.thread.home.arpa.
If we find this packet we set the name entry as invalid, but continue with parsing as the packet might contain related queries for us.
Closes https://github.com/espressif/esp-idf/issues/7694
2021-10-19 16:58:33 +02:00
Armando
c331c85318
mspi: make cpu clock source switch safe
...
For some of the MSPI high frequency setting (e.g. 80M DDR mode Flash or PSRAM), timing tuning is required.
Certain delays will be added to the MSPI RX direction. When system clock switches down, the delays should be
cleared. When system clock switches up, the delays should be restored.
2021-10-19 21:47:27 +08:00
Li Shuai
9298db641e
deep sleep: fix some rtc fast memory definition errors in esp32s3
2021-10-19 21:47:27 +08:00
Jiang Jiang Jian
7c3a37977f
Merge branch 'bugfix/ut_test_case_esp32_phy_enable' into 'master'
...
unit-test: fix esp32 phy enable test case
See merge request espressif/esp-idf!15549
2021-10-19 13:46:04 +00:00
Jiang Jiang Jian
ed293158fc
Merge branch 'bugfix/fix_stuck_in_rtc_clk_calibration' into 'master'
...
[bugfix] Futher fix stuck in rtc clk calibration
Closes IDFCI-908 and IDFCI-909
See merge request espressif/esp-idf!15547
2021-10-19 12:09:09 +00:00
Omar Chebib
0d5608b377
Merge branch 'bugfix/replace_xtensa_relative_j_branch' into 'master'
...
Xtensa: Branch and jump intructions referencing a relative label have been replaced
Closes IDF-3809
See merge request espressif/esp-idf!15179
2021-10-19 11:48:43 +00:00
Shu Chen
dc19bd4e5a
Merge branch 'feature/ot-esp-console' into 'master'
...
openthread: Use esp console for CLI
See merge request espressif/esp-idf!15365
2021-10-19 09:38:40 +00:00
Mahavir Jain
1e920e4a7c
Merge branch 'fix/esp_crt_bundle_update_cacrt_all_file' into 'master'
...
Updated the cacrt_all.pem file with latest Root certificate list.
See merge request espressif/esp-idf!15395
2021-10-19 08:57:33 +00:00
Omar Chebib
8048677b4c
Xtensa: Branch and jump intructions referencing a relative label have been replaced
...
As branches/jumps on Xtensa have a maximum range for the destination, it is
unsafe to refer to a label to another compilation unit in a branch/jump instruction.
The labels have been replaced by absolute addresses.
2021-10-19 12:21:12 +08:00
wuzhenghui
5000aa877f
fix rtc_clk_cal: Wait for timeout in a loop instead of just judge once
2021-10-19 12:07:34 +08:00
David Čermák
75e2705269
Merge branch 'bugfix/esp_netif_public_headers' into 'master'
...
esp_netif: Fix implicit includes in public headers (GitHub PR)
Closes IDFGH-6002
See merge request espressif/esp-idf!15535
2021-10-18 16:43:59 +00:00
Mahavir Jain
8f3b89dedf
Merge branch 'bugfix/esp_http_client_socket_cleanup_exception' into 'master'
...
esp_http_client: fix exception when calling esp_transport_list_destroy.
Closes IDFGH-6001
See merge request espressif/esp-idf!15544
2021-10-18 12:54:11 +00:00
Li Shuai
a50312fa63
unit-test: fix esp32 phy enable test case
2021-10-18 19:42:52 +08:00
Zim Kalinowski
a631765333
Merge branch 'bugfix/fixed-cxx-build-include-hal' into 'master'
...
cxx: fixed cxx build failure when including hal
Closes IDFGH-6026
See merge request espressif/esp-idf!15540
2021-10-18 08:38:37 +00:00
0xFEEDC0DE64
822129e234
esp_netif: Fix implicit includes in public headers
...
Merges https://github.com/espressif/esp-idf/pull/7690
2021-10-18 10:01:52 +02:00
Mahavir Jain
8e46e9862e
Merge branch 'fix/esp_crypto_base64_encode_wolfssl' into 'master'
...
Encoding base64 with wolfSSL should produce the same result as...
Closes IDFGH-5990
See merge request espressif/esp-idf!15528
2021-10-18 05:27:41 +00:00
Derossi Carneiro Neto
341d3e107c
esp_http_client_cleanup, if client->transport_list was null, it generated an exception when calling esp_transport_list_destroy
...
https://github.com/espressif/esp-idf/pull/7695
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-10-18 10:50:45 +05:30
Jiacheng Guo
be4a45ab70
openthread: Use esp console for CLI
2021-10-18 12:27:50 +08:00
Wang Meng Yang
ca8d432462
Merge branch 'bugfix/btdm_ble_data_length_update_fail' into 'master'
...
Fix data length update failed
Closes BT-1924
See merge request espressif/esp-idf!15499
2021-10-18 03:06:26 +00:00
Zim Kalinowski
a7c9949dd9
Fixed build problem when icluding gpio_ll.h from cpp file
2021-10-17 14:29:31 +08:00
Aditya Patwardhan
2d1f18efea
Updated the cacrt_all.pem file with latest Root certificate list.
2021-10-17 00:01:37 +08:00
John Ohl
27d66c0e33
Encoding base64 with wolfSSL should produce the same result as esp_crypto_bas64_encode_mbedtls and not encode in PEM format /w new lines
...
Closes https://github.com/espressif/esp-idf/pull/7676
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-10-17 00:01:23 +08:00
Darian Leung
b23de0f8a1
twdt: Fix timeout decimal literals to prevent uint32_t overflow
...
This commit fixes the decimal literals used in calculating task
watchdog timeouts to prevent them from causing a uint32_t oveflow.
Closes https://github.com/espressif/esp-idf/issues/6648
2021-10-15 16:07:27 +08:00