Commit Graph

28429 Commits

Author SHA1 Message Date
Darian Leung
a8b9314353 esp_ringbuf: Clarify behavior when sending items of 0 size
Ring buffers permit sending items of 0 size where:

- No-split/allow-split buffers will send an item (i.e., header) but the item
will have a 0 sized data section
- Byte buffers will simply return pdTRUE

This commit fixes an incorrect assert w.r.t 0 item size in
xRingbufferSendAcquire() and also adds a note to the API descriptions regarding
0 item sizes. A test case has also been added.
2023-02-28 23:56:45 +08:00
Darian Leung
443d87c2ff esp_ringbuf: Replace internal semaphores with task event lists
This commit replaces the existing TX/RX semaphores with FreeRTOS task event
lists (similar to how FreeRTOS queues implement task blocking). Using task
event lists allows the ring buffer object to be smaller and various ring buffer
functions to be faster. The ring buffer queue set impelementation was also
updated as a result.
2023-02-28 23:56:45 +08:00
Jiang Jiang Jian
df13918c80 Merge branch 'fix/tinyusb/string_desc' into 'master'
tinyusb: Do not access string descriptor array out of boundaries

Closes IDF-6943

See merge request espressif/esp-idf!22497
2023-02-28 22:46:59 +08:00
Shu Chen
e8784f3641 Merge branch 'feature/add_154_ci_for_c6' into 'master'
IEEE802.15.4: replace ESP32-H4 with ESP32-C6 for 154 CI

See merge request espressif/esp-idf!22149
2023-02-28 22:38:12 +08:00
Tomas Sebestik
783a688dcb Merge branch 'fix/dangerjs_wip_exact_match' into 'master'
ci: Fix DangerJS check for MR title - exact match WIP and DRAFT

See merge request espressif/esp-idf!22538
2023-02-28 21:45:48 +08:00
Shen Wei Long
20cc537044 Merge branch 'bugfix/fix_assertion_when_deinit_ble_controller' into 'master'
[esp32c2] Fixed the occasional assertion when deinit the ble controller

Closes BT-3203

See merge request espressif/esp-idf!22455
2023-02-28 20:53:21 +08:00
Mahavir Jain
4db6cae2d6 Merge branch 'fix/mbedtls_test_app_perf_logs_esp32c2' into 'master'
mbedtls/test_apps: Fix performance logs

See merge request espressif/esp-idf!22340
2023-02-28 19:50:56 +08:00
Jiang Jiang Jian
df00fd874f Merge branch 'feature/modbus_remove_example_tests' into 'master'
modbus remove example tests

Closes IDFCI-1222

See merge request espressif/esp-idf!22434
2023-02-28 19:50:26 +08:00
Jiang Jiang Jian
b9d40b4943 Merge branch 'feature/add_esp_http_client_host_test' into 'master'
fix esp_http_client_example to build for Linux target.

See merge request espressif/esp-idf!22339
2023-02-28 19:48:24 +08:00
Jiang Jiang Jian
60a7fe99f7 Merge branch 'bugfix/set_component_relative_path' into 'master'
Nimble: component path relative to IDF

Closes IDFGH-9429

See merge request espressif/esp-idf!22424
2023-02-28 19:46:30 +08:00
Shu Chen
2f5b54111d Merge branch 'bugfix/ot-spinel-uart-radio-frame-loss' into 'master'
openthread: add the configurable option of uart buffer size

See merge request espressif/esp-idf!22451
2023-02-28 19:13:08 +08:00
Tomas Sebestik
4ebab0c28e Reformulated "missing JIRA links" message 2023-02-28 10:21:26 +01:00
Wan Lei
c2d090d174 Merge branch 'test/h2_mcpwm_fix_legacy_test' into 'master'
mcpwm: fix h2 mcpwm legacy test

Closes IDF-6812

See merge request espressif/esp-idf!22510
2023-02-28 16:42:17 +08:00
Martin Vychodil
25e438d94b Merge branch 'feature/sdspi_host_h2' into 'master'
sdspi: h2 support

Closes IDF-6244

See merge request espressif/esp-idf!22504
2023-02-28 16:32:36 +08:00
Tomas Sebestik
fd3c8a0d3e Fix DangerJS check for MR title - exact match WIP and DRAFT 2023-02-28 09:31:55 +01:00
Martin Vychodil
e4bb430743 Merge branch 'refactor/fix_code_coverity_issue' into 'master'
fatfs: fix deadcode issue

Closes IDF-6913

See merge request espressif/esp-idf!22413
2023-02-28 15:39:22 +08:00
Armando (Dou Yiwen)
a9ce76096d Merge branch 'feature/esp_cache_msync' into 'master'
esp_mm: esp_cache_msync, a cache synchronise API

Closes IDF-6587, IDF-6779, and IDF-6288

See merge request espressif/esp-idf!22380
2023-02-28 15:17:49 +08:00
Xu Si Yu
6212ba6d35 IEEE802154: replace esp32h4 with esp32c6 for IEEE802.15.4 CI test 2023-02-28 15:04:04 +08:00
Jiang Jiang Jian
146a5c4de4 Merge branch 'feature/sae_softAP' into 'master'
esp_wifi: WPA3-SAE support for softAP

Closes IDFGH-4771

See merge request espressif/esp-idf!15690
2023-02-28 12:25:05 +08:00
Shreyas Sheth
2b8e40e760 esp_wifi: WPA3-SAE support for softAP 2023-02-28 12:25:05 +08:00
Chen Yu Dong
62fc6ff430 Merge branch 'ci/test_env_of_efuse_with_virt_sb_v2_and_fe' into 'master'
CI: change test env of test_examples_efuse_with_virt_sb_v2_and_fe

