Commit Graph

1039 Commits

Author SHA1 Message Date
Island
16ba8f892d Merge branch 'feature/add_vendor_ble_cmd_definitions' into 'master'
Feature/add vendor ble cmd definitions

Closes BLERP-1684 and BLERP-1661

See merge request espressif/esp-idf!37598
2025-03-27 17:06:15 +08:00
Alexey Lapshin
a31f487760 Merge branch 'feat/newlib-optimized-misaligned-memory' into 'master'
feat(newlib): riscv: add CONFIG_LIBC_OPTIMIZED_MISALIGNED_ACCESS config option

See merge request espressif/esp-idf!36704
2025-03-27 16:32:01 +08:00
Marius Vikhammer
7605727233 Merge branch 'feature/esp_log_flash' into 'master'
feat(log): added option for placing log api in flash

Closes IDF-12522

See merge request espressif/esp-idf!37941
2025-03-27 10:49:32 +08:00
Alexey Lapshin
ec68cb3300 feat(newlib): riscv: add CONFIG_LIBC_OPTIMIZED_MISALIGNED_ACCESS config option
This option replaces implementations of functions from ROM:
  - memcpy
  - memcmp
  - memmove
  - str[n]cpy
  - str[n]cmp

The functions used in the firmware will be better optimized for misaligned
memory. Here are some measurements in CPU cycles for 4096-byte buffers:

  memcpy:  28676 -> 4128
  memcmp:  49147 -> 14259
  memmove: 33896 -> 8086
  strcpy:  32771 -> 17313
  strcmp:  32775 -> 13191
2025-03-26 17:27:24 +07:00
Shen Weilong
990fea687d feat(ble/controller): Added memory boundary check for ESP32-C2 2025-03-25 15:09:00 +08:00
zhangyanjiao
aa05ae68e1 fix(wifi/vendor): separate the lr bit in phy mode for station and softAP
Closes https://github.com/espressif/esp-idf/issues/9978
2025-03-25 14:04:51 +08:00
Marius Vikhammer
d488fb41e6 feat(log): added option for placing log api in flash 2025-03-25 10:07:21 +08:00
Nachiket Kukade
f67f287004 feat(esp_wifi): Add DS parameter in probe requests from STA
Parse the DS IE to get intended channel when softAP rx request,
send probe response only if request is intended for the channel
2025-03-21 15:36:34 +05:30
Mahavir Jain
ce7ec7f19f Merge branch 'feature/enable_hmac_and_ds_support_for_esp32h21' into 'master'
feat: enabled hmac and ds support in esp32h21

Closes IDF-11495 and IDF-11497

See merge request espressif/esp-idf!37085
2025-03-21 17:23:46 +08:00
Armando (Dou Yiwen)
64ff6ec274 Merge branch 'fix/mutex_between_oct_flash_and_flash_rom_impl' into 'master'
flash: mutex between oct flash and flash rom impl

See merge request espressif/esp-idf!37760
2025-03-21 14:51:08 +08:00
Chen Ji Chang
6474fd67ae Merge branch 'feat/h4_introduce_step8' into 'master'
feat(esp32h4): introduce hello world to ESP32H4 (stage8)

Closes IDF-9526 and IDF-12333

See merge request espressif/esp-idf!37545
2025-03-20 16:16:05 +08:00
Chen Jichang
45ba78940f feat(esp32h4): finnal introduce hello world 2025-03-19 18:48:41 +08:00
armando
cbcee1625f refactor(flash): rename SOC_SPI_MEM_SUPPORT_OPI_MODE to SOC_SPI_MEM_SUPPORT_FLASH_OPI_MOD 2025-03-19 14:01:22 +08:00
tarun.kumar
895e897ee7 fix(esp_wifi): Making action tx and roc API's public 2025-03-19 13:49:50 +08:00
jgujarathi
d7e4654f3d fix(esp_wifi): Fix issues with offchannel action tx and ROC operations
- Fix issues with sending NULL data on the target channel instead of home
  channel when connected sta attempts action tx or ROC.
- Fix issues with sending action tx on the home channel instead of target
  channel when connected sta attempts action tx.
- Add new status codes to event data of WIFI_EVENT_ROC_DONE
- Adds new request structure esp_wifi_remain_on_channel operation
- Fixes issues with cancelling off channel operations such as ROC or
  action frames TX.
