Commit Graph

24532 Commits

Author SHA1 Message Date
Li Shuai
262be04b21 change(esp_hw_support): modify system and modem clock to support modem domain power down 2024-03-29 16:13:52 +08:00
zwx
d2e0b9419f fix(CI): fix CI to pass fast build app 2024-03-29 16:03:24 +08:00
xuxiao
d69c25b997 fix(phy): update esp32c5 phy init data 2024-03-29 16:03:24 +08:00
wuzhenghui
a744a2c43f fix(esp_hw_support): fix zb/bt shared bb dependency for ieee154 2024-03-29 16:03:24 +08:00
xuxiao
b1bd9987fe feat(phy): add esp32c5 beta3 phy support 2024-03-29 16:03:24 +08:00
Island
82f70e7ad4 Merge branch 'bugfix/IDFGH-12353' into 'master'
fix(ble_mesh): Free segment tx buffers on tx reset for SAR enhancement

Closes IDFGH-12353 and BLERP-641

See merge request espressif/esp-idf!29779
2024-03-29 16:03:13 +08:00
Kevin (Lao Kaiyao)
f6f7145fec Merge branch 'bugfix/rollback_the_breaking_change_of_i2s_cb_event_data' into 'master'
fix(i2s): rollback the breaking change of i2s cb event data

See merge request espressif/esp-idf!29896
2024-03-29 15:55:17 +08:00
Li Shuai
59115cd2d1 change(esp_hw_support): some system peripherals to use a retention module number 2024-03-29 15:27:08 +08:00
Li Shuai
7092cf7d3e feat(esp_hw_support): implement of sleep retention module initialize and dependency management 2024-03-29 15:22:53 +08:00
Li Shuai
080d09387c change(esp_hw_support): modify the style of module argument from bitmap to number 2024-03-29 15:22:52 +08:00
harshal.patil
272633bde1
fix(mbedtls/ecdsa): Fix dependant peripheral's enable and reset 2024-03-29 12:40:13 +05:30
morris
1ed64afddd Merge branch 'refactor/remove_unused_periph_module_enable' into 'master'
remove orphaned clk_gate_ll.h on esp32p4

Closes IDF-8094

See merge request espressif/esp-idf!29906
2024-03-29 14:50:34 +08:00
harshal.patil
84b6940ce4
feat(mbedtls/ecdsa): Wrapped ecdsa_write_signature to support deterministic ECDSA signatures 2024-03-29 12:14:11 +05:30
harshal.patil
70ef80d974
feat(mbedtls/ecdsa): Add support for deterministic ECDSA signature generation 2024-03-29 12:14:11 +05:30
harshal.patil
cd98dfc3fd
feat(hal): Add LL and HAL layer support for deterministic ECDSA 2024-03-29 12:14:11 +05:30
harshal.patil
95fac15698
feat(hal/ecdsa): Add HAL API for operation successful check 2024-03-29 12:14:11 +05:30
Li Shuai
fd421ba9bb change(esp_hw_support): rename interface name of get modules bitmap to get created modules 2024-03-29 14:41:57 +08:00
Li Shuai
b521fb4efe change(esp_hw_support): rename sleep retention module to created module 2024-03-29 14:36:11 +08:00
laokaiyao
94ea9e398e fix(i2s): rollback the breaking change of callback event data
`i2s_event_data_t::data` is deprecated due to the cumbersome usage of secondary pointer
Please use the newly added first-level pointer `i2s_event_data_t::dma_buf` instead
2024-03-29 14:33:25 +08:00
Aditya Patwardhan
43d934ffb2 Merge branch 'feature/ota_buffer_cap_config' into 'master'
feat(esp_https_ota): Add config to configure memory capability for OTA buffer

Closes IDF-8836

See merge request espressif/esp-idf!27927
2024-03-29 12:51:25 +08:00
Aditya Patwardhan
2ad611ad73
fix(esp_hw_support): Fix key mgr hw support
1) Fix re-deployment scenario for key manager

2) Fix magic for key manager APIs

3) Fix key manager eFuse check

4) Fix key manager test case
2024-03-29 09:34:46 +05:30
Jiang Jiang Jian
d434034513 Merge branch 'bugfix/storage_spelling' into 'master'
fix(storage,esp_pm): spelling fixes by codespell pre-commit hook

See merge request espressif/esp-idf!29898
2024-03-29 11:59:48 +08:00
Wu Zheng Hui
96d99352ea Merge branch 'feature/esp32p4_sleep_peripheral_retention_support' into 'master'
feat(esp_hw_support): esp32p4 sleep support (Stage 3: support system peripheral sleep retention 🔌)

Closes IDF-7531, IDF-7530, IDF-8976, and FV-748

See merge request espressif/esp-idf!28486
2024-03-29 11:15:49 +08:00
Xiaoyu Liu
1db02e48ef fix(bootloader): fix spelling errors in /components/bootloader/Kconfig.projbuild 2024-03-29 10:59:46 +08:00
morris
8e64a59fac refactor(periph_ctrl): remove orphaned clk_gate_ll.h
and deprecate the legacy periph_module_xxx functions for new targets
2024-03-29 10:53:05 +08:00
morris
f29351b99a refactor(spi): use RCC functions to do DMA reset 2024-03-29 10:53:05 +08:00
morris
b55a0e015a feat(sdio_slave): add reset and clock control functions 2024-03-29 10:41:17 +08:00
morris
b4de983dbc feat(dedic_gpio): add reset and clock control functions 2024-03-29 10:41:17 +08:00
morris
1b8e1df648 feat(uhci): add reset and clock control functions 2024-03-29 10:41:17 +08:00
Michael (XIAO Xufeng)
5d6c56c20d Merge branch 'fix/unused_mmap_include' into 'master'
fix(all): remove unused header includes

