Commit Graph

25200 Commits

Author SHA1 Message Date
Jakob Hasse
69c04f4adf refactor(esp_partition): Made private includes private on Linux 2024-05-13 16:02:19 +02:00
Jiang Jiang Jian
f97ad23b4d Merge branch 'bugfix/ftm_fix_wrong_compensation' into 'master'
fix(esp_wifi): Fix issue in selecting FTM compensation with external AP

Closes WIFIBUG-547 and WIFIBUG-548

See merge request espressif/esp-idf!30684
2024-05-13 21:14:04 +08:00
Konstantin Kondrashov
5ed066f3a8 feat(soc): Update efuse related soc_caps for c61 and c5 (MP/beta3) 2024-05-13 19:54:28 +08:00
Sudeep Mohanty
7430285d45 Merge branch 'fix/hello_world_linux_target_on_macos' into 'master'
fix(esp-tls): Fix compilation for linux target on macos

See merge request espressif/esp-idf!30798
2024-05-13 19:31:00 +08:00
harshal.patil
3eb6487bb5
fix(bootloader_support): Make esp_flash_encrypt.h independent of spi_flash_mmap.h header 2024-05-13 16:54:45 +05:30
harshal.patil
5dfbc47192
fix(mbedtls/crypto_shared_gdma): Enable AXI-DMA enable external memory AES-ECC access
- When external memory encryption is enabled, set the aes_ecc bit of AXI-DMA to enable memory access
2024-05-13 16:54:45 +05:30
Abhik Roy
e2f6920c4f Merge branch 'lwip/if_indextoname_compolation_fix' into 'master'
fix(newlib): Fixed compilation error referencing undefined POSIX interface API

Closes IDFGH-12575

See merge request espressif/esp-idf!30561
2024-05-13 18:39:56 +08:00
Gao Xu
1029476a82 Merge branch 'feature/esp32c5_mp_gpio_support' into 'master'
C5 gpio support and update docs

See merge request espressif/esp-idf!30792
2024-05-13 18:36:52 +08:00
Marius Vikhammer
dfcc710aef feat(cpu): add basic PMA protection for null access 2024-05-13 18:10:19 +08:00
Harshit Malpani
6345761c80 Merge branch 'contrib/github_pr_13764' into 'master'
Document additional errs returned by esp_ota_write (GitHub PR)

Closes IDFGH-12784

See merge request espressif/esp-idf!30765
2024-05-13 17:03:27 +08:00
gaoxu
1138d7d56a feat(gpio): update c5 mp gpio docs 2024-05-13 16:19:28 +08:00
gaoxu
6def5faab5 feat(gpio): rename c61 IOMUX to IO_MUX 2024-05-13 16:18:19 +08:00
gaoxu
bce26b29c3 feat(rom): update c5 mp verison rom ld file 2024-05-13 16:18:18 +08:00
Sudeep Mohanty
41a8521774 fix(esp-tls): Fix compilation for linux target on macos
This commit fixes compilation errors for the esp-tls component for the
linux target on a MacOS system.
2024-05-13 10:13:54 +02:00
wuzhenghui
1fa8216830
fix(esp_hw_support/sleep): stop TG0/TG1 watchdog if XTAL not power down in lightsleep 2024-05-13 15:46:42 +08:00
gaoxu
8390cc1b0e feat(csi): add verify to no backup buffer usage 2024-05-13 15:42:10 +08:00
wuzhenghui
ad54af74d6
change(esp_hw_support/sleep): improve esp32c3 systimer stall bug workaround 2024-05-13 15:07:40 +08:00
Shu Chen
562623c67e Merge branch 'feature/ot_remove_config_buffer_range' into 'master'
feat(openthread): remove the range for some configurations

See merge request espressif/esp-idf!30770
2024-05-13 14:43:27 +08:00
Nachiket Kukade
23809777fa fix(esp_wifi): Fix issue in selecting FTM compensation with external AP 2024-05-13 12:10:38 +05:30
wanlei
4f424da1ee fix(spi_master): fix sct mode descripter oob when data lager then 4092 bytes 2024-05-13 11:42:29 +08:00
zwx
927bead6c4 feat(openthread): remove the range for some configurations 2024-05-13 10:53:17 +08:00
Wang Lei
1ee9f80067 Merge branch 'feat/remove_sdio_rst_for_c5mp_c61' into 'master'
fix(esp_rom): remove sdio rst for c5mp c61

See merge request espressif/esp-idf!30691
2024-05-13 10:40:28 +08:00
Lucian Popescu
37d9a3c183 docs(ota): Document additional errs returned by esp_ota_write
Squashed commit of the following:

commit f47a894231168298f9763642e7d421ebd5e7dc46
Author: Lucian Popescu <lucian.popescu187@gmail.com>
Date:   Fri May 10 10:44:17 2024 +0300

    Update correct codes for esp_ota_write

    Co-authored-by: Harshit Malpani <65167938+hmalpani@users.noreply.github.com>

commit ea407fb82ec75a2e666713607e8892f0ffa91556
Author: Lucian Popescu <lucian.popescu187@gmail.com>
Date:   Wed May 8 14:06:37 2024 +0300

    docs(ota): Document additional errs returned by esp_ota_write
2024-05-12 18:51:08 +08:00
morris
6a57c26469 Merge branch 'feature/esp32c5_mp_gpio_support' into 'master'
esp32c5 mp gpio support