2025-03-19 13:49:50 +08:00
Chen Jichang
44117b623d refactor(esp_rom): remove specific chip name when including rom header 2025-03-17 18:53:26 +08:00
zwl
71cea01694 feat(ble): add enhanced connect function on ESP32-C2 2025-03-17 10:44:21 +08:00
zhangyanjiao
660e33c801 fix(wifi): Fixed the scan information error in LR only mode 2025-03-14 15:11:45 +08:00
Jiang Jiang Jian
3547cefa27 Merge branch 'bugfix/fix_some_wifi_bugs_20250304' into 'master'
fix(wifi): fix twt post just one event for multiple flow

See merge request espressif/esp-idf!37538
2025-03-13 16:50:57 +08:00
nilesh.kale
f794eb9b2d feat: enabled hmac and ds support in esp32h21
This commit enables support for HMAC and DS in ESP32H21
2025-03-13 10:23:11 +05:30
Chen Ji Chang
1a87428934 Merge branch 'feat/h4_introduce_step7_ci' into 'master'
feat(esp32h4): ci enable public header check (stage7)

See merge request espressif/esp-idf!37505
2025-03-13 11:52:05 +08:00
yinqingzhao
4cc76f6646 fix(wifi): fix twt post just one event for multiple flow 2025-03-12 21:01:48 +08:00
Chen Jichang
bfac674769 feat(esp32h4): ci enable public header check (stage7) 2025-03-12 17:19:50 +08:00
Jiang Jiang Jian
1c5983cd5a Merge branch 'bugfix/fix_ersu_compatibility_issue' into 'master'
fix(wifi): fix ersu compatibility issue

Closes WIFI-6799

See merge request espressif/esp-idf!37027
2025-03-12 16:32:22 +08:00
Marius Vikhammer
afedcb7c9b Merge branch 'bugfix/fix_secondary_console_no_vfs' into 'master'
fix(console): fixed secondary console not working on all chips without VFS

Closes IDF-12577

See merge request espressif/esp-idf!37464
2025-03-12 13:51:37 +08:00
muhaidong
d74a21694d fix(wifi): fix ersu compatibility issue 2025-03-11 20:48:50 +08:00
Mahavir Jain
28472cc6b7 Merge branch 'feature/enable_aes_sha_support_for_h21' into 'master'
feat: enabled aes and sha support for esp32h21

Closes IDF-11501 and IDF-11504

See merge request espressif/esp-idf!37072
2025-03-11 13:16:27 +08:00
Marius Vikhammer
12e9d6514a fix(console): fixed secondary console not working on all chips without VFS 2025-03-07 14:41:19 +08:00
nilesh.kale
49e1e22f72 fix(esp_rom): Remove AES-192 references for unsupported chips
Cleaned up references to AES-192 in ROM headers for chips that do not support it.
2025-03-06 17:48:17 +05:30
nilesh.kale
a6979eba9c feat: enabled aes and sha support for esp32h21
This commit enabled AES and SHA support for ESP32H21
2025-03-06 17:44:13 +05:30
Wang Meng Yang
94cfe394fe Merge branch 'fix/null_pointer_was_dereferenced_in_lc_free_state' into 'master'
fix(bt): fixed some issues in bt controller

Closes IDFGH-14338, BT-3939, BT-3801, and BTQABR2023-443

See merge request espressif/esp-idf!37483
2025-03-06 12:04:53 +08:00
Igor Udot
3b41e2ce9a Merge branch 'ci/pytest-mark-formatter' into 'master'
Ci/pytest mark formatter

Closes IDFCI-2662 and IDFCI-2651

See merge request espressif/esp-idf!35476
2025-03-05 15:43:48 +08:00
gongyantao
fafdae5cb7 fix(bt): fixed some issues in bt controller
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-05 14:46:43 +08:00
igor.udot
daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
Chen Ji Chang
270cd77abb Merge branch 'feat/h4_introduce_step5' into 'master'
feat(esp32h4): add G0 component support (stage5)

See merge request espressif/esp-idf!37254
2025-03-05 11:08:33 +08:00
Jiang Jiang Jian
cfed129e05 Merge branch 'bugfix/fix_some_bugs_ralated_to_channel_esp32c5' into 'master'
fix(wifi): refactor and fix second channel is always below in ht40 on 5G band

Closes FCW-198