See merge request espressif/esp-idf!29816
2024-03-29 10:20:08 +08:00
luoxu
22f3006dd1 fix(ble_mesh): Free segment tx buffers on tx reset for SAR enhancement
Closes: https://github.com/espressif/esp-idf/issues/13384
2024-03-29 10:14:14 +08:00
Konstantin Kondrashov
02d7120d02 feat(esp_hw_support): Adds MAC support for esp32p4 2024-03-29 01:44:39 +08:00
Konstantin Kondrashov
e0e8050877 fix(log): Fix wrap-around of cache generation counter
Closes https://github.com/espressif/esp-idf/issues/6516
2024-03-28 18:56:19 +02:00
wuzhenghui
a8bcf67cb5 ci: enable esp_pm pytest for esp32p4 2024-03-29 00:38:57 +08:00
wuzhenghui
4a64d2fe2c change(hal): control PAU bus clock by hal layer 2024-03-29 00:36:46 +08:00
liuning
bd98ade2a8 fix(wifi): fix coex ld issue 2024-03-28 21:28:10 +08:00
Alon Bar-Lev
93706028de
change(console): drop the use of open_memstream()
the argtable3 provides string based output return, there is no need to go via
stdio structures.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/12507
2024-03-28 14:09:01 +01:00
Ivan Grokhotkov
15e63f4222
fix(esp_pm): applied spelling fixes by codespell 2024-03-28 13:00:55 +01:00
Ivan Grokhotkov
10cc15b150
fix(storage): applied spelling fixes by codespell pre-commit hook 2024-03-28 13:00:54 +01:00
wuzhenghui
38fe4e136a
feat(esp_hw_support): support esp32p4 sleep peripheral retention 2024-03-28 19:18:25 +08:00
wuzhenghui
f1beed90ff
feat(esp_hw_support): support esp32p4 sleep clock retention 2024-03-28 19:18:24 +08:00
wuzhenghui
194c38479e
refactor(esp_hw_support): split pd_top clock retention initialization by target 2024-03-28 19:18:24 +08:00
wuzhenghui
5d24a818eb
feat(esp_hw_support): add esp32p4 pau initial support 2024-03-28 19:18:24 +08:00
wuzhenghui
acd263d006
fix(esp_hw_support): fix pmu analog parameter configuration missing 2024-03-28 19:18:20 +08:00
Aditya Patwardhan
34f0a0d6e5 Merge branch 'fix/fix_bootloader_support_public_api_not_defined' into 'master'
fix(bootloader_support): Fix public APIs not being defined

See merge request espressif/esp-idf!29552
2024-03-28 18:23:49 +08:00
wuzhenghui
4bcb88c482
change(rtc): rename sleep mode related regs defination 2024-03-28 17:49:14 +08:00
Martin Vychodil
abf2d13f74 Merge branch 'feat/vfs_fd_dump' into 'master'
feat(vfs): Add function to dump VFS file descriptors

See merge request espressif/esp-idf!29148
2024-03-28 17:46:50 +08:00
Aditya Patwardhan
9be1c9f03e
fix(bootloader_support): Fix API not defined for application 2024-03-28 15:05:10 +05:30
Marius Vikhammer
cbc632bd04 fix(lp_core): fix kconfig not allowing using all of LP mem for P4 lp core 2024-03-28 16:39:16 +08:00
Harshit Malpani
8f8528a10c
feat(esp_https_ota): Add config to configure memory capability for OTA buffer
Add `Tuning OTA Performance` section in OTA documentation
2024-03-28 11:11:07 +05:30
Jiang Jiang Jian
277bec6d04 Merge branch 'bugfix/fix_group_address_qos_frames_issue' into 'master'
fix(wifi): fix multicast address qos frames issue

Closes ESPCS-940 and WIFI-6500

See merge request espressif/esp-idf!29694
2024-03-28 12:55:02 +08:00
Jiang Jiang Jian
969a43cf6d Merge branch 'bugfix/fix_bt_cmakefile_error_on_c2' into 'master'
fix(bt): fixed cmakelist error on c2

Closes IDFGH-12430

See merge request espressif/esp-idf!29880
2024-03-28 12:00:53 +08:00
Jiang Jiang Jian
999bfcac6f Merge branch 'fix/wifi_without_remote' into 'master'
fix(wifi): Remove optional dependency on esp_wifi_remote if !ESP_WIFI_ENABLED

See merge request espressif/esp-idf!29891
2024-03-28 11:59:53 +08:00
Kevin (Lao Kaiyao)
2a121e92e8 Merge branch 'feature/i2s_support_asynch_read_write_via_callback' into 'master'
feat(i2s): support asynchronous read write via callback

See merge request espressif/esp-idf!29870
2024-03-28 11:50:13 +08:00
Wan Lei
e84c7f00a5 Merge branch 'feat/c6lite_c61_ci_header_tmp_app' into 'master'
feat(esp32c61): ci enable header check (stage 7/8)

