Commit Graph

26575 Commits

Author SHA1 Message Date
C.S.M
4632bf2f8b Merge branch 'feat/bod_bringup_c5' into 'master'
feat(brownout): Add brownout detector support on esp32c5, esp32c61

Closes IDF-8647 and IDF-9254

See merge request espressif/esp-idf!32930
2024-08-22 16:24:34 +08:00
zhanghaipeng
946f484861 feat(ble/controller): Support get BLE controller free heap size 2024-08-22 14:42:52 +08:00
shreeyash
1ff60d5336 fix(nimble): Fixed blesmp getbondlist issue 2024-08-22 10:40:45 +05:30
Song Ruo Jing
c607544126 Merge branch 'feature/isp_gamma_correction_support' into 'master'
feat(isp): add gamma correction driver to ISP

Closes IDF-9988

See merge request espressif/esp-idf!32274
2024-08-22 12:09:31 +08:00
C.S.M
8078ad7840 feat(brownout): Add brownout detector support on esp32c61 2024-08-22 11:26:30 +08:00
C.S.M
e76c2c4b53 feat(brownout): Add brownout detector support on esp32c5 2024-08-22 11:26:30 +08:00
gaoxu
004f27efda feat(gpio): support hysteresis filter on C61 2024-08-22 11:24:03 +08:00
C.S.M
271ca9f85a feat(spiram): Add .noinit and .bss segement support on esp32c61 2024-08-22 10:58:50 +08:00
C.S.M
fad2c740b1 feature(spi_flash): Promote the c61 mspi clock frequency from 40 to 80M 2024-08-22 10:58:50 +08:00
Marius Vikhammer
c7df9db237 Merge branch 'bugfix/ulp_build_windows' into 'master'
fix(ulp): fixed ulp apps not compiling on windows

Closes IDF-10856

See merge request espressif/esp-idf!32949
2024-08-22 10:51:25 +08:00
Marius Vikhammer
6e51c0525d fix(wdt): changed register dump on non panic task WDT to be more descriptive
Closes https://github.com/espressif/esp-idf/issues/14400
2024-08-22 10:48:26 +08:00
C.S.M
b676f6080d feature(spiram): Add spiram support on esp32c61 2024-08-22 10:38:43 +08:00
Island
66b8c33308 Merge branch 'bugfix/fix_c5_ble_crash_issue' into 'master'
fix(ble): fix esp32c5 crash issue when enable the ble controller

See merge request espressif/esp-idf!32890
2024-08-22 10:28:43 +08:00
Marius Vikhammer
a6517676c9 Merge branch 'bugfix/usleep_overflow' into 'master'
fix(newlib): fixed potential overflow in usleep

Closes IDFGH-13493

See merge request espressif/esp-idf!32917
2024-08-22 09:55:08 +08:00
zwl
8c3e2c9d5a fix(ble): fixed ble controller issues on ESP32-C2 2024-08-22 09:53:11 +08:00
zwl
e8c80d4809 fix(ble): fixed ble controller issues on ESP32-H2 2024-08-22 09:53:11 +08:00
zwl
c038e38c24 fix(ble): fixed ble controller issues on ESP32-C6 2024-08-22 09:53:11 +08:00
Jiang Jiang Jian
b6f67b36fb Merge branch 'bugfix/fix_clkn_lost_after_modem_sleep' into 'master'
fix(bt/controller): Fixed bluetooth disconnect issue after modem sleep on ESP32

Closes BT-3831

See merge request espressif/esp-idf!32959
2024-08-21 23:19:50 +08:00
Rahul Tank
c480d92a59 Merge branch 'feat/ble_link_estab_event' into 'master'
feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link is established

Closes BLEQABR24-977, BLERP-851, BLERP-854, BLERP-878, IDFCI-2291, IDFCI-2289, BLERP-933, and BLERP-947

See merge request espressif/esp-idf!31968
2024-08-21 23:17:28 +08:00
Harshal Patil
a00d22197c Merge branch 'change/secure_boot_config_description' into 'master'
Improve description of the config SECURE_BOOT_V2_ALLOW_EFUSE_RD_DIS

Closes IDF-9161

See merge request espressif/esp-idf!32651
2024-08-21 22:08:23 +08:00
Adam Múdry
3f13adadab Merge branch 'fix/sdmmc_probe_timing_retry' into 'master'
fix(sdmmc): Fix SDMMC slot switch timing related issue on ESP32-P4

Closes IDFCI-2328