Closes IDF-9649

See merge request espressif/esp-idf!30474
2024-05-11 22:50:23 +08:00
C.S.M
0299e78272 Merge branch 'bugfix/bod_wait_cycle_c2_c3' into 'master'
bugfix(brownout): Fix no intr cycle wait on esp32c3, esp32c2

Closes IDF-9661

See merge request espressif/esp-idf!30785
2024-05-11 17:50:47 +08:00
C.S.M
096a23af06 Merge branch 'feature/usj_support_p4' into 'master'
feature(usb_serial_jtag): Add usb serial jtag support on esp32p4

Closes IDF-7496

See merge request espressif/esp-idf!30754
2024-05-11 17:50:27 +08:00
Jiang Jiang Jian
94f543d10c Merge branch 'bugfix/fix_mesh_packet_tx_issue' into 'master'
fix(wifi): fix the tx issue when mesh timeremain equal to zero

Closes WIFIBUG-276

See merge request espressif/esp-idf!30587
2024-05-11 16:30:55 +08:00
C.S.M
46b19b8526 bugfix(brownout): fix issue that no wait cycle on c3 and c2 2024-05-11 15:33:50 +08:00
Kevin (Lao Kaiyao)
8054d82ea1 Merge branch 'bugfix/fix_intr_priority_in_isp_af' into 'master'
fix(isp_af): fixed isp af intr priority

See merge request espressif/esp-idf!30782
2024-05-11 15:13:30 +08:00
C.S.M
bbe23a467a test(spi_flash): Disable flash wrap test on esp32p4 2024-05-11 14:53:19 +08:00
wanglei
097a53f139 fix(soc): remove RESET_REASON_CORE_SDIO define for esp32c61 2024-05-11 14:46:09 +08:00
wanglei
2e27c22afd fix(esp_system): remove sdio core rst for esp32c61 2024-05-11 14:46:09 +08:00
wanglei
f074909ab5 fix(esp_rom): remove sdio rst, wake cause from rom rtc.h 2024-05-11 14:46:09 +08:00
C.S.M
15cf203632 feature(usb_serial_jtag): add usb serial jtag support for esp32p4 2024-05-11 14:16:57 +08:00
Aditya Patwardhan
a04cc5289c
fix(bootloader_support): Fix flash encryption for esp32p4 2024-05-11 10:01:16 +05:30
Michael (XIAO Xufeng)
0121e99d05 Merge branch 'feature/support_chip912_cpll_spll_eco1' into 'master'
feat: support(esp32p4_eco1): modify cpll and spll config

Closes IDF-9612, IDF-9613, and IDF-8939

See merge request espressif/esp-idf!30675
2024-05-11 11:42:39 +08:00
laokaiyao
e106c281ad fix(isp_af): fixed isp af intr priority 2024-05-11 11:12:43 +08:00
gaoxu
cbef285352 feat(pm): add SOC_PM_SUPPORTED in soc caps 2024-05-11 10:51:17 +08:00
gaoxu
6e4b50511e feat(coredump): replace fun sel function 2024-05-11 10:51:16 +08:00
gaoxu
3db559ab21 feat(gpio): update gpio docs on ESP32C5 MP version 2024-05-11 10:49:42 +08:00
Xiao Xufeng
8753934582 feat(esp32p4): add eco1 revision config option 2024-05-10 22:51:12 +08:00
chaijie@espressif.com
29ddd2b720 feat(esp32p4_eco1): modify cpll and spll config 2024-05-10 22:18:17 +08:00
Abhik Roy
67440fa4e9 fix(lwip): Fixed compilation error referencing undefined POSIX interface API
Closes https://github.com/espressif/esp-idf/issues/13577
2024-05-10 23:05:36 +10:00
laokaiyao
627631429a feat(parlio_rx): support parlio rx on p4 2024-05-10 16:55:46 +08:00
zhangyanjiao
a017812623 fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-10 16:28:52 +08:00
Wang Meng Yang
caa248be08 Merge branch 'bugfix/loadprohibited_after_bt_deinit' into 'master'
fix(coex): fixed crash issue in coexist callback

Closes BT-3715

See merge request espressif/esp-idf!30493
2024-05-10 12:16:43 +08:00
Mahavir Jain
a3dff04cf3 Merge branch 'bugfix/fix_resetting_redirect_counter' into 'master'
fix: reset redirect counter for using same handler

Closes IDFGH-12636 and IDFGH-12667

See merge request espressif/esp-idf!30395
2024-05-10 12:02:36 +08:00
Mahavir Jain
9294914c4a Merge branch 'bugfix/make_event_posting_timeout_configurable' into 'master'
fix: Add config option to set timeout for posting events

Closes IDFGH-12649

See merge request espressif/esp-idf!30601
2024-05-10 11:58:45 +08:00
gongyantao
88774ee612 fix(bt): fixed assert_1024 issue when bt tx and wifi coexist
Closes https://github.com/espressif/esp-idf/issues/13656
2024-05-10 10:18:54 +08:00
David Čermák
933116be65 Merge branch 'lwip/thread_sem_oomem_crash' into 'master'
fix(lwip): Fix crash to fail-safe error if cannot get semaphore

Closes IDF-8888

See merge request espressif/esp-idf!29766
2024-05-09 23:19:48 +08:00
Rahul Tank
9dd98b9ba4 Merge branch 'bugfix/free_controlle_memory_in_init_fail' into 'master'
fix(nimble): Free controller memory if init fails

