41923 Commits

Author SHA1 Message Date
gaoxu
d7f7f0ad24 fix(adc): fix adc1 error after bootloader random 2024-12-31 11:28:28 +08:00
Roland Dobai
16ba8b7e4a Merge branch 'feature/add_utf_8_decoding' into 'master'
feat(tools): Enforced utf-8 encoding with Python open() functions

Closes IDF-10654

See merge request espressif/esp-idf!32303
2024-12-30 16:07:29 +08:00
C.S.M
955f7a3053 Merge branch 'feat/xmc_32d_support' into 'master'
feat(spi_flash): support 120M on xmc25q32d flash

See merge request espressif/esp-idf!36056
2024-12-30 15:59:23 +08:00
C.S.M
95f24325e9 feat(spi_flash): support 120M on xmc25q32d flash 2024-12-30 14:11:18 +08:00
Marius Vikhammer
2e6a6c0dd5 Merge branch 'refactor/rtc_time_header' into 'master'
refactor(hw_support): combine esp_hw_support rtc header to a single file

Closes IDF-11950

See merge request espressif/esp-idf!36029
2024-12-30 12:05:52 +08:00
Kevin (Lao Kaiyao)
c39b8729cc Merge branch 'feature/support_rtc_power_done_for_touch_wakeup' into 'master'
feat(touch): support rtc power done for touch wakeup

Closes IDF-11754, IDF-11713, IDF-5241, and IDF-11912

See merge request espressif/esp-idf!35463
2024-12-30 11:24:18 +08:00
Marius Vikhammer
34c7d62855 refactor(hw_support): combine esp_hw_support rtc header to a single file 2024-12-30 10:09:34 +08:00
Jiang Jiang Jian
cc8bef395e Merge branch 'feature/softap_fixes_for_ceritification' into 'master'
WiFi: fixes for issues discovered during SoftAP ceritification

Closes WIFIBUG-778

See merge request espressif/esp-idf!33426
2024-12-28 13:52:25 +08:00
Roland Dobai
9da2e3ad4c Merge branch 'feat/idf_diag' into 'master'
feat: add idf_diag.py reporting tool

Closes IDF-11329

See merge request espressif/esp-idf!34978
2024-12-27 22:00:12 +08:00
Alexey Lapshin
7f80baa1f6 Merge branch 'feature/esp32c5-esp32c61_enable-panic-tests' into 'master'
feat(panic): support HWSG for esp32c5, esp32c61 and enable testing

Closes IDF-8662 and IDF-9269

See merge request espressif/esp-idf!35816
2024-12-27 19:34:25 +08:00
Frantisek Hrbata
949f6cb9f7 feat(tools): add idf.py diag reporting tool
The initial implementation of a diagnostic tool that collects valuable
information about esp-idf and failed build to assist in investigating
reported issues.

The gathered information includes environmental variables, details about
the python virtual environment, installed tools, platform information,
project_description.json, sdkconfig, build logs, map file, linker
scripts, and others.

usage:

1) create the default report

   # allow diag to create the report directory name
   $ idf.py diag
   # explicitly specify the report directory
   $ idf.py diag --output <report directory>

2) examine the contents of the generated <report directory> for
   sensitive information and add additional content to the
   <report directory>

3) create report archive zip file that can be shared or attached to
   the reported issue

   $ idf.py diag --zip <report directory>

The tool collects information as described in what are known as recipe
files. A recipe file is a YAML file, similar to an Ansible playbook or a
GitHub action, but much more simplified. Each recipe outlines how to
gather a set of related information. For instance, the manager.yml
recipe gathers data related to the component manager. Each recipe
includes metadata such as its description, tags, and steps. Tags are
used to determine which recipes to use; by default, all built-in recipes
located in tools/idf_py_actions/diag/recipes are used. Steps consist of
a list of commands to be executed. Currently, there are four commands:
file, exec, env, and glob. For more detailed information about recipes,
their format, and commands, please refer to
tools/idf_py_actions/diag/recipes/README.md.

Recipe example for component manager:

description: IDF Component Manager information
tags: [manager, base, project]
output: manager
steps:
  - name: 'IDF Component Manager'
    cmds:
      - exec:
        cmd: 'python -m idf_component_manager version'
        output: manager.ver
      - file:
        path: '${PROJECT_DIR}/dependencies.lock'
      - glob:
        # Gather all idf_component.yml files from the project directory and
        # save them in directories relative to the project directory within
        # the idf_component directory.
        pattern: 'idf_component.yml'
        recursive: true
        relative: true
        path: '${PROJECT_DIR}'
        output: 'idf_component/'

