Commit Graph

5077 Commits

Author SHA1 Message Date
Peter Marcisovsky
e87bb08216 feat(us/host): set device cfg during enumeration
- user callback funciton to set device configuration
      as a part of usb_host_install
    - callback provides device descriptor of a device being enumerated
    - user can set which cfg descriptor the USB device will be set with
    - user can filter device enumeration
    - Kconfig menu to enable callback function
    - usb_host_lib example demonstration
2024-03-01 10:15:02 +01:00
Roshan Bangar
e7302b533c fix(nimble): Corrected acl data handling code in bleprph_host_only 2024-03-01 12:54:53 +05:30
Roshan Bangar
39c27275c8 feat(nimble): Nimble Host only mode over uart 2024-03-01 12:54:53 +05:30
SumeetSingh19
0dbfe37505 feat(nimble): additional AD types for advertisements 2024-03-01 12:54:53 +05:30
SumeetSingh19
5b0c32e37f feat(nimble): authorization permission on gatt read and write 2024-03-01 12:54:53 +05:30
Cao Sen Miao
9df0678421 fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-03-01 10:51:31 +08:00
Harshit Malpani
fd859d8931 fix(esp_http_client): Add test case in esp_http_client example
Add a test case in esp_http_client example to test HTTP_METHOD_HEAD
with async mode
2024-02-29 12:00:58 +08:00
Rahul Tank
2b07dbf875 Merge branch 'bugfix/fix_blufi_deinit_v5.1' into 'release/v5.1'
Blufi : Corrected blufi host deinit API (v5.1)

See merge request espressif/esp-idf!29000
2024-02-28 17:51:57 +08:00
morris
37e0e8ab53 Merge branch 'bugfix/soft_uart_send_dummy_byte_v5.1' into 'release/v5.1'
fix(peripheral_drivers/dedicated_gpio): Remove dummy byte from the emulate_uart_send routine (backport v5.1)

See merge request espressif/esp-idf!28687
2024-02-28 11:43:38 +08:00
morris
bfd1cfd382 Merge branch 'feature/rmt_encoder_memory_allocator_v5.1' into 'release/v5.1'
feat(rmt): added a help function for allocating encoder memory (v5.1)

See merge request espressif/esp-idf!28791
2024-02-28 11:39:58 +08:00
Jiang Jiang Jian
467780474f Merge branch 'bugfix/fix_double_free_coc_v5.1' into 'release/v5.1'
fix(nimble): Removed double free of packet (v5.1)

See merge request espressif/esp-idf!29032
2024-02-28 11:14:40 +08:00
Jiang Jiang Jian
2e9916bf7c Merge branch 'feat/support_get_bluedroid_status_v5.1' into 'release/v5.1'
Support get status of bluedroid host (backport v5.1)

See merge request espressif/esp-idf!28882
2024-02-28 11:14:10 +08:00
Jiang Jiang Jian
0cc6903e15 Merge branch 'feature/spi_eth_no_int_v5.1' into 'release/v5.1'
feat(esp_eth): added SPI Ethernet module polling mode (v5.1)

See merge request espressif/esp-idf!29045
2024-02-28 11:11:01 +08:00
Jiang Jiang Jian
2f6c902be8 Merge branch 'ci/enable_ip101_jobs_v5.1' into 'release/v5.1'
ci(esp_eth): enabled Ethernet ip101 jobs (v5.1)

See merge request espressif/esp-idf!28611
2024-02-28 10:45:11 +08:00
Jiang Jiang Jian
1553b5b1d1 Merge branch 'feature/case_for_ot_sleepy_ci' into 'release/v5.1'
ci(openthread): add a test case for openthread sleepy device

See merge request espressif/esp-idf!28280
2024-02-28 10:41:10 +08:00
Jiang Jiang Jian
2817a67c94 Merge branch 'ble_dev/added_ble_power_save_pytest_v5.1' into 'release/v5.1'
Added pytest case for BLE power save example v5.1

See merge request espressif/esp-idf!28595
2024-02-27 19:58:17 +08:00
Mahavir Jain
ebbacf49cf Merge branch 'bugfix/fix_esp_http_client_build_failure_with_wifi_v5.1' into 'release/v5.1'
fix: fix esp_http_client_example build failure (v5.1)

