Commit Graph

30475 Commits

Author SHA1 Message Date
Mahavir Jain
4d95619595 Merge branch 'fix/mmu_hal_valid_vaddr_check_v5.1' into 'release/v5.1'
fix(hal): Fix the external memory vaddr region validity check (v5.1)

See merge request espressif/esp-idf!25154
2023-08-23 18:17:53 +08:00
Mahavir Jain
10e100f584 Merge branch 'feature/update_mbedtls_v5.1' into 'release/v5.1'
feat(mbedtls): Update to release/v3.4.1 (v5.1)

See merge request espressif/esp-idf!25394
2023-08-23 18:17:20 +08:00
Mahavir Jain
75692c96e2 Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable_v5.1' into 'release/v5.1'
feat(mbedtls): support ecp fixed-point multiplication configurable (backport v5.1)

See merge request espressif/esp-idf!25286
2023-08-23 18:16:20 +08:00
Mahavir Jain
a1defb4fd9 Merge branch 'feature/wifi_prov_event_security_session_v5.1' into 'release/v5.1'
wifi_prov: Exposed events for secure session establishment and credential mismatch (v5.1)

See merge request espressif/esp-idf!25474
2023-08-23 18:16:07 +08:00
Mahavir Jain
0f849d4c40 Merge branch 'bugfix/secure_ota_without_padding_v5.1' into 'release/v5.1'
fix(secure_ota): secure app verification issue without padding bytes (v5.1)

See merge request espressif/esp-idf!25211
2023-08-23 18:15:30 +08:00
wuzhenghui
1d0b4ceeef ci(wifi): add wifi powersave pytest case 2023-08-23 18:02:03 +08:00
wuzhenghui
b9186e7b22 feat(esp_wifi): support get AP info from stdin in wifi powersave example 2023-08-23 18:00:48 +08:00
wuzhenghui
c517a15dd2 fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep 2023-08-23 18:00:48 +08:00
cjin
fa806d758a ble: move phy enabled/disable to controller enable/disable 2023-08-23 17:56:33 +08:00
Island
6cca4bddd2 Merge branch 'bugfix/esp32c6_heap_corruption_v5.1' into 'release/v5.1'
Bugfix/esp32c6 heap corruption v5.1

See merge request espressif/esp-idf!25333
2023-08-23 17:52:31 +08:00
Shang Zhou
3a3c9a73f0 docs: Update CN translation for get-started/index.rst 2023-08-23 11:19:43 +02:00
radim.karnis
4e88f767cd docs(idf-tools): Add uninstallation instructions 2023-08-23 11:19:33 +02:00
Aditya Patwardhan
d710a83982 Merge branch 'bugfix/sha_dma_mode_incorrect_result_v5.1' into 'release/v5.1'
fix(sha): DMA mode iteration calculation issue for certain data lengths (v5.1)

See merge request espressif/esp-idf!25127
2023-08-23 17:11:44 +08:00
renpeiying
99d0cff1ba docs: Provide CN translation for contribute/index.rst 2023-08-23 15:48:42 +08:00
luomanruo
f35959d7d1 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:21:20 +08:00
Laukik Hase
a0da805f2b
fix(hal): Fix the external memory vaddr region validity check
- For c6 and h2, the vaddr end calculated was off by 1
  byte.
2023-08-22 15:24:02 +05:30
Laukik Hase
9d905d18bb
wifi_prov: Fix build issue when building only for sec1 or sec2 2023-08-22 15:21:48 +05:30
Laukik Hase
fcb98e5851
wifi_prov: Exposed events for secure session establishment 2023-08-22 15:21:48 +05:30
KonstantinKondrashov
c93310956a refactor(esp_timer): Remove duplicate code and move it to a common file 2023-08-22 17:22:24 +08:00
Alan Fisher
eef3a90871 fix(esp_timer): Fix delay in ISR dispatch callbacks
Set the following alarm before calling the alarm handler.

Closes https://github.com/espressif/esp-idf/pull/11637
Closes https://github.com/espressif/esp-idf/issues/11636
2023-08-22 17:22:24 +08:00
KonstantinKondrashov
d521b7d52a fix(examples): Fix example build errors caused by the deep_sleep funcs are returnable 2023-08-22 16:17:32 +08:00
KonstantinKondrashov
7ac7d43541 fix(app_update): Fix CI test_switch_ota by increasing deepsleep
It increases the deepsleep time from 2000 to 20000.
2000 is too small for esp32-s3 chip.
2023-08-22 16:10:49 +08:00
Aditya Patwardhan
d3c99ed3b8 Merge branch 'update/version_5_1_1' into 'release/v5.1'
Update version to 5.1.1

