27162 Commits

Author SHA1 Message Date
Kapil Gupta
4b29d8340b esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose 2023-08-03 10:58:53 +05:30
Mahavir Jain
ca087a174d Merge branch 'feat/update_cjson_submodule_v5.0' into 'release/v5.0'
feat: Update cJSON version to v1.7.16 (v5.0)

See merge request espressif/esp-idf!25138
2023-08-03 13:10:05 +08:00
Mahavir Jain
6fa9586fd8 Merge branch 'esp_prov/update_deprecation_warnings_v5.0' into 'release/v5.0'
fix(esp_prov): Fixed the deprecation APIs warnings (v5.0)

See merge request espressif/esp-idf!25151
2023-08-03 12:48:57 +08:00
Jiang Jiang Jian
7744f7888c Merge branch 'docs/rewrite_all_low_to_any_low_when_not_esp32_v5.0' into 'release/v5.0'
Docs: rewrite_all_low_to_any_low_when_not_esp32(backport v5.0)

See merge request espressif/esp-idf!24998
2023-08-03 11:39:58 +08:00
Jiang Jiang Jian
cbb4126f71 Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep_v5.0' into 'release/v5.0'
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data (backport v5.0)

See merge request espressif/esp-idf!25089
2023-08-03 11:39:05 +08:00
Roland Dobai
6daffb32b3 Merge branch 'bugfix/ps_export_extra_paths_v5.0' into 'release/v5.0'
tools: export.ps1: define functions for helper python tools (v5.0)

See merge request espressif/esp-idf!25140
2023-08-02 21:17:30 +08:00
Island
6531a415f2 Merge branch 'ble_mesh/esp32c6_BLEQABR23-266v5.0' into 'release/v5.0'
ble mesh: stack: return error when scanning failed to be enabled(v5.0)

See merge request espressif/esp-idf!24774
2023-08-02 21:07:21 +08:00
Wu Meng Shi
e81d8f8329 ble mesh: stack: return error when scanning failed to be enabled(v5.0) 2023-08-02 21:07:20 +08:00
harshal.patil
01a870bd8a fix(esp_prov): Fixed the deprecation APIs warnings
- Updated the extraction of service_uuids using AdvertisementData
- Replaced the `get_services()` API with the `services` property
2023-08-02 17:22:18 +05:30
Ivan Grokhotkov
c5d3f350a0 feat(tools): add espsecure.py to the Windows export scripts
This is not needed on Linux/macOS where the path to esptool directory
is added to PATH.
2023-08-02 10:44:15 +02:00
Ivan Grokhotkov
4153351bb8 change(tools): export.ps1: define functions for helper python tools
Follows the approach used in Initialise-Idf.ps1 created by the tools
installer. This is the closes equivalent of "alias" used in export.bat

Closes https://github.com/espressif/esp-idf/issues/9849
2023-08-02 10:44:15 +02:00
Harshit Malpani
c6caa80d4c
feat: Update cJSON version to v1.7.16
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16
2023-08-02 13:54:33 +05:30
Lou Tianhao
6a7646e5f4 docs(pm/sleep): rewrite_all_low_to_any_low_when_not_esp32 2023-08-02 15:23:03 +08:00
Island
6db7b11d7e Merge branch 'doc/c2_5.0' into 'release/v5.0'
c2 5.0 doc, header files re-organized

See merge request espressif/esp-idf!25112
2023-08-01 23:11:33 +08:00
Rahul Tank
339dff07f3 Merge branch 'bugfix/remove_52_feature_macro' into 'release/v5.0'
fix(nimble): Update Menuconfig option to remove separate 5.2 feature option

See merge request espressif/esp-idf!24954
2023-08-01 21:42:47 +08:00
luomanruo
3fd6493ade c2 5.0 doc, header files re-organized 2023-08-01 14:43:11 +08:00
Rahul Tank
9ec33f6a68 Merge branch 'bugfix/l2cap_coc_more_one_pkt_v5.0' into 'release/v5.0'
NimBLE: Fixed crash when L2CAP COC sends large amount of data. (v5.0)

See merge request espressif/esp-idf!25060
2023-08-01 14:01:21 +08:00
Krzysztof Budzynski
8beb1a2f8d Merge branch 'docs/add_Chinese_translation_for_api-guides/openthread.rst_backport_v5.0' into 'release/v5.0'
provide CN translation for api-guides/openthread.rst (backport v5.0)

See merge request espressif/esp-idf!25047
2023-08-01 13:15:18 +08:00
Cai Xin Ying
8a187da064 provide CN translation for api-guides/openthread.rst (backport v5.0) 2023-08-01 13:15:17 +08:00
wuzhenghui
652bc76354 fix(lightsleep): fix access pu_cfg after sleep wakeup which is linked to flash 2023-07-31 21:36:27 +08:00
wanglai@espressif.com
f5ad81e04a fix(bt/bqb): Modify BQB related configurations 2023-07-31 18:18:29 +08:00
wanglai@espressif.com
543a0aaa25 feat(bt): Add BQB enabling and rfcomm msc command sending support
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
   only address arg input.
2023-07-31 17:58:01 +08:00
Alexey Gerenkov
ea3f68824f fix(app_trace): Fix apptrace data corruption on ESP32-S3
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
 #endif

 #define TRACEMEM_MUX_BLK0_NUM                   22
-#define TRACEMEM_MUX_BLK1_NUM                   23
+#define TRACEMEM_MUX_BLK1_NUM                   26

 #if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
 #error Invalid TRAX block 0 num!
