29095 Commits

Author SHA1 Message Date
morris
a23554f175 Merge branch 'feat/test_gdma_psram' into 'master'
test(gdma): can do memory to/from psram correctly

See merge request espressif/esp-idf!36758
2025-02-06 17:14:29 +08:00
gaoxu
9494922397 feat(esp32h21): split newlib ld into multiple files 2025-02-06 15:47:52 +08:00
gaoxu
5ef4f20778 feat(esp32h21): disable unsupported build test 2025-02-06 15:47:51 +08:00
laokaiyao
a7b218fdc2 remove(sleep_cpu): removed unnecessary cache sleep region 2025-02-06 14:28:03 +08:00
Marius Vikhammer
85ec6a41f9 Merge branch 'feature/build_docs_h21' into 'master'
docs(build): add support for building H21 docs

Closes IDF-12105

See merge request espressif/esp-idf!36632
2025-02-06 11:25:36 +08:00
Harshal Patil
7c9c2537ed Merge branch 'feat/support_both_aes_and_sha_block_and_dma_modes_during_runtime' into 'master'
feat(mbedtls): Support both SHA block and DMA modes during runtime

Closes IDF-11848

See merge request espressif/esp-idf!36589
2025-02-06 11:19:51 +08:00
Igor Udot
5f37de2889 Merge branch 'feat/lp-uart-wakeup-mode3' into 'master'
Added support for UART wakeup modes

Closes IDF-10202

See merge request espressif/esp-idf!31965
2025-02-06 11:15:37 +08:00
morris
f9718eea80 test(gdma): can do memory to/from psram correctly 2025-02-06 11:06:21 +08:00
laokaiyao
cbd6898a93 change(cache): sync the cache register info to TRM 2025-02-06 11:05:15 +08:00
Tomas Rezucha
f9d580210c Merge branch 'fix/usb_non_periodic' into 'master'
fix(usb/host): Set SCHED_INFO for all channels

Closes IDF-12035

See merge request espressif/esp-idf!36724
2025-02-06 00:20:24 +08:00
Erhan Kurubas
287e55a1c6 fix(coredump): disable uart txd pullup using gpio hal 2025-02-05 22:32:19 +08:00
Erhan Kurubas
e58763c777 fix(coredump): fix note section alignments 2025-02-05 22:32:19 +08:00
Erhan Kurubas
81a5f7dc80 fix(coredump): only clear high bit in PC when set 2025-02-05 22:32:19 +08:00
Song Ruo Jing
13a0a584d9 fix(gpio): fix esp_rom_gpio_connect_out_signal for gpio num over 31 on esp32/s2
Closes https://github.com/espressif/esp-idf/issues/15209
2025-02-05 22:19:04 +08:00
Li Shuai
65ef909867 Revert "change(soc): fix idf_size error caused by ldgen to run success for ci pipeline"
This reverts commit bd19d4b9305cdf4046b763233cf18acf74baa441.
2025-02-05 19:58:39 +08:00
Roman Leonov
9c8517045c fix(usb_phy): Removed pull resistors override configuration for Internal FSLS PHY 2025-02-05 12:28:38 +01:00
Astha Verma
30589c306c fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled 2025-02-05 14:47:31 +05:30
igor.udot
f742a05b28 feat: supports lp uart wakeup 2025-02-05 14:54:48 +08:00
Guillaume Souchere
5a0e1615d9 Merge branch 'fix/usb-cdc-non-blocking-read' into 'master'
fix(esp_vfs_console): USB CDC read when non blocking

See merge request espressif/esp-idf!36469
2025-02-05 14:30:15 +08:00
Mahavir Jain
35fd0fe155 Merge branch 'fix/simple_http_server_ctrl_sock_address_len' into 'master'
fix(http_server): Simple http server socket len fix

See merge request espressif/esp-idf!36665
2025-02-05 11:41:03 +08:00
Michael (XIAO Xufeng)
ece4ee30da Merge branch 'fix/p4_lsc_v100_warning' into 'master'
fix(isp_lsc): fixed warning description for p4 v1.0