See merge request espressif/esp-idf!30688
2024-05-09 23:18:25 +08:00
David Cermak
a8eed53bc2 fix(lwip): Fix null dereference if we cannot allocate semaphore
* Update submodule: git log --oneline f7922143..a1bd9e44
Detailed description of the changes:
  - api_msg: Fix crash to fail-safe error if cannot get semaphore (espressif/esp-lwip@a1bd9e44)
2024-05-09 21:48:00 +08:00
David Čermák
31253679d9 Merge branch 'bugfix/bind_dhcps_netif' into 'master'
fix(lwip/dhcp_server): Bind dhcps netif to avoid handling the dhcp packet from other netif

See merge request espressif/esp-idf!30537
2024-05-09 19:44:19 +08:00
Erhan Kurubas
1e90b1f571 Merge branch 'coredump_fixes' into 'master'
Coredump fixes

Closes IDFGH-12775 and IDFCI-2141

See merge request espressif/esp-idf!30641
2024-05-09 19:22:12 +08:00
Ivan Grokhotkov
5425abc6cb Merge branch 'bugfix/sdspi_tests' into 'master'
sdspi: test-related fixes

Closes IDF-8750

See merge request espressif/esp-idf!30612
2024-05-09 18:52:55 +08:00
Marius Vikhammer
fdd6aeeba7 fix(brownout): fixed brownout isr crashing if cache disabled
If a brownout ISR was triggered while cache was disabled the system would panic.

This was due to a print accessing a string stored in flash
2024-05-09 17:50:02 +08:00
David Čermák
e42f1c53e0 Merge branch 'feat/netif_dhcps_captive_portal' into 'master'
feat(esp_netif): add support for DHCP Option 114 captive portal URI

Closes IDFGH-11885

See merge request espressif/esp-idf!30267
2024-05-09 17:22:22 +08:00
Jiang Jiang Jian
4426fca883 Merge branch 'bugfix/gcmp_mr_regression' into 'master'
fix(wifi): Fix issue of wrong Rx control information of espnow packets for esp32 and esp32s2

Closes WIFIBUG-534

See merge request espressif/esp-idf!30703
2024-05-09 15:57:05 +08:00
David Cermak
8103d5bc34 fix(esp_netif): Add API docs to DHCP client/server operations 2024-05-09 09:49:47 +02:00
liuning
18cde4e7d8 update c3 s3 c6 libphy fix coex reset and bug 2024-05-08 20:23:55 +08:00
Roman Leonov
f86758f785 Merge branch 'refactor/usb_host_hub_api_prepeq_for_enum_driver' into 'master'
refactor(hub): Updated HUB api for ENUM driver

Closes IDF-9790

See merge request espressif/esp-idf!29912
2024-05-08 19:52:09 +08:00
Sarvesh Bodakhe
bc63f1e7fa fix(wifi): Fix issue of wrong Rx control information of espnow packets
Only for esp32 and esp32s2
2024-05-08 17:11:34 +05:30
Li Shuai
8920cce89e Merge branch 'bugfix/pm-107' into 'master'
fix esp32c6 failed to enter light sleep caused by soc wakeup request signal

Closes PM-107

See merge request espressif/esp-idf!30551
2024-05-08 16:39:05 +08:00
morris
347cabce75 Merge branch 'feat/mipi_dsi_draw_pixel_round_boundary' into 'master'
feat(mipi_dsi): round to boundary when draw pixel

Closes AUD-5384

See merge request espressif/esp-idf!30588
2024-05-08 16:30:15 +08:00
Roman Leonov
7b7b8680ca Merge branch 'refactor/usb_host_usbh_api_prereq_for_enum_driver' into 'master'
refactor(usbh): Updated USBH api for ENUM driver

Closes IDF-9723

See merge request espressif/esp-idf!29913
2024-05-08 15:02:08 +08:00
Harshit Malpani
1ac2ebbeb9
fix: Add config option to set timeout for posting events
Event posting to the event loop should not hinder the working of
HTTP Client or HTTP Server. This commit add a config option to set
the timeout for posting the events to the loop.

Closes https://github.com/espressif/esp-idf/issues/13641
2024-05-08 11:41:05 +05:30
morris
4b67df323d feat(mipi_dsi): round to boundary when draw pixel 2024-05-08 14:08:19 +08:00
Rahul Tank
d42058de17 fix(nimble): Free controller memory if init fails 2024-05-08 09:57:22 +05:30
Li Shuai
ddd65e1f54 fix(esp_wifi): clear soc wakeup request signal at tbtt process 2024-05-08 10:40:16 +08:00
Island
705c21d38e Merge branch 'feat/display_ble_controller_init_status' into 'master'
feat(ble/controller): Display BLE controller init status for ESP32 and ESP32-C3/S3

Closes BLERP-728

See merge request espressif/esp-idf!30651
2024-05-08 10:28:31 +08:00
Roman Leonov
325bbfb8d5 refactor(hub): Updated HUB api (enum driver) 2024-05-07 15:09:06 +02:00
Roman Leonov
596672fdcd refactor(usbh): Updated USBH api (enum driver) 2024-05-07 15:07:51 +02:00
Martin Vychodil
4ecba50c8a Merge branch 'fix/coverity_vfs_fat_mem_overlapping' into 'master'
fix(vfs): fix coverity issue copy of overlapping memory in vfs_fat.c