See merge request espressif/esp-idf!29775
2024-03-28 11:45:20 +08:00
Omar Chebib
1683e9a92c Merge branch 'fix/unused_interrupts' into 'master'
fix(esp_hw_ ‎support): clear reserved interrupts that are unused or not applicable anymore

Closes IDF-7821 and IDF-9428

See merge request espressif/esp-idf!29639
2024-03-28 11:27:20 +08:00
Marius Vikhammer
1c73c657c9 Merge branch 'ci/console_test_coverage' into 'master'
ci(console): improve esp-system console test-coverage

Closes IDFCI-1856, IDF-9576, and IDF-9577

See merge request espressif/esp-idf!29748
2024-03-28 11:14:57 +08:00
morris
c0289ee6eb fix(drivers): fix typos found by codespell
codespell components/esp_driver*
2024-03-28 10:01:27 +08:00
Wang Meng Yang
10d4843b02 Merge branch 'feat/add_vsc_to_set_min_enc_key_sz' into 'master'
feat(bt/bluedroid): added a VSC to set minimal encryption key size

Closes BT-3590 and BTQABR2023-211

See merge request espressif/esp-idf!28263
2024-03-28 08:27:35 +08:00
David Cermak
132135519d fix(wifi): Remove optional dependency on esp_wifi_remote if !ESP_WIFI_ENABLED
The dependency could be introduced from dependent component if needed.
The else() part of the condition wasn't correct, as it didn't check for
esp_wifi_remote from component manager, which is prefixed by Espressif
namespace, so the correct statement would be:
if(espressif__esp_wifi_remote IN_LIST build_components)
2024-03-27 16:50:38 +01:00
harshal.patil
e454fa4026
fix(hal/sha): Add RCC enable and reset API definitions for ESP32-C5 SHA 2024-03-27 18:09:33 +05:30
Harshal Patil
5274bf88e4 Merge branch 'esp32p4/add_sha_support' into 'master'
feat: add SHA support for ESP32-P4

Closes IDF-7541 and IDF-7882

See merge request espressif/esp-idf!24865
2024-03-27 20:08:28 +08:00
wanlei
535afdd7f4 feat(esp32c61): ci enable header check, fix c61 build 2024-03-27 19:39:59 +08:00
linruihao
4a61fda5fb fix(bt): fixed cmakelist error on c2
Closes https://github.com/espressif/esp-idf/issues/13451
2024-03-27 19:38:45 +08:00
xiongweichao
eabd31e849 fix(bt/bluedorid): Fixed crash caused by using illegal pointer 2024-03-27 19:05:39 +08:00
xiongweichao
1c30191ac4 fix(bt/bluedorid): Fixed no event when removing an invalid SDP record 2024-03-27 19:05:39 +08:00
C.S.M
333e8aa19e Merge branch 'feature/support_i2c_timeout' into 'master'
feature(i2c_master): Add a parameter for config the scl await value

See merge request espressif/esp-idf!29787
2024-03-27 18:14:58 +08:00
Wu Zheng Hui
520ed675d7 Merge branch 'feature/support_esp32p4_deepsleep' into 'master'
feature(esp_hw_support): support esp32p4 deepsleep example and tests

Closes IDF-7529

See merge request espressif/esp-idf!29789
2024-03-27 17:43:05 +08:00
Mahavir Jain
f5fc636790 Merge branch 'feature/enable_aes_sha_support_for_c5' into 'master'
feat: enabled aes and sha support for esp32c5

Closes IDF-8627 and IDF-8624

See merge request espressif/esp-idf!29052
2024-03-27 17:30:45 +08:00
Omar Chebib
a79c6f7f67 fix(esp_hw_support): clear reserved interrupts that are not applicable for each target 2024-03-27 16:21:25 +08:00
wuzhenghui
7408732688
fix(freertos): Updated threshold for scheduling time test for esp32p4
This commit increases the pass threshold for the scheduling time test on
esp32p4.
2024-03-27 16:19:19 +08:00
laokaiyao
fd27cef045 feat(i2s): support asynchronous read write via callback
Split the TX DMA buffer `auto_clear` into `auto_clear_after_cb` and `auto_clear_before_cb`,
so that allow user to update the DMA buffer directly in the `on_sent` callback
2024-03-27 16:04:13 +08:00
Marc CAPDEVILLE
fcd1f1c808 change(esp_driver_i2s) : Some hack on I2S callback
mod for event data to contain the pointer to the dma buffer.
mod for clearing data on send buffer before calling tx callback
2024-03-27 16:04:03 +08:00
Lou Tian Hao
5fa57d12b2 Merge branch 'feature/esp32c5beta3_light_sleep_support_stage_0' into 'master'
feat(esp_hw_support): esp32c5 sleep support (Stage 1: support modem clock)

Closes IDF-8845

See merge request espressif/esp-idf!29839
2024-03-27 14:33:04 +08:00
Armando (Dou Yiwen)
bfd3586f03 Merge branch 'doc/csi_programming_guide' into 'master'
doc(camera): added camera controller driver programming guide

Closes IDF-9563

See merge request espressif/esp-idf!29802
2024-03-27 14:04:36 +08:00
wuzhenghui
621effce5b
fix(esp_system): workaround for CI pass
1. workaround esp32p4 rev0 wrong deepsleep wakeup cause