2023-07-31 11:20:44 +03:00
wuzhenghui
2236c2fd34 fix(lightsleep): suspend cache before goto sleep to avoid cache load wrong data after spi io isolation 2023-07-31 15:35:00 +08:00
wanlei
1283619767 cache: refactor cache_utils into cache_hal instade 2023-07-31 15:34:56 +08:00
wanlei
68e07d90ba cache: fix cache suspended/resumed twice on S3 2023-07-31 15:08:18 +08:00
Aditya Patwardhan
049c219c8c Merge branch 'docs/add_protocomm_trans_v5.0' into 'release/v5.0'
Docs: add CN translation for api-reference/provisioning/protocomm.rst (backport v5.0)

See merge request espressif/esp-idf!25035
2023-07-31 15:05:49 +08:00
Cai Xin Ying
082a2972cd Docs: add CN translation for api-reference/provisioning/protocomm.rst (backport v5.0) 2023-07-31 15:05:48 +08:00
isha.pardikar@espressif.com
3fc8422fe6 NimBLE: Fixed crash when L2CAP COC sends large amount of data. 2023-07-28 15:58:48 +05:30
Frantisek Hrbata
951510489d fix(test_submodules.py): don't rely on submodule init
Current version of the test is using "git-submodule foreach", which
requires submodules to be initialized. Non-initialized submodules are
ignored. Our CI is not performing submodule initialization, but instead
it only downloads the submodule content in tools/ci/ci_fetch_submodule.py
from cache and copies it into the submodule path.

Since we already know the submodule path from .gitconfig, we can use it
as argument to git-ls-tree and avoid calling git-submodule at all. This
allows to perform the test even if the submodules are not initialization
and also it makes the code simpler.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-07-28 12:14:41 +02:00
Shyamal Khachane
29777aaa51 fix(esp_wifi): Drop Eapol msg if EAP success is not processed 2023-07-28 15:26:20 +05:30
Darian Leung
70dde52e91 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-07-28 11:36:20 +02:00
Darian Leung
9935a17b1d usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-07-28 11:34:54 +02:00
Jiang Jiang Jian
f572b91024 Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc_v5.0' into 'release/v5.0'
bugfix: fix wifi espnow coexist api doc v5.0

See merge request espressif/esp-idf!25023
2023-07-28 17:19:27 +08:00
caixinying-git
832f1f9f0b docs: provide CN tranlsation for api-guides/hardware-abstraction.rst 2023-07-28 14:38:20 +08:00
morris
62b7ed25f3 Merge branch 'feature/usb/update_cdc_examples_backport_v5.0' into 'release/v5.0'
usb: Update host CDC examples (backport v5.0)

See merge request espressif/esp-idf!23073
2023-07-28 10:33:59 +08:00
morris
8e5718fd0c Merge branch 'bugfix/bod_intr_v5.0' into 'release/v5.0'
brownout: Disable the hardware BOD when BOD interrupt is enabled(backport v5.0)

See merge request espressif/esp-idf!24693
2023-07-28 10:32:19 +08:00
liuning
57335c9051 fix(esp_wifi): fix ret when setting channel at wifi not started 2023-07-27 19:09:07 +08:00
darshan.dobariya
9fa4ff5300 fix(nimble): Update Menuconfig option to remove separate 5.2 feature option 2023-07-27 14:38:53 +05:30
liuning
332a4d3bef feat(esp_wifi): add ESPNOW power-save example 2023-07-27 14:23:58 +08:00
Jiang Jiang Jian
c920123629 Merge branch 'bugfix/fix_some_wifi_bugs_230726_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs 230726(Backport v5.0)

See merge request espressif/esp-idf!25000
2023-07-27 13:51:21 +08:00
Roland Dobai
35c484324f Merge branch 'bugfix/debug_ext_ctrl_c_v5.0' into 'release/v5.0'
tools: fix waiting on gdb process when interrupted with CTRL+C (v5.0)

See merge request espressif/esp-idf!24934
2023-07-26 21:09:52 +08:00
muhaidong
8b59c17ef0 fix(wifi): fix some wifi bugs 230726
1. process association request verify ssid
2. fix ftm timer macro issue
3. lower the dhcp discover and request retry backoff time
2023-07-26 16:52:13 +08:00
zhanghaipeng
cb85b7b7a7 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-26 16:39:06 +08:00
zhanghaipeng
aff7ff1a9f docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-26 16:39:06 +08:00
zhanghaipeng
0e9974a918 fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-26 16:39:06 +08:00
muhaidong
210ffa0475 fix(wifi): missed annotate ld function from txop fix 2023-07-26 11:54:10 +08:00
Jiang Jiang Jian
b4b4306677 Merge branch 'bugfix/sae_and_nvs_fixes_v5.0' into 'release/v5.0'
Fix SAE and SAE related NVS issues (Backport v5.0)

See merge request espressif/esp-idf!24956
2023-07-26 11:06:29 +08:00
Jiang Jiang Jian
ba0ab6687d Merge branch 'change/rewrite_all_low_to_any_low_when_not_esp32' into 'release/v5.0'
Change: rewrite EXT1 triggle mode all_low to any_low when not esp32(backport v5.0)

See merge request espressif/esp-idf!24988
2023-07-26 10:17:43 +08:00
Lou Tianhao
3727d56c82 Change: rewrite EXT1 triggle mode all_low to any_low when not esp32 2023-07-25 17:53:33 +08:00