See merge request espressif/esp-idf!32900
2024-08-21 20:01:23 +08:00
Chen Ji Chang
b8b845a96a Merge branch 'change/remove_sdm_and_glitch_filter_on_c61' into 'master'
Change(sdm,glitch_filter): remove sdm and glitch filter on c61

Closes IDF-9340 and IDF-9335

See merge request espressif/esp-idf!32691
2024-08-21 19:28:05 +08:00
zhanghaipeng
c1fb888cc1 fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data 2024-08-21 19:27:36 +08:00
harshal.patil
03a15664ee
change(bootloader_support/secure_boot): Improve description of the config SECURE_BOOT_V2_ALLOW_EFUSE_RD_DIS
Co-authored-by: Zhang Shuxian <zhangshuxian@espressif.com>
2024-08-21 16:32:54 +05:30
morris
fdd90d4894 Merge branch 'feat/i80_lcd_esp32p4' into 'master'
Add i80 LCD support on ESP32P4

See merge request espressif/esp-idf!32829
2024-08-21 18:04:39 +08:00
linruihao
fd46936033 fix(bt/controller): Fixed bluetooth disconnect issue after modem sleep on ESP32 2024-08-21 17:53:25 +08:00
Song Ruo Jing
f2d131aae4 feat(isp): add gamma correction driver to ISP 2024-08-21 17:27:16 +08:00
Island
3929afdb5f Merge branch 'fix/ble_mesh_gh_pr_13135' into 'master'
fix(ble_mesh): Fix OP_TIME_SET and OP_TIME_STATUS

See merge request espressif/esp-idf!32768
2024-08-21 16:54:40 +08:00
wuzhenghui
2659607d13
feat(esp_hw_support): support PMU parameters when XTAL is used as fast clock source 2024-08-21 15:44:01 +08:00
Rahul Tank
61aae40313 feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established 2024-08-21 13:07:46 +05:30
C.S.M
6730203c1d Merge branch 'support_psram_noinit_segment_on_s3' into 'master'
feat(psram): add psram noinit  segment support on s2/s3/p4/c5 and bss segment on c5

Closes IDF-4811, IDF-8689, IDF-10311, and IDFGH-13336

See merge request espressif/esp-idf!32503
2024-08-21 15:25:07 +08:00
Mahavir Jain
2884ce0eac Merge branch 'contrib/github_pr_14398' into 'master'
fix esp_secure_boot not compiling in C++ (GitHub PR)

Closes IDFGH-13503

See merge request espressif/esp-idf!32948
2024-08-21 14:51:02 +08:00
Rahul Tank
5b56ff6f8b Merge branch 'bugfix/changes_in_wifi_prov_mgr' into 'master'
fix(wifi_prov_mgr): Api to keep BLE on after provisioning

Closes IDF-8295

See merge request espressif/esp-idf!32764
2024-08-21 13:58:13 +08:00
Chen Jichang
1c1f536235 feat(psram): add psram noinit segment support on S2/S3/P4/C5
Closes https://github.com/espressif/esp-idf/issues/14253
2024-08-21 12:13:16 +08:00
Mahavir Jain
ad3a257390 Merge branch 'contrib/github_pr_14314' into 'master'
perf(gcm): shrink Shoup table and tune GCM loop (GitHub PR)

Closes IDFGH-13409

Closes https://github.com/espressif/esp-idf/pull/14314

See merge request espressif/esp-idf!32908
2024-08-21 12:12:10 +08:00
Armando (Dou Yiwen)
79a4419956 Merge branch 'feat/isp_yuvrgb' into 'master'
isp: support more yuv / rgb configurations

Closes IDF-10734

See merge request espressif/esp-idf!32932
2024-08-21 12:02:53 +08:00
Jiang Jiang Jian
f12cdd7b2a Merge branch 'fix/fix_esp32c5_connect_issues_1' into 'master'
fix(wifi): fix esp32c5 connect issues cause by change band mode to 5G only

Closes WIFIBUG-682 and WIFIBUG-494

See merge request espressif/esp-idf!32554
2024-08-21 11:56:27 +08:00
Jiang Jiang Jian
cf12c384d5 Merge branch 'support/esp32c5_br_lib' into 'master'
feat(openthread): support br lib for esp32c5

Closes TZ-957

See merge request espressif/esp-idf!32854
2024-08-21 10:38:59 +08:00
snake-4
8bade3bf2c
fix(http_server): Don't require LWIP_NETIF_LOOPBACK for Linux target 2024-08-21 04:25:10 +02:00
Tomas Rezucha
6457d3942d Merge branch 'fix/usb_dma_api' into 'master'
fix(usb/host): Use new cache aligned DMA alloc functions

