Commit Graph

48283 Commits

Author SHA1 Message Date
Vaia Patta
ef4f475a73 docs: fix anonymous flags in various structs
I noticed a few structs where the flags didn't show up correctly in the
docs.
Naming the flag struct makes the individual flags appear properly in the
nested struct.

Merges https://github.com/espressif/esp-idf/pull/17803
Closes https://github.com/espressif/esp-idf/issues/17804
2025-11-19 23:12:17 +08:00
Frantisek Hrbata
b07432e42c Merge branch 'feat/cmakev2_size_targets' into 'master'
fix(cmakev2): add size report targets

Closes IDF-14184

See merge request espressif/esp-idf!43490
2025-11-19 15:18:08 +01:00
Erhan Kurubas
1a4828cca8 Merge branch 'update_jtag_docs' into 'master'
Update jtag docs

Closes OCD-525

See merge request espressif/esp-idf!43210
2025-11-19 13:38:13 +01:00
Martin Vychodil
a6e7046c30 Merge branch 'feat/fatfs_r_0_16' into 'master'
feat(storage/fatfs): Update to FatFS R0.16

Closes IDF-14371

See merge request espressif/esp-idf!42810
2025-11-19 19:47:42 +08:00
Frantisek Hrbata
e08aca162a feat(cmakev2/size): add idf_create_size_report function
The idf_create_size_report function allows for the creation of size
report targets based on the generated link map file. The size report
targets are created using the TARGET option name: "<target>",
"<target>-files", and "<target>-components". These size report targets
are added to the idf_default_project with the TARGET set to "size",
resulting in the creation of "size", "size-files", and "size-components"
targets for the default project.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-19 11:35:36 +01:00
Frantisek Hrbata
e216eeeebc fix(cmakev2/project): unset global variables in idf_project_init macro
The idf_project_init macro is evaluated within the global variable
scope, and currently, there are a few variables still set. Let's ensure
all variables are properly unset to avoid polluting the global variable
namespace.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-19 11:34:03 +01:00
Frantisek Hrbata
bba4446ee0 fix(cmakev2/build): display a warning when the MINIMAL_BUILD property is set
The MINIMAL_BUILD property is not relevant in cmakev2, as only
components explicitly linked through targets are included in the build
by design. Display a warning when this outdated build property is set.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-19 11:34:03 +01:00
Frantisek Hrbata
2b35b5b1bb fix(cmakev2/build): fix the generation of the link map file
The link flag for generating the map file is currently added globally to
the link_options. If multiple executables are generated, the link map
file is overwritten by the last created executable. Since cmakev2
supports building multiple executables, the link map file options need
to be set for each executable individually. To address this, add a new
MAPFILE_TARGET option to the idf_build_executable function. When set,
the link map file will be generated by the linker, and a target
specified in the MAPFILE_TARGET option will be created for the map file.

This also splits the idf_project_default macro.  Only the
idf_project_init macro needs be called within the global scope, as it
includes the project_include.cmake files and the cmake version of the
configuration. The remaining functionality of the idf_project_default
macro is implemented in a __project_default helper function to avoid
polluting the global variable space.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-19 11:33:57 +01:00
Frantisek Hrbata
e97027214e fix(cmakev2/build): pass binary target to idf_build_generate_metadata
Currently, the `idf_build_generate_metadata` function takes an
executable target as an argument, and the binary name is stored in the
`EXECUTABLE_BINARY` property. This approach is inconvenient because a
single executable might generate multiple binary images, making it
unreliable to store the binary image name in the executable property due
to the N:1 relationship. To address this, pass the binary image target
instead of the executable target to the `idf_build_generate_metadata`
function. This change is facilitated by linking the binary target,
executable target, and library interface targets with the following
properties:

binary:EXECUTABLE_TARGET -> executable:LIBRARY_INTERFACE -> library

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-19 11:30:18 +01:00
Frantisek Hrbata
5130b7d228 fix(cmakev2/project): remove temporary workaround for partition and bootloader flash dependencies
With commit b719292b75 ("refactor(build-system): Simplify flash target creation"),
partition table and bootloader components are correctly adding their
dependency on the flash target, so there is no need for this to be done
in the build system. This removes the temporary workaround.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-11-19 11:26:07 +01:00
Sudeep Mohanty
c7b4804ffa Merge branch 'feat/cmakev2_features_and_test_updates' into 'master'
Enable more cmakev2 CI tests and support dfu, uf2 targets

Closes IDF-14181, IDF-14182, and IDF-14183

See merge request espressif/esp-idf!43460
2025-11-19 10:15:08 +01:00
Armando (Dou Yiwen)
47d6c9c227 Merge branch 'fix/fix_sdspi_ci_pytest' into 'master'
sdspi: fixed sdspi pytest check

Closes IDFCI-2620

