42621 Commits

Author SHA1 Message Date
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
Rocha Euripedes
b09a515587 Merge branch 'fix/test_app_certificate' into 'master'
Regenerate certificates for testing

See merge request espressif/esp-idf!36664
2025-01-29 20:35:17 +08: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
Roland Dobai
57b2ef83ea Merge branch 'feat/diag_cpuinfo' into 'master'
feat(tools): add basic system information to diag report

Closes IDF-12100

See merge request espressif/esp-idf!36627
2025-01-29 17:46:07 +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
Roland Dobai
395984e4e8 Merge branch 'feat/diag_purge_file' into 'master'
feat(tools): enable passing the purge file as an argument to diag

Closes IDF-11825

See merge request espressif/esp-idf!36659
2025-01-29 17:31:33 +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
Mahavir Jain
9b876d939a Merge branch 'feat/add_h2_config_and_maxver_for_v1.2' into 'master'
feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2

Closes IDF-11993

See merge request espressif/esp-idf!36415
2025-01-29 14:14:52 +08:00
Xiao Xufeng
06166ad3aa feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2 2025-01-29 12:55:15 +08:00
Mahavir Jain
c97b63db32 Merge branch 'fix/rng_register_prefix_discrepency_older_targets' into 'master'
fix(soc): Add the unavailable TRM mentioned RNG_DATA_REG register for C2 and C3

Closes DOC-5138 and DOC-5135

See merge request espressif/esp-idf!36602
2025-01-29 12:51:54 +08:00
Euripedes Rocha
45d59f8205 fix(mqtt): Regenerate certificates for testing
- Previous fix ommited one of the client certificates by mistaque.
- This regenerates all certificates to clean that up.
2025-01-28 14:34:29 +01:00
Roman Leonov
2255cdc462 fix(usb_host): Fixed unchecked return value in enum driver (coverity) 2025-01-28 14:11:55 +01:00
Frantisek Hrbata
7216d11110 feat(tools): enable passing the purge file as an argument to diag
At present, the diag tool uses its default purge file. However, users
may find it beneficial to specify and reuse their own purge file. A new
command line option, --purge, has been introduced to allow users to
provide their own purge file to diag. When this option is used, the
default purge file is ignored.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-01-28 09:19:36 +01:00
Martin Vychodil
64a7472808 Merge branch 'fix/sdmmc_concurrency_slot_count_doesnt_work' into 'master'
fix(sdmmc): SDMMC concurrency change active slot only after the slot is initialized

Closes IDF-12168

See merge request espressif/esp-idf!36640
2025-01-27 21:56:41 +08:00
Frantisek Hrbata
350dbaf73c feat(tools): add system.yml recipe to diag
This should enable the collection of more detailed information about the
operating system and basic CPU details.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-01-27 13:34:33 +01:00
Frantisek Hrbata
f7b754acfa feat(tools): add option to execute steps only on a specific system
At present, the steps are executed unconditionally. With this
modification, we can restrict each step individually to determine if it
should run on a particular system. For instance, we can execute
different commands on different systems. This is achieved by adding a
new key, "system," to the step dictionary, with possible values being
Linux, Windows, and Darwin.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-01-27 13:34:19 +01:00
Ondrej Kosta
e188afdacf Merge branch 'docs/eth_memory_consideration' into 'master'
Non-functional Ethernet updates

Closes IDFGH-13346 and IDF-11736

See merge request espressif/esp-idf!36219
2025-01-27 19:24:34 +08:00
Mahavir Jain
8b7204d87a Merge branch 'feature/esp_tee_cfg_srv' into 'master'
feat(esp_tee): Make the attestation service K-configurable

See merge request espressif/esp-idf!36123
2025-01-27 19:20:09 +08:00
Tomas Rezucha
dfcc0b22c9 Merge branch 'fix/periodic_fs_usb_on_p4' into 'master'
fix(usb/host): Fixed Full Speed periodic transfers on ESP32-P4

Closes IDF-11988

See merge request espressif/esp-idf!36560
2025-01-27 17:28:24 +08:00
Aleksei Apaseev
7d1d949729 Merge branch 'ci/add-pre-signed-urls-of-built-test-related-apps-to-artifacts' into 'master'
ci: fix the issue with missing presigned URLs for test-related apps

Closes RDT-1120

See merge request espressif/esp-idf!36636
2025-01-27 16:19:42 +08:00
Adam Múdry
30196f9430 fix(sdmmc): SDMMC concurrency change active slot only after the slot is initialized
Fixes counting of initialized slots
2025-01-27 03:41:01 +01:00
Aleksei Apaseev
eb67370462 ci: fix the issue where presigned URLs for test-related applications were not being added to the YAML file 2025-01-26 15:41:06 +08:00
morris
a4a597c8c8 Merge branch 'refactor/gpspi_linker' into 'master'
change(gpspi): control hal function placement in the driver component

See merge request espressif/esp-idf!36610
2025-01-26 11:51:31 +08:00
Marius Vikhammer
1e72b10b26 docs(build): add support for building H21 docs 2025-01-26 11:44:28 +08:00
Kevin (Lao Kaiyao)
fb72b2cb49 Merge branch 'bugfix/fix_i2s_reconfig_slot_issue' into 'master'
fix(i2s): fixed incorrect logic in slot reconfig

Closes IDFGH-14486

See merge request espressif/esp-idf!36574
2025-01-26 11:27:54 +08:00
morris
c5865270b5 Merge branch 'feat/async_memcpy_any_alignment' into 'master'
async memcpy destination address doesn't have to be cache aligned