See merge request espressif/esp-idf!28761
2024-02-27 18:49:46 +08:00
Omar Chebib
6519b60c47 fix(peripheral_drivers/dedicated_gpio): Remove dummy byte from the emulate_uart_send routine
Let the user application decide for when to send the dummy byte instead of
hardcoding it from the assembly routine.
2024-02-26 11:42:03 +08:00
wuzhenghui
c97f5d79d9
ci: enable hardware crypto module for powersave tests 2024-02-23 18:30:22 +08:00
Ondrej Kosta
8d8fd2b765 feat(esp_eth): added SPI Ethernet module polling mode
Closes https://github.com/espressif/esp-idf/issues/12682
2024-02-15 14:27:45 +00:00
Rahul Tank
0b0648eddb fix(nimble): Removed double free of packet 2024-02-13 14:40:51 +05:30
Adam Múdry
910c82b27c fix(examples): Disable formatting SD cards in storage examples by default 2024-02-08 14:22:45 +01:00
Roshan Bangar
52d36bee61 Blufi : fix blufi deinit 2024-02-08 17:14:00 +05:30
InfiniteYuan
34b0450241 ble_mesh: example: fix the structure init order to meet C++ requirements
Closes https://github.com/espressif/esp-idf/issues/8110
2024-02-07 13:05:23 +08:00
chenjianhua
cf1008a064 fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3 2024-02-04 16:50:27 +08:00
morris
dcf0d5b67c feat(rmt): added a help function for allocating encoder memory
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE

Closes https://github.com/espressif/esp-idf/issues/13032
2024-01-30 17:03:54 +08:00
Harshit Malpani
276ebe98a0
fix: fix esp_http_client_example build failure
Fixed the build failure of esp_http_client_example for ESP32-C6 when
build with Wi-Fi enabled
2024-01-29 11:36:26 +05:30
Shu Chen
81ee463f54 feat(ieee802154): make the receive done handler feature mandatory 2024-01-26 17:00:38 +08:00
xieqinan
918705d6e0 feat(zigbee): Updated Zigbee examples to align with esp-zigbee-lib v1.0.9 2024-01-26 17:00:31 +08:00
zwx
e2e54312da feat(openthread): support openthread radio caps rx on when idle 2024-01-25 14:14:51 +08:00
Mahavir Jain
d7e275c408 Merge branch 'feat/add_ble_support_in_local_ctrl_example_v5.1' into 'release/v5.1'
fix(examples): Fix encoding issue in esp_local_ctrl's proto script (v5.1)

See merge request espressif/esp-idf!28128
2024-01-24 15:04:45 +08:00
Jin Cheng
bc3c3ac417 Revert "fix(bt/bluedroid): corrected the strings of A2DP audio states"
This reverts commit 00052aa208.
2024-01-24 10:48:10 +08:00
Xu Si Yu
abaa9f2bfe ci(openthread): Add a test case for openthread sleepy device 2024-01-23 16:11:29 +08:00
Adam Múdry
8cd9f33235 feat: LittleFS bump version to 1.13.0 2024-01-22 20:23:28 +08:00
sonika.rathi
dbc3a2a80b feat(example/storage/littlefs): add LittleFS demo example 2024-01-22 20:23:28 +08:00
Ondrej Kosta
e9db535290 ci(esp_eth): enabled Ethernet ip101 jobs 2024-01-22 12:46:33 +01:00
cjin
cdb421f08f feat(ble): added pytest for ble power save example 2024-01-22 10:56:52 +08:00
xiongweichao
22e6e5be06 fix(ble): Fixed the issue of being unable to enter light sleep
- Fixed the issue where light sleep cannot be entered when external 32k XTAL does not exist
2024-01-22 10:49:00 +08:00
luomanruo
6c8fa646e4 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:14:05 +08:00
Jin Cheng
00052aa208 fix(bt/bluedroid): corrected the strings of A2DP audio states 2024-01-04 17:53:51 +08:00
zhanghaipeng
401653364d fix(bt/bluedroid): Optimize ble remove all bonded devices function 2023-12-30 20:39:57 +08:00
zhanghaipeng
9f478a8305 fix(bt/bluedroid): Update ble ibeacon example document 2023-12-30 20:39:47 +08:00
zhanghaipeng
a76b44602c fix(bt/bluedroid): Update ble gattc gatts coex example 2023-12-30 20:39:37 +08:00
Jiang Jiang Jian
8b84071f6a Merge branch 'backport/fix_ble_prepare_write_v5.1' into 'release/v5.1'
Backport/fix ble prepare write v5.1

