Commit Graph

31526 Commits

Author SHA1 Message Date
Chen Jian Hua
f5d9986246 Merge branch 'bugfix/fix_bleqabr23_178' into 'master'
fix(bt/bluedroid): Fix address check when using NRPA as random device address

See merge request espressif/esp-idf!25074
2023-08-07 20:38:32 +08:00
Chen Jian Hua
ad149a6a80 Merge branch 'feature/support_high_duty_adv_interval' into 'master'
feat(bt/bluedroid): Support high duty adv interval setting

See merge request espressif/esp-idf!25108
2023-08-07 20:38:17 +08:00
Lou Tian Hao
791360336a Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep' into 'master'
Feature: support pd hp aon domain in deepsleep

See merge request espressif/esp-idf!25175
2023-08-07 17:28:40 +08:00
morris
29c100b7b8 Merge branch 'docs_add_CN_translation_for_cotribute/copyright-guide.rst_and_install-pre-commit-book.rst' into 'master'
docs: Provide CN translation for contribute/copyright-guide.rst and install-pre-commit-hook.rst

Closes DOC-5883 and DOC-5884

See merge request espressif/esp-idf!25100
2023-08-07 16:14:19 +08:00
morris
5748ce45fe Merge branch 'bugfix/i80_lcd_reset_gpio_config' into 'master'
fix(i80_lcd): reset cs gpio on exit

See merge request espressif/esp-idf!25209
2023-08-07 15:50:42 +08:00
morris
27eec5bb6f Merge branch 'feature/twai_linker_file' into 'master'
feat(twai): Add twai linker.lf to control the placement of driver and hal

Closes IDF-7806

See merge request espressif/esp-idf!25126
2023-08-07 15:21:37 +08:00
Mahavir Jain
f089cd5fab Merge branch 'esp32p4/add_mpi_support' into 'master'
feat(mpi): add MPI peripheral support for esp32p4

See merge request espressif/esp-idf!25110
2023-08-07 13:37:14 +08:00
Roland Dobai
1f6fd9027a Merge branch 'feature/add_esp32p4_public_header_check' into 'master'
CI: enable esp32p4 public header check

See merge request espressif/esp-idf!25166
2023-08-07 12:24:01 +08:00
renpeiying
e6d1e2437a docs: Provide CN translation for contribute/copyright-guide and install-pre-commit-hook 2023-08-07 11:55:30 +08:00
morris
aacd7d84d9 fix(i80_lcd): reset cs gpio on exit 2023-08-07 03:15:21 +00:00
Planck (Lu Zeyu)
7469f34948 feat(twai): Add twai linker.lf to control the placement of driver and hal
- Replace TWAI_ISR_ATTR flag with linker.lf
- Use the linker.lf to control the placement of the driver functions
2023-08-07 10:21:47 +08:00
Linda
ce1b12520c docs: add release notes to versions 2023-08-07 09:13:35 +08:00
Frantisek Hrbata
c5503b3537 ci(tools): fix test_hints.py to run on windows
1. The original test, before hint modules support was added, used
tempfile.NamedTemporaryFile in a way which is not supported on windows.
It was having the file open, which the hints tried to read it, leading
the EPERM exception. The docs[1] says this is not supported.
<quote>
Whether the name can be used to open the file a second time, while the
named temporary file is still open, varies across platforms (it can be
so used on Unix; it cannot on Windows)
</quote>

2. The hint module component_requirements test used the idf.py directly,
which is idf.py.exe on windows.Now it's starting idf.py through python.
We could probably used shell=True, but this approach is used in other
tests too.

Anyway the test are now passing on windows.

[1] https://docs.python.org/3/library/tempfile.html

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Frantisek Hrbata
801bf0053d ci(tools): add tests for component_requirements.py hints module
Following tests were added.

1. Test for missing header directory in component's INCLUDE_DIRS
2. Test for missing dependency in component's PRIV_REQUIRES
3. Test for missing dependency in component's REQUIRES
4. Test for dependency in PRIV_REQUIRES which should be in REQUIRES

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Ivan Grokhotkov
6878ddaa4a feat(tools): idf.py: implement hints for component reqs
Implementation of hint module for component dependency. It can provide
hint about missing header directory in component's INCLUDE_DIRS or
about missing component dependency in REQUIRES or PRIV_REQUIRES.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Ivan Grokhotkov
54d4662107 feat(tools): idf_monitor: support for loadable hint provider modules
Currently hints are supported based on hints.yml only, which may be
limiting for some use cases. This introduces a generic plugin approach,
which allows to implement hint module that doesn't require entry in hints.yml.
Such module has the full command output available and it is not limited to
a single regex in hints.yml.

