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
SumeetSingh19
b62d94b2a4
fix(nimble): allow auto connection and observer role
2024-03-01 12:54:53 +05:30
Marius Vikhammer
39624549e8
Merge branch 'ci/new-known_failure_cases_workflow(v5.1)' into 'release/v5.1'
...
ci: change known_failure_cases workflow(v5.1)
See merge request espressif/esp-idf!27966
2024-03-01 15:03:48 +08:00
Ricardo Quesada
f21a43b622
fix(uart): add missing include for rom/uart.h
...
Without this include it fails to compile with this error:
```
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
262 | status = READ_PERI_REG(UART_STATUS_REG(uart_no));
```
Merges https://github.com/espressif/esp-idf/pull/13025
2024-03-01 14:36:50 +08:00
Laukik Hase
bda0a44eaf
refactor(protocomm): Make the protocomm proto-c
headers public
2024-03-01 10:26:42 +05:30
Laukik Hase
5fcd908d26
refactor(esp_hw_support): Remove redundant PMP entry for ROM region
...
- The ROM text and data sections share the address range
(see SOC_I/DROM_MASK_LOW - SOC_I/DROM_MASK_HIGH).
- Initially, we had two PMP entries for this address range - one marking the
region as RX and the other as R.
- However, the latter entry is redundant as the former locks the PMP settings.
- We can divide the ROM region into text and data sections later when we
define boundaries marking these regions from the ROM.
2024-03-01 10:25:25 +05:30
Laukik Hase
5173ba1777
fix(esp_hw_support): Fix the I/DCACHE region PMP protection
2024-03-01 10:25:25 +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
Darian Leung
ef698857d1
fix(usb): Fix bug where usbh_process() misses an event
...
This commit fixes a bug where if multiple concurrent USBH API calls trigger
multiple events on the same device, some events will be lost. As a result,
those lost events don't get processed by the subsequent usbh_process() call.
2024-03-01 09:42:57 +08:00
Marius Vikhammer
929a8449bd
Merge branch 'feature/usb_host_collective_backport_v5.1' into 'release/v5.1'
...
USB Host: Collective backport to v5.1
See merge request espressif/esp-idf!28096
2024-03-01 09:28:23 +08:00
Mahavir Jain
8fb370f38b
Merge branch 'bugfix/fix_http_client_error_v5.1' into 'release/v5.1'
...
esp_http_client: Fix reset errno to 0 before call esp_transport_read(backport v5.1)
See merge request espressif/esp-idf!28328
2024-02-29 21:57:43 +08:00
David Čermák
00d9861a08
Merge branch 'feature/mmd_access_v5.1' into 'release/v5.1'
...
esp_eth: Add functions to access PHY using MDIO (v5.1)
See merge request espressif/esp-idf!28840
2024-02-29 20:29:57 +08:00
David Čermák
bf23680ac1
Merge branch 'bugfix/eth_link_reset_v5.1' into 'release/v5.1'
...
fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped (v5.1)
See merge request espressif/esp-idf!29329
2024-02-29 19:25:31 +08:00
Rahul Tank
d771840189
fix(nimble): Increase range of reattempt connection count
2024-02-29 15:57:46 +05:30
Darian Leung
08079631eb
change(console): Add build test for no console output
...
This commit adds a build test to test the scenario where both the primary and
secondary console outputs are disabled by Kconfig.
2024-02-29 17:48:08 +08:00
Darian Leung
e82ae7787d
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled
...
This commit fixes the following build issues when CONFIG_ESP_CONSOLE_NONE is
enabled:
- esp_console_repl.c will have 'defined but unused' warnings on various console
functions.
- esp_console_repl.c does not use "TAG" when CONFIG_ESP_CONSOLE_NONE is
enabled, leading to a "defined by not used" warning.
Closes https://github.com/espressif/esp-idf/issues/12984
2024-02-29 17:48:07 +08:00
Marius Vikhammer
b65563f7f7
Merge branch 'bugfix/esp_intr_free_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): Fix esp_intr_free when task has no core affinity (v5.1)
See merge request espressif/esp-idf!29194
2024-02-29 12:44:38 +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
jim
2060f3a645
esp_http_client: Fix reset errno to 0 before call esp_transport_read
...
Closes https://github.com/espressif/esp-idf/issues/9020
2024-02-29 12:00:58 +08:00
morris
ba14fc20d3
Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.1' into 'release/v5.1'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.1)
See merge request espressif/esp-idf!28333
2024-02-29 10:25:28 +08:00
morris
c4f114d671
Merge branch 'bugfix/bunch_tsens_v5.1' into 'release/v5.1'
...
fix(temperature_sensor): Fix the value is incorrect if disable and enable again (backport v5.1)
See merge request espressif/esp-idf!28625
2024-02-29 10:24:17 +08:00
morris
226a4d39cf
Merge branch 'bugfix/cannot_jump_range_v5.1' into 'release/v5.1'
...
fix(temperature_sensor): Cannot switch the range smmothly on esp32h2(backport v5.1)
See merge request espressif/esp-idf!29153
2024-02-29 10:20:52 +08:00
David Čermák
e9ab9f3c38
Merge branch 'bugfix/ip101_reset_timing_v5.1' into 'release/v5.1'
...
fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet (v5.1)
See merge request espressif/esp-idf!29012
2024-02-28 23:11:03 +08:00
Ondrej Kosta
746fd01aea
fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped
2024-02-28 15:49:26 +01: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
Marius Vikhammer
48777e7983
Merge branch 'change/usb_host_minor_optimizations_v5.1' into 'release/v5.1'
...
change(usb/host): Remove unecessary features (v5.1)
See merge request espressif/esp-idf!27594
2024-02-28 17:20:18 +08:00
Island
b0107bdbd7
Merge branch 'bugfix/ble_update_lib_20240223_v5.1' into 'release/v5.1'
...
update lib on release/v5.1
See merge request espressif/esp-idf!29209
2024-02-28 16:54:19 +08:00
Jin Cheng
cc9932c7ef
docs(bt/bluedroid): update API documents of SPP
2024-02-28 16:22:15 +08:00
Tomas Rezucha
58606027da
feat(usb/host): Calculate FIFO sizes based on USB configuration
2024-02-28 16:09:53 +08:00
Darian Leung
2ba1790ef6
refactor(usb): Deprecate CONFIG_USB_OTG_SUPPORTED, use SOC_USB_OTG_SUPPORTED instead
...
Previously, USB build dependencies used the CONFIG_USB_OTG_SUPPORTED. However,
they could depend on `soc_caps.h` instead.
2024-02-28 16:09:53 +08:00
Darian Leung
d837836f84
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-28 16:09:52 +08:00
Darian Leung
148cc6e75d
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-28 16:09:52 +08:00
Darian Leung
f524a59875
refactor(hal/usb): Remove usage of old USB OTG config macros
2024-02-28 16:09:51 +08:00
Darian Leung
b32a735bb0
refactor(soc/host): Update USB OTG struct fields
...
This commit updates the "*_struct.h" files for the USB OTG peripheral:
- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2024-02-28 16:09:51 +08:00
Darian Leung
177eb9f6c6
refactor(hal/usb): Fix USB OTG compilation dependency
...
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2024-02-28 16:09:51 +08:00
Darian Leung
dc27d5456f
refactor(usb/host): reformat code with astyle
2024-02-28 16:09:50 +08:00
Tomas Rezucha
d26320d8a1
fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
...
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2024-02-28 16:09:50 +08:00
Tomas Rezucha
388360cc5a
fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
...
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2024-02-28 16:09:49 +08:00
Island
7cfe2274d2
Merge branch 'bugfix/fix_ble_max_reconnect_v5.1' into 'release/v5.1'
...
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration(backport v5.1)
See merge request espressif/esp-idf!29223
2024-02-28 15:41:08 +08:00
Marius Vikhammer
73654741c3
Merge branch 'contrib/github_pr_12867_v5.1' into 'release/v5.1'
...
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR) (v5.1)
See merge request espressif/esp-idf!29112
2024-02-28 15:32:04 +08:00
Cao Sen Miao
9025e440ae
fix(temperature_sensor): Cannot switch the range smmothly on esp32h2
2024-02-28 12:39:07 +08:00
Cao Sen Miao
30095494be
fix(tsens): 300us delay in phy cause extra power consumption
2024-02-28 12:36:04 +08:00
Cao Sen Miao
6932e5958b
fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
...
Closes https://github.com/espressif/esp-idf/issues/12921
2024-02-28 12:35:59 +08:00
Cao Sen Miao
c205bbf90f
fix(temperature_sensor): Fix the value is incorrect if disable and enable again
...
Closes https://github.com/espressif/esp-idf/issues/12864
2024-02-28 12:35:53 +08:00
morris
bbb7c4c756
Merge branch 'feature/usb_hs_support_v5.1' into 'release/v5.1'
...
feat(usb/host): Add High Speed enumeration types (backport v5.1)
See merge request espressif/esp-idf!28059
2024-02-28 11:46:17 +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
92b25c06b3
Merge branch 'bugfix/fix_incorrect_regbase_name_of_i2s_v5.1' into 'release/v5.1'
...
fix(i2s): fixed incorrect reg base name on C3 (v5.1)
See merge request espressif/esp-idf!28630
2024-02-28 11:41:58 +08:00
morris
c48ddea0f6
Merge branch 'contrib/github_pr_13020_v5.1' into 'release/v5.1'
...
fix (esp_lcd): Don't assume panels are 16bit in VSYNC restart logic (GitHub PR) (v5.1)
See merge request espressif/esp-idf!28812
2024-02-28 11:40:46 +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