Closes IDF-9833

See merge request espressif/esp-idf!30629
2024-05-07 20:48:35 +08:00
Abhik Roy
437f08100d fix(esp_netif): Fixed Coverity issue CID 459204
Closes IDF-9847

See merge request espressif/esp-idf!29400
2024-05-07 20:43:22 +10:00
Linda
52cfd1bf24 docs: fix clock sources for esp32c6 2024-05-07 17:35:39 +08:00
Wu Zheng Hui
badb22bc2e Merge branch 'fix/fix_esp_pm_case_high_fail_ratio' into 'master'
fix(esp_pm): fix esp_pm test cases high fail ratio

Closes IDFCI-2143

See merge request espressif/esp-idf!30653
2024-05-07 16:54:14 +08:00
zhanghaipeng
fc9290d8a2 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-05-07 16:24:27 +08:00
wuzhenghui
1c9986501b
fix(esp_pm): fix esp_pm test cases high fail ratio 2024-05-07 16:20:19 +08:00
Jiang Jiang Jian
a5165ea1fc Merge branch 'bugfix/wpa_wpa2_wpa3_mixed_mode' into 'master'
fix(wifi): Fix issue in scan when AP advertises WPA and WPA2 with SAE AKM

Closes WIFIBUG-496

See merge request espressif/esp-idf!30627
2024-05-07 16:17:15 +08:00
zhanghaipeng
b270f0abc3 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-05-07 15:32:11 +08:00
Island
5a09fce7e4 Merge branch 'bugfix/fix_ble_scan_back_off' into 'master'
fix(ble/controller): Update esp32 bt-lib (b79d7e2)

Closes IDFCI-2016

See merge request espressif/esp-idf!30582
2024-05-07 14:14:42 +08:00
Harshit Malpani
ef5e4ddee8
fix: Add warning to enable LWIP_NETIF_LOOPBACK to use control socket API
Closes https://github.com/espressif/esp-idf/issues/13659
2024-05-07 10:39:12 +05:30
Harshit Malpani
1987f055c9
fix: reset redirect counter for using same handler
Closes https://github.com/espressif/esp-idf/issues/13633
2024-05-07 10:27:23 +05:30
Erhan Kurubas
8e524d708c fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
Closes https://github.com/espressif/esp-idf/issues/13754
2024-05-07 06:49:28 +02:00
Rahul Tank
5791913b85 Merge branch 'bugfix/disable_mbedtls_options' into 'master'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used

See merge request espressif/esp-idf!30497
2024-05-07 12:37:42 +08:00
morris
797ce920a7 Merge branch 'test/gdma_fetch_data_in_flash' into 'master'
test(gdma): can read data from flash rodata

See merge request espressif/esp-idf!30479
2024-05-07 12:23:45 +08:00
zhanghaipeng
24e7d9b1cb feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-05-07 11:00:03 +08:00
Island
498cf723f0 Merge branch 'bugfix/fix_ble_pktlen_change' into 'master'
Bugfix/fix ble pktlen change

Closes BLERP-726

See merge request espressif/esp-idf!30630
2024-05-07 09:28:27 +08:00
Alexey Lapshin
c30e49c718 Merge branch 'fix/reduce-binary-size' into 'master'
Reduce binary size

Closes IDF-9718

See merge request espressif/esp-idf!30485
2024-05-07 05:21:42 +08:00
Jakob Hasse
8c51cc6ae2 Merge branch 'bugfix/linux_target_mac' into 'master'
fix(linux): fixed build errors on MacOS

Closes IDF-9791

See merge request espressif/esp-idf!30525
2024-05-07 01:13:19 +08:00
Erhan Kurubas
551d91ea8a ci(coredump): fix capture dram tests 2024-05-06 15:43:43 +02:00
Erhan Kurubas
60a99a9f97 fix(coredump): don't allow mapping of non-encrypted coredump partition 2024-05-06 15:39:12 +02:00
Mahavir Jain
f311c23145 Merge branch 'feat/enable_and_fix_app_update_test_app' into 'master'
feat: Enable test app for app_update component

Closes IDF-9803 and IDF-9804

See merge request espressif/esp-idf!30496
2024-05-06 20:50:21 +08:00
sonika.rathi
a1e06ebab0 fix(vfs): fix coverity issue copy of overlapping memory in vfs_fat.c 2024-05-06 13:57:08 +02:00
morris
2352f17e63 test(gdma): can read data from flash rodata 2024-05-06 18:03:17 +08:00
morris
eb83d9aa0a feat(gdma): set default valid memory range for gdma 2024-05-06 18:03:17 +08:00
Rahul Tank
4b4602d846 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:15:36 +05:30
Jakob Hasse
2f0ef33f9d fix(linux): fixed build errors on MacOS 2024-05-06 11:14:05 +02:00
zhanghaipeng
840da7ab11 fix(ble/controller): Update esp32 bt-lib (b79d7e2)
- Fixed BLE scan backoff
2024-05-06 16:17:14 +08:00
zhanghaipeng
bc1851d793 fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-05-06 15:43:09 +08:00
zhanghaipeng
f2cfe4a0f0 fix(ble/bluedroid): Fixed BLE no data length change event 2024-05-06 15:34:21 +08:00
Sarvesh Bodakhe
2700b750b6 fix(wifi): Fix issue in scan when AP advertises WPA and WPA2 with SAE AKM 2024-05-06 11:43:27 +05:30
Nilesh Kale
ade6a5ec07 Merge branch 'bugfix/free_memory_if_failed_to_strart_http_server' into 'master'
fix(esp_https_server): fix memory leak during configuring http server

