Commit Graph

23958 Commits

Author SHA1 Message Date
morris
bed8016f1f Merge branch 'support_psram_noinit_segment_on_s3_v5.2' into 'release/v5.2'
feat(psram): add psram noinit  segment support on s2/s3/p4/c5 and bss segment on c5 (v5.2)

See merge request espressif/esp-idf!33257
2024-09-25 15:27:56 +08:00
morris
f2482e7aed Merge branch 'feat/parlio_tx_support_psram_buffer_v5.2' into 'release/v5.2'
fix(parlio_tx): Fixed errors in the first transfer (v5.2)

See merge request espressif/esp-idf!33358
2024-09-25 15:25:01 +08:00
Jiang Guang Ming
0bed1796af feat(esp_rom): support esp32c2 rev2.0(ECO4) rom systimer hal 2024-09-25 12:02:02 +08:00
Jiang Guang Ming
ab38da2e62 feat(esp_rom): add esp32c2.rom.eco4.ld 2024-09-25 12:01:26 +08:00
Jiang Guang Ming
05caca8cdd feat(esp_hw_support): Support esp32c2 rev2.0 chip 2024-09-25 11:58:22 +08:00
JiangGuangMing
3bfe43fb68 feat(mbedtls): bringup rom mbedtls feature to formal 2024-09-25 11:52:35 +08:00
harshal.patil
52cf97ebd5
feat(mbedtls): Wrap mbedtls_ecdsa_read_signature to use ECDSA hardware when possible 2024-09-24 16:50:38 +05:30
harshal.patil
a14ed03c11
fix(mbedtls/port): Check signature hash length before using ECDSA hardware 2024-09-24 16:50:28 +05:30
Rahul Tank
1b47d34c40 fix(nimble): Fixed deinit sequence in blufi 2024-09-24 12:20:41 +05:30
Zhao Wei Liang
fd7802bae1 fix(ble): unified ble memory allocation method
(cherry picked from commit 8e4cc79a27)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-24 12:03:28 +08:00
Aditya Patwardhan
5b6d8812d1
feat(hal): Add countermeasure for ECDSA generate signature
The ECDSA peripheral before ECO5 of esp32h2 does not perform the ECDSA
    sign operation in constant time. This allows an attacker to read the
    power signature of the ECDSA sign operation and then calculate the
    ECDSA key stored inside the eFuse. The commit adds a countermeasure
    for this attack. In this case the real ECDSA sign operation is
    masked under dummy ECDSA sign operations to hide its real power
    signature
2024-09-23 19:28:12 +05:30
Ivan Grokhotkov
c9763f62dd change(version): Update version to 5.2.3 2024-09-23 14:48:14 +02:00
zhanghaipeng
7e31cdd75e fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(63eb54d)
- Fixed issue where RPA is not updated after BLE RPA timeout
2024-09-23 13:32:57 +08:00
chenjianhua
34771563b9 test(bt/bluedroid): Support to disable BLE address resolution 2024-09-23 13:32:57 +08:00
Zhang Hai Peng
1437bb1206 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856)
- Fixed BLE scan assert in lld_scan.c 1728


(cherry picked from commit 32c7694f56)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-23 11:13:26 +08:00
Chen Jian Hua
e9484c617d fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails
(cherry picked from commit e4e23087ee)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-19 09:12:34 +08:00
Chen Jian Hua
2c133cb1bc feat(bt/bluedroid): Add BLE connection id param for ESP_GATTS_RESPONSE_EVT
(cherry picked from commit e4a372ab76)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-19 09:12:32 +08:00
Chen Jian Hua
3a8c97a1c9 fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3
(cherry picked from commit fe43c8f1b5)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-18 17:34:27 +08:00
nilesh.kale
c9f92ef182 feat(esp_https_ota): added API to get last status code logged from http resonse
Closes https://github.com/espressif/esp-idf/issues/14302
2024-09-18 14:58:27 +05:30
wuzhenghui
f617e55e5e
fix(esp_hw_support): add clock retention contents 2024-09-18 17:11:24 +08:00
Konstantin Kondrashov
8cf1c45496 fix(esptool_py): Check the size of the bootloader + signature block 2024-09-18 09:58:29 +03:00
Andste82
bd62dfb21f fix(spinlock): comparison of integer expressions of different signedness 2024-09-14 10:36:23 +03:00
Marius Vikhammer
36ae66a5b7 docs(freertos): update freertos comments to reflect that stack size is in bytes
Closes https://github.com/espressif/esp-idf/issues/11600
2024-09-13 13:33:46 +08:00
David Čermák
95e16f6a72 Merge branch 'bugfix/eth_plus_wifi_doc_v5.2' into 'release/v5.2'
docs(esp_eth): added warning to not use ESP32 as ETH CLK source with WiFi (v5.2)