See merge request espressif/esp-idf!22506
2023-02-28 11:41:34 +08:00
wanlei
3c7cd1f061 spi: enable h2 spi multi board test 2023-02-28 11:31:15 +08:00
wanlei
08ecf47dd4 mcpwm: fix h2 mcpwm legacy test 2023-02-28 11:31:15 +08:00
Armando
4c0d6b6835 mbedtls: updated to use default gdma psram alignment
When accessing the PSRAM, the GDMA buffer alignment should be larger or
equal to the data cache line size
2023-02-28 10:42:22 +08:00
Armando
663e881868 gdma: fix potential unaligned cache writeback issue 2023-02-28 10:42:22 +08:00
Armando
1ecd1e3bf0 esp_mm: fix dependency to esp_psram 2023-02-28 10:42:22 +08:00
Armando
fda9746bb8 esp_mm: cache_msync API 2023-02-28 10:42:22 +08:00
Song Ruo Jing
8486a2c3ad Merge branch 'bugfix/revert_rtc_clock_bbpll_power_on_with_usb' into 'master'
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep

Closes IDFGH-6887

See merge request espressif/esp-idf!20973
2023-02-27 23:18:54 +08:00
Jiang Jiang Jian
d013bedbbe Merge branch 'feature/add_pcl_example_blecent' into 'master'
Nimble:Added power control API usage demo in blecent app

See merge request espressif/esp-idf!22319
2023-02-27 19:47:55 +08:00
Jiang Jiang Jian
7320e10d20 Merge branch 'bugfix/restart_ext_adv_after_discovery' into 'master'
Nimble: Updated bleprph example to re-enable ext adv after advertising is completed

See merge request espressif/esp-idf!22369
2023-02-27 19:46:44 +08:00
Chen Jian Xing
05ce3cecef Merge branch 'bugfix/remove_-Wno-formate_in_mesh_example' into 'master'
wifi_mesh: Remove-Wno-format compile option for mesh examples

Closes IDF-6435

See merge request espressif/esp-idf!22253
2023-02-27 19:43:09 +08:00
Armando
0a472225cc fatfs: fix deadcode issue 2023-02-27 11:25:29 +00:00
Harshit Malpani
ae403c6210
Add test for Linux in pytest_esp_http_client.py 2023-02-27 15:12:15 +05:30
Harshit Malpani
af686f2eed
tcp_client: fix missing header file 2023-02-27 15:12:15 +05:30
Harshit Malpani
34705c0cc4
fix esp_http_client_example to build for Linux target. Made protocol_examples_common compatible for Linux target 2023-02-27 15:12:14 +05:30
Harshit Malpani
214627f14b
mbedtls: Keep CONFIG_MBEDTLS_DYNAMIC_BUFFER disabled for Linux target 2023-02-27 15:12:14 +05:30
Mahavir Jain
ad19981af8 Merge branch 'feature/esp32h2_enable_flash_encryption' into 'master'
Feature/esp32h2 enable flash encryption

Closes IDF-6282 and IDF-6680

See merge request espressif/esp-idf!22502
2023-02-27 16:55:32 +08:00
Armando
83d0181a2c sdspi: h2 support 2023-02-27 14:39:06 +08:00
Mahavir Jain
2c8c8bfd2d Merge branch 'bugfix/fix_build_issue_esp_tls_server_session_tickets' into 'master'
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.

Closes IDFGH-9392

See merge request espressif/esp-idf!22381
2023-02-27 12:45:23 +08:00
Song Ruo Jing
1a66459b44 usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
   During sleep, BBPLL clock always gets disabled
   esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
   When this option is selected, IDF will constantly monitor USB CDC port connection status.
   As long as it gets connected to a HOST, automatic light-sleep will not happen.

Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
Armando (Dou Yiwen)
dc76dde79f Merge branch 'feature/support_c6_cache' into 'master'
cache: support c6/h2 cache error

Closes IDF-5342, IDF-5656, and IDF-6255

See merge request espressif/esp-idf!22078
2023-02-27 11:40:18 +08:00
Jiang Jiang Jian
30a46d0754 Merge branch 'feature/gatt_server_improvements' into 'master'
NimBLE/Host: Gatt Server Improvements

See merge request espressif/esp-idf!22357
2023-02-26 21:18:11 +08:00
Jiang Jiang Jian
a9646eb1e9 Merge branch 'feature/separate_coex_lib_from_wifi_lib' into 'master'
feature: separate coex lib from wifi lib

See merge request espressif/esp-idf!21791
2023-02-26 21:13:33 +08:00
liuning
db11eaecdc feature: separate coex lib from wifi lib, support esp32c6 internal coex
update wifi, coex, phy libs
2023-02-26 06:58:18 +00:00
liuning
31e340ee0d esp_coex: correct wrapper names 2023-02-26 06:58:18 +00:00
wangmengyang
2c4fc5d9ea bt: add coexistence internal API declarations and clean up some unused coexistence hooks 2023-02-26 06:58:18 +00:00
liuning
b3a040aa98 coex: apply new coex_schm_callback 2023-02-26 06:58:18 +00:00
wangmengyang
1661694e0b bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller 2023-02-26 06:58:18 +00:00
liuning
7817c23623 esp_coex: correct Kconfig name 2023-02-26 06:58:18 +00:00
zhangwenxu
4697d85944 esp_coex: support i154 set coex pti 2023-02-26 06:58:18 +00:00