Commit Graph

25069 Commits

Author SHA1 Message Date
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
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
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