See merge request espressif/esp-idf!33246
2024-09-12 14:35:15 +08:00
C.S.M
1c5d32e57d fix(i2c): Fix the wrong return value of esp32,esp32s2,esp32s3 2024-09-12 11:56:51 +08:00
C.S.M
2e1928c31c fix(i2c): Fix the i2c sda/scl force out register value on some esp chips 2024-09-12 11:56:51 +08:00
C.S.M
fdc5fa2931 fix(i2c): Fix possible error state in clear the bus,
Closes https://github.com/espressif/esp-idf/issues/13647
2024-09-12 11:56:51 +08:00
C.S.M
6adee5052f fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout set seems doesn't work
Closes https://github.com/espressif/esp-idf/issues/14129
Closes https://github.com/espressif/esp-idf/issues/14401
2024-09-12 11:56:51 +08:00
Jiang Jiang Jian
22eadb5a76 Merge branch 'bugfix/gcmp_reason_code_v52' into 'release/v5.2'
fix(esp_wifi): Fix reason code for sta not supporting GCMP(v5.2)

See merge request espressif/esp-idf!33448
2024-09-12 11:16:34 +08:00
Jiang Jiang Jian
7bf8ae0b40 Merge branch 'bugfix/fix_missing_per_adv_sync_est_evt_v5.2' into 'release/v5.2'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(c66a703) (Backport v5.2)

See merge request espressif/esp-idf!33449
2024-09-12 10:45:40 +08:00
Jiang Jiang Jian
efdeaba73b Merge branch 'bugfix/fix_some_ble_bugs_240826_v5.2' into 'release/v5.2'
Fixed some BLE bugs 240826 on ESP32C3 (8ce789b) (v5.2)

See merge request espressif/esp-idf!33390
2024-09-12 10:45:02 +08:00
linruihao
0f32051c65 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(c66a703)
- Fixed missing sync established event after canceling sync
2024-09-11 16:48:55 +08:00
Aditi
6f0abe238c fix(esp_wifi): Fix reason code for sta not supporting GCMP
Add fix for returning correct reason code when sta doesn't
 support GCMP to ensure consistent behaviour for all chips.
2024-09-11 14:08:32 +05:30
Jiang Guang Ming
3340050eae feat(mbedtls): support rom mbedtls threading layer 2024-09-10 10:20:29 +08:00
Jiang Guang Ming
d4dea72f24 feat(mbedtls): select MBEDTLS_CMAC_C when MBEDTLS_USE_CRYPTO_ROM_IMPL enabled 2024-09-10 10:20:23 +08:00
Jiang Guang Ming
4c567bd203 feat(mbedtls): support ROM mbedtls v3.6.0 on C2 rev2.0(ECO4) 2024-09-10 10:20:14 +08:00
Jiang Guang Ming
82950845be feat(esp_rom): include rom.mbedtls.eco4.ld with C2 rev2.0(ECO4) select 2024-09-10 10:13:53 +08:00
Jiang Guang Ming
2384b3ac33 feat(esp_rom): update esp32c2.rom.mbedtls.eco4.ld 2024-09-10 10:08:03 +08:00
Jiang Guang Ming
d2e04a987b feat(esp_hw_support): Support esp32c2 rev2.0 chip 2024-09-10 10:07:31 +08:00
Jiang Jiang Jian
c8c6fd1413 Merge branch 'bugfix/psram_fallback_in_wifi_osi_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(wifi): Add PSRAM failure fallback in WiFi Queue API's (backport v5.2)

See merge request espressif/esp-idf!33346
2024-09-09 19:53:25 +08:00
Jiang Jiang Jian
7ba8821740 Merge branch 'fix/fix_some_wifi_bugs_0902_v5.2' into 'release/v5.2'
fix(wifi): fix some wifi bugs and add api to enable bss color collsion detection (v5.2)