See merge request espressif/esp-idf!35263
2025-03-04 17:43:16 +08:00
Chen Jichang
b16095cf00 feat(esp32h4): add G0 component support (stage5) 2025-03-04 15:21:58 +08:00
yinqingzhao
1c5708b07b fix(wifi): fix some bugs related channel 2025-03-03 20:40:45 +08:00
chenjianhua
d672f909f3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b34b7d6)
- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command
2025-02-27 20:52:05 +08:00
Wang Meng Yang
9f68b151db Merge branch 'bugfix/bt_ctrl_issues' into 'master'
fix(bt/controller): fixed some controller bugs on ESP32.

Closes IDFGH-14343, IDFGH-14392, and IDFGH-12607

See merge request espressif/esp-idf!37180
2025-02-27 19:39:46 +08:00
Jin Cheng
309747bf9a fix(bt/controller): fixed some controller bugs on ESP32.
1. added a VSC to control whether to initiate lmp_auto_rate
        - Closes https://github.com/espressif/esp-idf/issues/15133
    2. fixed EA resource cleanup error after SNIFF negotiation failure
        - Closes https://github.com/espressif/esp-idf/issues/13605
    3. removed an assertion in SCO data TX handler after disconnection
        - Closes https://github.com/espressif/esp-idf/issues/15176
2025-02-26 16:31:06 +08:00
Chen Jichang
a74f9cbe63 feat(esp32h4): add esp_rom and efuse files (stage4) 2025-02-25 19:30:03 +08:00
Chen Ji Chang
e7088bbd07 Merge branch 'feat/add_uart_support_on_h21' into 'master'
feat(uart): support uart on esp32h21

Closes IDF-11618, IDF-11620, and IDF-12143

See merge request espressif/esp-idf!37197
2025-02-25 11:26:09 +08:00
Chen Jichang
028a16c01c feat(uart): support uart on esp32h21 2025-02-24 17:49:45 +08:00
gaoxu
760f134d84 feat(esp32h21): support GPIO on esp32h21 2025-02-24 17:24:16 +08:00
Tomasz Kramkowski
af7b6b71ea fix(rom): Fix s2 and s3 Cache_Count_Flash_Pages rom function wrapper
The rom function on the s2 and s3 only counts one page for any pages
which are mapped to page 0 of flash as the Cache_Flash_To_SPIRAM_Copy
function attempts to map all flash page 0 mapped pages to one PSRAM
page.

As this function can be called for multiple regions, it needs to track
if a page mapped to page 0 has previously been accounted for by a
previous call. It does this using the page0_mapped in-out parameter.
This logic contains an error:

```
if (*page0_mapped == 0) {
    // BUG: If page0_count is 0, 1 is still added
    count = valid_flash_count + 1 - page0_count;
} else {
    count = valid_flash_count - page0_count;
}
*page0_mapped += page0_count;
return count;
```

The current Cache_Count_Flash_Pages wrapper in the idf attempts to
compensate for this bug by checking if the page0_mapped parameter was
changed by a call to the function and reducing the count if it has not.

This, however, will incorrectly over-compensate in situations where the
initial value of page0_mapped was not zero as the code above only
miscounts when it was zero.

This patch addresses the issue in this wrapper function by correctly
compensating for the bug only in cases where the final page0_mapped
value is 0.
2025-02-20 15:04:10 +08:00
Wu Zheng Hui
5fd4104d12 Merge branch 'fix/esp32p4_lightsleep_fixes' into 'master'
fix(esp_hw_support): some fixes of esp32p4 lightsleep retention & power switch process

Closes PM-291, PM-301, and PM-302

See merge request espressif/esp-idf!35460
2025-02-13 17:20:21 +08:00
Chen Ji Chang
9342b3fba1 Merge branch 'feat/h4_introduce_step1_add_target' into 'master'
feat(esp32h4): introduce target esp32h4(stage 1)

See merge request espressif/esp-idf!36780
2025-02-11 18:11:08 +08:00
Song Ruo Jing
b88f30a099 Merge branch 'bugfix/gpio_rom_patch_fix' into 'master'
fix(gpio): fix esp_rom_gpio_connect_out_signal for gpio num over 31 on esp32/s2

Closes IDFGH-14429

See merge request espressif/esp-idf!36766
2025-02-11 12:32:54 +08:00
Chen Jichang
6f83f39dce feat(esp32h4): introduce target esp32h4(stage 1) 2025-02-08 17:07:44 +08:00