2. workaround esp32p4 lightsleep stuck issue with PSRAM enabled
2024-03-27 13:59:37 +08:00
wuzhenghui
65d4e79f80
feat(esp_hw_support): support esp32p4 ext1 wakeup 2024-03-27 13:59:37 +08:00
wuzhenghui
ccaae61fee
feat(esp_hw_support): support esp32p4 deepsleep 2024-03-27 13:59:36 +08:00
wuzhenghui
299199c5a5
feat(soc): add ESP_ROM_SUPPORT_DEEP_SLEEP_WAKEUP_STUB rom caps 2024-03-27 13:59:36 +08:00
harshal.patil
22857529dd
ci(hal/crypto): Update crypto test app to use SHA-DMA process API from mbedtls 2024-03-27 11:23:30 +05:30
harshal.patil
9cd10e196b
feat(hal/sha): use RCC atomic block to enable/reset the SHA peripheral 2024-03-27 11:23:30 +05:30
harshal.patil
211a2a5477
feat(mbedtls/sha): Support SHA-DMA operations by satisfying L1 cache alignment requirements
- Use block mode as default SHA operation mode instead of DMA
2024-03-27 11:23:29 +05:30
harshal.patil
d737625215
feat(mbedtls/sha): Support in AXI-DMA SHA driver layer 2024-03-27 11:23:29 +05:30
harshal.patil
853bff88c5
change(mbedtls/sha): replace Cache ROM APIs usage with APIs from esp_cache.h 2024-03-27 11:23:29 +05:30
harshal.patil
507b5fd2b6
fix(soc/sha_struct): fix register name continue to conti
- As contnue being a reserved keyword in C, the register name
continue is not valid
2024-03-27 11:23:28 +05:30
harshal.patil
e6782156c4
feat(hal/sha): add SHA peripheral support for esp32p4 2024-03-27 11:23:28 +05:30
Lou Tianhao
85e803ded4 docs(pm): add description for newly added filed in modem_syscon 2024-03-27 11:40:32 +08:00
Mahavir Jain
c658351eab Merge branch 'esp32p4/add_aes_gcm_support' into 'master'
feat: add AES-GCM support for ESP32-P4

See merge request espressif/esp-idf!29516
2024-03-27 11:40:26 +08:00
Armando
8cef97beac change(csi): changed the clk_freq_hz to lane_bit_rate_mbps 2024-03-27 10:40:59 +08:00
Armando
bdceef252b doc(camera): added camera controller driver programming guide 2024-03-27 10:40:58 +08:00
Armando (Dou Yiwen)
f85ddd17ce Merge branch 'feature/prefer_cache_alloc' into 'master'
cache: added prefer cache alloc

Closes IDF-9562

See merge request espressif/esp-idf!29797
2024-03-27 10:36:12 +08:00
Cao Sen Miao
ede1df51b0 feat(i2c_master): Add parameter to config I2C scl await time 2024-03-27 10:35:11 +08:00
Jiang Jiang Jian
6b1451050d Merge branch 'fix/heap-calloc-fail-wrong-size' into 'master'
fix(heap): Wrong size propagated in alloc fail callback of heap_caps_calloc()

See merge request espressif/esp-idf!29841
2024-03-27 10:15:50 +08:00
muhaidong
fedfac470a fix(wifi): fix multicast address qos frames issue 2024-03-27 10:13:14 +08:00
Ivan Grokhotkov
64757e9fea
fix(check_callgraph): rework --ignore-refs to be more generic 2024-03-26 17:05:39 +01:00
Tomas Rezucha
e9daf4912b fix(usb/host): Do not allow unaligned cache access for M2C direction 2024-03-26 16:41:12 +01:00
Konstantin Kondrashov
73041ea10a Merge branch 'bugfix/esp_timer_test_fail' into 'master'
fix(esp_timer): Force test to go light sleep ignoring ESP_ERR_SLEEP_REJECT

Closes IDFCI-2091, IDFCI-2092, and IDFCI-2093

See merge request espressif/esp-idf!29814
2024-03-26 22:22:48 +08:00
Bogdan Kolendovskyy
c6002f7dfd Merge branch 'feature/iperf_for_all_phys' into 'master'
add(examples/ethernet/iperf): capability to run iperf test on all supported phys

See merge request espressif/esp-idf!29348
2024-03-26 21:15:50 +08:00
Jiang Jiang Jian
22537f1d6b Merge branch 'bugfix/variable_length_rsnxe' into 'master'
Expands maximum size of RSNXE IE to 255

Closes WIFI-6435

See merge request espressif/esp-idf!28643
2024-03-26 20:35:14 +08:00
Lou Tianhao
4535dfdd49 change(pm): esp32c5 hardware does not have clk_fe_cal_160m_en 2024-03-26 19:59:05 +08:00
Lou Tianhao
bd4147b5ef fix(ci): add sdkconfig head and change some macro 2024-03-26 19:59:00 +08:00
Lou Tianhao
f5487c72ab change(pm): move the modem_clock-related code outside SOC_PM_SUPPORT_PMU_MODEM_STATE 2024-03-26 19:55:06 +08:00
wuzhenghui
29076a43f6 bringup esp32c5beta3 modem clock 2024-03-26 19:54:32 +08:00
Konstantin Kondrashov
b463748bfb fix(esp_timer): Force to go light sleep ignoring ESP_ERR_SLEEP_REJECT 2024-03-26 13:49:24 +02:00
Bogdan Kolendovskyy
934f741361 test(examples/ethernet/iperf): Add default configurations for all supported PHYs
Created default configurations to run iperf test on all supported phys and adpated test code appropriately
2024-03-26 11:37:30 +01:00
Armando
be5af1c737 test(cache): added test for cache_prefer_m/calloc 2024-03-26 18:03:15 +08:00
Armando
de70ed1c84 feat(cache): added cache_prefer_m/calloc 2024-03-26 18:03:15 +08:00
Sudeep Mohanty
2cbdd2fee8 Merge branch 'feature/lp_core_lp_i2c_support' into 'master'
feat(lp_core): Added LP I2C support for esp32p4