See merge request espressif/esp-idf!33267
2024-09-09 19:52:29 +08:00
xiongweichao
804e140701 fix(bt/bluedroid): Fix the protocol stack to exit sniff mode
- Already in result mode but request change indication has not been cleared
2024-09-09 16:19:24 +08:00
chenjianhua
ddda09bca7 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(8ce789b)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Fixed BLE util buffer free after controller reset
- Fixed assert when connection already exist and be connected again
2024-09-09 11:35:24 +08:00
chenjianhua
e3792ff20f feat(bt): Update esp32 bt-lib(bc393dd)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Support BLE scanning and initiating coexist
2024-09-09 11:30:40 +08:00
xuxiao
062cf21381 fix(wifi): fix some wifi bugs (v5.2) 2024-09-06 19:04:21 +08:00
Chen Jichang
d34a39e9a6 fix(parlio_tx): fix error in first transfer and 1 byte transfer
On p4, the clock was configured in the wrong order causing a dropped
count on the first transmission. And gdma eof event fails to trigger
parlio_tx eof event when transmitting single byte.
2024-09-06 14:10:15 +08:00
shreeyash
8ae2cf751c fix(nimble): Make CCCD flags configurable 2024-09-06 10:52:37 +05:30
Rahul Tank
75cec307f1 fix(nimble): Add notify characteristic flag support 2024-09-05 16:19:31 +05:30
Nachiket Kukade
8e06b09d31 fix(wifi): Add PSRAM failure fallback in WiFi Queue API's 2024-09-05 14:29:19 +05:30
Jiang Jiang Jian
da9536dbab Merge branch 'bugfix/fixed_assert_on_esp32c2_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(ble): fixed crash issue during deinit host after deinit controller on ESP32-C2 (v5.2)

See merge request espressif/esp-idf!33206
2024-09-05 15:04:13 +08:00
Lou Tianhao
b1c6f48c10 fix(pm): cancel cache_safe_assertion when using ext0 & ext1 2024-09-04 17:10:31 +08:00
Chen Jichang
3efad30654 feat(psram): add psram noinit segment support on S2/S3/P4/C5
Closes https://github.com/espressif/esp-idf/issues/14253
2024-09-03 17:42:09 +08:00
Ondrej Kosta
25b6e7412c docs(esp_eth): added warning to not use ESP32 as ETH CLK source with WiFi 2024-09-02 10:50:14 +02:00
Jiang Jiang Jian
cfd8a30995 Merge branch 'bugfix/esp32_rx_sense_v5.2' into 'release/v5.2'
Some checks failed
docker / docker (push) Has been cancelled
fix(phy): fix esp32 rx sense issue(v5.2)

See merge request espressif/esp-idf!33169
2024-08-30 17:38:29 +08:00
zwl
edea4da5b9 fix(ble): fixed crash issue during deinit host after deinit controller on ESP32-C2 2024-08-30 12:02:58 +08:00
Jiang Jiang Jian
3835e1d89a Merge branch 'feat/lwip_ppp_more_opts_v5.2' into 'release/v5.2'
lwip: PPP configs to enable/disable: Server side, IP header compression (v5.2)

See merge request espressif/esp-idf!33192
2024-08-30 10:45:29 +08:00
Jiang Jiang Jian
d37fc13ee8 Merge branch 'fix_wrong_ap3204_id_check_v5.2' into 'release/v5.2'
fix(psram): fixed ap3204 id check (v5.2)

See merge request espressif/esp-idf!33130
2024-08-30 10:42:32 +08:00
Jiang Jiang Jian
dbc7694fcb Merge branch 'feature/check_efuse_blk_after_ota_v5.2' into 'release/v5.2'
feat(bootloader): support to check efuse block revision (v5.2)

See merge request espressif/esp-idf!33137
2024-08-30 10:39:02 +08:00
Jiang Jiang Jian
378dc6d3d8 Merge branch 'bugfix/fix_wifi_bugs_240829_v5.2' into 'release/v5.2'
fix(wifi): fix wifi bugs 240829 v5.2

See merge request espressif/esp-idf!33199
2024-08-29 22:16:44 +08:00
Rahul Tank
59f8a4820e Merge branch 'bugfix/add_bluedroid_support_for_esp_ip_v5.2' into 'release/v5.2'
fix(wifi_prov): Add support for ESP IP controller chips in bluedroid (v5.2)

