Commit Graph

31933 Commits

Author SHA1 Message Date
Jiang Jiang Jian
8aa5610689 Merge branch 'bugfix/fix_flash_encryption_rom_c3_v5.1' into 'release/v5.1'
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled (backport v5.1)

See merge request espressif/esp-idf!29351
2024-03-05 11:00:07 +08:00
Jiang Jiang Jian
44fa82c7c3 Merge branch 'feature/support_gdma_retention_v5.1' into 'release/v5.1'
feature: support gdma retention in pd_top lightsleep (v5.1)

See merge request espressif/esp-idf!29089
2024-03-05 10:59:30 +08:00
Jiang Jiang Jian
f87ee9c4ec Merge branch 'bugfix/fix_c6_wakeup_access_flash_v5.1' into 'release/v5.1'
fix(hal): fix esp32c6 clock bug workaround access flash in wakeup process (v5.1)

See merge request espressif/esp-idf!29245
2024-03-05 10:58:14 +08:00
Jiang Jiang Jian
3052c5a461 Merge branch 'fix/segger_sysview_build_v5.1' into 'release/v5.1'
fix(app_trace): Fix SystemView build (v5.1)

See merge request espressif/esp-idf!24709
2024-03-05 10:52:35 +08:00
Jiang Jiang Jian
603268efe1 Merge branch 'bugfix/update_spp_doc_v5.1' into 'release/v5.1'
docs(bt/bluedroid): update API documents of SPP (v5.1)

See merge request espressif/esp-idf!29171
2024-03-05 10:49:24 +08:00
Jiang Jiang Jian
2d2bfc1962 Merge branch 'feat/reduce_usage_of_iram_when_bt_in_single_mode_v5.1' into 'release/v5.1'
change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode(backport v5.1)

See merge request espressif/esp-idf!29305
2024-03-05 10:48:17 +08:00
Jiang Jiang Jian
69c8490537 Merge branch 'bugfix/fix_issues_in_mesh_and_scan_v5.1' into 'release/v5.1'
fix issues in wifi and lwip (v5.1)

See merge request espressif/esp-idf!29187
2024-03-05 10:47:59 +08:00
Jiang Jiang Jian
50eea052a3 Merge branch 'contrib/github_pr_13294_v5.1' into 'release/v5.1'
Flush rgb lcd PSRAM framebuffers after allocation (GitHub PR) (v5.1)

See merge request espressif/esp-idf!29394
2024-03-05 10:45:40 +08:00
Michael (XIAO Xufeng)
005e6656be Merge branch 'feature/add_new_pkg_and_flash_psram_efuses_v5.1' into 'release/v5.1'
feat(efuse): Add flash&psram efuses for S3 (v5.1)

See merge request espressif/esp-idf!29143
2024-03-05 10:34:18 +08:00
morris
66e6e7c925 Merge branch 'feat/usb_host_set_device_config_v5.1' into 'release/v5.1'
USB Host: Add enumeration callback filter (backport v5.1)

See merge request espressif/esp-idf!28548
2024-03-05 09:47:56 +08:00
Erhan Kurubas
a8bd637e73 feat(coredump): use SHA ROM functions for all targets except ESP32
For ESP32, continue using mbedtls due to a required ROM patch for the SHA implementation.
For other targets, we can now leverage the ROM functions.
2024-03-04 15:21:58 +01:00
Martin Vychodil
e3e112e612 Merge branch 'fix/examples_format_sd_card_disable_v5.1' into 'release/v5.1'
fix(examples): Disable formatting SD cards in storage examples by default (v5.1)

See merge request espressif/esp-idf!29004
2024-03-04 20:48:45 +08:00
Rahul Tank
c1f26cca62 Merge branch 'bugfix/increase_reattempt_conn_count_v5.1' into 'release/v5.1'
fix(nimble): Increase range of reattempt connection count (v5.1)

See merge request espressif/esp-idf!29341
2024-03-04 19:44:11 +08:00
Martin Vychodil
2374a0c04e Merge branch 'update/littlefs_demo_example_v5.1' into 'release/v5.1'
LittleFS demo example added (v5.1)

See merge request espressif/esp-idf!28452
2024-03-04 19:42:31 +08:00
Marius Vikhammer
0417eec03e Merge branch 'fix/console_none_build_issues_v5.1' into 'release/v5.1'
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled (v5.1)

See merge request espressif/esp-idf!29339
2024-03-04 18:04:10 +08:00
Markus Ebner
afc3ee80e1 fix(esp_lcd): Flush rgb lcd PSRAM framebuffers after allocation
Flush PSRAM framebuffers after allocation to avoid visual corruption.

Merges https://github.com/espressif/esp-idf/pull/13294
Closes https://github.com/espressif/esp-idf/issues/13293
2024-03-04 17:39:22 +08:00
Tomas Rezucha
c64d0be428 feat(usb/host): Update ISOC scheduler for HS endpoints
USB-OTG uses 'sched_info' field of HCTSIZ register to schedule transactions
in USB microframes.
2024-03-04 09:59:50 +01:00
xiaqilin
6c9a7da5db fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue 2024-03-04 15:12:15 +08:00
zwx
006c058df5 fix(phy): fix pll track when enabling and disabling PHY frequently 2024-03-04 14:49:32 +08:00
morris
975a86bf8a Merge branch 'bugfix/usb_host_usbh_callback_misses_action_v5.1' into 'release/v5.1'
fix(usb): Fix bug where usbh_process() misses an event (v5.1)

See merge request espressif/esp-idf!29365
2024-03-04 11:37:55 +08:00
Marius Vikhammer
cbfdec3e6d Merge branch 'staging/espcoredump_move_strings_flash_v5.1' into 'release/v5.1'
change(espcoredump): save RAM space by placing constants in flash (backport v5.1)

See merge request espressif/esp-idf!29191
2024-03-04 11:21:27 +08:00
zhangyanjiao
594c61add4 fix(wifi): fixed scan and mesh deinit issues
1. update scan ap number when clear scan ap records
2. wait for child disconnect when mesh deinit
2024-03-04 10:25:04 +08:00
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