See merge request espressif/esp-idf!43464
2025-11-19 08:33:41 +00:00
Shen Mengjing
15c6cff6eb docs: Edit the CN translation from AI 2025-11-19 15:35:20 +08:00
Fu Hanxi
11ae9be9ea Merge branch 'ci/macos-tart' into 'master'
Ci/macos tart

Closes ITOPS-165

See merge request espressif/esp-idf!43346
2025-11-19 08:26:55 +01:00
Chen Chen
a59110d9cc Merge branch 'fix/isp_typos' into 'master'
fix(isp): fix some typos in isp document

See merge request espressif/esp-idf!43458
2025-11-19 15:22:25 +08:00
Fu Hanxi
8857ea99a1 Merge branch 'chore/size_json_artifact' into 'master'
chore(ci): update artifact pattern for size.json

Closes CII-6

See merge request espressif/esp-idf!43486
2025-11-19 08:08:16 +01:00
Kevin (Lao Kaiyao)
c94d08b9f2 Merge branch 'reafactor/esp_hal_i2s' into 'master'
feat(hal): graudate the I2S hal driver into a new component

Closes IDF-14078

See merge request espressif/esp-idf!43267
2025-11-19 14:08:20 +08:00
Chen Chen
70a0fb5b7f Merge branch 'fix/handle_shared_intr' into 'master'
Fix/handle shared intr

Closes IDF-12904

See merge request espressif/esp-idf!43149
2025-11-19 11:05:37 +08:00
C.S.M
929c24d6dd Merge branch 'feat/update_esp32s31_socs' into 'master'
feat(esp32s31): Add esp32s31 soc header files part1 (auto generate from a~i)

See merge request espressif/esp-idf!43471
2025-11-19 10:59:39 +08:00
Wu Zheng Hui
27bb77e77c Merge branch 'feat/support_get_pm_lock_aquired_counts' into 'master'
feat(esp_pm): add APIs to get PM lock statistics

Closes IDFGH-16676

See merge request espressif/esp-idf!43002
2025-11-19 10:52:40 +08:00
Wang Meng Yang
f5d1a87f1e Merge branch 'bugfix/refactor_c3_hci_example' into 'master'
refactor(example/bt): Refactor controller_hci_uart example for ESP32-C3/S3 to use UHCI driver

Closes IDF-14345

See merge request espressif/esp-idf!43270
2025-11-19 10:20:16 +08:00
Mahavir Jain
4f7e2a3597 Merge branch 'contrib/github_pr_17894' into 'master'
docs: fix typos in some files (GitHub PR)

Closes IDFGH-16818

See merge request espressif/esp-idf!43463
2025-11-19 00:09:09 +05:30
Fu Hanxi
0922674c04 ci: run macos with tart runners 2025-11-18 17:02:11 +01:00
Alexey Gerenkov
4cf7aebfa0 Merge branch 'extend_freertos_debug_table' into 'master'
change(freertos): add task count and pointer width to OpenOCD debug table

See merge request espressif/esp-idf!43438
2025-11-18 19:21:01 +08:00
morris
3b450469d9 Merge branch 'contrib/github_pr_17858' into 'master'
fix (GitHub PR)

Closes IDFGH-14772

See merge request espressif/esp-idf!43405
2025-11-18 18:51:49 +08:00
Evgeny Torbin
d78c9317be ci: update artifact pattern for size.json 2025-11-18 10:44:40 +01:00
Harshal Patil
b873a82d5b Merge branch 'feat/generic_key_mgr_key_types' into 'master'
Store key_len field in the key_config

See merge request espressif/esp-idf!42692
2025-11-18 15:12:03 +05:30
Sudeep Mohanty
cad80548b1 test(cmakev2): Enable test_build_uf2 for buildv2 CI tests 2025-11-18 15:08:56 +05:30
Sudeep Mohanty
94809d6638 feat(cmakev2): Add uf2 target support for cmakev2
This commit adds support for uf2 targets for cmake2. The following
changes have been made:
- Adds a new tools/cmakev2/uf2.cmake.
- Adds the idf_create_uf2() function to create the uf2 targets. This
  function now takes the executable as an argument thus allowing the uf2
  target to be created per-executable.
- idf_project_default() is updated to create the uf2 targets.
2025-11-18 15:08:53 +05:30
Sudeep Mohanty
a609d5bcd2 test(cmakev2): Enable test_build_dfu for buildv2 CI tests 2025-11-18 15:08:20 +05:30
Sudeep Mohanty
5b0d81bc50 feat(cmakev2): Add dfu target support for cmakev2
This commit adds support for dfu targets for cmake2. The following
changes have been made:
- Adds a new tools/cmakev2/dfu.cmake file on similar lines as the
  tools/cmake/dfu.cmake file.
- Adds the idf_create_dfu() function to create the dfu targets. This
  function now takes the executable as an argument thus allowing the dfu
  target to be created per-executable.