See merge request espressif/esp-idf!33178
2024-08-29 20:36:16 +08:00
Rahul Tank
d8004c197d fix(wifi_prov): Add support for ESP IP controller chips in bluedroid 2024-08-29 15:05:37 +05:30
zhanghaipeng
243d6752ad fix(ble/bluedroid): Optimize BLE function 'esp_ble_resolve_adv_data_by_type' 2024-08-29 16:17:46 +08:00
Nebojša Cvetković
5295cfc696 fix(bt/bluedroid): Resolve warning: unused variable 'pp' 2024-08-29 16:17:46 +08:00
David Cermak
aba6b8d8f7 fix(lwip): Used dedicated IP4 address type 2024-08-29 10:01:38 +02:00
David Cermak
aa49e53d5b fix(lwip): esp_netif supports esp_netif_get_netif_impl() for PPP 2024-08-29 10:01:38 +02:00
David Cermak
501a25f0c7 feat(lwip): Added PPP config option to control VJ header compression 2024-08-29 10:01:38 +02:00
David Cermak
a9265db5f1 feat(lwip): Add support for PPP server
Added support PPP_SERVER option in LWIP
Added support for configuring preferred addresses of PPP endpoints.
2024-08-29 10:01:37 +02:00
sibeibei
c85eb58480 fix(wifi): fix wifi bugs 240828 v5.2 2024-08-29 14:19:59 +08:00
Jiang Jiang Jian
c143e68c9f Merge branch 'feature/update-qemu-to-esp_develop_9.0.0_20240606_v5.2' into 'release/v5.2'
feat(tools): update qemu version to esp_develop_9.0.0_20240606 (v5.2)

See merge request espressif/esp-idf!31527
2024-08-29 11:46:07 +08:00
Jiang Jiang Jian
06d9071fd0 Merge branch 'fix/hfp_pcm_codec_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf (backport v5.2)

See merge request espressif/esp-idf!33159
2024-08-29 10:56:44 +08:00
Jiang Jiang Jian
db77e905dc Merge branch 'contrib/github_pr_14286_v5.2' into 'release/v5.2'
fix(bt): Add a parameter in the two least significant bits of Class of Device (backport v5.2)

See merge request espressif/esp-idf!33165
2024-08-29 10:30:24 +08:00
Shu Chen
58181b61c6 Merge branch 'backport/fix_oob_issue_found_by_cid' into 'release/v5.2'
fix(802.15.4): fix oob issue for pending table(Backport v5.2)

See merge request espressif/esp-idf!33167
2024-08-28 23:29:13 +08:00
Shu Chen
2064b5e370 Merge branch 'backport/reply_NS_without_ll_opt_v5.2' into 'release/v5.2'
feat(lwip): reply the NS without LL opt(Backport v5.2)

See merge request espressif/esp-idf!33149
2024-08-28 22:12:09 +08:00
alanmaxwell
075849c503 fix(phy): fix esp32 rx sense issue
improve esp32 rx sense from -94 to -97 which was introduced by ea4a2c70
2024-08-28 18:05:44 +08:00
zwx
b36b0a88ce fix(802.15.4): fix oob issue for pending table 2024-08-28 17:37:02 +08:00
chenqingqing
dd2511c6b3 fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf 2024-08-28 17:00:49 +08:00
chenqingqing
fa11f9c7b3 fix(bt): Add a parameter in the two least significant bits of Class of Device 2024-08-28 16:49:35 +08:00
WebDust21
d3155e71ea fix(bt): Enable use of RESERVED bits in COD (GitHub PR) 2024-08-28 16:49:25 +08:00
Jiang Jiang Jian
b07f445531 Merge branch 'fix/correct_esp_xt_wdt_configuration_v5.2' into 'release/v5.2'
fix(esp_system): properly exclude XTAL32K WDT from other chips (v5.2)

See merge request espressif/esp-idf!31746
2024-08-28 16:09:02 +08:00
Island
fc4abfabb4 Merge branch 'debug/fix_deep_sleep_wake_up_by_ble_v5.2' into 'release/v5.2'
fix(ble): fix BLE immediately  wakeup deep sleep (v5.2)