See merge request espressif/esp-idf!34593
2025-02-05 10:53:06 +08:00
Tomas Rezucha
e80a84c148 fix(usb/host): Set SCHED_INFO for all channels
Although the hardware documentation suggests that SCHED_INFO is only used
for periodic channels, empirical evidence shows that omitting this configuration
on non-periodic channels can cause them to freeze.
Therefore, we set this field for all channels to ensure reliable operation.
2025-02-05 02:35:48 +08:00
David Cermak
a591e48b97 fix(esp_eth): Fix test code to unregister event correctly 2025-02-04 12:29:43 +01:00
harshal.patil
7d8211bf87
feat(mbedtls): Support both SHA block and DMA modes during runtime
Dynamically switch the SHA operation modes based on the buffer operating length
2025-02-04 16:49:30 +05:30
Ivan Grokhotkov
f8f40ad94f
fix(sdmmc): fix reset of pins above slot width
Closes https://github.com/espressif/esp-idf/issues/15328
2025-02-04 12:01:04 +01:00
hrushikesh.bhosale
ef9259775e fix(http_server): Simple http server socket len fix
The socket address length is not typecasted properly while
passing to bind and sendto functions. Due to this
http_server/simple was not running with target linux on MacOS
used to give error -

I (132253266) port: Starting scheduler.
I (132253269) esp_netif_loopback: loopback initialization
I (132253269) example: Starting server on port: '8001'
E (132253270) httpd: httpd_server_init: error in creating ctrl socket (22)
I (132253270) example: Error starting server!

With this commit, simple http server runs with target linux
on MacOS for IPV4 configurations
2025-02-04 15:35:26 +05:30
Mahavir Jain
46965784b8
fix(bootloader_support): coverity reported warning 2025-02-04 11:41:17 +05:30
Mahavir Jain
074852664d
fix(esp_tee): fix some coverity warnings 2025-02-04 11:40:22 +05:30
David Čermák
3114ae365e Merge branch 'fix/event_no_isr_post' into 'master'
fix(esp_event): Fix minor no-ISR post regression from 15f6775f5

See merge request espressif/esp-idf!36697
2025-02-03 21:03:07 +08:00
David Cermak
881628c548 fix(esp_event): Fix minor no-ISR post regression
from 15f6775f5d5bd9ee73072e914118024d15b685eb
2025-02-03 12:26:35 +01:00
sonika.rathi
50dc84ca6e fix(fatfs): make the diskio functions static
Closes https://github.com/espressif/esp-idf/issues/15248
2025-02-03 09:29:46 +01:00
safocl
4da9b8654c fix(storage/fatfs): Compiler unused warning
esp-idf/components/fatfs/diskio/diskio_rawflash.c warning: unused variable 'part' [-Wunused-variable]
   XX |     const esp_partition_t* part = s_ff_raw_handles[pdrv];
      |                            ^~~~
esp-idf/components/fatfs/vfs/vfs_fat_sdmmc.c warning: unused variable 'found' [-Wunused-variable]
  XXX |     bool found = s_get_context_id_by_card(card, &id);
      |          ^~~~~
2025-01-31 23:26:12 +04:00
Michael (XIAO Xufeng)
cb227eb260 fix(isp_lsc): fixed warning description for p4 v1.0 2025-02-01 00:10:37 +08:00
Guillaume Souchere
ae7c8691d9 fix(esp_vfs_console): USB CDC read when non blocking
In non blocking mode, the read function is expected
to return weather data is available for reading or not.

In case data are available but the size does not match
the expected size, the function read should return whatever
data is available.

Previously, the function was returning -1 with errno set
to EWOULDBLOCK even if the size of data in the buffer was
less than the requested size. It would only return the
available data if the size in the buffer was greater or equal
to the requested size.

The implementation of cdcacm_read is modified to return the avilable
data from the buffer even is the size is lesser than the requested
size.
2025-01-30 08:51:54 +01:00
Guillaume Souchere
82f558b47a Merge branch 'fix/esp-event-profiling' into 'master'
fix(esp_event): Fix event loop profiling in handler_execute function

Closes IDFGH-14245

