Commit Graph

33526 Commits

Author SHA1 Message Date
Peter Dragun
9effe1aba6 fix(tools): idf.py: fix detection of raw core dump file
When idf.py coredump-debug is launched with '--core' argument, it
tries to determine the file format (raw, elf, b64). To detect the
'raw' core dump the code checked if the version word matched one of
the known values.
However, the version word also contains the chip ID in the high
half-word, so the check failed for anything other than the ESP32.
The detection of core file format has been moved to esp-coredump
package in version 1.9.0, including the fix for chip ID.

Reported in https://github.com/espressif/esp-idf/issues/10852
2023-12-11 11:17:54 +01:00
Jiang Jiang Jian
6a34106488 Merge branch 'contrib/github_pr_12559_v5.2' into 'release/v5.2'
fix(spi): correct macro REG_SPI_BASE(i) for all targets (GitHub PR) (v5.2)

See merge request espressif/esp-idf!27708
2023-12-11 16:01:48 +08:00
Jiang Jiang Jian
ff14e382a4 Merge branch 'bugfix/some_wifi_fixes_v5.2' into 'release/v5.2'
fix(wifi): fix some wifi issues

See merge request espressif/esp-idf!27736
2023-12-11 16:00:29 +08:00
Jiang Jiang Jian
499625be33 Merge branch 'save_twdt_to_coredump_v5.2' into 'release/v5.2'
feat(coredump): save twdt panic output to coredump elf file (v5.2)

See merge request espressif/esp-idf!27756
2023-12-11 14:51:33 +08:00
Jiang Jiang Jian
a2b96227ac Merge branch 'bugfix/fix_rtc_us_to_cycle_div_zero_in_deepsleep_v5.2' into 'release/v5.2'
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process (backport v5.2)

See merge request espressif/esp-idf!27763
2023-12-11 10:57:19 +08:00
Jiang Jiang Jian
1ef5c02c37 Merge branch 'feature/reinitialize_icg_map_in_modem_module_enable_v5.2' into 'release/v5.2'
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable (backport v5.2)

See merge request espressif/esp-idf!27765
2023-12-11 10:56:45 +08:00
Anton Maklakov
aefe0722a0 Merge branch 'feature/qemu-esp-develop-8.1.3-20231206_v5.2' into 'release/v5.2'
feat(tools): update qemu to esp-develop-8.1.3-20231206 (v5.2)

See merge request espressif/esp-idf!27784
2023-12-11 10:52:09 +08:00
Anton Maklakov
96ba61f89f Merge branch 'ci/git_strategy_optimization_v5.2' into 'release/v5.2'
ci: optimize git strategy (v5.2)

See merge request espressif/esp-idf!27793
2023-12-11 10:27:36 +08:00
Ivan Grokhotkov
985cc9318a Merge branch 'feature/storage_nvs_find_key_v5.2' into 'release/v5.2'
feat(nvs_flash): Added function nvs_find_key (v5.2)

See merge request espressif/esp-idf!27806
2023-12-11 10:11:54 +08:00
Ivan Grokhotkov
8f79c54242 Merge branch 'feature/update_strorage_test_config_v5.2' into 'release/v5.2'
feat(storage): update config for app tests (v5.2)

See merge request espressif/esp-idf!27805
2023-12-11 10:11:29 +08:00
radek.tandler
6949092234 feat(nvs_flash): Added function nvs_find_key
Closes https://github.com/espressif/esp-idf/issues/12155
2023-12-09 09:12:31 +01:00
Tomáš Rohlínek
ad25a90d6a feat(storage): minimize platforms for tests 2023-12-09 09:01:21 +01:00
Tomáš Rohlínek
d5dc04693d feat(storage): add dependencies for tests 2023-12-09 09:01:21 +01:00
Tomáš Rohlínek
aca0d3ad17 feat(storage): update config for app tests 2023-12-09 09:01:21 +01:00
Roland Dobai
a36d8bc742 Merge branch 'fix/coredump_port_v5.2' into 'release/v5.2'
fix(tools/coredump): do not detect port when core file is used (v5.2)

See merge request espressif/esp-idf!27670
2023-12-08 21:29:39 +08:00
liuning
3fdbfb2069 fix(wifi): fix disconnected abnormal sleep 2023-12-08 13:08:55 +00:00
muhaidong
87cc516338 fix(wifi): fix psram enabled but initialized fail issue
Closes https://github.com/espressif/esp-idf/issues/11971
2023-12-08 13:08:55 +00:00
zhangyanjiao
c26660e504 fix(wifi/mesh): fix connection and opmoode error in mesh
1. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router