Closes IDFCI-2359 and IDF-11785

See merge request espressif/esp-idf!35849
2025-01-24 23:45:38 +08:00
David Cermak
9aad15daaa fix(network/examples): Fix bridge example eth-wifi config 2025-01-24 16:31:12 +01:00
Roland Dobai
3a30e43c27 Merge branch 'fix/diag_exec_cmd' into 'master'
fix(tools): allow to save stdout and stderr if the exec command fails

Closes IDF-12099

See merge request espressif/esp-idf!36626
2025-01-24 23:27:45 +08:00
David Čermák
e65c9a52e8 Merge branch 'test/bridge' into 'master'
[network/examples]: Fix build rules to test builds on for all targets

See merge request espressif/esp-idf!36590
2025-01-24 23:25:17 +08:00
Frantisek Hrbata
88c099d756 fix(tools): allow to save stdout and stderr if the exec command fails
Currently, if a command run by the exec command returns an error
code, its stdout and stderr are not saved. It could be beneficial to
store at least the stderr if requested. Additionally, avoid creating
output files when there is no content and also store the stderr
of the failed command to diag.log.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-01-24 14:41:07 +01:00
Tomas Rezucha
125a3f0297 refactor(usb): Include supported PHYs information in SoC 2025-01-24 14:03:04 +01:00
Tomas Rezucha
ce59bd4017 fix(usb): Fixed missing GPIO drive capability on ESP32-P4
All USB PHYs that share their IOs with GPIOs must set
the GPIO's drive capability to maximum.
2025-01-24 14:02:52 +01:00
Tomas Rezucha
91f0cb493f fix(usb/host): Fixed Full Speed periodic transfers on ESP32-P4
For FS periodic endpoints 'tokens_per_frame' must be set to 8
LL usb_dwc_ll_hctsiz_set_sched_info() function.
2025-01-24 13:43:32 +01:00
renpeiying
4cdebaf6ff docs: update translation for esp_eth.rst 2025-01-24 12:16:47 +01:00
Rocha Euripedes
e5ee4207c6 Merge branch 'fix/test_app_certificate' into 'master'
Update test app certificates

Closes IDFCI-2687

See merge request espressif/esp-idf!36540
2025-01-24 18:44:35 +08:00
David Cermak
b708c0195a fix(network/examples): Fix build rules to test builds on for all targets
Uses wifi defines only if wifi is enabled for this target
2025-01-24 10:45:24 +01:00
morris
0407879457 Merge branch 'contrib/github_pr_15273' into 'master'
Fix spelling mistake in all soc/interrupts.h (GitHub PR)

Closes IDFGH-14503 and IDFGH-14502

See merge request espressif/esp-idf!36597
2025-01-24 17:14:42 +08:00
C.S.M
499e04417b Merge branch 'refactor/remove_useless_spi_dma_chan' into 'master'
refactor(spi): Remove useless dma channels

See merge request espressif/esp-idf!36600
2025-01-24 16:55:06 +08:00
morris
11e66825a0 change(gpspi): control hal function placement in the driver component 2025-01-24 16:22:03 +08:00
Sarvesh Bodakhe
572eb92871 fix(wifi): Fix crash when failure_retry_cnt is set in station config
Fixes the regression introduced by 21c2bef602a09ad63f331a788416149484390d80
2025-01-24 13:47:13 +05:30
Mahavir Jain
23ce1cc47d Merge branch 'feature/add_ota_resumption_feature_in_advanced_ota_example' into 'master'
feat(app_utils): add ota resumption feature in advanced_ota_example

Closes IDF-2455, IDF-10421, and IDFGH-12065

See merge request espressif/esp-idf!32927
2025-01-24 15:32:40 +08:00
Wang Meng Yang
5950be0d6e Merge branch 'bugfix/fix_some_pbap_bugs' into 'master'
fix(bt/bluedroid): Fix some bugs in PBAP client

See merge request espressif/esp-idf!36579
2025-01-24 14:50:08 +08:00
Jiang Jiang Jian
6f0dad2814 Merge branch 'fix/stack_overuse_by_failure_retry_cnt' into 'master'
fix(wifi): Fix stack overflow when failure_retry_cnt is set in station configuration

Closes WIFIBUG-977

See merge request espressif/esp-idf!36582
2025-01-24 14:26:34 +08:00
Aditya Patwardhan
05af3a87c7 Merge branch 'feature/esp32h2_eco5_ecc' into 'master'
feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5

Closes IDF-11051, IDF-11399, and DOC-10127

See merge request espressif/esp-idf!34364
2025-01-24 14:12:06 +08:00
Sarvesh Bodakhe
21c2bef602 fix(wifi): Fix stack overflow when failure_retry_cnt is set
Fix issue of increased stack usage when failure_retry_cnt is set
and wifi driver internally retries connection attempts
2025-01-24 13:49:31 +08:00
harshal.patil
21c11caf70
fix(soc): Add the unavailable TRM mentioned RNG_DATA_REG register for C2 and C3 2025-01-24 10:50:05 +05:30
Abhik Roy
73c46b0bc5 Merge branch 'lwip/dhcp_network_changed_fix' into 'master'
fix(lwip): Fixed compilation issue with LWIP_DHCP_RESTORE_LAST_IP

Closes IDFGH-13710

See merge request espressif/esp-idf!36512
2025-01-24 12:08:51 +08:00
C.S.M
ee5ae9a1a4 refactor(spi): Remove useless dma channels 2025-01-24 12:00:49 +08:00
Zhang Shuxian
9643457e5b docs: Update CN translation for size.rst 2025-01-24 11:50:17 +08:00