Closes IDF-7540

See merge request espressif/esp-idf!29821
2024-03-26 17:37:29 +08:00
jgujarathi
7ef11a1409 fix(rsnxe): Expands maximum size of RSNXE IE to 255
- Allows for RSNXE IE to be processed as a variable length upto
255 bytes, changing the earlier max of 20.
2024-03-26 15:06:36 +05:30
nilesh.kale
18d2c57542 feat: enabled aes and sha support for esp32c5
This commit enabled AES and SHA support for esp32c5.
2024-03-26 14:52:06 +05:30
Abhinav Kudnar
6e4eeec97c Merge branch 'nimble-1.6.0-idf' into 'master'
fix(nimble): Migrate to nimble-1.6.0

Closes BLERP-558

See merge request espressif/esp-idf!29075
2024-03-26 16:42:41 +08:00
Sudeep Mohanty
5228dc348b feat(lp_i2c): Added LP I2C support on the esp32p4
This commit adds support for the LP I2C peripheral to be used from the
LP core on the esp32p4.
2024-03-26 08:31:54 +01:00
Sudeep Mohanty
2b5517ed47 change(lp_i2c): Added LP I2C low-level control functions for esp32p4
This MR adds ll functions for clock and reset settings for the LP I2C
peripheral for the esp32p4.
2024-03-26 08:31:54 +01:00
Sudeep Mohanty
cd49273d7a change(clk_tree): Added clock tree definitions for LP I2C for esp32p4
This commit adds the clock tree definitions for the LP I2C peripheral
for the esp32p4.
2024-03-26 08:31:54 +01:00
baohongde
4207909f5c feat(ble/controller): Add coexist schm for BLE 2024-03-26 14:44:46 +08:00
Marius Vikhammer
9e62e32a5b fix(system_console): fixed unity output not working with usb jtag serial 2024-03-26 14:25:36 +08:00
harshal.patil
c4f052cee4
feat(mbedtls/aes): Satisfy L1 cache alignment for AES-GCM DMA operations 2024-03-26 11:38:33 +05:30
harshal.patil
07f7b06d8d
change(mbedtls/aes): Move aad desc population into the internal AES-GCM DMA process API 2024-03-26 11:31:11 +05:30
harshal.patil
80b33ed3e7
fix(soc/sha_struct): fix register name continue to conti
- As continue being a reserved keyword in C, the register name continue is not valid
2024-03-26 11:31:11 +05:30
harshal.patil
0eb52a8fbf
feat(hal/aes): Add LL layer support for ESP32-P4 AES-GCM 2024-03-26 11:31:11 +05:30
Guillaume Souchere
497c840172 fix(heap): Wrong size propagated in alloc fail callback
Propagate `n * size` as the size of the failed allocation
instead of just `size` when heap_caps_calloc() fails since
`n * size` is the actual number of bytes that the heap
component tried to allocate.
2024-03-26 06:48:33 +01:00
Marius Vikhammer
42fc463c81 fix(console): fixed CONSOLE_NONE not working on C2/C3 2024-03-26 13:39:10 +08:00
Abhinav Kudnar
1bc6570b1f fix(nimble): Migrate to nimble 1.6 2024-03-26 10:50:24 +05:30
Marius Vikhammer
aa6a7bec76 ci(console): improve esp-system console test-coverage 2024-03-26 12:22:35 +08:00
morris
52137a2b55 Merge branch 'feat/esp_ldo_regulator_public_api' into 'master'
Introduce esp ldo regulator public API

See merge request espressif/esp-idf!29691
2024-03-26 11:24:06 +08:00
Wu Zheng Hui
a6400e2aed Merge branch 'fix/freertos_spinlock_perf_test' into 'master'
change(freertos): Updated spinlock performance test threshold