Closes IDFGH-12519

See merge request espressif/esp-idf!30233
2024-05-06 13:41:23 +08:00
Wang Meng Yang
8c76bd49b2 Merge branch 'bugfix/add_param_check_for_enh_sync_conn' into 'master'
fix(bt/controller): Parse out the correct packet types from Host parameters

See merge request espressif/esp-idf!29973
2024-05-06 10:07:03 +08:00
Alexey Gerenkov
e662b51b77 fix(build): Fix variable declaration inside switch case 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
23bf613eab fix(build): Fix '-Walign-missmatch' warning
"passing 4-byte aligned argument to 64-byte aligned parameter 1"
2024-05-03 16:55:18 +03:00
Alexey Gerenkov
3482277bfe fix(build): Fix '-Werror=format=' errors for esp32p4 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
cb263106cc fix(build): Fix esp32p4 MCPWM 'get_clock_prescale' default return value 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
41bfac91d9 fix(build): Fix printf formating errors 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
e86f1e8a7f fix(esp_pm): Fix APB clock calculation for chips w/o modem 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
57f61d2311 feat(tools): Update Clang version to esp-17.0.1_20240419 2024-05-03 16:55:13 +03:00
nilesh.kale
21d51208c4 fix(esp_https_server): fix memory leak during configuring http server
This MR This restructured code to prevent memory leak during the starting HTTP server.

Closes https://github.com/espressif/esp-idf/issues/13526
2024-05-03 18:11:38 +05:30
Aditya Patwardhan
e461585cf9 Merge branch 'feature/update_mbedtls_to_3.6.0' into 'master'
feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0

See merge request espressif/esp-idf!30016
2024-05-03 20:41:09 +08:00
Aditya Patwardhan
a76f106921 Merge branch 'fix/esp_tls_use_64_bit_variable_for_time' into 'master'
fix(esp-tls): Use 64 bit variable for time instead of 32 bit

Closes IDFGH-12594

See merge request espressif/esp-idf!30403
2024-05-03 11:30:25 +08:00
Alexey Lapshin
afffbd9dd0 fix(cxx): use __cxa_throw() stub in case exceptions disabled
Reduces binary size since the linker will drop some code due to --gc-sections.
2024-05-02 22:12:01 +04:00
Alexey Lapshin
9375348740 fix(system): discard eh_frame sections if disabled in sdkconfig 2024-05-02 22:11:56 +04:00
jkingsman
3035ce294d feat(esp_netif): add support for DHCP Option 114 captive portal URI
DHCP Option 114 provides a modern method of indicating a captive
portal redirect to DHCP client. This introduces Option 114 to
the DHCPS component as well as provides examples for usage.
2024-05-02 22:50:09 +08:00
Ivan Grokhotkov
30abe85a25
ci(sdspi): clean up newlib memory, reset between tests
Two changes to make the tests less susceptible to random failures:
- Free up newlib memory to not have false-positive memory leaks due to
  lazy allocations in reent structure
- Reset between tests, so that one failing test doesn't cause
  subsequent tests to fail

Both changes are already applied to esp_driver_sdmmc test app.
2024-05-02 16:44:16 +02:00
Ivan Grokhotkov
f355ecac40
ci(sdspi): re-enable probe/rw tests for slot 1
These tests were disabled since SDMMC_FREQ_HIGHSPEED with sdspi didn't
work on ESP32 and ESP32-S3. However we don't have other tests for
slot 1, meaning that we weren't running probe and perf tests at all.

This commit re-enables the tests, keeping them with SDMMC_FREQ_DEFAULT
2024-05-02 16:44:16 +02:00
Ivan Grokhotkov
e672d49db7
fix(sdspi): fix memory leak in do_one_sdspi_probe test 2024-05-02 16:44:16 +02:00
Jakob Hasse
ceac33077b Merge branch 'bugfix/get_random_inside_assert' into 'master'
fix(linux): calling getrandom() outside assert()

See merge request espressif/esp-idf!30517
2024-05-02 22:29:10 +08:00
Aditya Patwardhan
132892c101
fix(esp-tls): Use 64 bit variable for time instead of 32 bit
Use appropriate API available on respective platform for obtaining
    time
    Closes https://github.com/espressif/esp-idf/issues/13593
2024-05-02 18:34:29 +05:30
Mahavir Jain
ef716a2390 Merge branch 'bugfix/nvs_enc_test' into 'master'
fix(tests): correct the flash write length for NVS encrypted test

See merge request espressif/esp-idf!30599
2024-05-02 19:17:58 +08:00
Mahavir Jain
0d36eb3342
fix(tests): correct the flash write length for NVS encrypted test
Write only till the embedded file size in the NVS partition. Earlier
the length was kept as the whole partition size and it could result
in accessing embedded rodata beyond the MMU mapped range.
2024-05-02 13:24:45 +05:30
Mahavir Jain
c032a8b04a
fix(tests): remove unused partition NVS bin file 2024-05-02 13:23:35 +05:30
Konstantin Kondrashov
fdd54ab1bb Merge branch 'feature/print_panic_while_cache_fail' into 'master'
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU

Closes IDF-9813

See merge request espressif/esp-idf!30505
2024-05-01 13:30:32 +08:00
Konstantin Kondrashov
a8ba5e86d7 Merge branch 'feature/log_buffer' into 'master'
feat(log): Refactoring buffer log APIs

Closes IDF-8092

See merge request espressif/esp-idf!29559
2024-04-30 20:25:06 +08:00
Konstantin Kondrashov
8b418d4b09 feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU 2024-04-30 15:20:58 +03:00
Wan Lei
cceec04195 Merge branch 'refactor/spi_slave_hal_iram_dma_replace' into 'master'
refactor(spi_slave): spi slave and slave HD hal iram dma_ll replace

Closes IDF-6152 and IDF-9656

See merge request espressif/esp-idf!27877
2024-04-30 20:16:18 +08:00
Peter Marcisovsky
ff61a12426 Merge branch 'refactor/console_astyle_formating' into 'master'
refactor(console): Enable astyle formatting

See merge request espressif/esp-idf!30567
2024-04-30 18:11:59 +08:00
Wang Meng Yang
16b9b284e8 Merge branch 'bugfix/fix_hid_connection_failed_bug' into 'master'
fix(bt/bluedroid): Fix HID Device connection failed bug

Closes IDFGH-12680 and BTQABR2023-273

See merge request espressif/esp-idf!30423
2024-04-30 17:40:20 +08:00
Jin Cheng
b79fcbb9d7 fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-04-30 17:38:58 +08:00
morris
28073d9991 fix(mipi_dsi): only wait ready for enabled data lane 2024-04-30 14:41:52 +08:00
liqigan
284b80024c fix(bt/bluedroid): Fix HID Device connection failed bug
Closes https://github.com/espressif/esp-idf/issues/13671
2024-04-30 12:40:04 +08:00
Mahavir Jain
4c6b375666 Merge branch 'bugfix/fix_esp_tls_nano_formatting' into 'master'
fix: Fix error logging formatting bug for nano formatting

Closes IDFGH-12606

See merge request espressif/esp-idf!30389
2024-04-30 12:34:57 +08:00
Jiang Jiang Jian
a685ef804a Merge branch 'bugfix/update_ftm_calibration' into 'master'
Update FTM PHY Compensation with calibration

Closes WIFIBUG-480

See merge request espressif/esp-idf!30421
2024-04-30 12:05:40 +08:00
morris
49709ee21e Merge branch 'fix/increase_26mhz_esp32c2_slow_clock_calibration_wdt_threshold' into 'master'
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold

Closes IDF-9857

See merge request espressif/esp-idf!30533
2024-04-30 11:20:54 +08:00
morris
72f42db7e2 Merge branch 'bugfix/dead_code_in_ldo_ll' into 'master'
fix(ldo): remove logically dead code

Closes IDF-9829 and IDF-9849

See merge request espressif/esp-idf!30550
2024-04-30 10:15:34 +08:00
Peter Marcisovsky
0bfaf775c1 refactor(console): Enable astyle formatting 2024-04-29 16:12:51 +02:00
Michael (XIAO Xufeng)
fe3fd4ae43 Merge branch 'bugfix/cache2phys_xip' into 'master'
fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue

See merge request espressif/esp-idf!30367
2024-04-29 20:09:12 +08:00
Kevin (Lao Kaiyao)
3e15e7f46e Merge branch 'refactor/isp_af_interrupt_and_callback' into 'master'
refactor(isp): refactor the interrupt and callback solution

See merge request espressif/esp-idf!30176
2024-04-29 17:09:05 +08:00
Kevin (Lao Kaiyao)
36b1d5ae89 Merge branch 'fix/error_reg_base_name_on_p4' into 'master'
fix(soc): fixed redefined soc reg names on P4

See merge request espressif/esp-idf!30275
2024-04-29 17:08:30 +08:00
Nachiket Kukade
d1c2490612 feat(esp_wifi): Update FTM PHY Compensation with calibration 2024-04-29 14:36:46 +05:30
Harshit Malpani
3048ca3222
feat: Enable test app for app_update component
Enable all the test cases in test app of app_update component.
Earlier, due to some config not enabled, not all the test cases ran.
2024-04-29 14:07:14 +05:30
Marius Vikhammer
76b7d12329 Merge branch 'feature/lp_core_interrupts' into 'master'
feat(ulp): support interrupts for C6/P4 LP core

Closes IDFGH-11986 and IDF-7200

See merge request espressif/esp-idf!30399
2024-04-29 14:36:54 +08:00
morris
c64c910955 fix(ldo): remove logically dead code 2024-04-29 14:21:17 +08:00
Jiang Jiang Jian
3ec83ef1da Merge branch 'bugfix/fix_trc_ampdu_stop_rateidx_value_errors' into 'master'
fix(wifi): fix trc_ampdu_stop_rateidx value errors when DUT under softap + sta mode

See merge request espressif/esp-idf!30538
2024-04-29 14:01:09 +08:00
laokaiyao
fc9555f355 fix(soc): fixed redefined soc reg names on P4 2024-04-29 11:02:00 +08:00
C.S.M
4499b7ee8f Merge branch 'fix/jpeg_dri_issue' into 'master'
fix(jpeg): Fix several issues reported recently