Closes IDF-10048

See merge request espressif/esp-idf!32891
2024-08-20 23:45:45 +08:00
Mahavir Jain
71b56bd3f3 Merge branch 'feature/introduce_security_component' into 'master'
Introduce a new security component

Closes IDF-9359

See merge request espressif/esp-idf!31969
2024-08-20 22:18:07 +08:00
Jiang Jiang Jian
ff0bc815a2 Merge branch 'bugfix/fixed_c2_blufi_issue_when_use_only_4.2_adv' into 'master'
fix(ble): fixed blufi issue on ESP32-C2

Closes BLERP-944

See merge request espressif/esp-idf!32941
2024-08-20 22:04:51 +08:00
Radek Tandler
f75db5caf4 Merge branch 'bugfix/nvs_entry_sanity_check' into 'master'
Bugfix/added nvs entry header sanity checks

See merge request espressif/esp-idf!32529
2024-08-20 20:46:27 +08:00
Adam Múdry
b263b9dff9 fix(sdmmc): Fix SDMMC slot switch timing related issue on ESP32-P4 2024-08-20 19:17:08 +08:00
morris
23c41fc772 feat(lcd): support i80 lcd driver on esp32p4 2024-08-20 18:47:22 +08:00
Shen Weilong
36c0bf9331 fix(ble): fix esp32c5 crash issue when enable the ble controller 2024-08-20 18:04:12 +08:00
Wu Zheng Hui
5929eed30d Merge branch 'feat/support_software_trigger_retention' into 'master'
feat(esp_hw_support): support software trigger regdma retention

Closes PM-199

See merge request espressif/esp-idf!32789
2024-08-20 18:02:07 +08:00
C.S.M
ead16f1dcb Merge branch 'bugfix/fix_c61_msmspi_soc' into 'master'
fix(memspi): Correct the wrong c61 memspi soc file

See merge request espressif/esp-idf!32921
2024-08-20 17:20:55 +08:00
Rahul Tank
dbce23f8a4 Merge branch 'feat/allow_connect_during_scan' into 'master'
Some checks failed
docker / docker (push) Has been cancelled
feat(nimble): Add support to allow connection during scanning

Closes BLERP-903

See merge request espressif/esp-idf!32509
2024-08-20 17:10:30 +08:00
radek.tandler
b937cb7549 fix(storage/nvs): Fixed hadling of inconsistent values in NVS entry header
feat(storage/nvs): Added test cases for damaged entries with correct CRC
2024-08-20 10:57:24 +02:00
Konstantin Kondrashov
545e26a0f2 feat(efuse): Updates efuse table for esp32c5 2024-08-20 16:51:56 +08:00
Konstantin Kondrashov
9923ecfaba feat(efuse): Updates efuse table for esp32p4 2024-08-20 16:51:56 +08:00
Jakob Hasse
d2cfb78d31 Merge branch 'refactor/spi_ram_stack_with_heap_caps_config' into 'master'
refactor(esp_psram): allow PSRAM as stack when PSRAM is only available via esp_heap_caps

Closes IDFGH-11604

See merge request espressif/esp-idf!32832
2024-08-20 16:48:44 +08:00
Richard Allen
0b51c24238 change(mbedtls/port): optimize gcm_mult()
1) pre-shift GCM last4 to use 32-bit shift

On 32-bit architectures like Aarch32, RV32, Xtensa,
shifting a 64-bit variable by 32-bits is free,
since it changes the register representing half of the 64-bit var.
Pre-shift the last4 array to take advantage of this.

2) unroll first GCM iteration

The first loop of gcm_mult() is different from
the others. By unrolling it separately from the
others, the other iterations may take advantage
of the zero-overhead loop construct, in addition
to saving a conditional branch in the loop.
2024-08-20 16:44:56 +08:00
zwl
0611a04250 fix(ble): fixed blufi issue on ESP32-C2 2024-08-20 16:42:42 +08:00
Jiang Jiang Jian
a871f54339 Merge branch 'bugfix/fix_bleqabr24_1152' into 'master'
Fixed BLE vendor HCI get controller status command on ESP32

Closes BLERP-936

See merge request espressif/esp-idf!32851
2024-08-20 15:17:24 +08:00
Tomas Rezucha
512df697f0 docs(usb/host): Update maintainer docs for ESP32-P4 2024-08-20 08:14:21 +02:00
Tomas Rezucha
660319ecaf fix(usb/host): Use new cache aligned DMA alloc functions 2024-08-20 08:13:32 +02:00
xuxiao
280a38130f fix(wifi): fix esp32c5 connect issues cause by change band mode to 5G only 2024-08-20 14:06:15 +08:00
Marius Vikhammer
5b85871151 fix(ulp): fixed ulp apps not compiling on windows 2024-08-20 13:04:46 +08:00
Mahavir Jain
1e8391f5fe fix(esp_security): keep esp_security as private dependency for esp_hw_support
- Only esp_hw_support -> esp_security as new private dependency
- In next major IDF release, the public interface can be moved
  esp_security component