See merge request espressif/esp-idf!29827
2024-03-26 11:03:08 +08:00
Armando
00fe6479e4 bugfix(csi): fix wrong fsm state check in s_ctlr_csi_stop 2024-03-26 08:22:45 +08:00
morris
5369b68bc8 change(flash): acquire the LDO channel used by flash
so that even if the same channel has other consumers, the voltage won't
be changed
2024-03-25 22:04:01 +08:00
morris
cf59c00564 change(mpll): clean up mpll clock acquire with ldo driver 2024-03-25 22:03:49 +08:00
Sudeep Mohanty
afee830278 change(freertos): Updated spinlock performance test threshold
This commit relaxes the passing threshold for spinlock performance tests
for the esp32p4.
2024-03-25 14:25:35 +01:00
morris
4c2569e2fc change(sdmmc): update ldo acquire driver to new API 2024-03-25 21:19:12 +08:00
morris
061e5dc695 feat(ldo): add ldo regulator driver for public use 2024-03-25 21:19:12 +08:00
Sudeep Mohanty
c6efc57e6e fix(freertos): Re-enabled FreeRTOS unit tests for esp32p4
This commit reenables the FreeRTOS unit tests to be run during CI
pipelines for esp32p4.
2024-03-25 09:03:09 +01:00
Sudeep Mohanty
68dbbf339d fix(freertos): Updated unstable FreeRTOS unit tests
This commit fixes some flaky FreeRTOS unit tests.
2024-03-25 09:03:09 +01:00
Sudeep Mohanty
33dec4175a fix(freertos): Updated threshold for scheduling time test for esp32p4
This commit increases the pass threshold for the scheduling time test on
esp32p4.
2024-03-25 09:03:09 +01:00
Zhang Wen Xu
8edaa94e89 Merge branch 'feature/config_csmabackoff_in_spinel' into 'master'
feat(openthread): add max csmabackoffs for transmission

Closes TZ-627

See merge request espressif/esp-idf!29767
2024-03-25 14:41:26 +08:00
Armando (Dou Yiwen)
0899751e09 Merge branch 'feature/sdmmc_power_ctrl' into 'master'
sdmmc: power ctrl driver

Closes IDF-6751

See merge request espressif/esp-idf!28270
2024-03-25 14:31:59 +08:00
Xiao Xufeng
313c4f2cdc fix(all): remove unused header includes 2024-03-25 13:58:40 +08:00
Song Ruo Jing
49a3bba4b2 Merge branch 'bugfix/gpio_drive_cap' into 'master'
fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3

Closes FV-752

See merge request espressif/esp-idf!29808
2024-03-25 12:23:04 +08:00
Song Ruo Jing
6f9a866f9d Merge branch 'bugfix/uart_bitrate_max_value_c2' into 'master'
fix(uart): correct C2 UART_BITRATE_MAX value

See merge request espressif/esp-idf!29795
2024-03-25 11:56:49 +08:00
Armando
ec44556a07 feat(sd): added power control driver and implementation layer with ldo 2024-03-25 11:32:56 +08:00
Jin Cheng
82542d2e96 feat(bt/bluedroid): added a VSC to set minimal encryption key size 2024-03-25 10:50:06 +08:00
Armando (Dou Yiwen)
f886bbc848 Merge branch 'bugfix/add_unaligned_check_to_mysnc_api' into 'master'
cache: add unaligned check to mysnc api

Closes IDF-9520

See merge request espressif/esp-idf!29674
2024-03-25 10:17:55 +08:00
Marius Vikhammer
be839733ed fix(interrupt): fixed exit critical section on P4/C5
When adjusting the interrupt level treshold on P4/C6 during a critical section exit
it would take a few cycles before this is taken into account by the CPU.

This meant that under some circumstances, e.g. 02, we could do
yield()->vPortExitCritical()->vPortEnterCritical()
without getting rescheduled.
This causes issues for freertos as it assumes the task will not continue into the
vPortEnterCritical before the scheduler has schedulded it again.

This meant that e.g. xTaskNotifyWait would yield, but then immeditaly continue as if
it was already notified.
2024-03-24 13:13:42 +08:00
morris
79897ccd10 Merge branch 'feature/fast_gpio_esp32p4' into 'master'
feat(fast_gpio): support fast GPIO and glitch filter on esp32p4

Closes IDF-7552, IDF-8974, IDF-7721, and IDF-7481

See merge request espressif/esp-idf!28642
2024-03-23 22:25:58 +08:00
KonstantinKondrashov
8dc21afcfe fix(spi_flash): Fix stuck during flash operation
When a task was not pinned to a certain CPU.
2024-03-22 19:49:42 +02:00
KonstantinKondrashov
a3bfb3f857 feat(ipc): Adds a new no blocking IPC call 2024-03-22 19:49:42 +02:00
Rahul Tank
004b037743 Merge branch 'bugfix/add_peer_addr_field_for_ext' into 'master'
fix(nimble): Correctly handle auto connection flag for extended connect

Closes BLERP-633

See merge request espressif/esp-idf!29726
2024-03-22 19:51:00 +08:00
Darian Leung
64f5d7d983
refactor(usb/host): Simplify USBH and Hub interaction
Previously, on a device disconnection, the USBH and Hub would the require the
following 2-way interaction:

- Hub -> usbh_hub_pass_event() -> USBH to indicate a port error
- USBH -> usbh_hub_req_cb_t -> Hub to request port recovery after the device
has been freed.

The 2-way interaction has been simplified:

- USBH now nofities upper layers of devices being freed via the
USBH_EVENT_DEV_FREE event
- Hub now handles port recovery only after a device has been freed
2024-03-22 18:14:50 +08:00
Song Ruo Jing
90a3107bfd fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 2024-03-22 18:06:29 +08:00
Konstantin Kondrashov
8d6562d1f1 Merge branch 'feature/c5_c61_efuse_update' into 'master'
feat(efuse): Update efuses for C5 and C61

Closes IDF-8629 and IDF-8674

See merge request espressif/esp-idf!29627
2024-03-22 18:02:37 +08:00
Ondrej Kosta
f7984936e3 Merge branch 'bugfix/eth_l2_test_conn_wait_tmo' into 'master'
ci(esp_eth): increased L2 test wait for connection timeout