See merge request espressif/esp-idf!27909
2023-12-29 12:01:01 +08:00
Jiang Jiang Jian
04895043f5 Merge branch 'feat/support_esp32c3_v1.1_wifi_v5.1' into 'release/v5.1'
feat(wifi): support esp32c3 v1.1 WiFi(v5.1)

See merge request espressif/esp-idf!27914
2023-12-28 16:56:49 +08:00
Alexey Lapshin
ddc3b14fdb fix(app_trace): Fix SystemView build 2023-12-28 12:08:57 +04:00
alanmaxwell
58de97b193 fix(wifi): change default flash freq from 40M to 80M for esp32 in iperf 2023-12-27 16:47:00 +08:00
zwx
66efe67609 fix(ieee802154): introduce a receive done handler feature 2023-12-26 19:12:11 +08:00
Shu Chen
f922e43625 Merge branch 'backport/some_openthread_related_features_v51' into 'release/v5.1'
Backport some openthread related features (backport v5.1)

See merge request espressif/esp-idf!28055
2023-12-26 17:27:27 +08:00
harshal.patil
d62f61dc47
fix(examples): Fix encoding issue in esp_local_ctrl's proto script 2023-12-26 14:03:09 +05:30
zhanghaipeng
6ae956d81c fix(bt/bluedroid): Fix prepare write for BLE example 2023-12-23 20:19:37 +08:00
Roshan Bangar
a95bf9e0c3 feat(nimble): added HID over Gatt profile support 2023-12-22 11:23:05 +05:30
zwx
abe36b97a5 fix(openthread): fix ot netif destroy netif order issue 2023-12-21 15:16:28 +08:00
Mahavir Jain
b38ee33b6d Merge branch 'bugfix/fix-clean-up-in-error-condition-in-http-example_v5.1' into 'release/v5.1'
fix(example/http): Fixed potential memory leak/crash in when handling error condition (v5.1)

See merge request espressif/esp-idf!27875
2023-12-20 16:41:29 +08:00
zhangyanjiao
61ae9bd8e2 fix(wifi/mesh): fix the IE crypto disable error and update doc 2023-12-19 19:15:49 +08:00
muhaidong
baeed9fb6a fix(wifi): update scan example for scan get ap records 2023-12-19 19:15:49 +08:00
zhanghaipeng
103656e7a2 feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-18 11:51:29 +08:00
zhanghaipeng
d0e9b33f5d docs(bt/bluedroid): Update ble example document 2023-12-18 11:51:29 +08:00
morris
7a32d046bd Merge branch 'fix/spi_lcd_example_fix_border_pixel_display_v5.1' into 'release/v5.1'
fix(spi_master): fixed lcd example block border pixel issue (v5.1)

See merge request espressif/esp-idf!27920
2023-12-15 16:03:30 +08:00
Roshan Bangar
e8503d6efe feat(nimble): Added example support for Current Time Service 2023-12-14 20:24:20 +05:30
wanlei
94fb5232ce fix(spi_master): fixed lcd example block border pixel issue 2023-12-14 17:17:36 +08:00
Zim Kalinowski
4c93085e4a
fix(example/http): Fixed potential memory leak/crash in when handling error condition 2023-12-13 10:05:19 +05:30
xiaqilin
ef4f420663 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-12-08 08:03:32 +00:00
Jiang Jiang Jian
d52d82ee83 Merge branch 'doc/change_deepsleep_example_readme_v5.1' into 'release/v5.1'
Doc/change deepsleep example readme v5.1

See merge request espressif/esp-idf!27447
2023-12-08 11:20:50 +08:00
Jiang Jiang Jian
bc3a75d5ba Merge branch 'fix/esp_netif_lock_v5.1' into 'release/v5.1'
fix(esp_netif): Lock netif list with TCPIP context (v5.1)