See merge request espressif/esp-idf!35735
2025-01-30 15:42:21 +08:00
harshal.patil
62df1017ad
change(nvs_sec_provider): Change NVS encryption's default efuse HMAC key ID to -1 2025-01-29 18:51:29 +05:30
harshal.patil
f205476ffe
fix(nvs_flash): Add encrypted-flash as the dependency in nvs_create_partition_image() 2025-01-29 18:51:29 +05:30
harshal.patil
c7f86301e6
change(bootloader): Increase the iram_seg size of bootloader to fit NVS encryption 2025-01-29 18:51:29 +05:30
harshal.patil
5b17375aca
test(nvs_flash): Extend the nvs_flash test app to support encrypted NVS reads 2025-01-29 18:51:29 +05:30
harshal.patil
cadd6b8bcc
feat(nvs_flash): Support reading encrypted NVS partitions in the bootloader 2025-01-29 18:51:29 +05:30
harshal.patil
37de702e97
feat(nvs_flash): Enable the usage of mbedtls from ROM for bootloader NVS decryption
Bootloader NVS decryption uses hardware ROM APIs to decrypt the NVS contents,
but for targets that do not support AES hardware we could benefit by using the
software mbedtls library that is present in the ROM directly.
2025-01-29 18:51:29 +05:30
harshal.patil
7c3832ff2a
feat(nvs_flash): Add a minimal XTS-AES layer for the bootloader 2025-01-29 18:51:29 +05:30
harshal.patil
4c38499303
fix(esp_partition): Support reading unencrypted partitions by the bootloader
- When flash encryption is enable to support reading a partition that is not
marked as "encrypted", the `esp_partition_read()` API of bootloader build
should be redirected to the `bootloader_flash_read()` API.
2025-01-29 18:51:28 +05:30
harshal.patil
eb05db30fc
fix(esptool_py): Fix NVS partition being incorrectly marked as encrypted
- The CMake function esptool_py_partition_needs_encryption() in the esptool_py
component used to mark NVS partition as encrypted, instead it should have marked
the NVS keys partition as encrypted.
2025-01-29 18:51:28 +05:30
harshal.patil
2ee22f968a
fix(nvs_flash): Allow matching with partition when label provided is NULL
- When esp_parition_find_first() is called with the partition label provided
as NULL by the bootloader, allowing matching to the first partition that matches
partition_type and partition_subtype as done in the app variant.
2025-01-29 18:51:28 +05:30
Guillaume Souchere
15f6775f5d fix(esp_event): Handler unregistration by itself issue
when esp_event_handler_unregister_with_internal cannot take
the loop mutex (e.g., when the handler unregisters itself),
create an event with a special base identifier and add it to
the queue of the corresponding loop to postpone the removal
of the handler from the list at a time when the loop mutex can be
successfully taken.
2025-01-29 13:37:27 +01:00
Guillaume Souchere
d8d3c50b3f fix(esp_event): Fix event loop profiling in handler_execute function
handler_execute function is looking to match the handler only in the
list of loop events but does not look in the base event handler list
nor the id event handler list. So unless the event handler is
registered to be triggered for all event bases and all event ids of
an event loop, its profiling fields (invoked and time) are not updated
when it is called.

This commit updates the search for the matching handler to also look
in base event list and ID event list.

Closes https://github.com/espressif/esp-idf/issues/15041
2025-01-29 13:17:00 +01:00
Roman Leonov
6ac45b2559 Merge branch 'fix/usb_host_enum_unchecked_return_coverity' into 'master'
fix(usb_host): Fixed unchecked return value in enum driver (coverity)

Closes IDF-10068

See merge request espressif/esp-idf!36663
2025-01-29 19:45:48 +08:00
Tomas Rohlinek
9f253c7d7c Merge branch 'fix/fatfs_use_standard_flex_arrays' into 'master'
fix(storage/fatfs): use standard flex-array fields, instead of extension

See merge request espressif/esp-idf!36666
2025-01-29 17:31:56 +08:00
Tomáš Rohlínek
a700e7c210
fix(storage/fatfs): use standard flex-array fields, instead of extension 2025-01-29 09:08:44 +01:00