See merge request espressif/esp-idf!29576
2024-03-22 17:49:53 +08:00
harshal.patil
0b16999093
fix(mbedtls/aes): Remove ESP_CACHE_MSYNC_FLAG_UNALIGNED flag for the cache M2C operation 2024-03-22 14:45:34 +05:30
morris
529b6bf97c fix(ana_cmpr): fix wrong set up in the etm test case 2024-03-22 17:13:19 +08:00
morris
ddece8f7e9 feat(glitch_filter): support GPIO glitch filter on esp32p4 2024-03-22 17:13:19 +08:00
morris
f71044c877 feat(fast_gpio): support CPU controlled fast GPIO driver on esp32p4 2024-03-22 17:13:19 +08:00
Song Ruo Jing
3da77e2d1b fix(uart): correct C2 UART_BITRATE_MAX value 2024-03-22 16:24:24 +08:00
Guillaume Souchere
573bd1bcc9 Merge branch 'feat/add-heap-walker-api' into 'master'
feat(heap): Add walker to the heap component

Closes IDF-9189

See merge request espressif/esp-idf!29047
2024-03-22 15:58:34 +08:00
Roman Leonov
de2486bff0 Merge branch 'refactor/usb_host_hub_driver_state' into 'master'
refactor(usb_host): Renamed hub driver_state to root_port_state

See merge request espressif/esp-idf!29788
2024-03-22 15:43:16 +08:00
Armando
905b427479 test(cache): added test for M2C with ESP_CACHE_MSYNC_FLAG_UNALIGNED 2024-03-22 15:38:50 +08:00
Armando
9e36994a7b bugfix(cache): don't allow M2C direction ESP_CACHE_MSYNC_FLAG_UNALIGNED 2024-03-22 15:38:50 +08:00
Kevin (Lao Kaiyao)
d7d4229b7b Merge branch 'bugfix/fix_public_header_check_of_mpi_on_c5mp' into 'master'
fix(mpi): fix the public header check for esp32c5 mp

See merge request espressif/esp-idf!29796
2024-03-22 15:08:46 +08:00
morris
5126526ffc Merge branch 'bugfix/mipi_dsi_write_back_size_check' into 'master'
docs: Add MIPI DSI API reference

Closes IDF-7714

See merge request espressif/esp-idf!29768
2024-03-22 14:17:45 +08:00
laokaiyao
31b01005f8 fix(mpi): fix the public header check for esp32c5 mp 2024-03-22 14:15:41 +08:00
Jakob Hasse
112e7f1085 Merge branch 'refactor/console_sorted_help' into 'master'
refactor(console): made help command sorting depend on Kconfig option

Closes IDF-9406

See merge request espressif/esp-idf!29593
2024-03-22 14:01:35 +08:00
Jiang Jiang Jian
52380e3052 Merge branch 'bugfix/wps_reg_regression' into 'master'
fix(esp_wifi): Fixed regression caused by fe35466c when wpa_supplicant debug logs enabled (!28521)

See merge request espressif/esp-idf!29753
2024-03-22 13:53:18 +08:00
Kevin (Lao Kaiyao)
4cd30f9b8f Merge branch 'feature/esp32c5_mp_bringup' into 'master'
feat(esp32c5): bringup esp32c5 mp (Stage 7/7: hello world)

See merge request espressif/esp-idf!29093
2024-03-22 11:18:52 +08:00
Mahavir Jain
cdc1a2551b Merge branch 'feature/enable_rsa_support_for_c5' into 'master'
feat: enable RSA support for c5

See merge request espressif/esp-idf!29189
2024-03-22 10:10:47 +08:00
Konstantin Kondrashov
25bc10e143 feat(efuse): Update efuses for C5 and C61 2024-03-21 18:37:46 +02:00
Jiang Jiang Jian
be06a6f5ff Merge branch 'bugfix/fix_softap_coex_start_issue' into 'master'
fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle

See merge request espressif/esp-idf!29772
2024-03-21 21:22:54 +08:00
Alexey Lapshin
0e3673a2bd Merge branch 'feature/esp32p4-coredump-support' into 'master'
esp32p4: panic tests support

Closes IDF-7565, IDF-7861, IDF-9035, and IDF-9075

See merge request espressif/esp-idf!28586
2024-03-21 21:12:25 +08:00
Jiang Jiang Jian
9971413b60 Merge branch 'feature/eap_tls_v1.3_support' into 'master'
wpa_supplicant: Add TLS v1.3 support in WiFi Enterprise Authentication

Closes WIFI-6135

See merge request espressif/esp-idf!24975
2024-03-21 21:10:38 +08:00
Roman Leonov
b90c7e585a refactor(usb_host): Renamed hub_driver_state to root_port_state 2024-03-21 13:16:28 +01:00
Alexey Lapshin
e845d9e0eb feat(esp_system): allow .data to spill over into L2MEM above 0x4ff40000
It may be usefull when .rodata placed into .dram1.data
2024-03-21 15:36:39 +04:00
liuning
81b86f657c fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle 2024-03-21 19:35:27 +08:00
Wan Lei
cfcdacaaac Merge branch 'feature/spi_dma_segmented_configure_transfer' into 'master'
feat(spi_master): new feature dma controlled segmented configure transfer(sct) mode (part_1)

Closes IDF-4998