Closes https://github.com/espressif/esp-idf/issues/12646
2023-12-08 13:08:55 +00:00
Jiang Jiang Jian
da169340f9 Merge branch 'bugfix/fix_dhcp_server_can_not_restore_address_pool_issue_5.2' into 'release/v5.2'
fix(dhcp server):dhcp server can not restore address pool 5.2

See merge request espressif/esp-idf!27740
2023-12-08 21:05:00 +08:00
Fu Hanxi
0fe3ec63a0
ci: optimize git strategy 2023-12-08 11:00:19 +01:00
Roland Dobai
7778ab2759 Merge branch 'feat/manifest_check_v5.2' into 'release/v5.2'
feat: use esp-idf-sbom pre-commit plugin (v5.2)

See merge request espressif/esp-idf!27748
2023-12-08 16:54:23 +08:00
Ivan Grokhotkov
fdf04b3198 feat(tools): update qemu to esp-develop-8.1.3-20231206
https://github.com/espressif/qemu/releases/tag/esp-develop-8.1.3-20231206
2023-12-08 15:35:26 +07:00
wuzhenghui
debcb50fd2
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable 2023-12-08 14:18:45 +08:00
wuzhenghui
7b3c08e37a
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-08 13:59:52 +08:00
Jiang Jiang Jian
db15c0e183 Merge branch 'fix/coexist_reg_esp32c6_set_default_value_v5.2' into 'release/v5.2'
fix(esp_coex): fix esp32c6 coex reg reset issue (backport v5.2)

See merge request espressif/esp-idf!27739
2023-12-08 11:14:58 +08:00
Marius Vikhammer
a5dc34f416 Merge branch 'refactor/soc_caps_multiple_cores_v5.2' into 'release/v5.2'
change(docs): Update multicore tags to SOC_CPU_HAS_MULTIPLE_CORES (v5.2)

See merge request espressif/esp-idf!27743
2023-12-08 10:56:26 +08:00
Erhan Kurubas
d9d388dae7 feat(coredump): save twdt panic output to coredump elf file 2023-12-07 15:21:24 +01:00
Jiang Jiang Jian
97594d2076 Merge branch 'backport/add_config_to_set_custom_mac_as_base_mac_v5_2' into 'release/v5.2'
feat(mac): Add a configuration to set custom MAC as base MAC(Backport V5.2)

See merge request espressif/esp-idf!27738
2023-12-07 21:03:51 +08:00
Jiang Jiang Jian
0a1e5846c7 Merge branch 'bugfix/fix_sm_inject_return_value_v5.2' into 'release/v5.2'
fix(nimble): Added change to return success for API execution (v5.2)

See merge request espressif/esp-idf!27725
2023-12-07 21:03:34 +08:00
Frantisek Hrbata
a6cbcb91d2 feat: use esp-idf-sbom pre-commit plugin
Currently sbom manifest is checked only in .gitmodules and
this check is done in pre-commit and also in CI. Meaning it's running
three times(pre-commit before push if user has it enabled, in CI
as there is the pre-commit run again and again with test in CI). Since
esp-idf-sbom contains a full manifest validation support and pre-commit
plugin for it, let's use it. This removes all the current sbom testing
and replaces it with a signle pre-commit plugin which validates all
manifests files(sbom.yml, idf_component.yml, .gitmodules and also
referenced manifests) in repository. Note that this checks all
manifests, not only ones which were modified. The check is reasonably
fast though, so it should not cause any problem. The reason for
validating all manifest files is that we want to make sure that the sbom
information in .gitmodules is updated too and that the hash
recorded in .gitmodules is up-to-date. Meaning submodule update
would not trigger this plugin, because no manifest was changed.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-07 13:22:47 +01:00
Darian Leung
3c8cccc73b change(docs): Update multicore tags to SOC_HP_CPU_HAS_MULTIPLE_CORES
Previously, documentation sections that were only meant for multicore ESP
targets would use tags that depend on CONFIG_FREERTOS_UNICORE. This is not
ideal as project configuration can be changed by the user.

