Commit Graph

27271 Commits

Author SHA1 Message Date
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
Mahavir Jain
080214b31a ci(test): add SHA DMA mode test for large data in PSRAM
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:48 +00:00
Mahavir Jain
66b718ac82 fix(sha): DMA mode iteration calculation issue for certain data lengths
SHA hardware DMA mode calculation had off-by-one error for specific
input lengths. This was causing last chunk of the input data not being
fed to the hardware accelerator and hence resulting in an incorrect
final result.

Closes: https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:48 +00: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
Darian Leung
aeef81cde7 usb_host: Run formatting script 2023-07-28 10:39:37 +02:00
Darian Leung
3c7776cd58 usb_host: Fix spelling errors 2023-07-28 10:36:41 +02:00
Darian Leung
f5f3196c01 usb_host: Refactor USBH and USB Host Library calls to HCD
This commit refactors the USBH and the USB Host Library in the following ways:

- USBH now presents an abstraction of an endpoint (via usbh_ep_handle_t)
    - Added separate functions to enqueue/dequeue URBs to a particular endpoint
    - USB Host Library no longer calls HCD API directly. Calls USBH endpoint API
      instead.
- Renamed "notif_cb" to "proc_req_cb" (Processing Request Callback)
    - This is to avoid confusion with FreerTOS task notifications and Host
      Library client event notifications.
    - The processing functions of each layer (i.e., "xxx_process()") request
      calls via the "proc_req_cb"
    - The main handling function (i.e., usb_host_lib_handle_events()) is
      responsible for calling the required "xxx_process()" of each layer
2023-07-28 10:36:41 +02: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
Shyamal Khachane
585cbec17b fix(wifi): Fix SAE and SAE related NVS issues
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
morris
c36f5fb77a Merge branch 'contrib/github_pr_11810_v5.0' into 'release/v5.0'
ledc.c: Fix frequency calculation. (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24698
2023-07-25 16:15:05 +08:00
morris
3fba3425f1 Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v5.0' into 'release/v5.0'
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v5.0)

See merge request espressif/esp-idf!24512
2023-07-25 11:04:57 +08:00
morris
598c1fa7e2 Merge branch 'bugfix/fix_gpio_driver_calloc_v5.0' into 'release/v5.0'
fix(gpio): fix potential crash when processing gpio isr (v5.0)

See merge request espressif/esp-idf!24902
2023-07-25 11:03:09 +08:00
Roland Dobai
5b440d1bd1 Merge branch 'ci/update_pre_commit_copyright_checker_v5.0' into 'release/v5.0'
ci(pre-commit): Use the newest copyright checker (v5.0)

See merge request espressif/esp-idf!24908
2023-07-24 21:08:25 +08:00
Mahavir Jain
22d34feac4 Merge branch 'ci/fix_failures_in_esp_http_client_example_v5.0' into 'release/v5.0'
CI: fix esp_http_client example failures in CI. Timeout was observed in the... (v5.0)

See merge request espressif/esp-idf!24950
2023-07-24 17:17:23 +08:00