Commit Graph

32064 Commits

Author SHA1 Message Date
Abhik Roy
aefc33b2ce fix(lwip): Fixed debug format, added ci test config
Detailed description of the changes:
  - lwip_debug: Fixed string format error in ip6 and napt (espressif/esp-lwip@f5c43549)
  - dns: fix init with only ipv4 enabled (espressif/esp-lwip@5aab73d7)
2024-03-04 10:25:04 +08:00
xueyunfei
dc39b40145 feat(lwip): add fall back dns config in menuconfig 2024-03-04 10:25:04 +08:00
Roland Dobai
4a21a629c6 fix(tools): Add additional Python installation checks
Warn if IDF_PYTHON_ENV_PATH set to a suspicious path with
different ESP-IDF version and/or Python version.

Fail if the virtual environment was created for a different ESP-IDF
version.

Closes https://github.com/espressif/esp-idf/issues/13196
2024-03-01 16:01:03 +01:00
Mahavir Jain
d22c95a3a8 Merge branch 'refactor/protocomm_public_hdr_v5.1' into 'release/v5.1'
refactor(protocomm): Make the protocomm `proto-c` headers public (v5.1)

See merge request espressif/esp-idf!29359
2024-03-01 21:42:08 +08:00
Laukik Hase
9ed7c8b426
feat(tools/test_apps): Add violation tests for the flash I/DROM region
- For SoCs supporting PMP
2024-03-01 17:57:17 +05:30
Rahul Tank
67c4eac799 Merge branch 'bugfix/backport_ble_fixes_v5.1' into 'release/v5.1'
Bugfix/backport ble fixes v5.1

See merge request espressif/esp-idf!29291
2024-03-01 20:24:41 +08:00
Peter Marcisovsky
54f22f7c43 feat(docs): added usb host enumeration filter description
- CN and EN docs
2024-03-01 10:15:09 +01:00
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
mofeifei
e8c901b144 docs: update cn trans usb_host.rst 2024-03-01 09:04:20 +01:00
Roman Leonov
4236416774 feat(docs): added USB Host Stack Configuration description 2024-03-01 09:04:20 +01:00
Roshan Bangar
86aaec48a0 fix(nimble): fixed missing controller disabled guard in esp_nimble_deinit 2024-03-01 12:54:53 +05:30
Rahul Tank
fbbf6d2708 fix(nimble): Merge hci_common.h file for all chips 2024-03-01 12:54:53 +05:30
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
85befcc45d feat(nimble): client presentation and aggregate format descriptor support 2024-03-01 12:54:53 +05:30
SumeetSingh19
90c029494f feat(nimble): signed write support 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
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