See merge request espressif/esp-idf!22684
2024-03-21 18:50:03 +08:00
Alexey Lapshin
13b55386bf feat(system): esp32p4: support hw stack guard 2024-03-21 14:30:21 +04:00
morris
f4ff026e3e change(mipi_dsi): allow cache sync with unaligned size 2024-03-21 18:19:58 +08:00
Wan Lei
751d50a19a Merge branch 'feat/c6lite_c61_system_step5' into 'master'
feat(esp32c61): system and esp_timer related support (stage 5/8)

See merge request espressif/esp-idf!29652
2024-03-21 17:25:37 +08:00
C.S.M
eeb9aa988c Merge branch 'bugfix/fix_i2c_timing_accuracy' into 'master'
fix(i2c_master): Fix issue that i2c clock got wrong after clearing bus

Closes IDFGH-12366

See merge request espressif/esp-idf!29715
2024-03-21 16:45:50 +08:00
Jakob Hasse
0b246b8c0b refactor(console): made help command sorting depend on Kconfig option 2024-03-21 16:33:44 +08:00
laokaiyao
c9d6a11d1d feat(esp32c5mp): support to run hello world on esp32c5 mp 2024-03-21 16:18:03 +08:00
Frantisek Hrbata
359af26736 fix: mark .exception_vectors* as executable and allocatable
It seems gcc is not producing debug information for sections which
are not properly marked as "ax", resulting in missing debug info
for _vector_table, _interrupt_handler and _panic_handler. This can be
verified e.g. with

readelf --debug=info ./build/esp-idf/riscv/CMakeFiles/__idf_riscv.dir/vectors.S.obj
readelf -SW ./build/esp-idf/riscv/CMakeFiles/__idf_riscv.dir/vectors.S.obj

for hello_world example on esp32c3 target. Mark the .exception_vectors.text and
.exception_vectors_table.text sections as writable and allocatable so the debug
info sections are generated.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-03-21 08:53:09 +01:00
Rahul Tank
0883569b6f fix(nimble): Handle auto connection flag for extended connect 2024-03-21 12:33:50 +05:30
Guillaume Souchere
39f789df93 feat(esp_rom): patch heap walker to the ROM implementation
modify existing patch of TLSF rom and add multi heap patch
to add the walker feature to the ROM implementation of the
heap component.
2024-03-21 07:41:04 +01:00
Cao Sen Miao
c0e5f2b73a fix(i2c_master): Fix issue that i2c clock got wrong after reset,
Closes https://github.com/espressif/esp-idf/issues/13397
2024-03-21 13:13:53 +08:00
Rahul Tank
22ee3e8aa6 Merge branch 'bugfix/bonding_across_reboot' into 'master'
fix(nimble): Added support for deleting the oldest bonded device across reboot

See merge request espressif/esp-idf!29612
2024-03-21 12:00:42 +08:00
morris
1f6abf9e7b Merge branch 'feature/mipi_dcs_short_packet' into 'master'
feat(mipi_dsi): use DCS short packet when possible

Closes IDF-9349

See merge request espressif/esp-idf!29441
2024-03-21 11:46:01 +08:00
wanlei
a611e91b2f feat(esp32c61): new chip add system and esp_timer support 2024-03-21 11:31:15 +08:00
Jakob Hasse
25400ca351 Merge branch 'feature/log_priusize_macro' into 'master'
feat(log): Added PRIuSIZE printf formatter macro

See merge request espressif/esp-idf!29725
2024-03-21 10:41:49 +08:00
Jakob Hasse
f482a9153a Merge branch 'fix/add_libbsd_string_h' into 'master'
refactor(linux): Unified libbsd handling

See merge request espressif/esp-idf!29457
2024-03-21 10:11:25 +08:00
Xu Si Yu
fd78d418dd feat(openthread): add max csmabackoffs for transmission 2024-03-20 18:00:33 +08:00
Jakob Hasse
e4aa326c3a feat(log): Added PRIuSIZE printf formatter macro 2024-03-20 16:41:22 +08:00
wanlei
51ffd40843 feat(spi_master): rebase dma sct mode support, rename APIs, use malloc conf_buffer 2024-03-20 16:06:43 +08:00
Sudeep Mohanty
4f3cd0deb9 Merge branch 'fix/freertos_task_c_add_coverity_fix' into 'master'
fix(freertos): Fixed an issue where accessing task lists could overrun memory

Closes IDF-9412

See merge request espressif/esp-idf!29746
2024-03-20 15:54:39 +08:00
wanlei
a307096ec0 spi_master: sct mode supported on c6 2024-03-20 15:42:03 +08:00
wanlei
1e6c61daa6 spi_master: sct mode support set line mode, transaction interval time
support line mode 1-2-4-8 depend on targets.
fix sct mode dma descriptor counter compute issue.
add conf_bits_len setting API to control interval time.
2024-03-20 15:42:03 +08:00
Armando
30760a95bb spi_master: spi master sct test app 2024-03-20 15:42:03 +08:00
Armando
b303e4b7a6 spi_master: new segmented-configure-transfer mode 2024-03-20 15:42:03 +08:00
Guillaume Souchere
34fb83ffbc feat(heap): Add return value to walker callback
This return value is used by the tlsf_walk_pool
function to be notified of the need to interrupt
the ongoing traversal of the currently traversed
heap.
2024-03-20 08:33:48 +01:00