2024-08-20 12:35:22 +08:00
Mahavir Jain
79f9c7d157 feat(esp_security): Move DS, HMAC, DPA and crypto lock implementation 2024-08-20 12:35:22 +08:00
Mahavir Jain
262f27290b feat(esp_security): move the crypto test app to new esp_security component 2024-08-20 12:35:22 +08:00
harshal.patil
57db17bec2 feat(esp_security/crypto): Create a generic crypto locking layer across targets 2024-08-20 12:35:22 +08:00
harshal.patil
488b2a741d change(esp_security): Move the crypto locking layer into the security component 2024-08-20 12:35:22 +08:00
harshal.patil
c125d21c71 change(esp_security): Move anti-DPA configuration into the security component 2024-08-20 12:35:22 +08:00
harshal.patil
b729a0a732 change(esp_security): Move crypto clk configuration into the security component 2024-08-20 12:35:22 +08:00
harshal.patil
239734e3d5 feat(esp_security): Register a bare-metal security component 2024-08-20 12:35:22 +08:00
Rahul Tank
f03c3ed43e feat(nimble): Add support to allow connection during scanning 2024-08-20 10:05:14 +05:30
Pat Erley
5daee45f6e fix(ble_mesh): Fix OP_TIME_SET and OP_TIME_STATUS
When a user app is handling these messages, the tai_utc_delta and
time_zone_offset fields are not correctly populated.  Resolve by
properly setting the fields.
2024-08-20 12:01:35 +08:00
Chen Jichang
a1fc225aaa feat(glitch_filter): remove glitch filter on c61 2024-08-20 10:57:01 +08:00
Chen Jichang
b947ff99da feat(sdm): remove sigma delta gpio on c61 2024-08-20 10:57:01 +08:00
C.S.M
6290fed472 fix(memspi): Correct the wrong c61 memspi soc file 2024-08-20 10:54:08 +08:00
wuzhenghui
56aefbe845
driver(gptimer): support software triggered GPTimer retention test 2024-08-20 10:52:17 +08:00
wuzhenghui
05504d5f68
feat(esp_hw_support): support extra link software trigger for all targets 2024-08-20 10:52:16 +08:00
Marius Vikhammer
ff8265b6b3 feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
According to the standard assert(X) should be replaced by a void expression when
NDEBUG is set. IDF's behavior was to not trigger an assertion, but we would still
evaluate X, e.g. if X was a function it would be ran.

This MR adds a kconfig option CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE which allows us
revert the behavior to be inline with the standard.

With IDF v6.0 the plan is to make CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE=n the default
behavior.

Closes https://github.com/espressif/esp-idf/issues/10136
Closes https://github.com/espressif/esp-idf/issues/2758
2024-08-20 09:26:54 +08:00
Marius Vikhammer
596f635b28 fix(newlib): fixed potential overflow in usleep
If trying to usleep for 0xFFFF FFFF us the calculation of delay ticks would overflow
resulting in the system not sleeping at all.

Closes https://github.com/espressif/esp-idf/issues/14390
2024-08-20 09:26:27 +08:00
Marius Vikhammer
9bff8ad50e docs(freertos): update freertos comments to reflect that stack size is in bytes
Closes https://github.com/espressif/esp-idf/issues/11600
2024-08-20 09:26:09 +08:00
Armando
e9f65051e7 feat(isp): added isp yuv2rgb / rgb2yuv configs 2024-08-20 09:20:59 +08:00
Armando (Dou Yiwen)
c01ccd1f62 Merge branch 'ci/fix_esp32_exceed_bootloader_size' into 'master'
fix(ci): esp32 build failure due to bootloader size too large

Closes IDFCI-2331

See merge request espressif/esp-idf!32926
2024-08-20 09:20:18 +08:00
0xFEEDC0DE64
82f0477dfd fix(esp32) esp_secure_boot not compiling in C++ 2024-08-19 13:27:49 +02:00
Song Ruo Jing
7b510049fb fix(ci): esp32 build failure due to bootloader size too large 2024-08-19 19:08:10 +08:00
Konstantin Kondrashov
bc5d324f73 Merge branch 'feature/p4_efuse_get_pkg_ver' into 'master'
feat(efuse): Updates esp_efuse_get_pkg_ver