See merge request espressif/esp-idf!30536
2024-04-28 19:35:22 +08:00
Xu Chun Guang
294b418686 docs: Correct spell error in comment 2024-04-28 17:48:04 +08:00
Marius Vikhammer
c5a513cf49 feat(ulp): support interrupts for C6/P4 LP core
Closes https://github.com/espressif/esp-idf/issues/13059
2024-04-28 17:03:23 +08:00
Xu Chun Guang
226c7772b8 fix(lwip/dhcp_server): Bind dhcps netif to avoid handling the dhcp packet from other netifs 2024-04-28 16:28:48 +08:00
laokaiyao
2237633ab3 refactor(isp): refactor the interrupt and callback solution
- Added async API
- Replaced the polling API
- Supported one more callback and event data
2024-04-28 16:23:22 +08:00
xuxiao
b60c2e7a16 fix(wifi): fix trc_ampdu_stop_rateidx value errors when DUT under softap + sta mode 2024-04-28 15:56:01 +08:00
zhanghaipeng
49cab1a22f fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-04-28 15:44:13 +08:00
Cao Sen Miao
7f97a9e524 fix(jpeg): Fix several issues reported recently,
1. Fix decode images with dri marker failed,
2. Fix encode sometimes get length error
2024-04-28 15:16:48 +08:00
wuzhenghui
6b64b76d2a
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold 2024-04-28 14:40:11 +08:00
baohongde
5912194ccd fix(coex): Fixed some coexist issues
- Fixed crash issue in coexist callback
- Fixed coexist scheme status update issue
2024-04-28 11:59:01 +08:00
Armando (Dou Yiwen)
7e9b9d5ee8 Merge branch 'change/rename_csi_api' into 'master'
change(camera): change esp_cam_del_ctlr to esp_cam_ctlr_del

See merge request espressif/esp-idf!30516
2024-04-28 11:54:29 +08:00
Island
39a1e17c32 Merge branch 'bugfix/fix_ble_coex_assert' into 'master'
fix(bt): Update esp32 bit-lib (4012cfb)

Closes BT-3674 and BLERP-715

See merge request espressif/esp-idf!30447
2024-04-28 10:48:24 +08:00
Erhan Kurubas
3fcfef9e04 Merge branch 'coredump_sanity_check' into 'master'
fix(coredump): increase sanity check before get summary

Closes IDFGH-12595

See merge request espressif/esp-idf!30444
2024-04-27 02:01:52 +08:00
Jakob Hasse
d053925fb2 fix(linux): calling getrandom() outside assert()
* Expressions inside assert are completely removed in release builds
2024-04-26 15:21:45 +02:00
zhanghaipeng
4b083ca59c feat(ble/bluedroid): Support BLE command status debug log 2024-04-26 17:08:17 +08:00
zhanghaipeng
89b848d018 fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-04-26 16:43:31 +08:00
Island
6c032a0b70 Merge branch 'bugfix/fix_some_ble_bugs_240420' into 'master'
Fixed some BLE bugs 240420 on ESP32C3 (a771b7c)

Closes BLERP-704, BLERP-705, BLERP-706, BLERP-707, BLERP-708, and BLERP-709

See merge request espressif/esp-idf!30400
2024-04-26 16:37:46 +08:00
Armando
0113b39a54 change(camera): change esp_cam_del_ctlr to esp_cam_ctlr_del 2024-04-26 16:04:18 +08:00
gaoxu
605f2309bf feat(gpio): add gpio support on ESP32C5 MP version 2024-04-26 12:27:53 +08:00
Xiao Xufeng
bcdd9544df fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue
When SPIRAM_FETCH_INSTRUCTIONS or SPIRAM_RODATA enabled
2024-04-26 01:37:35 +08:00
morris
d4cd437ede Merge branch 'feat/dsi_lcd_iram_safe' into 'master'
MIPI DSI IRAM Safe

See merge request espressif/esp-idf!30416
2024-04-25 21:32:21 +08:00
Jakob Hasse
9c965073d4 Merge branch 'feature/linux_backtraces' into 'master'
refactor(linux): Improved error reporting

See merge request espressif/esp-idf!30387
2024-04-25 15:57:07 +08:00
Song Ruo Jing
cc605edc1c Merge branch 'bugfix/uart_event_fields_initialization' into 'master'
fix(uart): re-initialize uart_event fields to some certain values for every loop

Closes IDFGH-11129

See merge request espressif/esp-idf!30482
2024-04-25 14:57:10 +08:00
Darian
24416d5a26 Merge branch 'fix/freertos_vtasklist_param_order' into 'master'
fix(freertos): Fix vTaskList() parameter print order

Closes IDFGH-12684

See merge request espressif/esp-idf!30473
2024-04-25 14:35:04 +08:00
Konstantin Kondrashov
af4df10b65 feat(log): Refactoring buffer log APIs (2) 2024-04-25 08:45:27 +03:00
Konstantin Kondrashov
0f4fc2bf55 feat(log): Refactoring buffer log APIs 2024-04-25 08:45:27 +03:00
Kevin (Lao Kaiyao)
95ab3ccf96 Merge branch 'feature/support_gpio_on_c61' into 'master'
feat(gpio): support GPIO on ESP32C61

Closes IDF-9316