Create report for manager

1) all recipes with manager tag

   $ idf.py diag --tag manager

2) use only the manager recipe explicitly; built-in recipes can be
   referenced simply by their name, but all recipes can be referenced
   by their path

   $ idf.py diag --recipe manager
   or
   $ idf.py diag --recipe <full path>

To display available recipes, use

   $ idf.py diag --list

and to verify recipes, use

   $ idf.py diag --check

Both --list and --check honers the --tag and --recipe options.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-12-27 12:08:59 +01:00
Frantisek Hrbata
642855c952 feat(tools): add command arguments in the logs produced by RunTool
Currrently, all logs generated by RunTool are stored in files named
idf_py_(stdout|stderr)_output_$$, making it difficult to identify which
log corresponds to which command. To simplify this for idf-diag, include
the command arguments at the beginning of the log. This will allow
idf-diag to use regex to differentiate logs for build, monitor, flash,
and other commands and targets.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-12-27 12:02:23 +01:00
Shreyas Sheth
81940d44bc fix(wifi): Resolve comments for softap fixes 2024-12-27 16:21:52 +05:30
Shreyas Sheth
d0631ec21d fix(wifi): Resolve comments on feature/softap_fixes_for_ceritification 2024-12-27 15:58:47 +05:30
Shreyas Sheth
d6054570e9 fix(wifi): Make sure auth is sent after sae process 2024-12-27 15:58:47 +05:30
Shreyas Sheth
484736976c feat(wifi): Add support for transition_disable for softAP
Bugfix rsnxe len for assoc req
2024-12-27 15:58:47 +05:30
Zhang Shu Xian
10b0d1fa1b Merge branch 'bugfix/add_one_empty_line_to_fix_alignment' into 'master'
bugfix: Add one empty line in esp_sleep.h

Closes DOC-9873

See merge request espressif/esp-idf!35878
2024-12-27 18:27:52 +08:00
Marek Fiala
2c814ef2fa feat(tools): Enforce utf-8 encoding with open() function 2024-12-27 17:12:21 +08:00
Island
305f1c1e5b Merge branch 'feature/ble_mesh_multi_adv_instance_support' into 'master'
Feature/ble mesh multi adv instance support

Closes BLERP-1282

See merge request espressif/esp-idf!35208
2024-12-27 16:42:53 +08:00
morris
4e2dad62ae Merge branch 'bugfix/channel_resolution_calculation' into 'master'
fix(rmt): channel resolution divider rounding issue

Closes IDFGH-14301

See merge request espressif/esp-idf!35989
2024-12-27 16:40:56 +08:00
Wu Zheng Hui
01b1191e8f Merge branch 'fix/fix_p4_usb_phy_bad_suspend_on_lslp' into 'master'
fix(esp_hw_support): fix p4 OTG phy bad suspend cause high power consumption on sleep

Closes PM-136

See merge request espressif/esp-idf!35727
2024-12-27 15:35:44 +08:00
luoxu
689b10e7ac feat(ble_mesh): multi adv instance support 2024-12-27 10:41:18 +08:00
luoxu
30b257c61b feat(ble_mesh): ble mesh queue support 2024-12-27 10:41:18 +08:00
laokaiyao
678ddba550 feat(touch): allow RTC power down during the deep sleep 2024-12-26 19:14:12 +08:00
Zhang Shuxian
ea8aa4437c bugfix: Add one empty line in esp_sleep.h 2024-12-26 18:47:27 +08:00
Jiang Jiang Jian
30c34271bb Merge branch 'bugfix/fix_double_wifi_active_time' into 'master'
fix(wifi): fix double max active time

Closes WIFI-6770

See merge request espressif/esp-idf!35786
2024-12-26 17:36:31 +08:00
Wu Zheng Hui
35cdecb121 Merge branch 'fix/fix_pm_trace_rtc_domain_keeping' into 'master'
fix(esp_pm): enable RTC_PERIPH domain once in esp_pm_trace_init

See merge request espressif/esp-idf!35979
2024-12-26 16:58:41 +08:00
laokaiyao
612236bfd9 fix(touch): fix the coverity issues 2024-12-26 16:37:46 +08:00
morris
9b3ea0cebd fix(rmt): channel resolution divider rounding issue
Closes https://github.com/espressif/esp-idf/issues/15092
2024-12-26 16:28:16 +08:00
Omar Chebib
55955a5cd6 Merge branch 'feat/bootloader_multiboot' into 'master'
feat(bootloader): add an example that implements multiboot