- idf_project_default() is updated to create the dfu target.
2025-11-18 15:08:12 +05:30
Mahavir Jain
7da52654ba Merge branch 'feature/enable_ecc_support_for_esp32h4' into 'master'
feat: enable ecc peripheral support for ESP32H4

Closes IDF-12264

See merge request espressif/esp-idf!41408
2025-11-18 15:03:16 +05:30
Roland Dobai
a295be6658 Merge branch 'feat/ldgen_fast_reflashing' into 'master'
feat(ldgen): initial support for fast reflashing

Closes IDF-14213

See merge request espressif/esp-idf!42780
2025-11-18 10:28:49 +01:00
laokaiyao
bab5a7a8ed refactor(i2s): refactor of the private i2s caps 2025-11-18 16:13:14 +08:00
Ondrej Kosta
e3af4267f1 Merge branch 'fix/multicast_filter_test' into 'master'
fix(esp_eth): maked esp_eth_test_l2 more robust

Closes IDFCI-6131

See merge request espressif/esp-idf!43328
2025-11-18 16:04:12 +08:00
C.S.M
961bd0cf78 Merge branch 'feat/introduce_esp32s31' into 'master'
feat(esp32s31): Introduce new target esp32s31

See merge request espressif/esp-idf!43316
2025-11-18 15:55:16 +08:00
laokaiyao
e8f39b4c8d feat(hal): graudate the I2S hal driver into a new component 2025-11-18 15:47:16 +08:00
morris
614221e9d5 Merge branch 'fix/no_function_call_in_min_max' into 'master'
refactor: avoid function calls inside MIN/MAX macros

See merge request espressif/esp-idf!43429
2025-11-18 15:14:48 +08:00
Song Ruo Jing
30e81e35df Merge branch 'bugfix/uart_c5_stuck_in_update' into 'master'
fix(uart): watchdog got triggered due to uart sclk not exist

Closes IDFGH-15851, IDFGH-16685, IDFGH-16687, IDFCI-2846, and TIDF-228846

See merge request espressif/esp-idf!43279
2025-11-18 14:59:58 +08:00
wuzhenghui
a5b5f19101 docs(esp_pm): add PM lock debugging and profiling documentation 2025-11-18 14:59:22 +08:00
C.S.M
e0d62e664b feat(esp32s31): Add soc registers from a~i 2025-11-18 14:41:25 +08:00
armando
359ada9413 fix(ci): fixed sdspi pytest check 2025-11-18 14:10:22 +08:00
Sudeep Mohanty
f72292b0d7 test(cmakev2): Enable test_rebuild.py for buildv2 CI tests
The test_rebuild_no_changes test verifies that running idf.py build
successively without any file changes results in identical build
artifacts on the second run (i.e., nothing gets rebuilt).

This test was failing in buildv2 because it expected kconfig_menus.json
to be present in build/config/ after a normal build. However, in
cmakev2, kconfig_menus.json is not generated during regular builds.

In cmakev1, kconfig_menus.json was generated globally during every
build alongside other config files (sdkconfig.h, sdkconfig.cmake, etc).

In cmakev2, kconfig_menus.json generation does not happend for
normal builds because it depends on the Kconfig menu hierarchy
and cannot be generated globally. It must be generated per-executable.

Hence, this commit updates the artefacts list for cmakev2 to not expect
the kconfig_menus.json file during a build/re-build action.
2025-11-18 10:12:12 +05:30
Sudeep Mohanty
bf8129433a test(cmakev2): Enabled test_idf_extensions.py for builv2 CI tests 2025-11-18 10:12:12 +05:30
Chen Chen
47f5ac96fb fix(intr_alloc): Fix ISR allocate methods in several drivers 2025-11-18 12:33:03 +08:00
Chen Chen
4467a58fb0 fix(isp): fix some typos in isp document 2025-11-18 12:21:13 +08:00
khanhkhanhlele
22ad2e6c4c Fix typos in some files 2025-11-18 11:17:45 +07:00
Jiang Jiang Jian
2e0748aab9 Merge branch 'bugfix/ftm_terminate_asap' into 'master'
bugfix(wifi): Add the termination dialog token in ASAP FTM

Closes WIFIBUG-1504

See merge request espressif/esp-idf!43404
2025-11-18 11:25:30 +08:00
morris
484bc2ff4b Merge branch 'change/psram_200m_as_default' into 'master'
psram: use 200MHz as default on p4

See merge request espressif/esp-idf!43427
2025-11-18 11:02:42 +08:00
Jiang Jiang Jian
504c82ff6a Merge branch 'bugfix/update_wifi_fragment_doc' into 'master'
docs(wifi): update wifi fragment doc

Closes WIFI-7097

See merge request espressif/esp-idf!43044
2025-11-18 10:50:27 +08:00