See merge request espressif/esp-idf!26710
2023-12-08 11:18:09 +08:00
Jiang Jiang Jian
c3de87083f Merge branch 'fix/remove_deprecated_bt_example_sdkfonfigs_v5.1' into 'release/v5.1'
ci(bt/bluedroid): remove configs that are not in effect (backport v5.1)

See merge request espressif/esp-idf!27282
2023-12-08 11:17:18 +08:00
Marius Vikhammer
25507da236 Merge branch 'bugfix/import_lib_example_url_v5.1' into 'release/v5.1'
fix(build-system/example): Removed dead URL for downloading tinyxml2 (v5.1)

See merge request espressif/esp-idf!27661
2023-12-07 16:56:49 +08:00
Shu Chen
46d52c81f9 Merge branch 'backport5.1/ot_examples_config' into 'release/v5.1'
fix(openthread): openthread examples config (backport v5.1)

See merge request espressif/esp-idf!27553
2023-12-06 21:44:08 +08:00
morris
5cf65ce766 Merge branch 'fix/usb_host_soc_caps_backport_v5.1' into 'release/v5.1'
USB host soc caps (backport v5.1)

See merge request espressif/esp-idf!27399
2023-12-06 09:59:53 +08:00
Marius Vikhammer
81ab5f7fb7 fix(build-system/example): Updated dead URL for downloading tinyxml2
The import_lib example contained a fallback mirror for downloading tinyxml2 sources
but this link was dead. If this mirror was used it would cause the build to fail.
2023-12-05 12:32:33 +08:00
Xu Si Yu
d13e47596b fix(openthread): add eventfd nums for spi interface 2023-12-04 17:51:25 +08:00
Shu Chen
c9babf8cb3 fix(openthread): remove invalid configs from ot examples 2023-12-04 17:51:25 +08:00
Lou Tianhao
5d4a786354 docs(pm):change_deepsleep_example_readme 2023-12-04 07:39:11 +00:00
Liu Linyan
1bfd5e35af fix(ble_mesh): Enable relay by default for the specific dev role 2023-11-30 12:29:37 +08:00
Ivan Grokhotkov
a803c846aa Merge branch 'bugfix/console_examples_reenable_v5.1' into 'release/v5.1'
examples: re-enable console examples for C2, C6, H2 (v5.1)

See merge request espressif/esp-idf!24336
2023-11-29 23:57:09 +08:00
Mahavir Jain
3b1d428501 Merge branch 'bugfix/preencrypted_ota_failed_with_partial_download_v5.1' into 'release/v5.1'
fix(esp_https_ota): fix preencrypted ota failed with pytest server and partial http enabled (v5.1)

See merge request espressif/esp-idf!27354
2023-11-29 14:05:39 +08:00
Tomas Rezucha
609628e139 fix(usb/host): Do not abort on string descriptor overflow
Some devices return full LANGID table, even if short LANGID table was requested.
No memory overflow occurs, because we have allocated enough memory for transfers to the
default pipe. So we can ignore the error and continue with string desc fetching.
2023-11-28 22:00:54 +01:00
Darian Leung
411405355d refactor(soc): SOC_USB_PERIPH_NUM option
This commit refactors SOC_USB_PERIPH_NUM as follows:

- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-11-28 22:00:30 +01:00
Ivan Grokhotkov
b52607af71
examples: re-enable console examples for C2, C6, H2
- Split the sleep-related system commands into a separate file
- Don't compile that file and don't register sleep commands for H2 yet
- Exclude Wi-Fi commands if the chip doesn't have Wi-Fi
2023-11-28 18:08:11 +01:00
Jiang Jiang Jian
3ba577165c Merge branch 'bugfix/esp32s3_usb_otg_console_v5.1' into 'release/v5.1'
system: support USB_OTG CDC console on ESP32-S3 (v5.1)

See merge request espressif/esp-idf!24337
2023-11-24 10:19:02 +08:00
Island
80b61281b9 Merge branch 'bugfix/ble_update_lib_1110_5.1' into 'release/v5.1'
Bugfix/ble update lib 1110 5.1

See merge request espressif/esp-idf!27061
2023-11-23 19:10:49 +08:00
nilesh.kale
0e214b776b fix: fix preencrypted ota failed with pytest server and partial http enabled 2023-11-23 12:50:18 +05:30
Rahul Tank
2a227b89d5 Merge branch 'feature/walkthrough_for_bleprph_v5.1' into 'release/v5.1'
doc (nimble): Added the tutorial for bleprph example. (v5.1)