See merge request espressif/esp-idf!33096
2024-08-28 15:13:15 +08:00
zwx
d092970f58 feat(lwip): reply the NS without LL opt 2024-08-28 15:01:42 +08:00
Jiang Jiang Jian
68c10bbbfd Merge branch 'fix/fix_esp32s2_get_ack_rssi_issue_v5.2' into 'release/v5.2'
fix(wifi): fix esp32s2 get ack rssi invaild issue backport v5.2

See merge request espressif/esp-idf!33129
2024-08-28 14:34:39 +08:00
Ivan Grokhotkov
7f9c1b3e6f feat(esp_eth): enable openeth in QEMU for ESP32-S3 2024-08-28 13:51:53 +08:00
Jiang Jiang Jian
e98e6dc079 Merge branch 'backport/openthread_related_feature_v52' into 'release/v5.2'
Backport some openthread related features on to release v5.2 branch(Backport v5.2)

See merge request espressif/esp-idf!33118
2024-08-28 13:50:53 +08:00
Jiang Jiang Jian
4a6154f6a3 Merge branch 'fix/spi_hd_seg_fix_iwdt_timeout_v5.2' into 'release/v5.2'
fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call (v5.2)

See merge request espressif/esp-idf!31843
2024-08-28 13:41:55 +08:00
Jiang Jiang Jian
f42dcf03b6 Merge branch 'bugfix/cache2phys_xip_v5.2' into 'release/v5.2'
fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue (v5.2)

See merge request espressif/esp-idf!31106
2024-08-28 13:39:20 +08:00
laokaiyao
bff6fb518e refactor(bootloader): lower down the log level to reduce the bootloader size 2024-08-28 12:12:56 +08:00
laokaiyao
e5393c6e2e feat(bootloader): support to check efuse block revision
change(bootloader): remove ignore efuse check flag (temp)

change(bootloader): use int for the minimum efuse blk rev (temp)
2024-08-28 12:12:54 +08:00
Jiang Jiang Jian
872fd1adfd Merge branch 'bugfix/fix_wrong_typecast_spp_v5.2' into 'release/v5.2'
fix(wifi): Fix wrong typecasting of sta_info while getting SPP Caps (Backport v5.2)

See merge request espressif/esp-idf!33119
2024-08-28 10:54:06 +08:00
Jiang Jiang Jian
4c5569fc51 Merge branch 'coredump_fixes_v5.2' into 'release/v5.2'
Coredump fixes v5.2

See merge request espressif/esp-idf!33084
2024-08-28 10:49:00 +08:00
Armando
6f8da01e38 fix(psram): fixed ap3204 id check 2024-08-28 10:45:08 +08:00
Jiang Jiang Jian
9f486361d4 Merge branch 'bugfix/fix_usb_dp_pullup_disable_v5.2' into 'release/v5.2'
GPIO: correct pio_ll_pullup_dis when USB DP (backport v5.2)

See merge request espressif/esp-idf!32495
2024-08-28 10:45:06 +08:00
Jakob Hasse
3b330b4f2f fix(esp_system): properly exclude XTAL32K WDT from other chips
Closes https://github.com/espressif/esp-idf/issues/13955
2024-08-28 10:40:39 +08:00
wangtao@espressif.com
ab68008fca fix(wifi): fix esp32s2 get ack rssi invaild issue 2024-08-28 10:31:25 +08:00
Nachiket Kukade
eee82730aa fix(wifi): Fix wrong typecasting of sta_info while getting SPP Caps 2024-08-27 16:11:46 +05:30
zwx
f5e6cfbaf1 feat(esp_netif): add an API to get all preferred ip6 addresses 2024-08-27 18:31:55 +08:00
zwx
f4cdaf2433 feat(802.15.4): support large scale pending table size 2024-08-27 18:31:43 +08:00
Shu Chen
9ee2a361fd feat(openthread): support time sync feature on border router 2024-08-27 18:31:32 +08:00
Michael Wei
c122a11653 fix(openthread): fix RCP build to pass time sync and CSL options
Closes https://github.com/espressif/esp-idf/pull/14060
2024-08-27 18:31:26 +08:00
zwx
a2f763b6e3 feat(lwip): add a config to set the size of ND6 table cache 2024-08-27 18:31:11 +08:00