See merge request espressif/esp-idf!30380
2024-04-25 11:00:32 +08:00
Jakob Hasse
4c5cded945 refactor(linux): Improved error reporting
* Without using GDB, segfaults and aborts are reported
  clearly now
* Without using GDB, segfaults produce a rudimentary
  backtrace now
2024-04-24 18:12:45 +02:00
morris
e8e975112a feat(rmt): support sleep retention
by back up the registers
2024-04-24 22:10:42 +08:00
Adam Múdry
7a70647a01 Merge branch 'ci/increase_tiemout_wl_multiple_tasks_can_use_same_volume' into 'master'
ci: Increase CONFIG_FATFS_VFS_FSTAT_BLKSIZE size for auto_fsync case to fix CI

See merge request espressif/esp-idf!30430
2024-04-24 19:54:27 +08:00
Song Ruo Jing
8c603c24cd fix(uart): re-initialize uart_event fields to some certain values for every loop
Although uart_event.size and uart_event.timeout_flags fields are
meaningless to events other than UART_DATA, fix the values to 0 could
help reduce confusion.

Closes https://github.com/espressif/esp-idf/issues/12299
2024-04-24 19:19:04 +08:00
Darian Leung
13c4a57a2d
fix(freertos): Fix vTaskList() parameter print order
xCoreID was previously printed as the last parameter priority to IDF v5.1, but
was changed to the third paramtere from v5.2 onwards. This commit restores the
correct ordering.

Closes https://github.com/espressif/esp-idf/issues/13675
2024-04-24 17:19:38 +08:00
Wu Zheng Hui
c982873e56 Merge branch 'fix/fix_esp32p4_kconfig_pd_cpu_dependency_error' into 'master'
fix(esp_pm): fix esp32p4 kconfig pd cpu dependency error

See merge request espressif/esp-idf!30347
2024-04-24 16:56:09 +08:00
Jiang Jiang Jian
e4dbbf1d4c Merge branch 'bugfix/fix_ampdu_not_reply_ba' into 'master'
fix(wifi): clear wifi buffer to fix ampdu compatibility issue

Closes ESPCS-948

See merge request espressif/esp-idf!30424
2024-04-24 16:21:18 +08:00
Armando (Dou Yiwen)
cd1a681149 Merge branch 'feat/csi_dsi_example' into 'master'
example: csi dsi example

See merge request espressif/esp-idf!30346
2024-04-24 16:01:55 +08:00
Mahavir Jain
715d733b15 Merge branch 'example/update_readme_of_pre_encrypted_ota' into 'master'
docs: Update pre_encrypted_ota example README

See merge request espressif/esp-idf!30375
2024-04-24 15:58:02 +08:00
wuzhenghui
144ba095ae
fix(esp_hw_support): invalidate L1DCache before enter hardware sleep 2024-04-24 15:06:44 +08:00
wuzhenghui
1334bafe58
change(esp_hw_support): put more code into TCM to speed up the sleep and wake-up process 2024-04-24 15:06:44 +08:00
wuzhenghui
09d6664891
ci(esp_pm): add pd_top auto lightsleep test case for esp_pm 2024-04-24 15:06:35 +08:00
Armando
3b567b7033 fix(csi): fixed wrong assert when there's new transaction 2024-04-24 14:57:58 +08:00
Armando
359f3e146a fix(isp): fixed af environment detector lack of configuration issue 2024-04-24 14:57:58 +08:00
Darian
c9ffd9ddaa Merge branch 'refactor/usb_host_usbh_api' into 'master'
refactor(usb/host): Refactor USBH API

See merge request espressif/esp-idf!30029
2024-04-24 14:50:25 +08:00
laokaiyao
2c90b71d45 feat(gpio): support GPIO on ESP32C61 2024-04-24 14:27:40 +08:00
Ondrej Kosta
7843c51ec4 Merge branch 'contrib/github_pr_13560' into 'master'
esp_eth: DP83848: correct link detection to use BMSR (GitHub PR)

Closes IDFGH-12557

See merge request espressif/esp-idf!30361
2024-04-24 14:22:45 +08:00
wanlei
cb86a3e2a2 feat(spi): Add helper function for alignment reqiured memory allocation 2024-04-24 14:01:09 +08:00
wanlei
c82ea4311e refactor(spi_slave_hd): replace part of dma_ll in hd hal layer 2024-04-24 14:01:09 +08:00
wanlei
67f798b666 refactor(spi_slave): replace dma_ll in slave hal layer (part 2.2) 2024-04-24 14:01:09 +08:00
wanlei
31f4e9c698 feat(gdma): strategy_config_t add eof_mode support 2024-04-24 14:01:09 +08:00
Song Ruo Jing
0733fa1267 Merge branch 'bugfix/fix_gpio_etm_multi_task' into 'master'
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks

See merge request espressif/esp-idf!30319
2024-04-24 11:35:52 +08:00
Erhan Kurubas
e6effa2be3 fix(coredump): increase sanity check before get summary
Closes https://github.com/espressif/esp-idf/issues/13594
2024-04-24 06:29:44 +03:00
alanmaxwell
7f13d02229 fix(wifi): clear wifi buffer to fix ampdu compatibility issue 2024-04-24 11:27:29 +08:00
morris
05a357b245 Merge branch 'refactor/dma_test_p4' into 'master'
change(gdma): improve the test cases to be target agnostic

See merge request espressif/esp-idf!30385
2024-04-24 10:34:27 +08:00