Note that regex in hint.yml expects the output concatenated into a single line,
but hint modules are getting the output unchanged.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Frantisek Hrbata
ed35c3a94a feat(tools): add global build context
Introduces get_build_context() helper, which allows to get build context, e.g.
project description, at places where this info is not available. The
build context is set within ensure_build_directory.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-08-05 20:13:28 +02:00
Adam Múdry
7d87b6f47f Merge branch 'docs/fatfs_add_api_reference' into 'master'
docs(fatfs): Move mentioned APIs to a separate API reference section

Closes IDF-7710

See merge request espressif/esp-idf!24538
2023-08-05 10:04:25 +08:00
Shang Zhou
de9f310e81 docs: Provide CN translation for wear-levelling.rst 2023-08-04 23:47:44 +00:00
Adam Múdry
ebde53bbb9 docs(fatfs): Move mentioned APIs to a separate API reference section 2023-08-04 23:47:44 +00:00
Cai Xin Ying
4cbb4d446a Merge branch 'docs/add_Chinese_translation_for_three_short_docs_of_api-guides' into 'master'
Docs: provide CN translation for three short docs of api-guides

Closes DOC-5413

See merge request espressif/esp-idf!24133
2023-08-04 23:37:26 +08:00
Cai Xin Ying
0a726af17b Docs: provide CN translation for three short docs of api-guides 2023-08-04 23:37:26 +08:00
Armando
3fdddc2f1b change(ci): enable esp32p4 check public header 2023-08-04 14:13:59 +02:00
Armando
b9708d933f fix(soc): fix ecc_mult_struct.h struct size check 2023-08-04 14:13:59 +02:00
Armando
de68029de9 change(header): modify p4 headers issues from check_header_py 2023-08-04 14:13:59 +02:00
Roland Dobai
f65b787415 Merge branch 'version_check_fix_dev' into 'master'
fix(tools): check_python_version accept dev releases as requirement

See merge request espressif/esp-idf!25185
2023-08-04 20:02:30 +08:00
Linda
6ea12fec18 update the term 1/4-line to 1-line or 4-line 2023-08-04 18:12:20 +08:00
morris
55ea6b78a7 Merge branch 'feature/async_memcpy_rewrite' into 'master'
feat(async_memcpy): refactor driver code to support different DMA backends

See merge request espressif/esp-idf!25050
2023-08-04 17:52:13 +08:00
Adam Múdry
b988242b07 feat(examples): Add storage/nvsgen example
Showcases the use of `nvs_create_partition_image` CMake function
Remove mentions of NVS multipage blob version 1 so it's not encouraged
2023-08-04 11:48:02 +02:00
Jiang Jiang Jian
025be6bbba Merge branch 'bugfix/manage_i2c_clock_with_modem_clock_driver' into 'master'
fix(esp_hw_support): manage i2c_ana_mst clock with modem clock driver

Closes IDF-7939 and BT-3368

See merge request espressif/esp-idf!25132
2023-08-04 17:34:51 +08:00
Wang Meng Yang
3da60ec6e7 Merge branch 'bugfix/remove_deprecated_err_code' into 'master'
fix(bt): Removed an incorrectly defined HCI error code in Bluedroid

See merge request espressif/esp-idf!25162
2023-08-04 17:26:47 +08:00
Peter Dragun
e0abb5b414 fix(tools): check_python_version accept dev releases as requirement 2023-08-04 09:52:05 +02:00
morris
a296532715 Merge branch 'bugfix/temperature_get_value_negative' into 'master'
bugfix(temperature_sensor): Fix issue that get the value is negative

See merge request espressif/esp-idf!25165
2023-08-04 15:24:11 +08:00
Alexey Lapshin
23c89cdab3 Merge branch 'fix/skip-test-gdbstub-runtime-xtensa-stepping-bug' into 'master'
fix(gdbstub): skip xtensa_stepping_bug testcase until fixed

Closes IDFCI-1777

See merge request espressif/esp-idf!25207
2023-08-04 15:22:54 +08:00
wuzhenghui
8b5052f213 fix(light_sleep): save vddsdio_config before lightsleep 2023-08-04 11:58:07 +08:00
wuzhenghui
0b0e8ab80b fix(light_sleep): suspend/resume cache correspondingly after light sleep 2023-08-04 11:56:55 +08:00
Alexey Lapshin
16f34704cb fix(gdbstub): skip xtensa_stepping_bug testcase until fixed 2023-08-04 07:41:21 +04:00
C.S.M
40532cb820 Merge branch 'bugfix/esp32s3_lack_boot_resume' into 'master'
bugfix(spi_flash): Add flash resuem in bootloader on esp32s3