See merge request espressif/esp-idf!26887
2023-11-22 18:21:49 +08:00
Rahul Tank
ad11452275 Merge branch 'bugfix/cleanup_nimble_sdkconfig_v5.1' into 'release/v5.1'
ci(nimble): Cleanup sdkconfig files for nimble examples (v5.1)

See merge request espressif/esp-idf!27289
2023-11-22 18:09:16 +08:00
David Cermak
5e07ffb444 fix(esp_netif): Mark esp_netif_next deprecated and fix usages
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-11-22 09:59:37 +00:00
Jiang Jiang Jian
8b6977b883 Merge branch 'bugfix/coex_cfg_option_invisible_v5.1' into 'release/v5.1'
fix(esp_coex): Fix dependency errors in coexist configuration (Backport v5.1)

See merge request espressif/esp-idf!26577
2023-11-22 17:45:05 +08:00
Shu Chen
ecbbd3c3d9 Merge branch 'backport/add_ot_radio_stats_enable_config_5_1' into 'release/v5.1'
feat(openthread): backport some openthread features(BackportV5.1)

See merge request espressif/esp-idf!26885
2023-11-22 12:23:53 +08:00
Ivan Grokhotkov
e2f1327a5c
examples: re-enable system/console/advanced_usb_cdc for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/9364
2023-11-21 17:33:30 +01:00
luomanruo
2cf6c185dc ci(ble/bluedroid): Add notes in sdkconfig.defaults 2023-11-21 15:03:38 +08:00
Rahul Tank
9571780d5e ci(nimble): Cleanup sdkconfig files for nimble examples 2023-11-21 12:23:06 +05:30
morris
6bc8a025d5 Merge branch 'bugfix/ledc_max_duty_cycle_v5.1' into 'release/v5.1'
fix(ledc): fix ledc driver 100% duty cycle configuration (backport v5.1)

See merge request espressif/esp-idf!27179
2023-11-21 10:58:16 +08:00
gongyantao
1978b711f0 ci(bt/bluedroid): remove configs that are not in effect 2023-11-21 10:09:40 +08:00
Mahavir Jain
fcd0b8b8e9 Merge branch 'fix/https_request_example_build_with_esp_wolfssl_v5.1' into 'release/v5.1'
fix(esp-tls): Fix the https_request example build for esp-wolfssl (v5.1)

See merge request espressif/esp-idf!26735
2023-11-20 11:07:36 +08:00
Rahul Tank
57090788ec Merge branch 'feature/walkthrough_for_coc_ble_prph_v5.1' into 'release/v5.1'
doc (nimble): Added the tutorial for coc_bleprph example. (v5.1)

See merge request espressif/esp-idf!26480
2023-11-18 16:21:42 +08:00
Song Ruo Jing
03299962f6 fix(ledc): fix ledc driver 100% duty cycle configuration
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.

Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12593
Closes https://github.com/espressif/esp-idf/issues/12083
2023-11-17 12:38:32 +08:00
linruihao
f57826e239 fix(esp_coex): Fix dependency errors in coexist configuration 2023-11-16 03:16:15 +00:00
Jiang Jiang Jian
5c61c89308 Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example (backport v5.1)

See merge request espressif/esp-idf!26861
2023-11-15 14:45:04 +08:00
David Čermák
cc7c93cfaa Merge branch 'fix/netif_sntp_examples_v5.1' into 'release/v5.1'
fix(examples): Fix usage of SNTP netif API in examples (v5.1)

See merge request espressif/esp-idf!26917
2023-11-14 21:57:12 +08:00
Jiang Jiang Jian
0f61bd25a2 Merge branch 'bugfix/iperf_improvements_v5.1' into 'release/v5.1'
fix(examples/iperf): Update and rename default TCP/UDP buffer sizes (Backport v5.1)

See merge request espressif/esp-idf!26680
2023-11-14 15:38:23 +08:00
Wang Meng Yang
c46775031e Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.1' into 'release/v5.1'
Fixed some BLE bugs 20231020 (backport v5.1)

See merge request espressif/esp-idf!26604
2023-11-14 15:35:55 +08:00