See merge request espressif/esp-idf!25443
2023-08-22 14:40:50 +08:00
Nachiket Kukade
c05a0b4c50 fix(supplicant): Ignore EAPOL non-key frames in EAPOL txdone callback 2023-08-21 18:06:32 +05:30
Aditya Patwardhan
e088c3766b versions: Update version to 5.1.1 2023-08-21 14:24:40 +05:50
Sarvesh Bodakhe
2791508094 fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode 2023-08-21 12:35:50 +05:30
luomanruo
757bd78247 update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-21 11:49:14 +08:00
Jin Cheng
3638d265ed fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-21 11:21:56 +08:00
Planck (Lu Zeyu)
e5394440df fix(intr_flags_to_level): fix value returned one more than correct value 2023-08-21 10:08:49 +08:00
chenjianhua
62f5905be2 bluedroid: fixed compile warning when optimize for performance 2023-08-19 12:26:19 +08:00
Jiang Jiang Jian
8d2dbd461f Merge branch 'bugfix/eapol_txdone_cb_issue_v5.1' into 'release/v5.1'
Fix EAPOL Key TxDone callback implementation (Backport v5.1)

See merge request espressif/esp-idf!25381
2023-08-18 14:36:25 +08:00
Harshit Malpani
7eae1e4534
feat(mbedtls): Update to release/v3.4.1 2023-08-17 17:33:22 +05:30
Darian Leung
96b312ddde soc: Move revision MAX/MIN static assert to esp_hw_support
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:

- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.

This commit moves the static assert "revision.c" in "esp_hw_support".
2023-08-17 15:26:23 +08:00
Darian Leung
c98aa927f6 usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-08-17 15:26:23 +08:00
Michael (XIAO Xufeng)
5d78511eac Merge branch 'bugfix/temperature_get_value_negative_v5.11' into 'release/v5.1'
bugfix(temperature_sensor): Fix issue that get the value is negative (backport v5.1)

See merge request espressif/esp-idf!25251
2023-08-17 15:24:29 +08:00
Frantisek Hrbata
3e8b1a90cc 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-17 07:57:39 +02:00
Frantisek Hrbata
41f029d654 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-17 07:57:38 +02:00
Ivan Grokhotkov
0a029f4bf4 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-17 07:57:38 +02:00
Ivan Grokhotkov
924857d0b4 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-17 07:57:38 +02:00
Frantisek Hrbata
148b7f9a56 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-17 07:57:38 +02:00
Jiang Jiang Jian
cd2172935d Merge branch 'bugfix/fix_esp32h2_wakeup_pll_enable_access_flash' into 'release/v5.1'
fix(esp_hw_support): fix esp32h2 wakeup process access flash cause stuck on v5.1

See merge request espressif/esp-idf!25379
2023-08-17 11:53:19 +08:00
morris
77b74ab091 Merge branch 'bugfix/spi_bus_unify_defualt_mosi_level_v5.1' into 'release/v5.1'
spi: unify default mosi level on all targets (v5.1)

See merge request espressif/esp-idf!25014
2023-08-17 10:13:05 +08:00
Cao Sen Miao
45288496fb bugfix(temperature_sensor): Fix issue that get the value is negative 2023-08-17 10:06:22 +08:00
Nachiket Kukade
feecbad7db fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-16 19:26:22 +05:30
wuzhenghui
d5396e1d84 fix(esp_hw_support): fix esp32h2 wakeup process access flash cause crash 2023-08-16 20:44:16 +08:00
zwl
05e44b1021 ble: Added adv report flow control config on ESP32C6 and ESP32H2 2023-08-16 19:37:09 +08:00
zwl
fb6f00158e ble: fixed heap corruption on esp32c6 and esp32h2 2023-08-16 19:37:03 +08:00
Jiang Jiang Jian
461db723f1 Merge branch 'bugfix/fix_disassociation_callback_miss_free_key_lead_memory_leak_issue_v5.1' into 'release/v5.1'
fix(wifi): fix disassociation callback miss free key issue(Backport v5.1)

See merge request espressif/esp-idf!25360
2023-08-16 19:18:28 +08:00
muhaidong
98c39e28c8 fix(wifi): fix disassociation callback miss free key issue 2023-08-15 18:01:43 +08:00
Nebojsa Cvetkovic
075bbb526c twai: twai_driver_install() returns error on interrupt allocation failure
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.

Closes https://github.com/espressif/esp-idf/pull/11494

[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-08-15 03:26:10 +00:00