See merge request espressif/esp-idf!25163
2023-08-04 11:24:56 +08:00
Wang Meng Yang
8e5aebe69e Merge branch 'bugfix/fix_bt_3379' into 'master'
fix(bt): Fix phy enable and disable for bt controller on esp32c3

See merge request espressif/esp-idf!25012
2023-08-04 10:52:24 +08:00
wuzhenghui
c34cdd05e9 fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver 2023-08-04 10:39:43 +08:00
Xiong Wei Chao
0331e6fabd Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout' into 'master'
bt: Fix disconnection due to lmp messages not being processed by both sides

Closes BTQABR2023-38 and BTQABR2023-37

See merge request espressif/esp-idf!24757
2023-08-04 10:23:26 +08:00
Jiang Jiang Jian
ea33db32ac Merge branch 'bugfix/fix_ftm_error_propagation' into 'master'
Fix error propagation while initiating FTM

Closes WIFIBUG-23

See merge request espressif/esp-idf!25118
2023-08-04 08:35:58 +08:00
Jiang Jiang Jian
5ab6f5f0bb Merge branch 'bugfix/allow_owe_traffic_after_eapol' into 'master'
Fix some OWE issues

Closes WIFIBUG-10, WIFIBUG-29, and WIFIBUG-58

See merge request espressif/esp-idf!25071
2023-08-04 05:01:23 +08:00
morris
6eabfc2c9f Merge branch 'feature/gptimer_interrupt_priority' into 'master'
feat(gptimer): support set interrupt priority

Closes IDF-7954

See merge request espressif/esp-idf!25125
2023-08-04 04:10:45 +08:00
Bogdan Kolendovskyy
87d8273bda Merge branch 'feature/eth_loopback_test' into 'master'
esp_eth/test_apps: add loopback test

Closes IDF-6186

See merge request espressif/esp-idf!23858
2023-08-04 02:12:10 +08:00
Aditya Patwardhan
e468d2220f Merge branch 'bugfix/secure_ota_without_padding' into 'master'
fix(secure_ota): secure app verification issue without padding bytes

Closes IDFGH-10784

See merge request espressif/esp-idf!25156
2023-08-03 22:07:07 +08:00
Chen Jian Xing
c4562571e2 Merge branch 'docs/update_multi_antenna_switch_docs' into 'master'
Docs/update multi antenna switch docs

Closes WIFI-5582, WIFI-5561, and DOC-2914

See merge request espressif/esp-idf!22937
2023-08-03 21:27:46 +08:00
Adam Múdry
5e5220a77c docs: Refactor table for nvs_create_partition_image arguments 2023-08-03 15:10:33 +02:00
Nachiket Kukade
fc3798f590 fix(wifi): Fix error propagation while initiating FTM 2023-08-03 16:59:28 +05:30
Bogdan Kolendovskyy
224ba396f1 esp_eth: add loopback test, change chip drivers to reflect chip specific behaviour
In esp_eth_test_apps.c:
Add test of loopback functionality. Change speed/duplex/autonegotiation test - remove need to enable loopback (required
for it to work on some phys supported by ESP-IDF)

In Kconfig.projbuild:
Add parameters to select which configuration is used - standard or custom.
Add for custom configuration parameters to select MDC and MDIO pins (required to work with WESP-32 and other boards that
use non-standard pin assignments).

In esp_eth_test_common.c:
Add code to support changes made in Kconfig

In sdkconfig.ci.default_rtl8201:
Change config which is used. Now custom is used and MDC is gpio 16, MDIO is gpio 17. Reuqired to work with WESP-32

In esp_eth_phy_802_3.h:
Make 802.3 API public.

In esp_eth_phy_802_3.c:
Add loopback check in eth_phy_802_3_set_duplex(). Now ESP_ERR_INVALID_STATE is invoked on attempt to set duplex to half
when loopback is enabled.
Remove static property from esp_eth_phy_802_3_autonego_ctrl and esp_eth_phy_802_3_loopback.

In esp_eth_phy_dm9051.c:
Add dm9051_loopback() because DM9051 requires setting additional bit to enable auto-negotiation loopback for data to be
received. Add dm9051_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is
enabled because such speed configuration is unsupported.

In esp_eth_phy_ksz80xx.c:
Add ksz80xx_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is enabled
because such speed configuration is unsupported.

In esp_eth_phy_ksz8851snl.c:
Change phy_ksz8851_set_duplex() to invoke ESP_ERR_INVALID_STATE on attempt to set duplex to half when loopback is enabled.

In  esp_eth_phy_dp83848.c, esp_eth_phy_rtl8201.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.

In esp_eth_phy_lan87xx.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.
Fix link indicating being down when loopback is enabled by force setting link up.
2023-08-03 13:18:44 +02:00