Closes IDFCI-2324

See merge request espressif/esp-idf!32882
2024-08-19 15:44:31 +08:00
Jakob Hasse
d626bcac35 Merge branch 'refactor/nvs_coverage_gcovr' into 'master'
refactor(nvs_flash): Use gcovr instead of lcov for host-based page test

See merge request espressif/esp-idf!31734
2024-08-19 15:24:24 +08:00
Marius Vikhammer
ae71b5984b Merge branch 'ci/timer_perf_c5' into 'master'
ci(timer): increase IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL for C5/C61

Closes IDFCI-2327

See merge request espressif/esp-idf!32888
2024-08-19 11:03:23 +08:00
Jiang Jiang Jian
87eaf18eb6 Merge branch 'feature/esp32c61_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c61 sleep support (Stage 1: support modem clock)

Closes IDF-9513

See merge request espressif/esp-idf!32518
2024-08-19 10:38:57 +08:00
Chen Ji Chang
5b0c63b2cd Merge branch 'feat/add_ledc_support_on_c61' into 'master'
feat(ledc): add ledc support on c61

Closes IDF-9291

See merge request espressif/esp-idf!32705
2024-08-16 17:35:19 +08:00
Song Ruo Jing
15e20f0dfb Merge branch 'ci/enable_esp32p4_gpio_uart_target_test' into 'master'
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process

Closes IDF-8968, IDF-8971, and IDF-9877

See merge request espressif/esp-idf!32510
2024-08-16 17:31:59 +08:00
Abhik Roy
4873a94b01 Merge branch 'example/ping_invalid_ip6_fix' into 'master'
fix(example): Fixed updating recv addr for invalid packets

Closes IDFGH-13264

See merge request espressif/esp-idf!32275
2024-08-16 17:01:37 +08:00
Abhik Roy
36dfa367d1 Merge branch 'lwip/multi_dns_ip_fix' into 'master'
fix(lwip): Fixed incorrect handling of 0.0.0.0 in dns

Closes IDFGH-13115 and IDF-10035

See merge request espressif/esp-idf!32223
2024-08-16 16:59:43 +08:00
Jeroen Domburg
9dc00a4fb4 Merge branch 'fix/char_skip_using_usj_proper_fix' into 'master'
fix(usb-serial-jtag): Call driver-specific fsync function for usb-serial-jtag rather than poking the hardware directly

Closes IDFGH-12988

See merge request espressif/esp-idf!32473
2024-08-16 14:43:29 +08:00
Armando (Dou Yiwen)
b432ded957 Merge branch 'feat/isp_sharp' into 'master'
isp: sharp driver

Closes IDF-10494 and IDF-10673

See merge request espressif/esp-idf!32316
2024-08-16 13:07:15 +08:00
Song Ruo Jing
860453df47 Merge branch 'bugfix/esp_rom_gpio_connect_out_signal_patch' into 'master'
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2

Closes IDFGH-11731 and IDFGH-13373

See merge request espressif/esp-idf!32816
2024-08-16 12:03:25 +08:00
Michael (XIAO Xufeng)
742a4838d6 Merge branch 'fix/mmu_multicore_app_bl' into 'master'
fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader

Closes IDFGH-10359

See merge request espressif/esp-idf!32745
2024-08-16 11:49:32 +08:00
Marius Vikhammer
f9ed33857d ci(timer): increase IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL for C5/C61 2024-08-16 11:12:46 +08:00
C.S.M
f40380c472 Merge branch 'refactor/mspi_soc_c5_c61' into 'master'
fix(mspi): Refactor mspi ll/soc for c5 and c61

Closes IDF-5157

See merge request espressif/esp-idf!32151
2024-08-16 10:34:21 +08:00
Armando (Dou Yiwen)
f6ec756b8e Merge branch 'fix/fix_c5_p4_c6_cache_disable_with_brc_predict_issue' into 'master'
cache: fixed double exception after cache disabled caused by branch predictor

Closes IDFCI-2318 and IDF-10783

See merge request espressif/esp-idf!32828
2024-08-16 10:24:05 +08:00
Konstantin Kondrashov
e55ae515e2 feat(efuse): Updates esp_efuse_get_pkg_ver 2024-08-15 18:26:44 +03:00
Song Ruo Jing
706935f468 fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process 2024-08-15 21:54:21 +08:00
Song Ruo Jing
1171c3c281 fix(ci): enable gpio, uart target tests on esp32p4 2024-08-15 21:54:21 +08:00