This commit updates those tags to use SOC_HP_CPU_HAS_MULTIPLE_CORES which is
always defined in multicore targets regardless of project configuration.
2023-12-07 17:59:44 +08:00
Darian Leung
a7e2ea76d8 change(soc): Add SOC_HP_CPU_HAS_MULTIPLE_CORES
This commit adds a the SOC_HP_CPU_HAS_MULTIPLE_CORES convenience macro to
soc_caps.h. This is a convenience boolean cap to represent whether or not the
target has multiple cores, and is intended to be used when writing docs for
multiple targets.
2023-12-07 17:53:18 +08:00
Marius Vikhammer
8005821b09 Merge branch 'change/deprecate_legacy_xtensa_include_path_v5.2' into 'release/v5.2'
change(xtensa): Deprecate legacy include paths (v5.2)

See merge request espressif/esp-idf!27673
2023-12-07 17:27:38 +08:00
Island
1f2d548fbb Merge branch 'backport/fix_ble_menuconfig_v5.2' into 'release/v5.2'
Backport/fix ble menuconfig v5.2(backport v5.2)

See merge request espressif/esp-idf!27498
2023-12-07 16:25:30 +08:00
xueyunfei
841339c012 fix(dhcp server):dhcp server can not restore address pool 2023-12-07 15:18:45 +08:00
morris
1fb97c1718 Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk_v5.2' into 'release/v5.2'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk (v5.2)

See merge request espressif/esp-idf!27600
2023-12-07 15:11:26 +08:00
xiaqilin
39a383981d fix(esp_coex): fix esp32c6 coex reg reset issue 2023-12-07 15:07:06 +08:00
morris
61bd19b446 Merge branch 'bugfix/fix_adc_cali_error_after_light_sleep_wake_on_h2_v5.2' into 'release/v5.2'
adc: fix calibration error when waking up from light sleep on H2 and enable test (v5.2)

See merge request espressif/esp-idf!27602
2023-12-07 14:29:55 +08:00
morris
4e5757f1ab Merge branch 'refactor/uart_read_bytes_from_ringbuf_v5.2' into 'release/v5.2'
change(uart): improved the internal logic of uart_read_bytes (v5.2)

See merge request espressif/esp-idf!27701
2023-12-07 14:23:05 +08:00
zwx
0d4d3c103f feat(mac): Add a configuration to set custom MAC as base MAC 2023-12-07 14:14:55 +08:00
Rahul Tank
f8736aed36 fix(nimble): Added change to return success for API execution 2023-12-07 09:40:12 +05:30
Mahavir Jain
37bf8dff6b Merge branch 'fix/esp32p4-memory-layout_v5.2' into 'release/v5.2'
fix(heap): Update the heap memory layout on esp32p4 target (backport v5.2)

See merge request espressif/esp-idf!27097
2023-12-07 11:52:14 +08:00
Jiang Jiang Jian
90d69b38b2 Merge branch 'bugfix/bod_reset_c6_h2_v5.2' into 'release/v5.2'
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again(backport v5.2)

See merge request espressif/esp-idf!27722
2023-12-07 10:51:29 +08:00
Jiang Jiang Jian
f32321e6a5 Merge branch 'bugfix/authcomplete_failure_v5.2' into 'release/v5.2'
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.2)

See merge request espressif/esp-idf!27619
2023-12-07 10:47:52 +08:00
Jiang Jiang Jian
968b15d380 Merge branch 'fix/rng_register_prefix_discrepency_newer_targets_v5.2' into 'release/v5.2'
Fix: RNG register prefix discrepancy for ESP32C6 and ESP32H2 (v5.2)

See merge request espressif/esp-idf!27683
2023-12-07 10:46:15 +08:00
Jiang Jiang Jian
fdd8d4284f Merge branch 'bugfix/fix_uart_disabled_in_driver_cause_restart_stuck_v5.2' into 'release/v5.2'
fix(esp_system): fix uart clock disabled in driver cause esp_restart stuck (backport v5.2)

See merge request espressif/esp-idf!27693
2023-12-07 10:35:07 +08:00
Cao Sen Miao
191466d824 fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again 2023-12-06 19:46:44 +08:00
Island
56563f7092 Merge branch 'bugfix/fix_some_ble_bugs_v5.2' into 'release/v5.2'
Fixed some BLE bugs (backport v5.2)

See merge request espressif/esp-idf!27694
2023-12-06 19:21:22 +08:00
wanlei
572a66b62e fix(spi): correct some signals and dummy bits docs 2023-12-06 16:05:36 +08:00
TD-er
a4bfa19ebd fix(spi): Correct REG_SPI_BASE(i) macro for all targets
The existing formula can never match these registers.

Closes https://github.com/espressif/esp-idf/pull/12559
Closes https://github.com/espressif/esp-idf/pull/12562
2023-12-06 14:44:26 +08:00