Closes IDF-9409

See merge request espressif/esp-idf!35606
2024-12-26 16:26:26 +08:00
Omar Chebib
6540208f5a Merge branch 'fix/panic_arch_size' into 'master'
fix(esp_system): fix cache error size message

Closes IDF-11769

See merge request espressif/esp-idf!35112
2024-12-26 14:58:22 +08:00
wuzhenghui
ec16bd7132
fix(esp_hw_support): fix p4 OTG phy bad suspend cause high power consumption on sleep 2024-12-26 14:44:22 +08:00
Wu Zheng Hui
12bb853c64 Merge branch 'feat/wait_pll_stable_after_sleep_wakeup' into 'master'
feat(esp_hw_support): wait pll stable after sleep wakeup

Closes PM-280

See merge request espressif/esp-idf!34313
2024-12-26 14:27:07 +08:00
Xu Xiao
80ff7d8615 Merge branch 'enable_esp32c5_ci_test' into 'master'
fix(ci): enable esp32c5 eco1 ci test

See merge request espressif/esp-idf!34898
2024-12-26 14:04:02 +08:00
Alexey Lapshin
b58c9a4219 feat(panic): support HWSG for esp32c5, esp32c61 and enable testing 2024-12-26 12:45:17 +07:00
Omar Chebib
4c8056882b fix(esp_system): fix cache error size message 2024-12-26 10:45:42 +08:00
wuzhenghui
a48dfae871
fix(esp_pm): enable RTC_PERIPH domain once in esp_pm_trace_init 2024-12-26 10:41:49 +08:00
Marius Vikhammer
d8de8c6e40 Merge branch 'bugfix/enable_additional_lp_io_wakeup' into 'master'
fix(lp_io): enable setting edge type wakeup sources for targets that support this

See merge request espressif/esp-idf!35122
2024-12-26 10:41:23 +08:00
C.S.M
fc45b4ffbe Merge branch 'feat/32mbit_address_flash_on_c5' into 'master'
feat(spi_flash): Add 32M flash support on esp32c5

See merge request espressif/esp-idf!35665
2024-12-26 10:28:34 +08:00
Wang Qixiang
5a261da880 Merge branch 'fix/openthread_dns_hook' into 'master'
fix(openthread): Fix external DNS resolve hook for DNS64 client

Closes IDFGH-14276

See merge request espressif/esp-idf!35666
2024-12-26 09:50:21 +08:00
Island
51ccce212e Merge branch 'feature/example_config_test_in_ci' into 'master'
feat(example): add pytest for ble example config test

Closes BLERP-1190 and BLERP-1224

See merge request espressif/esp-idf!34668
2024-12-25 18:42:47 +08:00
Yuan Hong Hui
a4ff6ba643 feat(example): add pytest for ble example config test 2024-12-25 18:42:47 +08:00
Radek Tandler
5b15320600 Merge branch 'bugfix/storage_generic_pytests' into 'master'
fix(ci): Removed storage related entries in known generate test child pipeline warnings

See merge request espressif/esp-idf!35738
2024-12-25 18:37:14 +08:00
Island
32a5b6e40e Merge branch 'bugfix/force_att_tx_q_cleanup' into 'master'
fix(nimble): Add ATT Tx queue cleanup during link disconnection

Closes BT-3927

See merge request espressif/esp-idf!35947
2024-12-25 18:20:17 +08:00
C.S.M
d448c4ed05 feat(spi_flash): Add 32M flash support on esp32c5 2024-12-25 16:06:43 +08:00
Kevin (Lao Kaiyao)
d695060742 Merge branch 'refactor/compatibility_refactor_to_parlio_reg_on_h2' into 'master'
refactor(parlio): refactor for the H2 ECO5 compatibility

See merge request espressif/esp-idf!35936
2024-12-25 13:48:29 +08:00
Omar Chebib
840eef31ce feat(bootloader): add an example that implements multiboot
Add a new example for the bootloader that shows how to override it to implement multiboot.
2024-12-25 12:41:15 +08:00
Omar Chebib
28f1b18675 fix(bootloader): add a new property that contains the default linker scripts 2024-12-25 12:41:15 +08:00
WanqQixiang
6178401bd1 fix(openthread): Fix external DNS resolve hook for DNS64 client 2024-12-25 12:02:47 +08:00
xuxiao
f58311cce9 fix(ci): enable esp32c5 eco1 ci test 2024-12-25 11:21:48 +08:00