Commit Graph

23643 Commits

Author SHA1 Message Date
Jiang Jiang Jian
a5bd6a57f1 Merge branch 'fix/coexist_reg_esp32c6_set_default_value' into 'master'
fix(esp_coex): fix esp32c6 coex reg reset issue

See merge request espressif/esp-idf!27664
2023-12-06 16:04:58 +08:00
igor.udot
6e258a879d fix: add count for wpa test 2023-12-06 15:58:05 +08:00
igor.udot
e0a40feb5c refactor: changed logic of unity_tester, replaced threads by generators 2023-12-06 15:58:05 +08:00
radek.tandler
a640626b76 fix(fatfs): Fixed fatfsparse.py parsing of FAT boot sector
The fatfsparse.py script was too strict in parsing the FAT boot sector, causing it to fail in
certain cases. This commit fixes the issue by making the parsing less strict and allowing for more
flexibility in the boot sector format.

This change improves the reliability and compatibility of the fatfsparse.py script, ensuring that it
can correctly parse a wider range of FAT boot sectors.

Docs updated
2023-12-06 08:31:50 +01:00
Kevin (Lao Kaiyao)
0704733708 Merge branch 'feature/add_esp32c5_beta3_rom_support' into 'master'
feat(esp32c5): add esp32c5 beta3 esp_rom support (stage 3/8, part 1)

See merge request espressif/esp-idf!27542
2023-12-06 15:31:49 +08:00
luomanruo
ca4f9ccedb ble(fix): Fixed crash issue when reset event queue 2023-12-06 14:13:23 +08:00
wuzhenghui
b6669d76b2
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration 2023-12-06 13:58:51 +08:00
Rahul Tank
d4db3a2f87 fix(nimble): Added change to return success for API execution 2023-12-06 10:20:18 +05:30
Rahul Tank
c256bed7f8 Merge branch 'bugfix/authcomplete_failure' into 'master'
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value

Closes BLERP-303, BLERP-304, and BLERP-319

See merge request espressif/esp-idf!27499
2023-12-06 12:47:48 +08:00
Jiang Jiang Jian
c87d0a27a8 Merge branch 'bugfix/fix_dhcp_server_can_not_restore_address_pool_issue' into 'master'
fix(dhcp server):dhcp server can not restore address pool

See merge request espressif/esp-idf!27666
2023-12-06 11:59:16 +08:00
liuning
f7d005bd34 fix(wifi): fix disconnected abnormal sleep 2023-12-06 11:32:02 +08:00
Island
9040dea13b Merge branch 'bugfix/BLEQABR23-35master' into 'master'
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval

Closes BLERP-113 and BLERP-112

See merge request espressif/esp-idf!26348
2023-12-06 11:06:38 +08:00
Wu Meng Shi
a93783ae90 fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval 2023-12-06 11:06:38 +08:00
Jiang Jiang Jian
d64217006c Merge branch 'bugfix/IDFGH-11398' into 'master'
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)

Closes IDFGH-11398

See merge request espressif/esp-idf!27564
2023-12-06 10:50:50 +08:00
zwx
a58c416a60 feat(mac): Add a configuration to set custom MAC as base MAC 2023-12-06 10:46:22 +08:00
Laukik Hase
429cb75661 Merge branch 'fix/nvs_encr_flash_enc_dependency' into 'master'
fix(nvs_flash): Remove the forceful selection of NVS_ENCRYPTION with flash encryption

Closes IDFGH-11411

See merge request espressif/esp-idf!27286
2023-12-06 02:08:01 +08:00
laokaiyao
1c9ecfa159 feat(esp32c5): supplement of esp_rom for esp32c5 beta3 target 2023-12-05 22:01:15 +08:00
wanglei
5f2c48acd6 feat(esp32c5): add esp32c5 beta3 esp_rom support 2023-12-05 22:01:15 +08:00
Mahavir Jain
25c2cc5f03 Merge branch 'feature/esp32p4_enable_flash_encryption' into 'master'
Enable Flash Encryption for ESP32P4

Closes IDF-7545

See merge request espressif/esp-idf!26959
2023-12-05 21:42:18 +08:00
Erhan Kurubas
58ee206c99 feat(coredump): save twdt panic output to coredump elf file 2023-12-05 13:28:51 +01:00
xiaqilin
2c2f1bd60d fix(esp_coex): fix esp32c6 coex reg reset issue 2023-12-05 20:16:48 +08:00
Jin Cheng
e78209ad47 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-05 20:10:03 +08:00
Jin Cheng
58256d8c4b fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-05 20:10:03 +08:00
Jin Cheng
dba328d9d5 fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-05 20:10:03 +08:00
Jin Cheng
0f9e8687ee fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-05 20:10:00 +08:00
Jiang Jiang Jian
608664781d Merge branch 'bugfix/fix_bt_3262' into 'master'
Fixed random address setting when scanning on ESP32(fa43201)

See merge request espressif/esp-idf!27396
2023-12-05 19:47:09 +08:00
Jiang Jiang Jian
6da710df94 Merge branch 'bugfix/fix_psram_enabled_psram_initialized_fail_issue' into 'master'
fix(wifi): fix psram enabled but initialized fail issue

Closes IDFGH-10755

See merge request espressif/esp-idf!27218
2023-12-05 19:12:12 +08:00
kohait00
9beda4ce48 feat(tools/cmake): Added VERSION argument to the project() macro in cmake
This commit enables the standad VERSION argument for the project() macro
in ESP-IDF. The VERSION argument is compilant with the requirements of
cmake 3.16. This commit also adds new test cases for verifying the
validity of the version argument.

Merges https://github.com/espressif/esp-idf/pull/12461

Co-authored-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2023-12-05 11:29:43 +01:00
Darian
105f6dd22c Merge branch 'refactor/soc_caps_multiple_cores' into 'master'
change(docs): Update multicore tags to SOC_CPU_HAS_MULTIPLE_CORES

See merge request espressif/esp-idf!27523
2023-12-05 18:20:21 +08:00
Armando (Dou Yiwen)
96c1aea50a Merge branch 'change/split_fpga_overrides.c' into 'master'
bringup: added bypass rng configuration for bringup stage

See merge request espressif/esp-idf!27657
2023-12-05 16:55:43 +08:00
Darshan Dobariya
c34cba9db1 fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value 2023-12-05 14:18:42 +05:30
luomanruo
bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00
xueyunfei
02c1a1c6af fix(dhcp server):dhcp server can not restore address pool 2023-12-05 15:56:20 +08:00
zhanghaipeng
41facc2e08 fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-05 15:44:15 +08:00
Aditya Patwardhan
a84234c23f
feat(security): Enable Flash encryption for ESP32P4 2023-12-05 13:10:55 +05:30
Darian
e3191df37a Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
change(xtensa): Deprecate legacy include paths

Closes IDF-7230

See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Aditya Patwardhan
e09d50d244
feat(soc): Updated soc cap for flash encryption
1) In the ESP32-P4 SoC, we have an eFuse to disable the MSPI access
    when in download mode. This commit adds relevant soc cap for esp32p4
    chip.
    2) Added FE related soc caps
    3) Removed unwanted cap from soc_caps
    4) esp_hw_support: Enable flash encryption related ll APIs for esp32p4
2023-12-05 11:03:48 +05:30
Island
345013fa46 Merge branch 'bugfix/fix_bleqabr23_808' into 'master'
Fixed assert when LLCP instant passed on ESP32-C3 and ESP32-S3(b8f0db9)

Closes BLERP-298, BLERP-299, BLERP-300, BLERP-301, BLERP-310, BLERP-311, and BLERP-312

See merge request espressif/esp-idf!27477
2023-12-05 11:51:20 +08:00
Armando
2c32bd209a change(fpga): added bypass rng configuration 2023-12-05 11:38:35 +08:00
Jiang Jiang Jian
9f2578a0bd Merge branch 'bugfix/wps_disable_crash' into 'master'
Fix a crash in esp_wifi_wps_disable

Closes WIFIBUG-252 and WIFIBUG-266

See merge request espressif/esp-idf!27233
2023-12-05 11:21:09 +08:00
muhaidong
f37448cddb fix(wifi): fix psram enabled but initialized fail issue
Closes https://github.com/espressif/esp-idf/issues/11971
2023-12-05 11:19:59 +08:00
Darian Leung
5697f260fe change(soc): Add SOC_HP_CPU_HAS_MULTIPLE_CORES
This commit adds a the SOC_HP_CPU_HAS_MULTIPLE_CORES convenience macro to
soc_caps.h. This is a convenience boolean cap to represent whether or not the
target has multiple cores, and is intended to be used when writing docs for
multiple targets.
2023-12-05 10:56:22 +08:00
zhanghaipeng
1eb0522774 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-05 10:38:01 +08:00
Martin Vychodil
b61ea3ba97 Merge branch 'fix/fatfsgen_construct' into 'master'
fix(tools): Fix fatfsgen construct dependency

Closes IDFCI-1891

See merge request espressif/esp-idf!27626
2023-12-05 07:33:47 +08:00
Martin Vychodil
bf5acc88fa Merge branch 'fix/fatfs_sbom' into 'master'
fix(storage/fatfs): add Organization prefix to originator

Closes IDF-8793

See merge request espressif/esp-idf!27597
2023-12-05 01:16:40 +08:00
Armando (Dou Yiwen)
0cdc8b167b Merge branch 'change/use_xmc_support_for_p4_fpga_images' into 'master'
change(flash): use xmc support for p4 fpga images

See merge request espressif/esp-idf!27614
2023-12-05 01:08:21 +08:00
Roland Dobai
035e59bfd8 fix(tools): Fix fatfsgen construct exception type and dependency
construct=2.10.70 fixed an issue
(c3866e9492)
and StringError is raised instead of UnicodeDecodeError.
2023-12-04 16:38:46 +01:00
Rahul Tank
2cd09e8f71 Merge branch 'bugfix/remove_rpa_rec' into 'master'
fix(nimble): Handled the deletion of RPA mapping

Closes BLERP-289 and BLERP-295

See merge request espressif/esp-idf!27305
2023-12-04 19:49:40 +08:00
Island
4869d96220 Merge branch 'bugfix/BLEQA23-811' into 'master'
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...

See merge request espressif/esp-idf!27323
2023-12-04 19:42:50 +08:00
Harshit Malpani
1e8261eabf Merge branch 'fix/wrong_order_of_includes_in_esp_tls' into 'master'
fix(esp-tls): Fix wrong order of includes in esp_tls.h

Closes IDFGH-11403

See merge request espressif/esp-idf!27302
2023-12-04 19:02:11 +08:00
Laukik Hase
ea51f4e2f7
fix(nvs_flash): Remove the forceful selection of NVS_ENCRYPTION with flash encryption
- This change will introduce a breaking change for SoCs with the HMAC
  peripheral. Turning on flash encryption will no longer enable NVS
  encryption automatically.

Closes https://github.com/espressif/esp-idf/issues/12549
2023-12-04 16:18:01 +05:30
chenjianhua
74f99d2679 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-04 17:03:38 +08:00
Island
94d7ec7a38 Merge branch 'bugfix/bluedroid_menuconfig' into 'master'
Bugfix/bluedroid menuconfig

Closes BLERP-317

See merge request espressif/esp-idf!27508
2023-12-04 16:30:05 +08:00
wanlei
d0023b061f refactor(spi): replace dma_ll related in spi by dma driver (part1) 2023-12-04 16:20:05 +08:00
Frantisek Hrbata
41afb506d7 fix(storage/fatfs): add Organization prefix to originator
MR espressif/esp-idf!27436 added sbom manifest file for fatfs,
but the originator is missing a prefix required by SPDX specification.
This results in malformed SPDX sbom files.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-04 08:16:48 +01:00
Armando
f470f66f75 change(flash): use xmc support for p4 fpga images 2023-12-04 14:52:54 +08:00
cjin
797edb54fa fix(pm): place extra link opt in iram 2023-12-04 14:46:42 +08:00
Darian
c4819658a2 Merge branch 'change/freertos_remove_xcoreid_for_single_core' into 'master'
change(freertos/idf): Remove xCoreID from TCB in single-core builds

Closes IDF-7894

See merge request espressif/esp-idf!27207
2023-12-04 12:54:54 +08:00
Jakob Hasse
ffedd74f52 Merge branch 'fix/esp_hw_support_remove_unused_include_dirs' into 'master'
fix(esp_hw_support): Removed nonexistent include directories from cmake

Closes IDFGH-11581

See merge request espressif/esp-idf!27551
2023-12-04 12:26:43 +08:00
luoxu
18e91216bd bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-04 03:10:09 +00:00
Jiang Jiang Jian
ac7235523e Merge branch 'bugfix/dpp_deinit_memleak' into 'master'
Fix a memory leak in dpp deinit path

Closes WIFIBUG-174 and WIFIBUG-234

See merge request espressif/esp-idf!26781
2023-12-04 11:02:09 +08:00
Marius Vikhammer
9a6de4cb3e fix(panic): fixed cache error being reported as illegal instruction
On riscv chips accessing cache mapped memory regions over the ibus would
result in an illegal instructions exception triggering faster than the cache
error interrupt/exception.

Added a cache error check in the panic handler, if any cache errors are active
the panic handler will now report a cache error, even if the trigger exception
was a illegal instructions.
2023-12-04 10:49:00 +08:00
Jiang Jiang Jian
077067bb10 Merge branch 'bugfix/fix_connect_error_for_mesh' into 'master'
fix(wifi/mesh): fix connection and opmoode error in mesh

Closes IDFCI-1864 and IDFGH-11521

See merge request espressif/esp-idf!27524
2023-12-04 10:45:21 +08:00
Tomas Rezucha
d34b8c81a8 Merge branch 'feature/usb_hs_support' into 'master'
feat(usb/host): Add High Speed enumeration types

See merge request espressif/esp-idf!27348
2023-12-03 21:58:54 +08:00
Kevin (Lao Kaiyao)
03414a1550 Merge branch 'feature/add_esp32c5_beta3_soc_header_files_part3' into 'master'
feat(esp32c5): add struct name and reformat struct headers (stage 2/8, part3)

See merge request espressif/esp-idf!27521
2023-12-02 21:49:31 +08:00
Darian Leung
33b7e40223 fix(freertos/idf): Fix invalid xCoreID arguments in single-core
IDF FreeRTOS v10.5.1 no longer accepts out of range xCoreID arguments in
"PinnedToCore" task creation functions when building for single-core. This
commit fixes those violations through ESP-IDF.
2023-12-02 15:46:07 +08:00
Darian Leung
439c7c4261 change(freertos/idf): Remove xCoreID TCB member for single-core
This commit does the following:

- removes the xCoreID member from the TCB when building for single-core
- xCoreID is no longer hard set to 0 when calling "PinnedToCore" task creation
functions in single-core
- Tidy up or add missing xCoreID asserts for functions that take xCoreID as an
argument:
    - Functions that set/query a variable of a particular core will call
      taskVALID_CORE_ID() to ensure ) 0 <= xCoreID < configNUMBER_OF_CORES
    - Task creation functions that accept xCoreID also call taskVALID_CORE_ID()
      but also allow tskNO_AFFINITY.
- Fix TaskStatus_t
    - Remove xCoreID from TaskStatus_t if configTASKLIST_INCLUDE_COREID is not
      defined.
    - Set xCoreID to 0 when calling vTaskGetInfo() in single-core builds
2023-12-02 15:46:07 +08:00
Darian Leung
ae2bd61054 refactor(freertos/idf): Refactor yield and affinity macros
This commit refactors the following macros so that calling them no longer
requires referencing pxTCB->xCoreID.

- taskIS_YIELD_REQUIRED()
- taskIS_YIELD_REQUIRED_USING_PRIORITY()
- taskIS_AFFINITY_COMPATIBLE()
2023-12-02 15:46:07 +08:00
Ivan Grokhotkov
81385b3476 Merge branch 'feature/update_catch2' into 'master'
ci: upgrade host tests to use espressif/catch2 component, add missing build rules

Closes IDF-8775

See merge request espressif/esp-idf!27455
2023-12-01 21:25:25 +08:00
chenjianhua
daae89357c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-01 21:12:43 +08:00
chenjianhua
9c40585b23 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-01 21:01:53 +08:00
chenjianhua
51607c87d6 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-01 21:01:53 +08:00
Abhinav Kudnar
7bafda1155 fix(nimble): Handled the deletion of RPA mapping. 2023-12-01 17:04:20 +05:30
Darian
cc34c4fc08 Merge branch 'contrib/github_pr_12481' into 'master'
Many places in the ESP_SYSTEM are using CONFIG_FREERTOS_UNICORE instead of CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE (GitHub PR)

Closes IDFGH-11333

See merge request espressif/esp-idf!27435
2023-12-01 19:33:19 +08:00
luomanruo
3c90024f25 ble(update):
Update c2 lib to 47a787f0
Update h2 lib to 73452eac
Update c6 lib to 73452eac
2023-12-01 19:30:35 +08:00
laokaiyao
40bce13348 feat(esp32c5): update reg headers for multiple instances module (part3) 2023-12-01 19:04:55 +08:00
laokaiyao
9b31979107 feat(esp32c5): add struct name and reformat struct headers (part3) 2023-12-01 19:04:46 +08:00
Harshal Patil
d69ee9e133 Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_for_aes_gcm' into 'master'
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations

See merge request espressif/esp-idf!27516
2023-12-01 19:03:00 +08:00
jgujarathi
322aa53d9d fix(wpa_supplicant): Add support for a dpp authentication timeout
- Adds support for a 1 second dpp authentication timeout.
2023-12-01 15:08:32 +05:30
zhanghaipeng
d528cc598e fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:21:49 +08:00
morris
2d4a6748a3 Merge branch 'feature/sdm_driver_esp32p4' into 'master'
esp_driver_sdm driver support on esp32p4

Closes IDF-7551

See merge request espressif/esp-idf!27543
2023-12-01 17:21:04 +08:00
Island
e3ab9f009b Merge branch 'feat/support_ble_create_sync_report' into 'master'
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
Harshit Malpani
9e8761880b
fix(esp-tls): Add headers in esp_tls_errors.h header file
Closes https://github.com/espressif/esp-idf/issues/12541
2023-12-01 14:15:43 +05:30
luoxu
c90fd0ebe2 bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc) 2023-12-01 15:53:44 +08:00
David Čermák
096d1ce1bb Merge branch 'feat/http_client_session_ticket' into 'master'
feat(http_client): Restore TLS session and custom transport

See merge request espressif/esp-idf!26059
2023-12-01 15:11:20 +08:00
jgujarathi
8508363ce5 fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
- Restructuring DPP init function to ensure cleanup of variables in case of
  init failure
2023-12-01 12:23:03 +05:30
jgujarathi
76da067bce fix(wpa_supplicant): Fix location of clearing up dpp global variables
- Fix location of cleaing up dpp global variables to ensure that there are
  no concurrency issues.
2023-12-01 12:23:03 +05:30
jgujarathi
30c510020f fix(wpa_supplicant): Fix a memory leak in dpp deinit path
- Ensures that the auth information of dpp gets freed when there is
  dpp gets deinited.
2023-12-01 12:23:00 +05:30
C.S.M
2d4a9240dc Merge branch 'feat/add_example_usj' into 'master'
change(usb_serial_jtag): Add example for usb serial jtag echo

Closes IDFGH-11503, IDFGH-11493, and IDFGH-11478

See merge request espressif/esp-idf!27366
2023-12-01 14:39:14 +08:00
Island
682ca74e98 Merge branch 'bugfix/ble_update_lib_20231124' into 'master'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

Closes BLERP-269 and BLERP-291

See merge request espressif/esp-idf!27391
2023-12-01 13:58:11 +08:00
Mahavir Jain
0df6afadef Merge branch 'fix/esp32s3_soc_drom_high_addr' into 'master'
fix(soc): esp32s3/Fix the DROM_HIGH_ADDR

See merge request espressif/esp-idf!27015
2023-12-01 12:41:59 +08:00
zhangyanjiao
550f858c0f fix(wifi/mesh): fix connection and opmoode error in mesh
1. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router

Closes https://github.com/espressif/esp-idf/issues/12646
2023-12-01 12:03:06 +08:00
Jakob Hasse
637d4c4381 fix(esp_hw_support): Removed unused include directories from cmake
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-01 11:33:12 +08:00
Jiang Jiang Jian
e6a490c2ae Merge branch 'bugfix/dpp_listen_bugs' into 'master'
fix(wpa_supplicant): Fix few bugs in dpp

See merge request espressif/esp-idf!26792
2023-12-01 11:07:18 +08:00
Wang Meng Yang
76923a7a7f Merge branch 'bugfix/hci_param_check' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!27423
2023-12-01 10:24:11 +08:00
morris
d171a7b958 change(sdm): move driver to a new component: esp_driver_sdm 2023-12-01 10:03:48 +08:00
morris
846751216b feat(sdm): add driver support for esp32p4 2023-12-01 10:03:09 +08:00
Liu Linyan
9879615053 Merge branch 'update/ble_mesh_put_lib_in_submodule' into 'master'
fix(ble_mesh): Put Mesh 1.1 lib files in submodule

Closes IDFCI-1860

See merge request espressif/esp-idf!26987
2023-12-01 09:56:19 +08:00
Wang Meng Yang
eaa172033a Merge branch 'bugfix/alarm_args_double_free' into 'master'
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap

Closes BTQABR2023-141

See merge request espressif/esp-idf!27532
2023-12-01 09:32:39 +08:00
Darian Leung
8c2949a97e change(xtensa): Deprecate ".../xtensa_timer.h" include path
This commit deprecates the "freertos/xtensa_timer.h" and "xtensa/xtensa_timer.h"
include paths. Users should use "xtensa_timer.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_timer.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Darian Leung
a5d5ee7445 change(xtensa): Deprecate ".../xtensa_context.h" include path
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Darian Leung
2204c8e137 change(xtensa): Deprecate ".../xtensa_api.h" include path
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Jin Cheng
48d410e10d fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap 2023-11-30 19:47:57 +08:00
aditi_lonkar
bdeec024e8 fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times 2023-11-30 15:37:17 +05:30
Shu Chen
195d4013a2 Merge branch 'fix/lwip_na_packets_router_flag' into 'master'
feat(lwip): support NA router farwording flag set

See merge request espressif/esp-idf!27132
2023-11-30 17:48:42 +08:00
Ivan Grokhotkov
e39d1ae9ce Merge branch 'feature/update_unity' into 'master'
feat(unity): upgrade to 2.6.0-RC1

See merge request espressif/esp-idf!27456
2023-11-30 17:12:12 +08:00
Liu Linyan
94d3f5037b fix(ble_mesh): Use submodule for mesh 1.1 lib files 2023-11-30 16:56:58 +08:00
Liu Linyan
2c579d03ca fix(ble_mesh): Remove the orginal mesh 1.1 lib files 2023-11-30 16:34:22 +08:00
Sudeep Mohanty
35fc493dcc Merge branch 'bugfix/freertos_incorrect_placement_of_unblocked_task_during_tick_increment' into 'master'
fix(freertos/idf): Refactor suspend-resume tests

Closes IDF-8364

See merge request espressif/esp-idf!26849
2023-11-30 15:53:31 +08:00
Kevin (Lao Kaiyao)
15803e14e9 Merge branch 'feature/add_esp32c5_beta3_soc_header_files' into 'master'
feat(esp32c5): add esp32c5 soc header files (stage 2, part 1)

See merge request espressif/esp-idf!27492
2023-11-30 15:07:04 +08:00
Cao Sen Miao
b8e8042c4e fix(usb_serial_jtag): Fix issue that buffer seems not flush when TX buffer is full and flush slow,
Closes https://github.com/espressif/esp-idf/issues/12628
2023-11-30 14:38:06 +08:00
Kevin (Lao Kaiyao)
11461aff62 Merge branch 'feature/add_esp32c5_beta3_soc_header_files_part2' into 'master'
feat(esp32c5): add esp32c5-beta3 soc header files (stage2, part2)

See merge request espressif/esp-idf!27500
2023-11-30 14:35:54 +08:00
harshal.patil
47821f6299
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations 2023-11-30 11:59:59 +05:30
Jiang Jiang Jian
41400d8224 Merge branch 'feat/add_new_api_to_get_scan_ap_record' into 'master'
feat(wifi): add new api to get one scan ap record

Closes WIFI-6311, WIFIBUG-210, and WIFIBUG-211

See merge request espressif/esp-idf!26912
2023-11-30 13:56:51 +08:00
C.S.M
cce1bf36fc Merge branch 'bugfix/u32_reg_tsens' into 'master'
fix(temperature_sensor): Fix regs on temperature sensor is not volatile due to GCC bug

See merge request espressif/esp-idf!27468
2023-11-30 12:37:10 +08:00
Tomas Rezucha
39d57f1cfd refactor(usb/host): Move FIFO size configuration to HAL layer
The logic of calculating FIFO sizes is DWC OTG specific.
We move it to the HAL layer to provide better abstraction in the HDC layer.
2023-11-30 12:04:30 +08:00
zhanghaipeng
a1b678e721 fix(bt/bluedroid): Fix bluedroid menuconfig 2023-11-30 10:43:12 +08:00
shangke
a7dc484564 fix(bt/controller): Fixed some HCI commands parameter 2023-11-30 02:41:56 +00:00
Wang Meng Yang
0fb0fc8654 Merge branch 'bugfix/alarm_args_double_free' into 'master'
fix(bt/bluedroid): Free the alarm args only when it is not NULL

Closes BTQABR2023-141

See merge request espressif/esp-idf!27475
2023-11-30 10:27:14 +08:00
Tomas Rezucha
b258bbf068 refactor(usb/host): Make private hal types USB_DWC specific 2023-11-30 10:24:53 +08:00
Armando (Dou Yiwen)
d36fe73960 Merge branch 'test/improve_sdmmc_tests' into 'master'
sd: improve tests and added on CI

See merge request espressif/esp-idf!27384
2023-11-30 10:21:11 +08:00
Tomas Rezucha
69d9e7625b feat(usb/host): Add High Speed enumeration types 2023-11-30 10:17:00 +08:00
Marius Vikhammer
ae4be8eb03 Merge branch 'feature/p4_lp_core' into 'master'
feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4

Closes IDF-7534

See merge request espressif/esp-idf!26869
2023-11-30 09:35:49 +08:00
Adam Múdry
a4ff2decdd Merge branch 'fix/esp_vfs_fat_sdcard_format_workbuf_leak' into 'master'
fix: esp_vfs_fat_sdcard_format workbuf memory leak

Closes IDF-8779

See merge request espressif/esp-idf!27490
2023-11-30 05:42:00 +08:00
David Cermak
96069eef3b feat(http_client): Add support for using custom tcp_transport 2023-11-29 20:48:40 +01:00
David Cermak
7e22a13afe feat(http_client): Add support for TLS session tickets 2023-11-29 20:48:35 +01:00
Gao Xu
4e843a1a70 Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk' into 'master'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk

Closes IDF-8414

See merge request espressif/esp-idf!27115
2023-11-30 00:22:48 +08:00
laokaiyao
d87e007c66 feat(esp32c5): add esp32c5-beta3 soc header files (part1) 2023-11-29 20:53:33 +08:00
laokaiyao
87f7d2edc4 feat(esp32c5): add esp32c5-beta3 soc header files (part2) 2023-11-29 20:48:52 +08:00
Kevin (Lao Kaiyao)
cd9d321062 Merge branch 'feature/introduce_target_esp32c5' into 'master'
feat(esp32c5): introduce target esp32c5 (stage 1)

See merge request espressif/esp-idf!27299
2023-11-29 20:31:34 +08:00
Adam Múdry
29c30b961d fix: esp_vfs_fat_sdcard_format workbuf memory leak 2023-11-29 12:39:15 +01:00
Ivan Grokhotkov
b52182e14f
ci(tcp_transport): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
ae3da4a383
ci(wear_levelling): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
33896fe67e
ci(log): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
88e77ba1ed
ci(nvs_flash): upgrade to Catch2 as a component, fix warnings 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
047e50615e
ci(fatfs): upgrade to Catch2 as a component, enable CI build 2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
8e81bbe014
ci(esp_rom): upgrade to Catch2 as a component, enable CI build 2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
79a2c15477
ci(esp_event): upgrade host test to Catch2 as a component, fix build
- use espressif/catch2 component
- fix build issues after FreeRTOS upgrade
- enable test app build in CI
2023-11-29 12:38:46 +01:00
zhangyanjiao
b495f54329 fix(wifi): fix the crash issue when clear scan ap list 2023-11-29 19:23:35 +08:00
zhangyanjiao
0f18104d53 feat(wifi): add new api to get one scan ap record 2023-11-29 19:19:25 +08:00
C.S.M
96f49c2603 Merge branch 'bugfix/bod_reset_c6_h2' into 'master'
fix(bod): Fix issue that RF cannot be enabled again after BOD triggered.

See merge request espressif/esp-idf!27287
2023-11-29 17:21:38 +08:00
Martin Vychodil
875849128f Merge branch 'feature/add_fatfs_sbom' into 'master'
feat(storage/fatfs): add sbom file manifest for FatFs

Closes IDF-8229

See merge request espressif/esp-idf!27436
2023-11-29 17:11:52 +08:00
Marius Vikhammer
99c88b9272 Merge branch 'feature/misc_core_build_tests_p4' into 'master'
ci(system): fixed and enabled misc system build tests

Closes IDF-8069, IDF-8071, and IDF-8119

See merge request espressif/esp-idf!27431
2023-11-29 16:58:07 +08:00
Jin Cheng
823e0711c9 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free 2023-11-29 15:55:46 +08:00
Rahul Tank
427f734dca Merge branch 'bugfix/add_legacy_adv_clear_vsc' into 'master'
fix(nimble): Add support for VSC to clear legacy adv memory

Closes BLERP-160

See merge request espressif/esp-idf!26561
2023-11-29 14:57:22 +08:00
gaoxu
7f296f2a20 ci(adc): add a test that adc continuous read after restarting 2023-11-29 14:30:25 +08:00
gaoxu
3acf3ec648 fix(adc): fix adc continuous get less results beacuse do not reset apb clk 2023-11-29 14:28:33 +08:00
Cao Sen Miao
b0c90ac456 fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug 2023-11-29 14:25:25 +08:00
Shu Chen
60da3e9c44 Merge branch 'fix/ieee802154_sleep_config' into 'master'
fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue

See merge request espressif/esp-idf!27389
2023-11-29 12:25:01 +08:00
Jiang Jiang Jian
145d40a120 Merge branch 'bugfix/fix_wifi_deinit_s_wifi_modem_sleep_lock' into 'master'
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock

See merge request espressif/esp-idf!27450
2023-11-29 12:15:51 +08:00
Armando
1400f3553d change(sdspi): disabled some tests (needs check/re-enable future) 2023-11-29 12:13:03 +08:00
Armando
4aadacbcdc refactor(sdspi): added component pytest cases and enabled them on CI 2023-11-29 12:13:03 +08:00
Armando
9b0d75f2df refactor(sdmmc): added component pytest cases and enabled them on CI 2023-11-29 12:13:03 +08:00
Jiang Jiang Jian
234e5e8d09 Merge branch 'feat/max_ver_c3_199' into 'master'
feat(soc): Increase max supported version of C3 to 1.99

See merge request espressif/esp-idf!26821
2023-11-29 11:17:59 +08:00
Marius Vikhammer
0c067fcb05 feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4 2023-11-29 10:50:40 +08:00
Ivan Grokhotkov
88fa79fcc7
feat(unity): upgrade to 2.6.0-RC1 2023-11-28 20:22:02 +01:00
Erhan Kurubas
4b0da52aa8 Merge branch 'save_isr_ctx_to_coredump' into 'master'
feat(coredump): save isr context to coredump elf file

Closes IDF-7790

See merge request espressif/esp-idf!27182
2023-11-28 23:40:11 +08:00
Jiang Jiang Jian
469dda11f9 Merge branch 'bugfix/nan_datapath_issues' into 'master'
Fix issues with NAN datapath

See merge request espressif/esp-idf!25595
2023-11-28 21:06:19 +08:00
liuning
2366bab75f fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock 2023-11-28 20:56:37 +08:00
Rahul Tank
6b5d5698cf fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-11-28 18:13:51 +05:30
Rahul Tank
7ab678873c Merge branch 'bugfix/cts_handle_invalid_year_val' into 'master'
fix(nimble): Handled invalid write on year value in Current Time Service

Closes BT-3478

See merge request espressif/esp-idf!27301
2023-11-28 20:20:15 +08:00
Jeroen Domburg
7830b01d9f Merge branch 'bugfix/usb_ser_jtag_filled_ep_flush' into 'master'
Fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data

See merge request espressif/esp-idf!27388
2023-11-28 18:20:38 +08:00
Sudeep Mohanty
0b1649d22b refactor(freertos/idf): Refactor FreeRTOS suspend-resume tests
This commit refactors suspend-resume tests by moving them to appropraite
test files. This commit also removes tests which are not necessary or
have been subsumed by refactored tests.
2023-11-28 10:50:24 +01:00
jgujarathi
f73432f651 fix(wpa_supplicant): Move concurrent wps and dpp check to before creating task
- Move the check for checking concurrent wps and dpp check to before creating
  task rather than after.
2023-11-28 15:18:39 +05:30
Ivan Grokhotkov
b48b501d85 Merge branch 'refactor/core_init_registration' into 'master'
refactor(startup): implement registration of core init functions

See merge request espressif/esp-idf!27402
2023-11-28 17:25:00 +08:00
Tomáš Rohlínek
526ce4f5cc
feat(storage/fatfs): add sbom file for FatFs 2023-11-28 09:36:40 +01:00
laokaiyao
7fa0d61c35 refactor(build_test_rules): invert the logic to avoid involving preview target
Only set enable condition for the app will introduce the preview target in README.md
Replace with disable logic instead
2023-11-28 16:14:17 +08:00
laokaiyao
bb0879b3f8 feat(esp32c5): introduce target esp32c5 2023-11-28 16:14:17 +08:00
fl0wl0w
d149c1b26f Use configuration option instead of in components not related to FreeRTOS
Mergeshttps://github.com/espressif/esp-idf/pull/12481
2023-11-28 07:49:20 +00:00
jgujarathi
bb4b9d0687 fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
- Fixes a crash observed in esp_wifi_wps_disable when wps process
  is ongoing, caused due to concurrency issues in cancelling timers.
2023-11-28 11:55:35 +05:30
Marius Vikhammer
b96f93b879 ci(system): fixed and enabled misc system build tests 2023-11-28 14:00:16 +08:00
Shyamal Khachane
d7db8e08e5 fix(esp_wifi): Fix issues with NAN datapath
1. Avoid possible crash scenarios while forming datapath
2. Modify peer records structure thus fixing issues in datapath establishment
3. Fix timer out of bound issue causing "No timer handle" warning
4. Fix miscellaneous service discovery and datapath issues
2023-11-28 10:24:52 +05:30
C.S.M
dbe08fbaae Merge branch 'refactor/esp_driver_tsens' into 'master'
refactor(temperature_sensor): Make temperature sensor driver as a seperate component

See merge request espressif/esp-idf!27408
2023-11-28 10:39:14 +08:00
morris
19d71f7dd6 Merge branch 'bugfix/i80_lcd_tx_param_check_enhancement' into 'master'
fix(i80_lcd): enhance the check of a valid data phase

See merge request espressif/esp-idf!27347
2023-11-28 09:55:55 +08:00
Erhan Kurubas
a7bbf0d3aa feat(coredump): save isr context to coredump elf file 2023-11-27 16:46:42 +01:00
Tomas Rohlinek
38ee8c6373 Merge branch 'fix/fatfs_locking' into 'master'
fix(storage/fatfs): add missing locks in fatfs wrapper for vfs

Closes IDF-8282

See merge request espressif/esp-idf!26747
2023-11-27 19:21:21 +08:00
Cao Sen Miao
09f99e51db refactor(temperature_sensor): Make temperature sensor driver as a seperate component 2023-11-27 17:51:40 +08:00
Ivan Grokhotkov
6046b396ac
fix(esp_timer): avoid signed integer overflow in ESP_SYSTEM_INIT_FN
CONFIG_ESP_TIMER_ISR_AFFINITY can be equal to -1, whereas
ESP_SYSTEM_INIT_FN takes an uint16_t argument. To avoid overflow,
move the choice of init mask into source code and set the value
explicitly.
2023-11-27 10:20:51 +01:00
Ivan Grokhotkov
75c92c3a66
refactor(startup): implement registration of core init functions
Similar to how the secondary init functions were already registered
via ESP_SYSTEM_INIT_FN, do the same for the core init functions.
This MR doesn't actually move the init functions into respective
components yet. This has to be carefully done in follow-up MRs.
2023-11-27 10:20:51 +01:00
Roshan Bangar
f78a948c8b fix(nimble): Handled invalid write on year value in Current Time Service 2023-11-27 14:46:00 +05:30
Tomáš Rohlínek
91e158aa0c
fix(storage/fatfs): add missing locks in fatfs wrapper for vfs 2023-11-27 07:47:28 +01:00
wuzhenghui
04fcfff5e0
fix(esp_system): fix uart clock disabled in driver cause esp_restart stuck 2023-11-27 12:06:07 +08:00
Jeroen Domburg
3f08e5c91a fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data 2023-11-27 12:04:30 +08:00
Darian
e334cda304 Merge branch 'change/usb_host_minor_optimizations' into 'master'
change(usb/host): Remove unecessary features

See merge request espressif/esp-idf!27308
2023-11-27 11:31:14 +08:00
Rahul Tank
82532740ae Merge branch 'bugfix/fix_duplicate_exception_vsc' into 'master'
fix(nimble): Fix the parameters in duplicate exception list vsc command

Closes BLERP-211

See merge request espressif/esp-idf!26863
2023-11-27 11:16:01 +08:00
Rahul Tank
d2a52ae749 fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-11-26 12:45:01 +05:30
morris
f2751213fd feat(rmt): move the driver to a new component 2023-11-25 00:29:53 +00:00
Darian Leung
095b541125 change(usb/host): Remove some handler function event flags
This commit removes internal event flags in the USB Host Library event handling
functions (i.e., usb_host_lib_handle_events() and usb_host_client_handle_events()).

Previously, these flags were added to reduce the number of times semaphores
were given. However, these flags were removed as the performance gain is
negligible and made the logic more complicated.

For usb_host_client_handle_events(), the following flags were removed:

- Remove 'events_pending' flag. The semaphore is now always given
- Remove 'blocked' flag. The 'handling_events' flag is already sufficient
- Critical sections are now shortened due to simplication of semaphore usage.

For usb_host_lib_handle_events(), the following flags were removed:

- Remove 'process_pending' flag. The semaphore is now always given
- Renamed 'blocked' flag to 'handling_events'
2023-11-24 22:08:57 +08:00
Song Ruo Jing
b403ef9527 Merge branch 'refactor/uart_read_bytes_from_ringbuf' into 'master'
change(uart): improved the internal logic of uart_read_bytes

Closes IDFGH-11220

See merge request espressif/esp-idf!27290
2023-11-24 21:35:05 +08:00
Darian Leung
16c37f9db1 change(usb/host): Remove data buffer headers from URBs
This commit removes the ability to reserve a header in the data buffer of an
allocated URB. The header was required for a now defunct implementation of a
synchronous USB Host library API. Thus, headers are no longer required in
URB data buffers.
2023-11-24 20:57:03 +08:00
luomanruo
201b7b8785 ble: update rom.ld file 2023-11-24 20:34:41 +08:00
luomanruo
7eb1a29eb8 ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6 2023-11-24 20:18:23 +08:00
luomanruo
cb1390108e ble(fix): fix RX issue on ESP32-C2 2023-11-24 19:38:19 +08:00
luomanruo
f5ef22d54d ble:
Update c2 lib to 79ed4e8a
Update h2 lib to 9a237426
Update c6 lib to 9a237426
2023-11-24 19:20:47 +08:00
Song Ruo Jing
e358d379e5 change(uart): improved the internal logic of uart_read_bytes
Ringbuffer usage becomes more efficient with the use of xRingbufferReceiveUpTo

Closes https://github.com/espressif/esp-idf/issues/12386
2023-11-24 19:02:11 +08:00
Martin Vychodil
76011fc8f7 Merge branch 'fix/uart_select_malloc' into 'master'
fix(vfs): fix uart malloc when locates ISR context in IRAM

See merge request espressif/esp-idf!27278
2023-11-24 18:57:30 +08:00
Gao Xu
b9a3dd1b37 Merge branch 'bugfix/fix_adc_cali_error_after_light_sleep_wake_on_h2' into 'master'
adc: fix calibration error when waking up from light sleep on H2 and enable test

Closes IDF-8569

See merge request espressif/esp-idf!27242
2023-11-24 18:25:35 +08:00
xiaqilin
8178961704 fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue 2023-11-24 17:56:57 +08:00
Shyamal Khachane
05896af6bd fix(esp_wifi): Fix crash while cancelling NAN service 2023-11-24 04:15:39 +00:00
C.S.M
372f069324 Merge branch 'fix/flash_s2_ci' into 'master'
fix(spi_flash): Fix ESP32S2 multi-flash test

See merge request espressif/esp-idf!27338
2023-11-24 11:52:19 +08:00
Kevin (Lao Kaiyao)
ff45ef6516 Merge branch 'refactor/esp_driver_dac' into 'master'
refactor(dac): make dac driver as component

Closes IDF-8370

See merge request espressif/esp-idf!27264
2023-11-24 11:28:23 +08:00
Cao Sen Miao
b3280677fd fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again 2023-11-24 10:17:20 +08:00
Adam Múdry
7464f5e3ea fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package 2023-11-23 23:58:20 +01:00
Martin Vychodil
aee0ed7c07 Merge branch 'fix/fatfs_formatting_wrong_volume' into 'master'
Fix: FATFS formatting wrong partition

Closes IDFGH-11404

See merge request espressif/esp-idf!27011
2023-11-24 05:22:57 +08:00
Adam Múdry
25714837cf fix(storage): FATFS WL function formatting wrong partition
Closes https://github.com/espressif/esp-idf/issues/12542

Co-authored-by: Tony Stuart <anthonyfstuart@gmail.com>
2023-11-23 13:54:00 +01:00
Cao Sen Miao
2c131672db fix(spi_flash): Fix ESP32S2 multi-flash test 2023-11-23 19:49:59 +08:00
Martin Vychodil
caf3ae711b Merge branch 'fix/memory_leak_in_nvs_flash' into 'master'
fix(nvs_flash): Fix the memory leak in the nvs_flash test app

Closes IDFCI-1872

See merge request espressif/esp-idf!27324
2023-11-23 18:23:13 +08:00
Martin Vychodil
65cdca7696 Merge branch 'feature/expose_unload_partitions' into 'master'
refactor(esp_partition): Expose function for unloading partitions

Closes IDFGH-11498

See merge request espressif/esp-idf!27331
2023-11-23 17:11:53 +08:00
Michael (XIAO Xufeng)
eb93daafd0 feat(soc): Increase max supported version of C3 to 1.99 2023-11-23 06:58:18 +00:00
laokaiyao
ef7772eee0 refactor(dac): make dac driver as component 2023-11-23 12:04:06 +08:00
Wu Zheng Hui
581824d1f2 Merge branch 'feature/reinitialize_icg_map_in_modem_module_enable' into 'master'
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable

Closes WIFI-6312

See merge request espressif/esp-idf!27168
2023-11-23 11:55:34 +08:00
Jiang Jiang Jian
676968ab0e Merge branch 'bugfix/ble_update_lib_1110' into 'master'
Bugfix/ble update lib 1110

Closes BLERP-242, BLERP-248, BLERP-241, BLERP-243, BLERP-239, BLERP-256, BLERP-257, BLERP-258, BLERP-259, BLERP-260, BLERP-261, BLERP-262, BLERP-240, BLERP-227, BLERP-214, BLERP-266, BLERP-267, BLERP-268, BT-3481, WIFI-6313, and BLERP-287

See merge request espressif/esp-idf!27060
2023-11-23 11:05:18 +08:00
morris
adf33fa57e fix(i80_lcd): enhance the check of a valid data phase
in case the user passes a (uint8_t){0x00} parameter with the perameter size
set to zero
2023-11-23 11:02:28 +08:00
Jiang Jiang Jian
5d3c1bb8ef Merge branch 'bugfix/fix_wifi_init_reentrant_issue' into 'master'
fix(wifi): fix wifi init reentrant issue

Closes WIFIBUG-242

See merge request espressif/esp-idf!26718
2023-11-23 10:57:28 +08:00
Jakob Hasse
0a5fd73dd2 Merge branch 'refactor/memory_leak_message_shorter' into 'master'
refactor(ci): prevent memory leak message without memory leak

See merge request espressif/esp-idf!27226
2023-11-23 10:49:24 +08:00
Jakob Hasse
5f4865e838 Merge branch 'doc/soc_cap_tool' into 'master'
Doc/soc cap tool

See merge request espressif/esp-idf!27154
2023-11-23 10:47:01 +08:00
Mahavir Jain
810133a5fd Merge branch 'support/add_srp_salt_ver_gen_api' into 'master'
Generate Salt and verifier pair for given username and password

See merge request espressif/esp-idf!25239
2023-11-23 00:30:57 +08:00
Jiang Jiang Jian
80209bfca6 Merge branch 'bugfix/authmode_incompatible_reason_code' into 'master'
Expand situations for incompatible security configuration disconnect reason code and fix wep connection issue

Closes WIFIBUG-260

See merge request espressif/esp-idf!27232
2023-11-22 22:58:12 +08:00
Roland Dobai
f39a620afa Merge branch 'contrib/github_pr_12558' into 'master'
Fix: esptool_py incorrectly assumed target name equals binary name (GitHub PR)

Closes IDFGH-11420

See merge request espressif/esp-idf!27173
2023-11-22 22:40:34 +08:00
Armando (Dou Yiwen)
b8121227b6 Merge branch 'refactor/esp_driver_sdio' into 'master'
refactor(sdio): place sdio slave driver into a new component

Closes IDF-8373

See merge request espressif/esp-idf!27125
2023-11-22 21:13:00 +08:00
harshal.patil
5e1335aae4
fix(nvs_flash): Fix the memory leak in the nvs_flash test app
The leak is now reduced by allocating the AES interrupt and
loading the partitions in the test setup instead of in the tests itself.
2023-11-22 16:23:18 +05:30
Adam Múdry
0cc38fb901 refactor(esp_partition): Expose function for unloading partitions
Closes https://github.com/espressif/esp-idf/issues/12625
2023-11-22 11:13:32 +01:00
Rahul Tank
356fe4881b Merge branch 'bugfix/fix_dangling_pointer_compilation_warning' into 'master'
fix(nimble): Fix dangling pointer error during compilation

See merge request espressif/esp-idf!26984
2023-11-22 17:59:30 +08:00
Martin Vychodil
bd91c7b510 Merge branch 'contrib/github_pr_12567' into 'master'
Add option to configure FATFS_USE_LABEL boolean (GitHub PR)

Closes IDFGH-11429

See merge request espressif/esp-idf!27100
2023-11-22 17:57:23 +08:00
Liu Ning
e50d9fca3a Merge branch 'feature/refactor_some_coexist_sections' into 'master'
feature(coex): refactor some coexist sections

Closes WIFI-5976、WIFI-5464 以及 TZ-81

See merge request espressif/esp-idf!26706
2023-11-22 17:48:24 +08:00
liuning
b47bf9e742 fix(wifi): fix wifi init reentrant issue 2023-11-22 17:39:56 +08:00
Harshit Malpani
3e0700bfda Merge branch 'bugfix/return_code_of_ota_finish_api' into 'master'
fix(esp_https_ota): fix return code of esp_https_ota_finish API

Closes IDFGH-11510

See merge request espressif/esp-idf!27296
2023-11-22 15:48:39 +08:00
C.S.M
067ee29774 Merge branch 'bugfix/improve_enc_write_performance' into 'master'
bugfix(spi_flash): Improve encryption write performance

Closes IDFGH-11415

See merge request espressif/esp-idf!27123
2023-11-22 15:19:28 +08:00
jgujarathi
b47b75f6c8 fix(esp_wifi): Expand situations for REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
- Fixes issue with connecting and discovering WEP APs
- Expsnds the reasons for trigerring a disconnect using
REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
-- SAE-PK configured as compulsory in sta config but disabled for the AP
-- SAE-H2e configured as compulsory in sta config but disabled for an AP
that has authmode as WPA3-PSK or WPA3-WPA2-PSK.
-- Open AP found but we have set password or enabled enterprise mode.
-- SAE H2E only ap but we have SAE HnP setup in config.
-- WPA3-EXT_PSK AP but SAE-H2E disabled in config
2023-11-22 11:29:30 +05:30
morris
397f9f2274 Merge branch 'feature/rgb_lcd_support_esp32p4' into 'master'
feat(lcd): add LL driver of rgb/i80 LCD for esp32p4

See merge request espressif/esp-idf!27200
2023-11-22 13:08:59 +08:00
Rahul Tank
1e4e193ca7 fix(nimble): Fix dangling pointer error during compilation 2023-11-22 08:58:41 +05:30
Armando
22b4270a6b refactor(sdio): place sdio slave driver into a new component 2023-11-22 10:37:31 +08:00
Cao Sen Miao
6953b51b3a fix(spi_flash): Improve encryption write performance, Closes https://github.com/espressif/esp-idf/issues/12553 2023-11-22 10:33:05 +08:00
Jiang Jiang Jian
275a7ec2a2 Merge branch 'fix/esp32c6_sleep_pll_issue' into 'master'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue

Closes BLERP-105, BLERP-213, and BLERP-234

See merge request espressif/esp-idf!26208
2023-11-22 10:29:48 +08:00
Rahul Tank
ff967f8b3b Merge branch 'bugfix/ble_gap_unpair_oldest_peer_fix' into 'master'
fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory

Closes IDFCI-1871, BT-3509, and BLERP-270

See merge request espressif/esp-idf!27158
2023-11-22 09:14:30 +08:00
morris
106baac0bc Merge branch 'feature/rmt_receive_partial_callback' into 'master'
feat(rmt): support partial receive if the incoming packet is very long

Closes IDF-6579

See merge request espressif/esp-idf!27033
2023-11-22 06:37:46 +08:00
Vikram Dattu
08f2422ff8
feat(provisioning): Generate Salt and verifier pair for given username and password
This commit adds a new feature to generate a salt and verifier pair for a given username and
password during the provisioning process. This is useful in scenarios where the pairing pin is
randomly generated and shown via some interface such as a display or console.

- Uses the provided username and password to generate a salt and verifier pair
- Adds support for dev mode where the pin/password can still be read from flash
2023-11-21 18:06:24 +05:30
Vikram Dattu
b97322c521
refactor(esp_srp): Expose esp_srp.h and add API docs
- Also added missing `protocomm_security2` reference in `protocomm.rst`
2023-11-21 18:06:24 +05:30
liuning
c783332962 feat(coex): apply struct for coex version 2023-11-21 18:00:26 +08:00
liuning
aec27052b6 feat(coex): rename coexist sections 2023-11-21 18:00:25 +08:00
Harshit Malpani
85e4220250
fix(esp_https_ota): fix return code of esp_https_ota_finish API
Closes https://github.com/espressif/esp-idf/issues/12635
2023-11-21 14:49:21 +05:30
darshan
a3cdfcb3aa fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory 2023-11-21 14:42:36 +05:30
zwx
7409f41527 fix(vfs): fix uart malloc when locates ISR context in IRAM 2023-11-21 16:36:08 +08:00
Mahavir Jain
30eb2918c6 Merge branch 'contrib/github_pr_12460' into 'master'
fixing OTA write up to SPI_FLASH_SEC_SIZE margins (GitHub PR)

Closes IDFGH-11311

See merge request espressif/esp-idf!26897
2023-11-21 15:12:12 +08:00
luomanruo
29f712651a ble(fix): deinit crash issue 2023-11-21 15:02:43 +08:00
zwl
e9b4c3e6c2 fix(ble): fixed ble occasional rx exception issue 2023-11-21 15:00:55 +08:00
luomanruo
20c890f33b ble: update controller log module 2023-11-21 15:00:55 +08:00
luomanruo
93df0042d1 ble: update c6 h2 lib to 5b1dfd2b, c2 lib to db4e1fb2 2023-11-21 15:00:55 +08:00
luomanruo
ec119aa694 ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-21 15:00:55 +08:00
Lou Tian Hao
cde12242b4 Merge branch 'feature/support_ext1_clear_spec_pins' into 'master'
feat: support ext1 add or remove spec pin for chips which support ext1 wakeup

Closes IDFGH-11440

See merge request espressif/esp-idf!26999
2023-11-21 11:29:33 +08:00
morris
e86acbe556 feat(lcd): pre-support rgb and i80 lcd driver on esp32p4
added LL functions for LCD_CAM module, only the LCD part
2023-11-21 10:46:52 +08:00
Marius Vikhammer
4bb8f5c577 Merge branch 'feature/remove_esp_spi_g1' into 'master'
refactor(spi): moved spi hw sharing func to hw support

Closes IDF-8503

See merge request espressif/esp-idf!27110
2023-11-21 10:26:55 +08:00
Tomas Rezucha
9b233aca2b Merge branch 'fix/usb_short_desc' into 'master'
fix(usb/host): Do not abort on string descriptor overflow

See merge request espressif/esp-idf!27127
2023-11-21 10:22:03 +08:00
xiaqilin
a0ecd49725 feat(pm): change power up/down register callback name 2023-11-21 10:18:55 +08:00
xiaqilin
5a77f87986 feat(ieee802154): register power_down/power_up callback for esp32c6 2023-11-21 10:18:55 +08:00
cjin
e98e291601 fix(pm): switch root clk src to PLL for modem reg opt and added callback 2023-11-21 10:18:32 +08:00
xiaqilin
3292ee7039 fix(ieee802154): remove skip light sleep callback 2023-11-21 10:18:17 +08:00
cjin
c1798adac6 change(pm): add pm lock count check before reg backup 2023-11-21 10:18:16 +08:00
xiaqilin
15df836ab4 fix(ieee802154): add skip light sleep for esp32c6 light sleep 2023-11-21 10:18:03 +08:00
xiaqilin
f428f9d8c0 fix(pm): remove unuse extra_refs related code 2023-11-21 10:18:03 +08:00
cjin
ff69928064 feat(pm): change power down prepare position 2023-11-21 10:18:03 +08:00
cjin
15e1c8d3ca feat(ble): remove software regdma opt in bt 2023-11-21 10:18:03 +08:00
xiaqilin
b9baf49782 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue 2023-11-21 10:18:03 +08:00
Jakob Hasse
e6e1cf4a19 Merge branch 'contrib/github_pr_12525' into 'master'
change(console): print sorted help (GitHub PR)

Closes IDFGH-11382

See merge request espressif/esp-idf!27022
2023-11-21 09:31:44 +08:00
Jiang Jiang Jian
59ba806b01 Merge branch 'bugfix/allow_some_special_invalid_igtk_keyindex_to_workaround_faulty_ap' into 'master'
fix(wifi): allow some special igtk keyindx to workaround faulty APs

Closes WIFI-6342

See merge request espressif/esp-idf!27213
2023-11-20 21:42:05 +08:00
Lou Tianhao
ea7cfc40ae change(pm/ext1): replace esp_sleep_clear_ext1_wakeup_io by esp_sleep_disable_ext1_wakeup_io 2023-11-20 19:30:50 +08:00
Armando (Dou Yiwen)
712e7756f5 Merge branch 'refactor/esp_driver_sdspi' into 'master'
refactor(sdspi): place sdspi driver into a new component

See merge request espressif/esp-idf!27225
2023-11-20 19:24:10 +08:00
morris
add4749d15 feat(rmt): callback function can support partial receive 2023-11-20 18:49:38 +08:00
gaoxu
4f81883ccf fix(adc): restore cali registers after light sleep wake up on H2 and enable test 2023-11-20 17:38:34 +08:00
morris
05e6ccbba7 feat(gdma): can read interrupt raw status 2023-11-20 17:25:57 +08:00
morris
2f72b3578a feat(gdma): distinguish abnormal and normal eof in the gdma event data 2023-11-20 17:25:57 +08:00
Sudeep Mohanty
3334ec54fa Merge branch 'feature/freertos_config_for_tmr_task_affinity' into 'master'
feat(freertos/idf): Add config option for FreeRTOS Timer Task core affinity

Closes IDF-7906 and IDFGH-8895

See merge request espressif/esp-idf!26652
2023-11-20 16:51:31 +08:00
sonika.rathi
e15fcd2b28 docs(vfs): update esp_vfs_register_fd api description
Closes https://github.com/espressif/esp-idf/issues/11586
2023-11-20 09:39:05 +01:00
Lou Tianhao
b86d550ec5 change(pm/ext): remove ext0_wakeup_clear and ext1_wakeup_clear 2023-11-20 16:36:50 +08:00
Tomas Rezucha
f48f433d5b fix(usb/host): Do not abort on string descriptor overflow
Some devices return full LANGID table, even if short LANGID table was requested.
No memory overflow occurs, because we have allocated enough memory for transfers to the
default pipe. So we can ignore the error and continue with string desc fetching.
2023-11-20 09:12:54 +01:00
Lou Tianhao
8db9f79bd2 change(pm/ext1): replace esp_sleep_set_ext1_wakeup_io by esp_sleep_enable_ext1_wakeup_io 2023-11-20 16:04:01 +08:00
Lou Tianhao
d97f45b3a8 bugfix: ext0_wakeup_prepare func when s_config.wakeup_triggers & RTC_EXT0_TRIG_EN == false 2023-11-20 16:03:57 +08:00
morris
72e414105d Merge branch 'contrib/github_pr_12559' into 'master'
fix(spi): correct macro REG_SPI_BASE(i) for all targets (GitHub PR)

Closes IDFGH-11421 and IDFGH-11424

See merge request espressif/esp-idf!27085
2023-11-20 15:55:41 +08:00
morris
7690888e4f Merge branch 'bugfix/rmt_tx_check_owner' into 'master'
fix(rmt): reenable dma owner check

Closes IDFGH-11426

See merge request espressif/esp-idf!27141
2023-11-20 14:51:34 +08:00
Rahul Tank
3ccadd053c Merge branch 'bugfix/fix_incorrect_irk_set' into 'master'
fix(nimble): Fixed issue of incorrect IRK being set

See merge request espressif/esp-idf!27244
2023-11-20 14:06:40 +08:00
Aditya Patwardhan
9cf90d8a7a Merge branch 'bugfix/fix_http_client_async_mode' into 'master'
fix(esp_http_client): Fix esp_http_client async mode

Closes IDFGH-11191

See merge request espressif/esp-idf!26333
2023-11-20 14:05:03 +08:00
Armando
b8aba80172 feat(sd): added readme for dependency among SD host related components 2023-11-20 12:30:03 +08:00
Armando
c50e364a97 refactor(sdspi): place sdspi driver into a new component 2023-11-20 12:30:03 +08:00
Marius Vikhammer
52e3f09b32 refactor(spi): moved spi hw sharing func to hw support
Common spi functionality for sharing the SPI bus between modules is moved from esp_driver_spi to
a more fitting location in esp_hw_support (shared HW resource control).

This also allows us to decouple the spi_flash driver from esp_driver_spi, removing
esp_driver_spi and esp_ringbuf from G1 builds.
2023-11-20 12:07:54 +08:00
Mahavir Jain
f2a0beb579 Merge branch 'fix/esp32p4-memory-layout' into 'master'
fix(heap): Update the heap memory layout on esp32p4 target

Closes IDF-8024, IDF-7921, and IDF-8002

See merge request espressif/esp-idf!26702
2023-11-20 11:14:39 +08:00
Kevin (Lao Kaiyao)
8074fa4fae Merge branch 'refactor/esp_driver_i2s' into 'master'
refactor(i2s): make i2s driver as component

Closes IDF-8377

See merge request espressif/esp-idf!26991
2023-11-20 11:14:07 +08:00
Mahavir Jain
9fb38d82a3 Merge branch 'fix/rng_register_prefix_discrepency_newer_targets' into 'master'
Fix: RNG register prefix discrepancy for ESP32C6 and ESP32H2

Closes DOC-5161 and DOC-5175

See merge request espressif/esp-idf!27212
2023-11-20 10:53:09 +08:00
Roman Leonov
1d7132ce6b Merge branch 'bugfix/usb_host_binterval_check_loosening' into 'master'
fix(usb/host): Remove bInterval verification during pipe opening for Interrupt and Isochronous EPs

Closes https://github.com/espressif/esp-idf/issues/12336

See merge request espressif/esp-idf!27075
2023-11-18 03:39:18 +08:00
C.S.M
10f4b04e40 Merge branch 'change/add_scl_check' into 'master'
change(i2c): Add check for scl frequency for master_bus_add_device

Closes IDFGH-11469

See merge request espressif/esp-idf!27223
2023-11-17 23:30:32 +08:00
laokaiyao
74441d14ab refactor(i2s): make i2s driver as component 2023-11-17 21:29:17 +08:00
Kevin (Lao Kaiyao)
f0129e17a8 Merge branch 'refactor/esp_driver_ana_cmpr' into 'master'
refactor(ana_cmpr): make analog comparator driver as component

Closes IDF-8521

See merge request espressif/esp-idf!27029
2023-11-17 19:07:08 +08:00
Rahul Tank
edb28d7276 fix(nimble): Fixed issue of incorrect IRK being set 2023-11-17 15:42:57 +05:30
morris
1677bfa0a3 Merge branch 'bugfix/mcpwm_fault_trigger_test' into 'master'
fix(mcpwm): fault trigger test forget connect timer and operator

See merge request espressif/esp-idf!27001
2023-11-17 16:31:36 +08:00
Lou Tianhao
7343d16a13 change(pm): add ESP_PM_LOCK_MAX in esp_pm_lock_type_t and change some description for esp_pm_lock_create 2023-11-17 16:24:01 +08:00
Lou Tianhao
a02f72bb81 change(pm/ext1): replace deprecated ext1 func 2023-11-17 16:20:54 +08:00
Lou Tianhao
5b91acb1a1 fix(pm/ext1): ext1_wakeup_prepare func when s_config.wakeup_triggers & RTC_EXT1_TRIG_EN == false 2023-11-17 16:20:38 +08:00
Lou Tianhao
cc0e73a11f feat(pm/ext1): support esp_sleep_enable_io_ext1_wakeup and esp_sleep_disable_io_ext1_wakeup
squash! feat(pm/ext1): support esp_sleep_enable_io_ext1_wakeup and esp_sleep_disable_io_ext1_wakeup
2023-11-17 16:20:38 +08:00
Mahavir Jain
7505667e7d Merge branch 'bugfix/esp32h2_ecdsa_hardware_k' into 'master'
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose

Closes IDF-8508 and IDF-8506

See merge request espressif/esp-idf!26918
2023-11-17 15:10:12 +08:00
Cao Sen Miao
85ced64983 change(i2c): Add check for scl frequency for master_bus_add_device
Closes https://github.com/espressif/esp-idf/issues/12598
2023-11-17 15:07:42 +08:00
wuzhenghui
6661e11203
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable 2023-11-17 14:05:23 +08:00
Jakob Hasse
7781bfae79 refactor(ci): prevent memory leak message without memory leak 2023-11-17 12:15:46 +08:00
Wang Meng Yang
a7fbf452fa Merge branch 'feature/support_for_32_and_128_bit_custom_uuids' into 'master'
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs

Closes IDFGH-10721

See merge request espressif/esp-idf!27069
2023-11-17 11:48:57 +08:00
Lou Tianhao
7469df6c14 fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func 2023-11-17 11:38:20 +08:00
Wang Meng Yang
0107fe2076 Merge branch 'bugfix/add_par_check_in_ag_cind_res' into 'master'
Bugfix/add par check in ag cind res

See merge request espressif/esp-idf!27147
2023-11-17 11:07:50 +08:00
Wu Zheng Hui
a2f0198cd1 Merge branch 'bugfix/fix_onebyte_watchpoint_setting' into 'master'
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting

See merge request espressif/esp-idf!27159
2023-11-17 10:47:23 +08:00
Jakob Hasse
46e44ee154 docs(soc): improved soc caps generation documentation 2023-11-17 10:43:59 +08:00
wanlei
4dcd6d7913 fix(spi): correct some signals and dummy bits docs 2023-11-17 02:39:28 +00:00
TD-er
90eada6993 fix(spi): Correct REG_SPI_BASE(i) macro for all targets
The existing formula can never match these registers.

Closes https://github.com/espressif/esp-idf/pull/12559
Closes https://github.com/espressif/esp-idf/pull/12562
2023-11-17 02:39:28 +00:00
Kevin (Lao Kaiyao)
2e6e47d988 Merge branch 'feature/support_touch_sensor_on_p4' into 'master'
feat(touch): pre-support of touch driver on p4

See merge request espressif/esp-idf!25569
2023-11-17 10:36:11 +08:00
Wang Meng Yang
1eff15b7eb Merge branch 'bugfix/spp_deinit_crash' into 'master'
fix(bt/bluedroid): Fix crash caused by undeleted timer in esp_spp_deinit

Closes BT-3492

See merge request espressif/esp-idf!27093
2023-11-17 10:33:27 +08:00
laokaiyao
bc0201d6f0 refactor(ana_cmpr): make analog comparator driver as component 2023-11-17 10:05:22 +08:00
Jin Cheng
57e3e97497 fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-11-17 09:39:46 +08:00
Roman Leonov
bd51768340 fix(usb/host): remove bInterval verification during pipe opening for INTR and ISOC EPs 2023-11-16 14:11:01 +01:00
zwx
da3107a159 feat(lwip): support NA router farwording flag set
* Update submodule: git log --oneline
  4a8286ab8bcf983f22421e3d4be650837b5eb277..542ba2997f6cc14fe9c3d781bf9b0d890cd70bb1
- fix router forwarding flag set (espressif/esp-lwip@542ba299)
2023-11-16 20:21:06 +08:00
muhaidong
147463a0ac fix(wifi): allow some special igtk keyindx to workaround faulty APs 2023-11-16 20:20:08 +08:00
harshal.patil
91af44d6e8
fix(soc/esp32h2): Fix llperi_rng_data field discrepancy 2023-11-16 17:49:26 +05:30
harshal.patil
798059ace1
fix(soc/esp32c6): Fix llperi_rng_data field discrepancy 2023-11-16 17:49:26 +05:30
Jin Cheng
eab9037b1c fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks 2023-11-16 20:10:29 +08:00
Armando (Dou Yiwen)
00124b6f65 Merge branch 'refactor/esp_driver_sdmmc' into 'master'
refactor(sdmmc): place sdmmc driver into a new component

See merge request espressif/esp-idf!27059
2023-11-16 20:02:23 +08:00
laokaiyao
f35ec64a0b feat(touch): support touch driver on p4 (soc) 2023-11-16 11:13:02 +00:00
Sudeep Mohanty
f01dbe0314 feat(freertos/idf): Add config option for FreeRTOS Timer Task core affinity
This commit adds the ability to set the core affinity for the FreeRTOS
Timer Service task when multi-core configuration is enabled. This commit
also adds a Kconfig option to set the core affinity of the timer task
via the menuconfig.

Closes https://github.com/espressif/esp-idf/issues/10315
2023-11-16 11:42:40 +01:00
wuzhenghui
783059a592 fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting 2023-11-16 18:11:57 +08:00
wuzhenghui
161bd8bfed change(soc): rename SOC_CPU_WATCHPOINT_SIZE to SOC_CPU_WATCHPOINT_MAX_REGION_SIZE 2023-11-16 18:11:57 +08:00
Island
dd5b091a8b Merge branch 'bugfix/fix_bt_3407' into 'master'
Fixed power state setting when entering modem sleep on esp32c3

See merge request espressif/esp-idf!27165
2023-11-16 17:09:29 +08:00
Armando
a2a489354b refactor(sdmmc): move sdmmc test apps to tools/test_apps 2023-11-16 15:37:32 +08:00
Armando
5b8d904a9b refactor(sdmmc): dependency inversion to sdmmc component 2023-11-16 15:37:32 +08:00
Armando
c7c38b7904 refactor(sdmmc): place sdmmc driver into a new component 2023-11-16 15:37:32 +08:00
Arno Moonen
fec80b5d36 fix(build): fix build failure if CMAKE_EXECUTABLE_SUFFIX is set
From: Arno Moonen <arno.moonen@airios.eu>

Follows original message from Arno Moonen <arno.moonen@airios.eu>

While integrating the ESP-IDF into our existing CMake structure,
I've come across quite some hurdles. Most I've been able to fix
in our CMake files, however this one I could not.

Most of the targets created by the esptool_py component assume
that the EXECUTABLE IDF build property (which contains the name
of the CMake executable target) always equals the name of the
created binary.

This is however not always true. For instance, in our setup we use
CMAKE_EXECUTABLE_SUFFIX_C and CMAKE_EXECUTABLE_SUFFIX_CXX in our
toolchain file (both set to .elf). If we do add_executable(my_app),
the target binary file would actually be my_app.elf.

In order to fix this, I've updated it to use the TARGET_FILE generated
expression. That way we also no longer need the EXECUTABLE_DIR IDF build
property here.

I've fixed this on v5.0.1 (as that's the ESP-IDF version I'm currently
trying to integrate), but I assume it should be easy to apply the same
fix to newer versions and the master branch as well.

Note that this problem might exist in multiple places where EXECUTABLE
is being used. While going through the ESP-IDF code base, I even noticed
that a few places actually already seem to use the TARGET_FILE expression.
To be honest the property name might be somewhat confusing as well, as it
is actually the executable target.

Closes https://github.com/espressif/esp-idf/pull/12558
2023-11-16 08:14:19 +01:00
Mahavir Jain
c4559198b8 Merge branch 'fix/cleanup_deleted_menuconfig_option_entries' into 'master'
fix(mbedtls): Fix menuconfig option entries

See merge request espressif/esp-idf!26699
2023-11-16 13:34:16 +08:00
C.S.M
9e70bda89e Merge branch 'feature/support_suspend_on_120m' into 'master'
feat(spi_flash): Enable auto suspend on when flash works under 120M

See merge request espressif/esp-idf!27119
2023-11-16 12:24:14 +08:00
Jiang Jiang Jian
461514319a Merge branch 'bugfix/coex_deprecate_config_rename' into 'master'
fix(esp_coex): Fix deprecated configuration options not rename to new one

Closes BT-3245

See merge request espressif/esp-idf!27068
2023-11-16 10:58:42 +08:00
ding huan
5fe34d7ed1 fix(conn): Change second connect delay time to 730 2023-11-16 10:51:01 +08:00
Jakob Hasse
bf6a904a44 Merge branch 'refactor/remove_unnecessary_mock_headers' into 'master'
refactor(ci): removed unnecessary hal and soc mock header files

Closes IDF-8511

See merge request espressif/esp-idf!27047
2023-11-16 09:37:21 +08:00
Jiang Jiang Jian
b7c2e63bb4 Merge branch 'bugfix/supplicant_disconnect_process' into 'master'
esp_wifi:  Fix bug in esp_wifi_deauthenticate_internal() & wpa_supplicant: Add parameter to configure reason code of deauth frame

Closes WIFIBUG-13

See merge request espressif/esp-idf!23776
2023-11-15 23:52:32 +08:00
Darian
fb8ff0e9fe Merge branch 'feature/freertos_add_valid_core_id_macro' into 'master'
feat(freertos/idf): Add taskVALID_CORE_ID() macro

See merge request espressif/esp-idf!27014
2023-11-15 20:51:55 +08:00
Xue Yun Fei
8ecee62c6d Merge branch 'bugfix/fix_dhcp_subnet_option_api_dos_not_work_issue' into 'master'
Fix(dhcps):fix dhcp subnet option api dos not work issue

See merge request espressif/esp-idf!26490
2023-11-15 20:14:28 +08:00
morris
b37b9b7d64 Merge branch 'docs/mcpwm_missing_fields_capture_channel_config' into 'master'
docs: fix MCPWM API Documentation Issue

Closes IDFGH-11443

See merge request espressif/esp-idf!27112
2023-11-15 18:26:37 +08:00
Darian
ce6519672f Merge branch 'feature/usb_dwc_otg_caps' into 'master'
change(usb): Add soc caps for DWC_OTG options

See merge request espressif/esp-idf!26961
2023-11-15 17:48:49 +08:00
Cao Sen Miao
66bba5694e feat(spi_flash): Enable auto suspend on when flash works under 120M 2023-11-15 17:27:42 +08:00
Omar Chebib
ca1a0bdc59 Merge branch 'bugfix/esp32p4_fpu_check' into 'master'
fix(riscv): fix a bug in FPU exception handling

See merge request espressif/esp-idf!27045
2023-11-15 17:19:55 +08:00
chenjianhua
7a07d51859 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
- Fixed power state setting when entering modem sleep
2023-11-15 16:46:10 +08:00
Jin Cheng
f5c15be581 fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-15 15:34:27 +08:00
Jin Cheng
4edd531fe3 fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-15 15:18:22 +08:00
C.S.M
386111e8d1 Merge branch 'feature/add_tsens_intr_reason' into 'master'
feature(temperature_sensor): Add temperature sensor threshold interrupt reason

See merge request espressif/esp-idf!27126
2023-11-15 15:10:16 +08:00
Gao Xu
8d9e297301 Merge branch 'bugfix/fix_adc_read_zero_h2_new' into 'master'
ADC: fix adc raw data get 0 because of signal delay on ESP32H2

See merge request espressif/esp-idf!27023
2023-11-15 14:47:01 +08:00
Aditya Patwardhan
ae05f3f140 fix(mbedtls): Removed redundant menuconfig entry 2023-11-15 04:59:52 +00:00
Mahavir Jain
4a02987182 Merge branch 'fix/aes_mpi_interrupt_allocation_workflow' into 'master'
fix(mbedtls): move interrupt allocation during initialization phase

See merge request espressif/esp-idf!26525
2023-11-15 12:38:39 +08:00
Jakob Hasse
7b4cd55d97 refactor(ci): removed unnecessary hal and soc mock header files 2023-11-15 12:15:08 +08:00
Mahavir Jain
fec7fc30f1
fix(api-docs): include in the ECDSA APIs for doxygen build 2023-11-15 09:42:27 +05:30
Mahavir Jain
7bb29086df
docs: add ECDSA peripheral chapter for H2/P4
- Add ECDSA peripheral chapter and instructions to program efuse key block
- Update security guide for ECDSA peripheral mention for device identity
- Link with ESP-TLS guide about using ECDSA peripheral in TLS connection
2023-11-15 09:42:26 +05:30
Mahavir Jain
f9501f6ea9
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).

For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-15 09:42:26 +05:30
Mahavir Jain
94bf4710fa
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose
In ESP32-H2, the ECDSA peripheral by default uses the TRNG (hardware)
generated k value but it can be overridden to software supplied k.
This can happen through by overriding the `ECDSA_SOFTWARE_SET_K` bit
in the configuration register. Even though the HAL API is not exposed
for this but still it could be achieved by direct register
programming. And for this scenario, if sufficiently random k is not
supplied by the software then it could posses a security risk.

In this change, we are unconditionally programming the efuse
`ESP_EFUSE_ECDSA_FORCE_USE_HARDWARE_K` bit during startup security
checks itself. Additionally, same is ensured in the `esp_efuse_write_key`
API as well. This always enforces the hardware k mode in the ECDSA
peripheral and ensures strongest possible security.
2023-11-15 09:42:26 +05:30
Darian Leung
c12da6b77d feat(freertos/idf): Add taskVALID_CORE_ID() macro
This commit adds a taskVALID_CORE_ID() macro, similar to the one offered in
Amazon SMP FreeRTOS.

- Various functions have been updated to use that macro
- Removed some unecessary static asserts of CONFIG_FREERTOS_NO_AFFINITY and
added casting.
- Uncrustify changes
2023-11-15 11:53:26 +08:00
Sarvesh Bodakhe
b42e14c9b7 fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements 2023-11-15 08:27:50 +05:30
xueyunfei
5982d1cda4 Fix(dhcps):fix dhcp subnet option api dos not work issue 2023-11-15 10:53:50 +08:00
Jiang Jiang Jian
65b8830d07 Merge branch 'bugfix/disallow_dpp_wps' into 'master'
fix(wifi): Disallow DPP and WPS concurrency

Closes WIFIBUG-205

See merge request espressif/esp-idf!26850
2023-11-15 10:41:59 +08:00
Sarvesh Bodakhe
2d83e3e7f4 fix(wpa_supplicant): Add some bugfixes in wpa_supplicant
1) Add parameter to configure reason code of deauth frame
2) Add logs to indicate MIC failure 4-Way-Handshake
3) Process RSNXE capabilities only if AP advertises them
2023-11-15 08:06:37 +05:30
Jin Cheng
97e9eb5ca8 fix(bt/bluedroid): Fix the crash of invalid access to released resources
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-15 02:12:14 +00:00
Rahul Tank
677faec371 Merge branch 'bugfix/generate_new_irk_across_reboot' into 'master'
fix(nimble): Generate a new unique IRK for every chip.

Closes BLERP-75 and IDFGH-9564

See merge request espressif/esp-idf!26071
2023-11-15 00:04:49 +08:00
morris
9a6c279dbd fix(rmt): enable dma owner check
Closes https://github.com/espressif/esp-idf/issues/12564
2023-11-14 22:40:02 +08:00
David Čermák
0d12732b4c Merge branch 'bugfix/dhcp_opts_vsi_vci' into 'master'
lwip: Fix receiving of DHCP vendor info (GitHub PR)

Closes IDFGH-10591

See merge request espressif/esp-idf!25043
2023-11-14 22:36:10 +08:00
Sudeep Mohanty
bf237a2bd4 Merge branch 'feature/freertos_expose_list_integrity_check_option' into 'master'
feat(freertos): Exposed Kconfig option for configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES

Closes IDF-8366

See merge request espressif/esp-idf!26960
2023-11-14 21:27:19 +08:00
Darian Leung
c0de14d0b9 refactor(hal/usb_dwc): Add DWC OTG configuration values
This commit adds a subset of the DWC OTG configuration values to the
'usb_dwc_ll.h' file. Only relevant configuration values have been added.

Some DWC OTG releated constants have also been moved from 'usb_dwc_hal.h'
to 'usb_dwc_ll.h' and renamed.
2023-11-14 20:49:51 +08:00
Darian Leung
a51813d9d9 refactor(soc): SOC_USB_PERIPH_NUM option
This commit refactors SOC_USB_PERIPH_NUM as follows:

- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-11-14 18:48:01 +08:00
Cao Sen Miao
343f03c3a7 feature(temperature_sensor): Add temperature sensor threshold interrupt reason 2023-11-14 18:23:33 +08:00
Omar Chebib
e56f5b15cc fix(riscv): fix a bug in FPU exception handling
On the ESP32-P4, it is possible to have an exception because of an FPU instruction
while EXT_ILL CSR is not zero and its FPU bit is not set.
2023-11-14 06:55:08 +00:00
morris
b50d30f860 docs(mcpwm): add missing explanation about keep_io_conf_at_exit
Closes https://github.com/espressif/esp-idf/issues/12579
2023-11-14 14:34:14 +08:00
Rahul Tank
4f20eec398 fix(nimble): Generate a new unique Local IRK for each chip 2023-11-14 10:36:09 +05:30
Wu Zheng Hui
bb95f9bcc6 Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup' into 'master'
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used

Closes WIFIBUG-238

See merge request espressif/esp-idf!27020
2023-11-14 11:50:50 +08:00
Jakob Hasse
dad563cfaf change(console): changed unit tests according to sorted help
Merges https://github.com/espressif/esp-idf/pull/12525
2023-11-14 11:33:45 +08:00
Jiang Jiang Jian
97e33fbb75 Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad' into 'master'
fix(esp_hw_support): fix lightsleep current leakage on usb pad

Closes IDF-6154 and PM-18

See merge request espressif/esp-idf!26470
2023-11-14 11:17:29 +08:00
Marius Vikhammer
e7734a3367 Merge branch 'feature/g1_driver_refactors' into 'master'
refactor(system): removed dependency on driver from g1 components

Closes IDF-8454

See merge request espressif/esp-idf!27086
2023-11-14 09:45:47 +08:00
Jiang Jiang Jian
1b46e14054 Merge branch 'bugfix/add_header_files_for_wifi_os_adapter' into 'master'
Fix(esp_wifi):add missing stdbool.h and sdkconfig.h in wifi_os_adapter.h

Closes WIFI-6105

See merge request espressif/esp-idf!25669
2023-11-13 22:46:44 +08:00
Sudeep Mohanty
ff6b0ed148 Merge branch 'task/freertos_deprecate_xtaskgetaffinity' into 'master'
change(freertos/idf): Deprecate some FreeRTOS IDF addition functions

Closes IDF-8164 and IDF-8163

See merge request espressif/esp-idf!26875
2023-11-13 20:23:49 +08:00
Armando (Dou Yiwen)
035d5d17cf Merge branch 'feat/sdio_cross_chip_test_apps' into 'master'
sdio: cross chip test apps

Closes IDF-8459

See merge request espressif/esp-idf!26670
2023-11-13 18:58:54 +08:00
Sudeep Mohanty
11109fc386 Merge branch 'bugfix/freertos_define_list_volatile' into 'master'
fix(freertos/idf): Define configLIST_VOLATILE for list elements

Closes IDF-8361

See merge request espressif/esp-idf!27066
2023-11-13 16:56:57 +08:00
wuzhenghui
59ad88d9f7 fix(esp_pm): fix psram access faild after pd_cpu wakeup 2023-11-13 16:32:30 +08:00
wuzhenghui
232187d12c change(esp_pm): improve POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP description
Rename PM_POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP to PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP
and improve the description for it
2023-11-13 16:32:25 +08:00
zhangyanjiao
1b5fb22da8 feat(wifi/vendor): get more wifi information in csi rx callback 2023-11-13 16:08:45 +08:00
zhangyanjiao
6d4e41f992 doc(Wi-Fi/Vendor): Update comments for wifi_csi_info_t 2023-11-13 16:08:45 +08:00
xueyunfei
9df662703b Fix(esp_wifi): Add the missing header file to the wifi header files. 2023-11-13 16:08:45 +08:00
Jiang Jiang Jian
4f47c40542 Merge branch 'bugfix/add_disconnect_reason_codes' into 'master'
Add more descriptive reasons for disconnect.

Closes WIFI-2900

See merge request espressif/esp-idf!25321
2023-11-13 16:05:40 +08:00
Marius Vikhammer
d293ad94bd feat(pm): removed dependency on driver component 2023-11-13 15:49:12 +08:00
Marius Vikhammer
74887d81c9 refactor(system): removed dependency on driver from g1 components
esp-system and esp-hw-support, and the rest of the g1 components, now only depend on
esp_driver_spi and esp_driver_gpio. Removing the rest of the driver components from g1 builds.
2023-11-13 15:42:48 +08:00
morris
ed6ede696e Merge branch 'feature/esp_driver_mcpwm' into 'master'
feat(mcpwm): refactor mcpwm driver into a component

Closes IDF-8379

See merge request espressif/esp-idf!26738
2023-11-13 15:26:56 +08:00
gaoxu
36be1473de fix(adc): fix h2 adc oneshot read zero and add delay after getting done signal 2023-11-13 14:48:40 +08:00
jgujarathi
47e8de1d4d fix(esp_wifi): Add more descriptive reasons for disconnect
Adds 3 more ddisconnect reasons in case of No AP found.
1. REASON_NO_AP_FOUND_IN_RSSI_THRESHOLD : AP rejected because it did
   not meet rssi threshold.

2. REASON_NO_AP_FOUND_IN_AUTHMODE THRESHOLD : AP rejected because it
   did not meet security threshold.

3. REASON_NO_AP_FOUND_WITH_COMPATIBLE_ SECURITY : AP rejected because
   of incompatible security configuration. These situations could include
   -- bss offerring WEP, but our password is not WEP compliant,
   -- Encrypted AP bss but we have no password config set.
   -- AP is Enterprise but we have not setup enterprise config and vice versa

    Closes https://github.com/espressif/esp-idf/issues/5957
2023-11-13 14:22:59 +08:00
Jakob Hasse
342d6ba882 Merge branch 'bugfix/newlib_test_correct_assertions' into 'master'
fix(newlib,ci): wrong floating point number handling in tests

See merge request espressif/esp-idf!27032
2023-11-13 12:22:16 +08:00
Jiang Jiang Jian
735b9cd827 Merge branch 'bugfix/build_error_when_enable_ag_and_hf' into 'master'
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled

See merge request espressif/esp-idf!27073
2023-11-13 11:26:19 +08:00
Armando
faa6e51086 feat(sdio): sdio cross chip test app 2023-11-13 11:21:47 +08:00
Jiang Jiang Jian
907a7d9977 Merge branch 'test/ctrl_acl_u_pkt_type' into 'master'
feat(bt/bluedroid): Added an API to specific data types for ACL-U traffic

See merge request espressif/esp-idf!26173
2023-11-13 11:17:37 +08:00
Steven Burnett
0a79d13a2d Add option to configure FATFS_USE_LABEL in menuconfig 2023-11-11 23:00:08 +00:00
Rahul Tank
9d49241c92 Merge branch 'bugfix/remove_bond' into 'master'
fix(nimble): Handled deletion of IRK/LTK on basis of key availability.

Closes BLERP-81, BLERP-127, BLERP-128, BLERP-129, and BLERP-219

See merge request espressif/esp-idf!26128
2023-11-11 14:06:42 +08:00
wuzhenghui
0ab0d2182e fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-11 13:00:55 +08:00
Wu Zheng Hui
573d06f6f7 Merge branch 'bugfix/move_fe_32m_to_adc_fe_common_clock' into 'master'
fix(esp_hw_support): move fe_32m to fe/adc common clock

Closes IDF-8540

See merge request espressif/esp-idf!27030
2023-11-10 23:40:31 +08:00
Ondrej Kosta
1844a6680c Merge branch 'bugfix/lan8720_ci_speed' into 'master'
Added ioctl option to read/write PHY registers + addressed LAN8720 errata

Closes IDFCI-1845

See merge request espressif/esp-idf!26796
2023-11-10 23:24:26 +08:00
Wang Mengyang
479cecc1f8 fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true 2023-11-10 20:14:01 +08:00
Sudeep Mohanty
289913daaf fix(freertos/idf): Define configLIST_VOLATILE for list elements
It was noticed that when high level compiler optimizations are enabled,
the compiler optimizes some list manupulation code. This commit enables
the configLIST_VOLATILE for list elements to prevent the compiler from
optimizing out essential kernel code.
2023-11-10 09:23:51 +01:00
Abhinav Kudnar
0af52055e1 fix(nimble): Handled IRK/LTK deletion based on key availability 2023-11-10 12:27:21 +05:30
Rahul Tank
f9d334bc96 Merge branch 'bugfix/pairing_when_enc_with_no_key_fails' into 'master'
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing

Closes BLERP-231

See merge request espressif/esp-idf!27010
2023-11-10 14:37:43 +08:00
Guillaume Souchere
fd2b8b5eb3 fix(heap): Update the heap memory layout on esp32p4 target
- fix the value of SOC_ROM_STACK_START in soc.h
- Update the memory usage of ROM bootloader appendix in bootloader.ld
- Update the soc_memory_regions table to minimize the number of regions
  created after the startup stack is added back as a heap.
2023-11-10 07:29:22 +01:00
Song Ruo Jing
365123dfaa Merge branch 'bugfix/uart_custom_console' into 'master'
fix(console): enable to select UART1 port for console output

Closes IDF-6190

See merge request espressif/esp-idf!26642
2023-11-10 12:31:22 +08:00
linruihao
33909cfa68 fix(esp_coex): Fix deprecated configuration options not rename to new one 2023-11-10 12:03:27 +08:00
Jiang Jiang Jian
221122ebeb Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue' into 'master'
fix(wifi): fix deinit init wifi scan fail issue

Closes WIFIBUG-200 and WIFI-5775

See merge request espressif/esp-idf!26957
2023-11-10 11:05:03 +08:00
Guillaume Souchere
6ab440168a Merge branch 'fix/heap-task-tracking' into 'master'
fix(heap): Fix bugs in heap task tracking

Closes IDFGH-11348 and IDFGH-11345

See merge request espressif/esp-idf!26730
2023-11-09 23:51:00 +08:00
Song Ruo Jing
46d33e46ef fix(console): enable to select UART1 port for console output
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-09 22:32:49 +08:00
morris
eb5183f503 feat(mcpwm): refactor mcpwm driver into a component 2023-11-09 22:05:06 +08:00
Sudeep Mohanty
d507a86285 feat(freertos): Exposed Kconfig option for configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
This commit exposes the FreeRTOS List integrity check option
configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES via menuconfig.
2023-11-09 14:54:13 +01:00
Jiang Jiang Jian
92c4714128 Merge branch 'bugfix/fix_softap_set_config_issue' into 'master'
fix(wifi): fix some wifi bugs

Closes WIFI-6207

See merge request espressif/esp-idf!25242
2023-11-09 21:53:55 +08:00
Armando (Dou Yiwen)
2b173ce727 Merge branch 'refactor/esp_driver_spi' into 'master'
refactor(spi): make spi driver as component

Closes IDF-8371

See merge request espressif/esp-idf!26549
2023-11-09 21:41:29 +08:00
Sonika Rathi
c8243465e4 Merge branch 'bugfix/uart_vfs_select_in_iram' into 'master'
fix: add UART VFS select callback in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled

See merge request espressif/esp-idf!24899
2023-11-09 20:14:48 +08:00
zhanghaipeng
4c9861d40d feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-11-09 17:30:23 +08:00
wuzhenghui
1537cbf9c7 fix(esp_hw_support): move fe_32m to fe/adc common clock 2023-11-09 17:26:24 +08:00
Jakob Hasse
8624e9edf4 fix(newlib,ci): wrong floating point number handling in tests 2023-11-09 17:12:07 +08:00
Guillaume Souchere
e8f046358d fix(heap): Add missing test for heap task tracking config
- Add sdkconfig.ci.task_tracking that runs generic tests
with heap task tracking enabled.
- Add task_tracking.c that includes a test checking that
a created task that allocates memory is added to the list
of task tracked by the heap task tracking feature.
2023-11-09 09:20:45 +01:00
Guillaume Souchere
872bc74954 fix(heap): Fix bugs in heap task tracking
Update task tracking feature to fix bugs introduced when
decoupling task tracking from heap poisoning.

Closes https://github.com/espressif/esp-idf/issues/12498
Closes https://github.com/espressif/esp-idf/issues/12493
2023-11-09 09:20:45 +01:00
Alon Bar-Lev
07a9137fd7 change(console): print sorted help
console commands may be registered in random order in application, for example
each module registers its own commands.

the output of help is displayed to human, best to have consistent sorted
output so that the implementation ordering will not affect the output and
allow the user to see a list in some logic order.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2023-11-09 10:18:42 +02:00
Armando
f346e96e72 change(spi): update test_app build dependency 2023-11-09 14:50:25 +08:00
Armando
714ad573e7 refactor(esp_driver_spi): reformat code with astyle_py 2023-11-09 14:50:05 +08:00
wanlei
3c7609fc53 ci(driver): reduce spi test_app build times 2023-11-09 14:50:05 +08:00
Armando
fca46eac52 refactor(spi): make spi driver as component 2023-11-09 14:50:05 +08:00
Wan Lei
c8c7f999ef Merge branch 'feature/esp32p4_hp_spi_slave_hd_support' into 'master'
Feature/esp32p4 hp spi slave hd support

Closes IDF-7505

See merge request espressif/esp-idf!25974
2023-11-09 14:42:05 +08:00
morris
3d0115034e Merge branch 'contrib/github_pr_12450' into 'master'
Support SSD1306 128x32 (GitHub PR)

Closes IDFGH-11296

See merge request espressif/esp-idf!26943
2023-11-09 14:37:52 +08:00
muhaidong
91bd2c8541 change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk 2023-11-09 14:17:54 +08:00
Aditya Patwardhan
7c1d9a5813 fix(soc): esp32s3/Fix the DROM_DROM_HIGH limit
Previously the DROM_HIGH_ADDR for esp32s3 was 0x3D000000, which
    convers only 16 MB of address range. But esp32s3 supports 32 MB
    external memory. So this address should be 0x3E000000
2023-11-09 09:58:17 +05:30
muhaidong
1ddcca6dcd fix(wifi): fix deinit init wifi scan fail issue 2023-11-09 12:05:20 +08:00
C.S.M
647f0d24a7 Merge branch 'feature/suspend_tsus_config' into 'master'
feat(spi_flash): Support configurable tSUS in flash suspend and update the test

See merge request espressif/esp-idf!26567
2023-11-09 10:45:17 +08:00
Rahul Tank
a823541487 fix(nimble): Initate pairing if encryption fails with reason no pin or key missing 2023-11-08 18:56:50 +05:30
Ondrej Kosta
383bb46298 ci(esp_eth): addressed LAN8720 errata in CI test 2023-11-08 12:40:28 +00:00
Ondrej Kosta
78f791d4d5 feat(esp_eth): added ioctl option to read/write PHY registers
LAN87xx: Added extra delay after setting PHY speed
2023-11-08 12:40:28 +00:00
Island
294c2bd70d Merge branch 'debug/fix_ble_scan_rsp' into 'master'
Debug/fix ble scan rsp

Closes BLERP-190 and BLERP-225

See merge request espressif/esp-idf!26988
2023-11-08 19:39:53 +08:00
muhaidong
407ff67128 fix(wifi): sta not pmf capable when ap requires should reject profile 2023-11-08 19:12:37 +08:00
sonika.rathi
9c82ad06c3 fix(vfs/uart): add UART VFS select callback in IRAM
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-08 11:34:22 +01:00
morris
6f35f4be4d fix(mcpwm): fault trigger test forget connect timer and operator 2023-11-08 17:44:30 +08:00
morris
5cc965e6cb Merge branch 'feature/rmt_receive_in_isr' into 'master'
feat(rmt): support calling rmt_receive in ISR callback

Closes IDF-8488

See merge request espressif/esp-idf!26874
2023-11-08 14:25:52 +08:00
Jiang Jiang Jian
2051a9fe46 Merge branch 'bugfix/fix_esp_wifi_esp_phy_esp_coex_license_and_header_file_docs_issue' into 'master'
esp_supplicant: remove wpa supplicant ROM source code copyrights

Closes WIFI-5528, WIFI-6224, and DOC-6408

See merge request espressif/esp-idf!23059
2023-11-08 14:11:12 +08:00
Darian
c4eea80c07 Merge branch 'change/freertos_local_crit_section_macro' into 'master'
change(freertos/idf): Refactor thread safety convenience macros

Closes IDF-8161

See merge request espressif/esp-idf!26805
2023-11-08 10:29:22 +08:00
zhangyanjiao
7cd1115815 fix(wifi/mesh): fix the IE crypto disable error and update doc 2023-11-08 10:24:45 +08:00
morris
7121e8f78d refactor(lcd): reuse the color types in the hal/color_types.h 2023-11-08 10:09:42 +08:00
morris
0c3f80495a feat(ssd1306): support 128x32 resolution 2023-11-08 09:58:50 +08:00
morris
2be27f292e change(esp_lcd): split panel vendor driver into seperate header file 2023-11-08 09:58:50 +08:00
Alexey Storozhev
c4dc16c612 feat(ssd1306): Add vendor specific configuration for SSD1306
Merges https://github.com/espressif/esp-idf/pull/12450
2023-11-08 09:58:50 +08:00
zhanghaipeng
ba2f5c4475 fix(bt/bluedroid): Fix ble adv report evt type 2023-11-07 19:59:35 +08:00
zhanghaipeng
c189842b82 fix(bt/bluedroid): Fix ble keysize check 2023-11-07 19:52:59 +08:00
Cao Sen Miao
ef46828683 docs(i2c): Modify some variables in I2C driver for good docs 2023-11-07 18:42:08 +08:00
Wu Zheng Hui
a9ea49cba2 Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable' into 'master'
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable

Closes PM-14

See merge request espressif/esp-idf!26674
2023-11-07 16:58:38 +08:00
Liu Linyan
9aeca2516f Merge branch 'test/ble_mesh_sar_enh' into 'master'
update(ble_mesh): Miscellaneous updates/fixes and support SAR enhancement

See merge request espressif/esp-idf!26871
2023-11-07 16:12:27 +08:00
morris
eb0258e618 Merge branch 'refactor/ringbuffer_set_build_test_dependency' into 'master'
change(esp_ringbuf): specify build test dependency

Closes IDF-8395

See merge request espressif/esp-idf!26965
2023-11-07 16:08:59 +08:00
wanlei
2e115ec98c feat(spi_slave_hd): p4 update examples and document 2023-11-07 16:01:44 +08:00
wanlei
daeb71d7e4 feat(spi_slave_hd): add esp32p4 support for seg and append mode 2023-11-07 15:59:56 +08:00
Jakob Hasse
af0a502f97 Merge branch 'bugfix/linux_gpio_definitions' into 'master'
fix(driver): gpio number definitions on Linux

Closes IDFGH-11376

See merge request espressif/esp-idf!26934
2023-11-07 12:24:29 +08:00
wanlei
751efec8b6 refactor(spi_slave_hd): refactor append mode dma_desc struct 2023-11-07 12:06:45 +08:00
morris
369e423dad change(esp_ringbuf): specify build test dependency 2023-11-07 10:40:00 +08:00
Armando (Dou Yiwen)
0c81f41e16 Merge branch 'bugfix/fix_wrong_adc_attenuation_name' into 'master'
adc: rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12

See merge request espressif/esp-idf!26460
2023-11-07 10:37:24 +08:00
morris
5f9d8a77ed Merge branch 'feature/esp_driver_gptimer' into 'master'
refactor(gptimer): refactor gptimer driver into a component

Closes IDF-8375

See merge request espressif/esp-idf!26716
2023-11-07 01:17:29 +08:00
muhaidong
deed5684ce change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-11-06 21:55:33 +08:00
muhaidong
3e98a7be6e docs(esp_mesh): update esp_mesh_internal.h 2023-11-06 21:55:21 +08:00
muhaidong
0851c7135d update(wifi): update esp_wifi_crypto_types.h 2023-11-06 21:55:11 +08:00
muhaidong
dea39f359e update(esp_coexist): update esp coexist header file 2023-11-06 21:54:59 +08:00
Jiang Jiang Jian
e4d70e98e5 Merge branch 'bugfix/fix_fragment_bug' into 'master'
fix(wifi): fix rate check error in fragment

See merge request espressif/esp-idf!26913
2023-11-06 20:34:59 +08:00
Armando
d3be2541de fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-06 18:55:49 +08:00
Cao Sen Miao
dcff5220a7 feat(spi_flash): Support configurable tSUS in flash suspend 2023-11-06 18:04:43 +08:00
Kapil Gupta
8768c9231c Merge branch 'bugfix/dpp_config_memset' into 'master'
fix(wpa_supplicant): memzero wifi config before sending config event

Closes WIFIBUG-230

See merge request espressif/esp-idf!26915
2023-11-06 17:33:36 +08:00
morris
2ef14fe55e refactor(gptimer): refactor gptimer driver into a component 2023-11-06 17:09:31 +08:00
Harshit Malpani
61d4775027
fix(esp_http_client): Fix esp_http_client async mode
Closes https://github.com/espressif/esp-idf/issues/12358
2023-11-06 13:13:15 +05:30
Song Ruo Jing
8029946cba Merge branch 'refactor/esp_driver_gpio' into 'master'
refactor(gpio): make gpio driver as component

See merge request espressif/esp-idf!26509
2023-11-06 15:03:30 +08:00
harshal.patil
d3be7bda05
fix(mbedtls): move interrupt allocation during initialization phase 2023-11-06 11:20:53 +05:30
Jiang Jiang Jian
25f729c758 Merge branch 'bugfix/hal_memcpy' into 'master'
fix(hal): Fix incorrect behavior of hal_memcpy

Closes IDFGH-11341

See merge request espressif/esp-idf!26801
2023-11-06 11:31:13 +08:00
Jakob Hasse
96d7e0762d fix(driver): gpio number definitions on Linux
* Removed gpio_types.h as it is already available
  for Linux in the hal component.
* Moved gpio_num.h from tools/mocks to soc component
  and added missing GPIO pin definitions

Closes https://github.com/espressif/esp-idf/issues/12520
2023-11-06 11:16:50 +08:00
zhangyanjiao
9cab732a29 fix(wifi): fix rate check error in fragment 2023-11-06 11:09:44 +08:00
Liu Linyan
ff7639bcd6 feat(ble_mesh): Support Bluetooth Mesh SAR enhancement 2023-11-06 10:34:51 +08:00
Liu Linyan
c628a94513 fix(ble_mesh): Miscellaneous updates and fixes 2023-11-06 10:34:50 +08:00
Liu Linyan
4c2236c9b5 update(ble_mesh): Remove useless mesh lib copy script 2023-11-06 10:34:50 +08:00
Xu Xiao
29438504c4 Merge branch 'fix/fix_some_esp32c6_wifi_bugs' into 'master'
fix(wifi): fixed esp32c6 rxctrl info is not correct

Closes WIFI6-341, WIFI6-342, and WIFI6-343

See merge request espressif/esp-idf!26671
2023-11-06 10:19:40 +08:00
Rahul Tank
6ab25d7de6 Merge branch 'feature/current_time_service' into 'master'
feat(nimble): Added Example support for Current Time Service

Closes BLERP-217

See merge request espressif/esp-idf!25658
2023-11-04 21:30:17 +08:00
Michael (XIAO Xufeng)
bf86aeb19e Merge branch 'bugfix/ram_load_app_mmap' into 'master'
ram_load_app: fixed mmap can't run on main flash issue

See merge request espressif/esp-idf!24601
2023-11-04 18:48:55 +08:00
Roshan Bangar
aabb595860 feat(nimble): Added example support for Current Time Service 2023-11-04 13:21:59 +05:30
darshan
10f06abf32 fix(nimble): Fixed incorrect handling of bonded devices 2023-11-04 09:12:17 +05:30
Rahul Tank
32e3ecb788 fix(nimble): Added check to validate allowed random address 2023-11-04 06:34:54 +05:30
KonstantinKondrashov
b366dad79b fix(hal): Fix incorrect behavior of hal_memcpy
Closes https://github.com/espressif/esp-idf/issues/12489
2023-11-03 23:36:37 +08:00
Sudeep Mohanty
ebeea3df60 Merge branch 'revert/freertos_same_priority_preemption_disabled' into 'master'
Revert "fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()"

Closes IDF-8428

See merge request espressif/esp-idf!26732
2023-11-03 21:59:17 +08:00
Sudeep Mohanty
d38f100223 change(freertos/idf): Deprecate some FreeRTOS IDF addition functions
This commit deprecates xTaskGetAffinity(), xTaskGetCurrentTaskHandleForCPU()
and xTaskGetIdleTaskHandleForCPU() APIs for IDF-FreeRTOS kernel.
Instead, users are directed to use alternatives. All other
components in IDF using these functions have been updated accordingly.
2023-11-03 14:54:06 +01:00
Rahul Tank
c8cae65f45 Merge branch 'bugfix/ble_gap_connect' into 'master'
fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-variable  'reattempt_idx'.

Closes BLEQABR23-698

See merge request espressif/esp-idf!26584
2023-11-03 19:57:03 +08:00
David Čermák
a7cba03a28 Merge branch 'fix/netif_macro_semicolon' into 'master'
esp_netif: Remove semicolons from ESP_IP4ADDR_INIT and ESP_IP6ADDR_INIT macros (GitHub PR)

Closes IDFGH-10189

See merge request espressif/esp-idf!26759
2023-11-03 18:25:15 +08:00
Kapil Gupta
c815fe67fa fix(wpa_supplicant): memzero wifi config before sending config event 2023-11-03 15:44:08 +05:30
morris
14b7db5dd0 feat(rmt): support calling rmt_receive in ISR callback 2023-11-03 15:42:56 +08:00
Song Ruo Jing
9461993ec5 refactor(gpio): make gpio driver as component, and fix astyle 2023-11-03 15:42:23 +08:00
Darian Leung
52a929521d refactor(freertos/idf): Update thread safety convenience macros
This commit refactors some of the thread safety convenience macros by removing
some repeated definitions and keeping them all in "freertos_idf_additions_priv.h"
2023-11-03 15:41:46 +08:00
Darian Leung
e2c8185f72 fix(freertos/idf): Fix xEventGroupGetBitsFromISR() critical section
Adds missing critical section to xEventGroupGetBitsFromISR() that is required
in dual-core SMP.
2023-11-03 15:41:39 +08:00
Rahul Tank
e689cc55d8 Merge branch 'feature/protocomm_update_params' into 'master'
fix(protocomm): added Protocomm BLE Event Structure and Event Handling

See merge request espressif/esp-idf!26707
2023-11-03 14:09:27 +08:00
xuxiao
5c3a7ec88a fix(wifi): fix esp32c6 rxctrl info is not correct 2023-11-03 13:55:45 +08:00
Kevin (Lao Kaiyao)
3ea8519a9e Merge branch 'bugfix/fix_pdm_rx_high_pass_cut_off_coeff' into 'master'
bugfix(i2s): fix pdm rx high pass filter cut off coeff

See merge request espressif/esp-idf!26835
2023-11-03 12:46:08 +08:00
Omar Chebib
ff2a492002 Merge branch 'staging/espcoredump_move_strings_flash' into 'master'
change(espcoredump): save RAM space by placing constants in flash

See merge request espressif/esp-idf!26872
2023-11-03 12:20:25 +08:00
kohait00
fc295ec021
fix(app_update): avoid erasing an extra sector than the actual required size
OTA update used to fail if `firmware_size == partition_size`, because the code was trying to
erase one additional sector beyond the space reserved for the firmware partition.

This commit fixes the problem and OTA update can work if the firmware
size exactly matches the allocated partition size.

Closes https://github.com/espressif/esp-idf/pull/12460
2023-11-03 09:30:55 +05:30
Jiang Jiang Jian
0eae131fe5 Merge branch 'bugfix/add_config_for_tcp_ooseq' into 'master'
Fix(lwip):bugfix for add config for tcp ooseq bufs

Closes WIFI-6185

See merge request espressif/esp-idf!25346
2023-11-03 11:04:40 +08:00
Omar Chebib
342535f47c Merge branch 'contrib/github_pr_12105' into 'master'
feat(espcoredump): Support for not overwriting existing core dump in flash (GitHub PR)

Closes IDFGH-10907

See merge request espressif/esp-idf!26865
2023-11-03 10:51:39 +08:00
Jiang Jiang Jian
7ae8e1c438 Merge branch 'feat/optimize_bin_size' into 'master'
feat(wifi): Optimize bin size for STA only mode

Closes IDF-8120, IDFGH-11017, and WIFI-5010

See merge request espressif/esp-idf!25642
2023-11-03 09:39:17 +08:00
Jiang Jiang Jian
1936c2f14c Merge branch 'bugfix/fixed_ble_disconnect_under_temp_change' into 'master'
fix(ble): fixed ble disconnection issue under temperature change

See merge request espressif/esp-idf!26827
2023-11-03 05:07:59 +08:00
Gao Xu
dce1e8d96a Merge branch 'feature/support_adc_calibration_on_h2' into 'master'
adc_cali: supported adc calibration v1 on ESP32H2

Closes IDF-6216

See merge request espressif/esp-idf!26463
2023-11-03 01:49:00 +08:00
Ilia Lutchenko
0a23da71ac feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.

2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.

Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-02 17:43:55 +01:00
Mahavir Jain
69e89c4e95 Merge branch 'contrib/github_pr_12459' into 'master'
manager: fixing unwinding protocom endpoints, on prov_stop. (GitHub PR)

Closes IDFGH-11307

See merge request espressif/esp-idf!26742
2023-11-02 23:47:22 +08:00
Sudeep Mohanty
4979ce604a Merge branch 'feature/frertos_idle_task_name_suffix' into 'master'
fix(freertos/idf): Updated IDLE task names for each core to have the coreID as a suffix

Closes IDFGH-11021 and IDF-8220

See merge request espressif/esp-idf!26723
2023-11-02 23:34:16 +08:00
Abhinav Kudnar
0132cce1cc fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-varible 'reattempt_idx'. 2023-11-02 17:30:48 +05:30
Guillaume Souchere
4cdb2f3f93 Merge branch 'fix/patch-heap-rom-integrity-check' into 'master'
fix(heap): Patch tlsf_check_pool in ROM heap

See merge request espressif/esp-idf!26615
2023-11-02 19:21:43 +08:00
Omar Chebib
8ac4b48b2f change(espcoredump): save RAM space by placing constants in flash
All the log messages of espcoredump component used to be in DRAM, which would
lower the available RAM space for the user application. Since the cache is always
enabled after an exception, constants can be put in flash.
2023-11-02 19:09:57 +08:00
Island
ca331989f8 Merge branch 'feat/support_clear_legacy_adv_on_esp32c3' into 'master'
Support clear legacy adv using vendor hci on esp32c3

Closes BLERP-191

See merge request espressif/esp-idf!26696
2023-11-02 19:00:05 +08:00
Island
dc66da9d1d Merge branch 'feat/support_clear_legacy_adv_on_esp32' into 'master'
Support clear legacy adv using vendor hci on esp32

Closes BLERP-191

See merge request espressif/esp-idf!26697
2023-11-02 18:59:48 +08:00
Jakob Hasse
e176b8990e Merge branch 'bugfix/esp_event_tests' into 'master'
fix(esp_event): dedicated task test now waits for semaphore correctly

See merge request espressif/esp-idf!26777
2023-11-02 18:43:03 +08:00
darshan
e1ec13548f fix(protocomm): added Protocomm BLE Event Structure and Event Handling 2023-11-02 15:37:50 +05:30
Jin Cheng
46327936cb feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-11-02 17:43:04 +08:00
Jiang Jiang Jian
5f697d8641 Merge branch 'bugfix/increase_esp32h2_slow_clock_calibration_wdt_threshold' into 'master'
fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold

Closes PM-15

See merge request espressif/esp-idf!26634
2023-11-02 17:08:58 +08:00
Jiang Jiang Jian
b839a70aea Merge branch 'bugfix/lp_active_slow_clock_domain_default_power_down' into 'master'
In the LP ACTIVE state, the slow clock power domain is by default in a powered-off state

Closes IDF-8410

See merge request espressif/esp-idf!26599
2023-11-02 17:04:30 +08:00
Jiang Jiang Jian
39b2af9a29 Merge branch 'bugfix/fix_some_rom_ld_issue' into 'master'
fix(rom): fix wifi rom ld

See merge request espressif/esp-idf!26767
2023-11-02 16:10:58 +08:00
Simon Arlott
1feb3c9f9b espcoredump: Support for not overwriting existing core dump in flash
If there's an unattended boot loop or a crash that causes another crash on
the next boot, it needs to be possible to avoid overwriting a saved core
dump with another core dump.

Add an option to do this and skip writing core dumps if the partition isn't
empty.

Fixes #12027.

Mergeshttps://github.com/espressif/esp-idf/pull/12105
2023-11-02 06:58:47 +00:00
Kapil Gupta
c84b2cbaed fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142) 2023-11-02 14:05:47 +08:00
alanmaxwell
8a47c4875b fix(wifi): optimize wifi bin size and fix some issue
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix ampdu duration issue
5.Fix rx fragment fail in Open mode.
2023-11-02 14:05:45 +08:00
Konstantin Kondrashov
c13e41ae18 Merge branch 'feature/memalign_internal_external_as_malloc' into 'master'
fix(heap): memalign respect malloc_alwaysinternal_limit (PR)

Closes IDFGH-11209

See merge request espressif/esp-idf!26409
2023-11-02 13:59:32 +08:00
Jiang Jiang Jian
b10580fb04 Merge branch 'bugfix/supplicant_tls_fix' into 'master'
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()

Closes WIFIBUG-212

See merge request espressif/esp-idf!26837
2023-11-02 13:59:05 +08:00
Marius Vikhammer
95703297a6 Merge branch 'ci/psram_config_fix' into 'master'
ci: fix warnings for invalid kconfig option

See merge request espressif/esp-idf!23250
2023-11-02 13:44:04 +08:00
Mahavir Jain
7441cdb82b Merge branch 'feature/esp_crt_bundle_deprecated_list' into 'master'
esp_crt_bundle: add support for deprecated cert list and relevant config

Closes IDF-8188 and IDFGH-10992

See merge request espressif/esp-idf!26734
2023-11-02 12:07:58 +08:00
Jakob Hasse
9aab41cde1 fix(esp_event): dedicated task test now waits for semaphore correctly 2023-11-02 11:49:45 +08:00
gaoxu
843e07b2d5 docs(adc): added adc calibration doc on h2 2023-11-02 11:33:06 +08:00
Jiang Jiang Jian
2e0afe5bf2 Merge branch 'bugfix/install_key_issue_ptk_renew' into 'master'
WiFi: Fix some wifi issues

Closes WIFIBUG-176 and WIFIBUG-225

See merge request espressif/esp-idf!26770
2023-11-02 11:11:38 +08:00
Jiang Jiang Jian
6e0a8434a7 Merge branch 'bt/add_host_only_mode' into 'master'
bt: Added BlueDroid-Only mode to use BlueDroid host only without Bluetooth Controller

See merge request espressif/esp-idf!25319
2023-11-02 10:58:32 +08:00
Wang Meng Yang
52085b0264 Merge branch 'feature/include_hf_and_ag_in_single_build' into 'master'
feat: Added support for build different roles in corresponding profile HID and HFP into a single binary

See merge request espressif/esp-idf!26360
2023-11-02 10:52:38 +08:00
Gao Xu
85484ffe8a Merge branch 'feature/add_adc_oneshot_control_driver_log_independently' into 'master'
ADC: add config for enable ADC driver debug log

Closes IDFGH-11248

See merge request espressif/esp-idf!26819
2023-11-02 10:44:23 +08:00
C.S.M
63ebb38039 Merge branch 'bugfix/32bit_addr_naming' into 'master'
bugfix(spi_flash): Fix wrong naming on 32bit address

See merge request espressif/esp-idf!26814
2023-11-02 10:28:03 +08:00
laokaiyao
4f5773181d fix(i2s): fix pdm rx high pass filter cut off coeff 2023-11-02 10:09:04 +08:00
Martin Vychodil
010714d70b Merge branch 'fix/fatfs_missing_release' into 'master'
fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC

Closes IDF-8482

See merge request espressif/esp-idf!26749
2023-11-01 22:00:49 +08:00
Kapil Gupta
69704efd5d fix(wifi): Disallow DPP and WPS concurrency 2023-11-01 19:09:58 +05:30
Jiang Jiang Jian
44f0bb148a Merge branch 'bugfix/ble_update_lib_1027' into 'master'
update c6 h2 lib to 5bd7cb83, c2 to 1d31e175

Closes BLERP-193, BLERP-194, BLERP-188, BLERP-176, BLERP-195, BLERP-192, and BLERP-199

See merge request espressif/esp-idf!26708
2023-11-01 20:34:28 +08:00
Sudeep Mohanty
0a0c7ef40f fix(freertos/idf): Updated IDLE task names for each core to have the coreID as a suffix
This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the task names.

Closes https://github.com/espressif/esp-idf/issues/12204
2023-11-01 12:32:06 +00:00
Sudeep Mohanty
3fb23c85b6 Revert "fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()"
This reverts commit 6c6a6ad44a.
2023-11-01 12:31:37 +00:00
Rahul Tank
8414400107 Merge branch 'bugfix/remove_iram_attr_from_ceva_files' into 'master'
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file

See merge request espressif/esp-idf!26726
2023-11-01 20:03:24 +08:00
Kapil Gupta
442f802102 fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() 2023-11-01 17:31:02 +05:30
chenjianhua
448d168dfd update esp32 bt-lib (6458728)
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-01 19:25:01 +08:00
Island
ce7bb6b0e8 Merge branch 'feat/support_clear_legacy_adv' into 'master'
feat(bt/bluedroid): support clear legacy advertising

Closes BLERP-175

See merge request espressif/esp-idf!26645
2023-11-01 18:33:09 +08:00
Darian
7baebd4ae3 Merge branch 'feature/add_run_time_counter_type_option' into 'master'
feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option

Closes IDFGH-10757

See merge request espressif/esp-idf!26704
2023-11-01 17:07:11 +08:00
Jin Cheng
1f2a1564a2 feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-01 16:54:11 +08:00
Wang Mengyang
638d3af14a feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary 2023-11-01 16:54:08 +08:00
Guillaume Souchere
93d4b0b38c fix(heap): Patch tlsf_check_pool in ROM heap
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.

This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-11-01 09:47:41 +01:00
zwl
5b759934f3 fix(ble): fixed ble disconnection issue under temperature change 2023-11-01 16:25:11 +08:00
Kapil Gupta
4dd480ce83 fix(esp_wifi): Fix key install issue in PTK renew 2023-11-01 13:39:50 +05:30
gaoxu
c14d7fbb17 feat(adc): added adc enable debug log config 2023-11-01 15:06:20 +08:00
morris
67ba15fd76 Merge branch 'refactor/emac_rmii_clock_output' into 'master'
refactor(emac): use clock_output driver for configuring RMII reference clock

See merge request espressif/esp-idf!26692
2023-11-01 13:29:07 +08:00
Cao Sen Miao
fe007196f2 bugfix(spi_flash): Fix wrong naming on 32bit address 2023-11-01 12:42:22 +08:00
Shu Chen
036fdf25c4 Merge branch 'feature/add_ot_radio_stats_enable_config' into 'master'
feat(openthread): add config for radio statistic feature

See merge request espressif/esp-idf!26489
2023-11-01 12:33:38 +08:00
Jakob Hasse
596101c516 Merge branch 'bugfix/freertos_psram_stack' into 'master'
bugfix(freertos): Fixed task creation function for PSRAM stack

See merge request espressif/esp-idf!26693
2023-11-01 11:12:07 +08:00
Island
f1e8cfb546 Merge branch 'bugfix/fix_ble_remove_bond_status' into 'master'
Bugfix/fix ble remove bond status

Closes BLERP-202, BLERP-205, and BLERP-207

See merge request espressif/esp-idf!26750
2023-11-01 10:42:59 +08:00
Jiang Jiang Jian
15f62f87ed Merge branch 'bugfix/wpa3_softap_assoc_reject' into 'master'
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished

Closes WIFIBUG-95

See merge request espressif/esp-idf!25545
2023-11-01 10:37:12 +08:00
Marius Vikhammer
77bb19c49e ci(build): fixed/ignored warnings from unknown symbols in sdkconfig.defaults 2023-11-01 01:14:00 +00:00
Xiao Xufeng
cc28674686 refactor(bootloader_flash): make cache enable more obvious 2023-11-01 02:01:45 +08:00
Xiao Xufeng
28f19cf0e6 fix(ram_app): Fixed issue ram_app can't use the SPI Flash
1st bootloader won't help to initialize the MSPI & cache properly as it
usually do when loading from flash. And the ram app doesn't have valid
headers.

Since there is no enough space in 2nd bootloader, we replace the
`bootloader_init_spi_flash` in the ram_app (!pure_ram_app), with an
customized alternative of it for the ram_app.

This alternative helps to initialize the MSPI & cache properly, without
the help of 1st bootloader or image headers.
2023-11-01 02:01:45 +08:00
Cody P Schafer
9e1e245477 fix(heap): memalign respect malloc_alwaysinternal_limit
This changes `memalign` (and `posix_memalign`) so that it uses an
allocation method with the same selection criteria (checking
`malloc_alwaysinternal_limit` and picking one of:

- always MALLOC_CAP_INTERNAL
- MALLOC_CAP_INTERNAL first with fallback
- MALLOC_CAP_SPIRAM first with fallback

`malloc_alwaysinternal_limit` is in turn set by the options
`CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL` and
`CONFIG_SPRIAM_USE_CAPS_ALLOC`.

This notably affects folks using esp-rs to build rust code for the
esp-idf, as all allocations from rust use `memalign`.

Merges https://github.com/espressif/esp-idf/pull/12375
2023-11-01 01:58:27 +08:00
Wan Lei
10401d95d0 Merge branch 'feature/esp32p4_hp_spi_slave_support' into 'master'
Feature/esp32p4 hp spi slave support

Closes IDF-7503

See merge request espressif/esp-idf!25700
2023-10-31 23:31:24 +08:00
Armando (Dou Yiwen)
1df3736ec1 Merge branch 'feat/isp_af_ll' into 'master'
ISP: AF submodule low level APIs

See merge request espressif/esp-idf!26526
2023-10-31 17:02:46 +08:00
kohait00
7c8663ffa9
manager: fixing unwinding protocom endpoints, on prov_stop. This enables starting and stopping provisioning on a pre started http server 2023-10-31 13:59:29 +05:30
morris
dbc1c06841 Merge branch 'bugfix/rmt_stop_issue' into 'master'
fix(rmt): a disabled channel may pick up a pending transaction

See merge request espressif/esp-idf!26579
2023-10-31 16:24:58 +08:00
xueyunfei
ff1016c55f Fix(lwip):bugfix for add config for tcp ooseq bufs 2023-10-31 16:00:26 +08:00
Chen Jian Xing
c2cf88c783 Merge branch 'bugfix/fix_wifi_enabled_macro' into 'master'
fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro

Closes WIFIBUG-207 and WIFIBUG-123

See merge request espressif/esp-idf!26740
2023-10-31 15:52:29 +08:00
liuning
4a7a27c189 fix(rom): fix wifi rom ld 2023-10-31 15:41:09 +08:00
Darian Leung
b301f175c9 feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option
This commit adds a Kconfig option for configRUN_TIME_COUNTER_TYPE

Closes https://github.com/espressif/esp-idf/issues/11973
2023-10-31 14:55:12 +08:00
Jiang Jiang Jian
fa853f8262 Merge branch 'bugfix/fix_c6_wrong_reg_offset' into 'master'
fix(coex): fix esp32c6 wrong reg offset

See merge request espressif/esp-idf!26664
2023-10-31 14:49:49 +08:00
Jiang Jiang Jian
f89a879e80 Merge branch 'bugfix/fix_compilation_issue' into 'master'
fix(wpa_supplicant): Fix compilation issue in EAP disabled

Closes IDFGH-11304

See merge request espressif/esp-idf!26659
2023-10-31 14:29:15 +08:00
morris
d78750306d refactor(emac): use clock_output driver for configuring RMII reference clock 2023-10-31 14:24:48 +08:00
Jiang Jiang Jian
5f518dbdde Merge branch 'bugfix/disable_fastpbkdf2_hardwaredisable' into 'master'
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2

Closes WIFIBUG-208

See merge request espressif/esp-idf!26682
2023-10-31 14:18:15 +08:00
Shreyas Sheth
8b8d4a0ffc fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished 2023-10-31 06:13:49 +00:00
Island
a436eaf045 Merge branch 'feat/support_ble_notify_reg_max' into 'master'
feat(bt/bluedroid): Support BLE gattc notify registration number

See merge request espressif/esp-idf!26641
2023-10-31 12:29:33 +08:00
gaoxu
0ea0b39725 feat(adc_cali): Add ADC calibration support for ESP32H2 2023-10-31 11:29:30 +08:00
Gao Xu
8b953557c1 Merge branch 'bugfix/fix_adc_read_zero_h2' into 'master'
ADC: fix adc raw data get 0 because of signal delay on ESP32H2

See merge request espressif/esp-idf!26572
2023-10-30 20:51:08 +08:00
Jakob Hasse
bd34fc41bb fix(freertos): Fixed prvTaskCreateDynamicPinnedToCoreWithCaps
* The function was based on an outdated IDF/FreeRTOS
  combination which didn't always require zero-ing
  the TCB. This has been changed in the current
  IDF/FreeRTOS combination, leading to crashes.
  Unconditionally zero-ing the TCB fixes this problem.
2023-10-30 18:09:17 +08:00
zhanghaipeng
c1b39f7aa5 fix(bt/bluedroid): Fix BLE remove bond list status 2023-10-30 17:45:38 +08:00
Armando
16d8b7df41 feat(color): added helper to get color space and color pixel format 2023-10-30 17:32:47 +08:00
Armando
7efcf06c5d change(ll): update color space types, ll changes 2023-10-30 17:32:46 +08:00
Armando
97526e9288 feat(isp): isp af submodule low level driver 2023-10-30 17:32:46 +08:00
Tomáš Rohlínek
3f4698ac47
fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC 2023-10-30 10:22:08 +01:00
alanmaxwell
120e53b34d fix(phy): Fix ESP32C6 rx pkts fail in light sleep mode 2023-10-30 14:26:25 +08:00
alanmaxwell
2eb1a7f933 fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro 2023-10-30 14:24:31 +08:00
wanlei
7cd75c1075 feat(spi_slave): add p4 hp spi slave driver support 2023-10-30 12:51:56 +08:00
wuzhenghui
ad2629af54 ci(ulp_test): fix fake sleep of the maincore in ulp pytest cases 2023-10-30 11:18:01 +08:00
wuzhenghui
18f984fd9c fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable 2023-10-30 11:18:01 +08:00
Wan Lei
7c21207bd3 Merge branch 'feature/esp32p4_twai_support' into 'master'
feat(twai): support legacy twai(can) driver for esp32p4

Closes IDF-7470

See merge request espressif/esp-idf!26073
2023-10-30 10:57:03 +08:00
Jiang Jiang Jian
7ade26caf1 Merge branch 'bugfix/connect_issue_for_zero_rssi' into 'master'
fix(esp_wifi): Fix issue of station disconnecting immediately after scanning

Closes WIFIBUG-132 and IDFCI-1847

See merge request espressif/esp-idf!25915
2023-10-30 10:16:27 +08:00
Jin Cheng
fc174f5811 feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller 2023-10-30 00:52:26 +00:00
Mahavir Jain
5b047057ca
feat(mbedtls): add new deprecated cert list and relevant config
Cert bundle is periodically updated with the upstream Mozilla's NSS
root cert store. Retracted certs are moved to deprecated list now and
an additional config allows to include them in the default bundle. New
config is kept default disabled but can be enabled if one would like
to ensure 100% compatibility w.r.t. cert bundle across IDF minor or
patch releases. In IDF major release the deprecated list shall be reset.
2023-10-29 12:21:22 +05:30
Espressif BOT
24446bfab1
change(esp_crt_bundle): Update esp_crt_bundle certificates 2023-10-29 12:21:21 +05:30
C.S.M
59d029bf66 Merge branch 'feat/i2c_rcc_support' into 'master'
refactor(i2c): Add reset and clock control to i2c ll layer

See merge request espressif/esp-idf!26684
2023-10-28 10:01:06 +08:00
Mahavir Jain
11c8501f32 Merge branch 'refactor/hal_mpu_test' into 'master'
refactor(tools/test_apps): Move HAL tests for MPU to the `panic` test-app

Closes IDF-5590

See merge request espressif/esp-idf!26422
2023-10-27 20:50:19 +08:00
Mahavir Jain
fc1080dc6a Merge branch 'bugfix/mbedtls_linux_entropy' into 'master'
fix(mbedtls): allow to use built in entropy implementation for linux target

See merge request espressif/esp-idf!26413
2023-10-27 20:14:57 +08:00
luomanruo
b281a72fa1 ble: update c2 lib to 6ed444f2 2023-10-27 20:11:47 +08:00
Ivan Grokhotkov
cbb6fa0507 Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse' into 'master'
fix(console): switch USB PHY to OTG when OTG is used for console

Closes IDFGH-11281

See merge request espressif/esp-idf!26653
2023-10-27 20:09:09 +08:00
Jiang Jiang Jian
2133e28cf2 Merge branch 'bugfix/esp32c6_phy_coex_sleep_issue' into 'master'
fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug

See merge request espressif/esp-idf!26667
2023-10-27 19:48:40 +08:00
zhanghaipeng
f4305753c8 feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-27 19:31:44 +08:00
zhanghaipeng
6f400e1b5d feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-27 19:31:44 +08:00
Rahul Tank
a4e712f61a fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file 2023-10-27 16:18:48 +05:30
C.S.M
4111b07076 Merge branch 'bugfix/flash_enc_plaintext' into 'master'
fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong

See merge request espressif/esp-idf!26640
2023-10-27 18:23:00 +08:00
gaoxu
1fa85abf46 ci(adc): add a test that adc read zero after getting done signal 2023-10-27 17:11:13 +08:00
Ondrej Kosta
fc59e9c160 Merge branch 'bugfix/make_eth_ci_nightrun' into 'master'
ci(esp_eth): make additional Ethernet chips test as nightly run

See merge request espressif/esp-idf!26695
2023-10-27 16:33:00 +08:00
luomanruo
d42fbcf144 ble: update c2 rom.ld 2023-10-27 16:03:32 +08:00
cjin
43b53a1885 change(ble): added option for msys buffer source 2023-10-27 16:03:05 +08:00
Zhang Hai Peng
9327274a7a Merge branch 'bugfix/fix_ble_hid' into 'master'
fix(bt/bluedroid): Fixed BLE hid example bugs

Closes BLERP-190

See merge request espressif/esp-idf!26613
2023-10-27 15:10:33 +08:00
Zhang Hai Peng
72fc360ad3 Merge branch 'fix/correct-typo-from-disbale-to-disable' into 'master'
fix: corrected typo from disbale to disable in numerous places

See merge request espressif/esp-idf!26644
2023-10-27 15:10:06 +08:00
luomanruo
d23e4d6f3e ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175 2023-10-27 14:28:10 +08:00
morris
cfbf857924 Merge branch 'refactor/esp_driver_pcnt' into 'master'
refactor(pcnt): make pcnt driver as component

Closes IDF-8380

See merge request espressif/esp-idf!26476
2023-10-27 12:37:36 +08:00
Sarvesh Bodakhe
0a95914839 fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero 2023-10-27 09:35:20 +05:30
Ivan Grokhotkov
6f9d3bfc76
Merge branch 'update/version_5_3_0' into 'master'
Start of v5.3 development (v5.3-dev)

See merge request !26669
2023-10-27 06:02:37 +02:00
Cao Sen Miao
0bf1dce413 refactor(i2c): Add reset and clock control to i2c ll layer 2023-10-27 10:50:35 +08:00
morris
47a9396a8c Merge branch 'bugfix/i2c_ll_read_write_fifo_by_index' into 'master'
fix(i2c): read write FIFO memory by volatile

See merge request espressif/esp-idf!26658
2023-10-27 10:22:06 +08:00
Ivan Grokhotkov
8171b22c40
change(version): Update version to 5.3.0 2023-10-27 03:06:55 +02:00
chenjianhua
ada56ca062 Update bt lib for ESP32-C3 and ESP32-S3(f817304)
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-10-26 19:43:02 +08:00
Cao Sen Miao
420ac840ff fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong 2023-10-26 19:38:42 +08:00
Ondrej
58b6add55c ci(esp_eth): make additional Ethernet chips test as nightly run 2023-10-26 11:38:28 +00:00
zhanghaipeng
2e762ae3f7 fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-26 19:21:21 +08:00
chenjianhua
7a1db4befb feat(bt/bluedroid): support clear legacy advertising 2023-10-26 19:14:54 +08:00
Xu Si Yu
030cac07df fix(coex): fix esp32c6 wrong reg offset 2023-10-26 17:59:09 +08:00
Mahavir Jain
804ed172dd
fix(mbedtls): allow to use built in entropy implementation for linux target 2023-10-26 15:12:42 +05:30
Aditya Patwardhan
a0d73b5155 fix(esp_https_server): Convert HTTPD_SSL_CONFIG_DEFAULT MACRO to function
Previously with HTTPD_SSL_CONFIG_DEFAULT being a MACRO, the
    configuration options could not be applied to it. This was casuing
    error in multiple scenarios. For e.g., here user_cert_cb is a part
    of httpd_ssl_config_t which this macro defines. But the type of
    user_cert_cb (esp_tls_server_callback_t) is only available when it is enabled
    in esp-tls. The MACRO however cannot be modified to set the defaults
    based on configuration option. This fix solves the issue without
    breaking the compatibility
2023-10-26 09:30:13 +00:00
Aditya Patwardhan
d4544a0d5c fix(esp_https_server): Remove dependency on CONFIG_ESP_TLS_SERVER
Closes https://github.com/espressif/esp-idf/issues/12023
2023-10-26 09:30:13 +00:00
Aditya Patwardhan
5ce93aa257 fix(esp_tls): Refactor esp-tls to remove ESP_TLS_SERVER config option 2023-10-26 09:30:13 +00:00
Martin Vychodil
1d5dbb8170 Merge branch 'update/sdcard_troubleshooting' into 'master'
fix(sd_card): update sd_card troubleshooting notes in readme.md

See merge request espressif/esp-idf!25879
2023-10-26 16:49:02 +08:00
Michael (XIAO Xufeng)
010a65d84e Merge branch 'bugfix/spi_master_fifo_use_dma' into 'master'
fix(spi): fixed undesired touching to DMA

Closes IDFGH-11065

See merge request espressif/esp-idf!26636
2023-10-26 16:43:22 +08:00
wanlei
d9d6f5a17a feat(twai): support legacy twai(can) driver for esp32p4 2023-10-26 16:20:45 +08:00
Kapil Gupta
04d874d6a3 fix(wpa_supplicant): implement sha1_finish for fastpbkdf2 2023-10-26 13:27:39 +05:30
morris
418494800c fix(i2c): read write FIFO memory by volatile 2023-10-26 14:40:07 +08:00
zhanghaipeng
f7e174e948 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-26 14:14:15 +08:00
gaoxu
a8e3122866 fix(adc): fix adc read zero after getting done signal on h2 2023-10-26 12:22:09 +08:00
Mo Fei Fei
a82b6f5c0b Merge branch 'docs/update_cn_trans_nvs_part_gen_readme' into 'master'
Docs: Update CN trans for components/nvs_flash/nvs_partition_generator/README.rst

Closes DOC-6449

See merge request espressif/esp-idf!26589
2023-10-26 12:19:26 +08:00
Mo Fei Fei
4f24d3a39c Docs: Update CN trans for components/nvs_flash/nvs_partition_generator/README.rst 2023-10-26 12:19:25 +08:00
morris
15cefab479 fix(rmt): a disabled channel may pick up a pending transaction
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-10-26 12:11:07 +08:00
gaoxu
811a790aaf fix(adc): fix adc oneshot mod do not split clk 2023-10-26 10:59:35 +08:00
Armando (Dou Yiwen)
e15de479ce Merge branch 'bugfix/fix_wrong_hal_assertion_sdmmc_ll' into 'master'
sdmmc: fix ll layer wrong assertion

See merge request espressif/esp-idf!26590
2023-10-26 10:32:58 +08:00
Djordje Nedic
04dba7a80d Merge branch 'fix/esp32_p4_lp_reserved_seg_fix' into 'master'
fix: Fix ESP32-P4 lp_reserved_seg origin

See merge request espressif/esp-idf!26663
2023-10-26 10:32:02 +08:00
Jakob Hasse
228c40c2ac Merge branch 'feature/freertos_task_private_create_psram' into 'master'
feat(freertos): Added private task creation functions allocating stack in PSRAM

See merge request espressif/esp-idf!25404
2023-10-26 10:27:00 +08:00
Zim Kalinowski
3888ffdda6 Merge branch 'bugfix/enable-ringbuffer-build-on-linux' into 'master'
fix(ringbuf): Enable build on Linux

See merge request espressif/esp-idf!26649
2023-10-25 23:44:14 +08:00
Jiang Jiang Jian
9f6bf3b029 Merge branch 'bugfix/fix_wifi_ld_c3_eco7' into 'master'
fix(rom): remove related rom funcs in c3 rom eco7 MR

See merge request espressif/esp-idf!26651
2023-10-25 20:53:48 +08:00
Roland Dobai
d20654e7ed Merge branch 'bugfix/libphy_orphaned_sections' into 'master'
fix(lf): fix orphaned .phyiram sections

Closes WIFI-6279

See merge request espressif/esp-idf!26295
2023-10-25 16:34:19 +08:00
xiaqilin
c8f4fa2866 fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug 2023-10-25 16:10:27 +08:00
Konstantin Kondrashov
a304cc230e Merge branch 'feature/esp32h2_adds_adc_calib_efuses' into 'master'
feat(efuse): Adds efuse ADC calibration data for ESP32H2

See merge request espressif/esp-idf!26305
2023-10-25 15:58:24 +08:00
Island
0f84e7d8c6 Merge branch 'bugfix/fix_set_adv_data_bug' into 'master'
Fix bugs in setting adv data and scan response data(ESP32C3 ESP32S3)

Closes BLERP-142, BLERP-141, BLERP-185, and BLERP-186

See merge request espressif/esp-idf!26538
2023-10-25 15:55:04 +08:00
sonika.rathi
91eada4acc fix(fatfs): free allocated memory for base path before unmounting the card 2023-10-25 09:33:42 +02:00
Djordje Nedic
e32bdb66e3 fix: Fix ESP32-P4 lp_reserved_seg origin
Apparently, this part of the linker script was copied from elsewhere
and the origin was not corrected.
2023-10-25 08:09:33 +02:00
Armando
263e39c32b fix(sdmmc): fix ll layer wrong assertion 2023-10-25 06:03:25 +00:00
Mahavir Jain
aaa438a3a2 Merge branch 'feature/tls_v1.2_and_v1.3_simultaneously' into 'master'
fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously

Closes IDF-8189 and IDF-8344

See merge request espressif/esp-idf!26304
2023-10-25 12:26:23 +08:00
Kapil Gupta
53939de34e fix(wpa_supplicant): Fix compilation issue in EAP disabled 2023-10-25 09:55:12 +05:30
Marius Vikhammer
d6a79b5108 Merge branch 'feature/hello_world_linux' into 'master'
feat(linux_target): enable hello world example for linux target

See merge request espressif/esp-idf!26638
2023-10-25 10:22:49 +08:00
Marius Vikhammer
20b6d92b91 Merge branch 'ci/reduce_heap_tests' into 'master'
ci(heap): reduce the number of test apps built

See merge request espressif/esp-idf!26643
2023-10-25 09:23:18 +08:00
C.S.M
fec9a11f4a Merge branch 'feature/i2c_slave_new_driver' into 'master'
feat(i2c_slave): Add new APIs for I2C-slave, and add multi-board tests with I2C-master

Closes IDF-8111

See merge request espressif/esp-idf!25403
2023-10-25 01:22:05 +08:00
Adam Múdry
687c5cc8d5 Merge branch 'fix/remove_wno-format_from_storage_components' into 'master'
refactor: Remove -Wno-format from storage related components

Closes IDF-6793

See merge request espressif/esp-idf!26531
2023-10-24 21:25:34 +08:00
Ivan Grokhotkov
a8e175364a
fix(console): switch USB PHY to OTG when OTG is used for console
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.

Closes https://github.com/espressif/esp-idf/issues/12437
2023-10-24 13:29:15 +02:00
Cao Sen Miao
c9f85d8d1b feat(i2c_test): Add multi board test for I2C master and I2C slave 2023-10-24 18:46:27 +08:00
Cao Sen Miao
8d639492f2 feat(i2c_slave): Add new implementation and API for I2C slave 2023-10-24 18:44:49 +08:00
liuning
7532df427a fix(rom): remove related rom funcs in c3 rom eco7 MR 2023-10-24 18:05:10 +08:00
Zim Kalinowski
3589478a9e fix(esp_ringbuffer): Enable build on Linix 2023-10-24 11:30:03 +02:00
Li Shuai
fa489d3c20 change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize 2023-10-24 17:11:53 +08:00
Michael (XIAO Xufeng)
d2d75efeff Merge branch 'bugfix/hpm_dc_default_disabled' into 'master'
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart

See merge request espressif/esp-idf!24380
2023-10-24 15:24:50 +08:00
zhanghaipeng
5727802497 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-24 14:52:56 +08:00
Sudeep Mohanty
96933837ce Merge branch 'ci/ulp_test_app_depends_components' into 'master'
ci(system): Restrict ULP test apps being built and run on CI

Closes IDF-8401

See merge request espressif/esp-idf!26628
2023-10-24 14:31:57 +08:00
DevinNorgarb
001b10ec45 fix: corrected typo from disbale to disable in numerous places 2023-10-24 14:10:39 +08:00
Marius Vikhammer
7e8181b976 ci(heap): reduce the number of test apps built 2023-10-24 12:38:56 +08:00
Xiao Xufeng
8315221523 fix(spi): fixed undesired touching to DMA
Closes https://github.com/espressif/esp-idf/issues/12241
2023-10-24 10:50:42 +08:00
zhanghaipeng
9804a8b0f9 fix(ble/controller): Fix bugs in setting adv data and scan response data 2023-10-24 10:48:31 +08:00
Xiao Xufeng
88954841b1 doc(spi_flash): hide unsupported optional features 2023-10-24 10:38:11 +08:00
Xiao Xufeng
1f5fb3f921 spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart 2023-10-24 10:38:08 +08:00
Lou Tian Hao
ca32e5268b Merge branch 'change/change_some_code_for_sleep_callback' into 'master'
change(pm): change sleep callback implement

See merge request espressif/esp-idf!26461
2023-10-24 10:15:09 +08:00
Marius Vikhammer
8c52b0845d feat(linux_target): enable hello world example for linux target 2023-10-24 10:04:09 +08:00
Marius Vikhammer
88af378d2e Merge branch 'feature/p4_multi_core_wdt' into 'master'
WDT: Multi-core support for RISC-V WDT

Closes IDF-6516 and IDF-8136

See merge request espressif/esp-idf!25689
2023-10-24 09:39:58 +08:00
Jiang Jiang Jian
345565d8c1 Merge branch 'feature/support_esp32c2_rom_mbedtls' into 'master'
feat(mbedtls): support c2 mbedtls can use crypto algorithm in ROM

See merge request espressif/esp-idf!25272
2023-10-24 09:30:15 +08:00
Marius Vikhammer
679b1dc4bb Merge branch 'docs/ulp_lp_uart' into 'master'
docs(ulp): add info about lp-uart to lp-core docs

See merge request espressif/esp-idf!26405
2023-10-24 08:30:29 +08:00
wuzhenghui
8bc69e0354 fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold 2023-10-23 21:24:56 +08:00
Song Ruo Jing
5318c8d67d Merge branch 'contrib/github_pr_12424' into 'master'
fix(driver/gpio): Fix SIG_GPIO_OUT_IDX comment for signal conn (GitHub PR)

See merge request espressif/esp-idf!26566
2023-10-23 20:36:13 +08:00
Harshit Malpani
27681a5073
fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously
This commit fixes the issue with TLS 1.2 connection when TLS 1.3 is
enabled in config.
2023-10-23 16:23:10 +05:30
Zhang Wen Xu
a6126067ef Merge branch 'fix/support_qa_test_ot_host_config' into 'master'
fix(openthread): fix host interface mdoe none

See merge request espressif/esp-idf!26595
2023-10-23 18:27:16 +08:00
Marius Vikhammer
22091c8744 feat(wdt): add multicore support for WDTs on RISCV 2023-10-23 18:26:08 +08:00
Sudeep Mohanty
f6ecaa12e9 ci(system): Restrict ULP test apps being built and run on CI
This commit updates the dependency list of the ULP test apps. These test
apps will now only build and run when the ULP component is updated.
2023-10-23 10:54:36 +02:00
Omar Chebib
51434a8367 Merge branch 'feature/esp32p4_fpu_support' into 'master'
feat(riscv): implement FPU support for RISC-V targets

Closes IDF-7770

See merge request espressif/esp-idf!25871
2023-10-23 16:50:36 +08:00
Lou Tianhao
13a405a32b change(pm): Change sleep callback implement 2023-10-23 08:13:47 +00:00
morris
767595a22f Merge branch 'feature/mcpwm_timer_change_freq' into 'master'
feat(mcpwm): support update timer period dynamically

Closes IDFGH-11145

See merge request espressif/esp-idf!26419
2023-10-23 15:51:14 +08:00
Jiang Jiang Jian
6481080f69 Merge branch 'feature/support_ble_esp32c3_eco7' into 'master'
Feature/support ble esp32c3 eco7

Closes CBLE50Y23-56

See merge request espressif/esp-idf!26144
2023-10-23 14:22:40 +08:00
Guillaume Souchere
787a4ad6c9 Merge branch 'feat/use-singly-linked-hashmap' into 'master'
feat(heap): update hash map to use singly linked list

Closes IDFGH-9846

See merge request espressif/esp-idf!26441
2023-10-23 13:12:37 +08:00
Jiang Guang Ming
e882782f0d feat(mbedtls): add new option CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL for mbedtls pytest 2023-10-23 13:10:44 +08:00
Jiang Guang Ming
37ec1cc592 feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM 2023-10-23 13:10:44 +08:00
morris
78937173cd Merge branch 'bugfix/wrong_dma_bus_use' into 'master'
bugfix(driver): fix wrong DMA bus usage

See merge request espressif/esp-idf!26569
2023-10-23 12:16:34 +08:00
Marius Vikhammer
789a8b3446 docs(ulp): add info about lp-uart to lp-core docs 2023-10-23 12:11:34 +08:00
Omar Chebib
a8b1475fe7 feat(riscv): implement coprocessors save area and FPU support
This commit mainly targets the ESP32-P4. It adds supports for coprocessors on
RISC-V based targets. The coprocessor save area, describing the used coprocessors
is stored at the end of the stack of each task (highest address) whereas each
coprocessor save area is allocated at the beginning of the task (lowest address).
The context of each coprocessor is saved lazily, by the task that want to use it.
2023-10-23 11:10:28 +08:00
Marius Vikhammer
b0124b9b9f Merge branch 'feature/freertos_upgrade_to_v10_5_1' into 'master'
change(freertos): Upgrade ESP-IDF to use FreeRTOS v10.5.1, remove v10.4.3

Closes IDF-8191, IDF-8200, IDF-8201, IDF-8363, and IDF-8364

See merge request espressif/esp-idf!26261
2023-10-23 11:00:08 +08:00
morris
98b5ea7bdf refactor(pcnt): make pcnt driver as component 2023-10-23 01:45:43 +00:00
Adam Múdry
e151184da7 refactor: Remove -Wno-format from storage related components 2023-10-22 17:56:41 +00:00
Jiang Jiang Jian
0049cc663a Merge branch 'feature/support_output_internal_clock' into 'master'
feature(gpio): Add api to support output internal clock

Closes IDF-8016 and IDF-4935

See merge request espressif/esp-idf!25753
2023-10-22 22:06:13 +08:00
Erhan Kurubas
6cd8030160 Merge branch 'check_debug_aware_config' into 'master'
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality

Closes IDF-5881

See merge request espressif/esp-idf!26533
2023-10-21 15:20:26 +08:00
Darian Leung
94b46599c3 change(freertos/idf): Update FreeRTOS documentation build
This commit does the following:

- Update doxygen comments in FreeRTOS headers to remove unsupported doxygen
labels and internal functions
- Fixed existing doxygen warnings in FreeRTOS headers
2023-10-21 04:39:17 +08:00
Darian Leung
fdfdfc6d9e change(freertos/idf): Temporarily disable "Test suspend-resume CPU works with xTimer'"
The test is flakey with the v10.5.1 kernel.
2023-10-21 04:39:16 +08:00
Darian Leung
0d846ffe26 fix(freertos/idf): Add missing vPortSetStackWatchpoint() call
This commit restores a missing call to vPortSetStackWatchpoint() in the
V10.5.1 kernel.
2023-10-21 04:39:16 +08:00
Darian Leung
6c6a6ad44a fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()
This commit temporarily disables a bugfixed introduced by FreeRTOS v10.5.1 that
ensures timed out tasks will only preempt if their priority is higher than the
currently running task.

This bugfix has been temporarily reversed due to some compatibility issues with
some IDF tests.
2023-10-21 04:39:16 +08:00
Darian Leung
4d14717e77 fix(freertos/idf): Add work around vTaskResumeAll() compiler optimization
This commit adds a workaround for a compiler optimization issue in FreeRTOS
v10.5.1 in xTaskResumeAll() where pxTCB is only read once, even if in a loop.

A follow up ticket has been added to properly resolve this issue.
2023-10-21 04:39:16 +08:00
Darian Leung
0c15815c2b fix(freertos/idf): vTaskStepTick assertions in SMP
Fixes vTaskStepTick() assertions in SMP, where SMP uses critical sections
instead of scheduler suspension when handling tickless idling.
2023-10-21 04:39:16 +08:00
Darian Leung
ec1ba78b7c fix(freertos/idf): Fix utility function performance
This commit optimizes the following utility functions to achieve higher
overall system performance:

xTaskGetCurrentTaskHandle():
- Made into stand alone function instead of wrapper call to "ForCore" variant
- Replaced critical sections with disabling interrupts. Lack of lock contention
improves performance.

xTaskGetCurrentTaskHandleForCore():
- Removed unecessary critical sections

xTaskGetSchedulerState():
- Replaced critical sections with disabling interrupts. Lack of lock contention
improves performance.
2023-10-21 04:39:16 +08:00
Darian Leung
b13b9c1163 fix(freertos/idf/linux): Fix configMAX_PRIORITIES for linux port
Previously the linux port of FreeRTOS set configMAX_PRIORITIES to 7. However,
multiple linux POSIX simulator examples will call API that create tasks with
priortiies >= 7.

This commit fixes the configMAX_PRIORITIES and unifies all ports to have 25
priorities.
2023-10-21 04:39:16 +08:00
Darian Leung
5c0449a63a change(freertos/idf): Update single-core macros to prevent unused variable error
Various convenience macros in tasks.c will simply leave macro arguments unused
when built for single-core. This leads to an 'unused variable' warning.

This commit updates those macrso so that the unused arguments have a
'(void)' statement.
2023-10-21 04:39:16 +08:00
Darian Leung
82ad04e3ba change(freertos/idf): Update version number, licenses, and sbom to v10.5.1
Following the upgrade to FreeRTOS kernel v10.5.1, this commit updates the
version numbers, licenses, and SBOM files of FreeRTOS files to reflect v10.5.1.

Note:

- Updated licenses as v10.5.1 now uses SPDX format
- Removed CVE-2021-43997 as it was fixed post v10.4.5
2023-10-21 04:39:16 +08:00
Darian Leung
16ccb31d33 change(freertos/idf): Make v10.5.1 the default kernel
This commit makes v10.5.1 the default FreeRTOS kernel in ESP-IDF by removing
the CONFIG_FREERTOS_USE_KERNEL_10_5_1 option and v10.4.3 specific code
blocks.
2023-10-21 04:39:16 +08:00
Darian Leung
2025a77dd6 change(freertos/idf): Move v10.5.1 kernel files
This commit moves the v10.5.1 kernel files to the 'FreeRTOS-Kernel' directory.
2023-10-21 04:39:16 +08:00
Darian Leung
fe5a577198 change(freertos/idf): Remove v10.4.3 kernel files
This commit removes the v10.4.3 kernel files in prepartion for upgrading to
v10.5.1.

- Portable files still remain
- Added as a separate commit to preserve commit history
2023-10-21 04:39:16 +08:00
Martin Vychodil
8cd898ebee Merge branch 'docs/nvs_add_return_error_description_for_nvs_open' into 'master'
docs: nvs_open* add ESP_ERR_INVALID_ARG to return description

Closes IDF-1528

See merge request espressif/esp-idf!26583
2023-10-20 22:27:42 +08:00
Ivan Grokhotkov
40347c9c27 Merge branch 'feature/app_trace_component_test_app' into 'master'
feat(app_trace): migrate the tests from unit-test-app

Closes IDF-5564

See merge request espressif/esp-idf!26273
2023-10-20 21:45:05 +08:00
zhiweijian
0914d9b8d8 feat: support ble esp32c3 eco7 2023-10-20 19:54:36 +08:00
Jiang Jiang Jian
aa22a66c22 Merge branch 'feat/support_esp32c3_eco7_wifi' into 'master'
Feat/support esp32c3(v1.1) wifi

Closes WIFI-6274

See merge request espressif/esp-idf!26132
2023-10-20 19:13:03 +08:00
morris
df2c62d270 bugfix(driver): fix wrong DMA bus usage
in SPI, RMT, parlio
2023-10-20 09:08:54 +00:00
morris
0cbcb9f5ea feat(mcpwm): support update timer period dynamically
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-20 16:57:25 +08:00
Armando (Dou Yiwen)
37a5ab0f09 Merge branch 'bugfix/fix_bootloader_random_multiple_build_issue' into 'master'
rng: only build bootloader_random apis once

See merge request espressif/esp-idf!26571
2023-10-20 15:48:22 +08:00
laokaiyao
e2c182ab4b refactor(i2s): stop to output mclk after uninstalled on esp32 2023-10-20 14:55:10 +08:00
wuzhenghui
d6cda1b6e1 ci(esp_hw_support): add test case for gpio output internal clock feature ci 2023-10-20 14:55:10 +08:00
wuzhenghui
7195bf19df feat(esp_hw_support): support one-to-many signal-gpio mapping output 2023-10-20 14:55:06 +08:00
wuzhenghui
6a436286dc feat(esp_hw_support): add api to gpio driver to support output internal clock on GPIO 2023-10-20 14:35:26 +08:00
zwx
1dc2a98d1e fix(openthread): fix host interface mdoe none 2023-10-20 14:03:24 +08:00
Rahul Tank
e7e478205b Merge branch 'bugfix/fix_espcoredump_compilation_warning' into 'master'
fix(espcoredump): fixed compilation warning

Closes IDFGH-11151

See merge request espressif/esp-idf!26395
2023-10-20 13:41:47 +08:00
alanmaxwell
4d33bf7ee9 feat(wifi): support esp32c3 v1.1 WiFi
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-10-20 11:01:07 +08:00
Jiang Guang Ming
5f00b8a4d5 fix(esp32c3): Update esp32c3 chip revision 2023-10-20 11:01:07 +08:00
Jiang Guang Ming
d1fbec028c feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720 2023-10-20 11:01:07 +08:00
Armando (Dou Yiwen)
1bce665e73 Merge branch 'feat/sdspi_esp32p4' into 'master'
sdspi: supported sdspi on esp32p4

Closes IDF-7501

See merge request espressif/esp-idf!26458
2023-10-20 10:41:44 +08:00
morris
565b9fd117 Merge branch 'refactor/hal_util_bitwise_reverse8' into 'master'
hal: add util function to reverse a 8bit byte

See merge request espressif/esp-idf!26532
2023-10-20 09:43:15 +08:00
Jiang Jiang Jian
865d29ea18 Merge branch 'bugfix/update_ble_lib_1018' into 'master'
change(ble): update ble lib on c6 h2 and c2 chip

Closes BLERP-144, BLERP-134, BLERP-143, BLERP-128, BLERP-136, BLERP-135, BLERP-132, BLERP-146, BLERP-147, BLERP-148, BLERP-149, BLERP-150, BLERP-145, BLERP-151, BLERP-152, BLERP-153, BLERP-154, BLERP-155, and BLERP-156

See merge request espressif/esp-idf!26541
2023-10-20 00:40:54 +08:00
wuzhenghui
1f10c84a4f change(hal): rewrite gpio_ll_set_iomux_pin_ctrl api 2023-10-19 22:24:08 +08:00
Armando (Dou Yiwen)
471f1f61ae Merge branch 'feature/support_sdmmc_ver2_on_p4' into 'master'
sdmmc: esp32p4 support

Closes IDF-6502

See merge request espressif/esp-idf!25405
2023-10-19 22:00:40 +08:00
Jiang Jiang Jian
06822da186 Merge branch 'fix/phy_pll_track_corner' into 'master'
fix(esp_phy): fix pll track corner case

Closes WIFIBUG-199

See merge request espressif/esp-idf!26546
2023-10-19 21:33:10 +08:00
Guillaume Souchere
07165308f6 feat(heap): update hash map to use singly linked list
Previously, the hash map was a doubly linked list but was never
using the characteristics of it.

This commit switches the hash map to a singly linked list instead

This commit also fixes memory leak in heap trace tests by setting
hashmap size to 10 for the tests (instead of the default value of 250)

See https://github.com/espressif/esp-idf/issues/11173
2023-10-19 14:50:05 +02:00
Adam Múdry
6154f22ab3 docs: nvs_open* add ESP_ERR_INVALID_ARG to return description
ESP_ERR_INVALID_ARG is returned from underlying functions but this was not easily evident
2023-10-19 14:36:10 +02:00
Rahul Tank
d2e9314c24 fix(espcoredump): fixed compilation warning
Added conditional compilation for logging stack usage only when CONFIG_ESP_COREDUMP_LOGS is
enabled.

Closes: https://github.com/espressif/esp-idf/issues/12318
2023-10-19 16:48:28 +05:30
Jiang Jiang Jian
6db16c6e81 Merge branch 'feature/sta_sae_ext_key' into 'master'
feat(wifi): Add support for sae ext key for station

Closes WIFI-6170

See merge request espressif/esp-idf!24833
2023-10-19 18:49:15 +08:00
Armando
05c147c3e8 fix(rng): only build bootloader_random apis once 2023-10-19 16:15:52 +08:00
luomanruo
b5767372a8 fix(ble): fixed ble connection timeout issue on ESP32H2 2023-10-19 14:28:18 +08:00
Jiang Jiang Jian
a94bb6201b Merge branch 'bugfix/deep_sleep_force_to_sleep' into 'master'
fix(esp_hw_support): Return deep sleep APIs to the original behavior

Closes IDFGH-11192, PM-11, and IDF-7600

See merge request espressif/esp-idf!26341
2023-10-19 14:27:02 +08:00
Xue Yun Fei
e64712b263 Merge branch 'lost_timer_failed_to_start_when_sta_is_connected' into 'master'
esp-netif:lost timer failed to start when sta is disconnected

Closes WIFI-5984

See merge request espressif/esp-idf!24076
2023-10-19 14:12:17 +08:00
Zhi Wei Jian
e925665f94 Merge branch 'bugfix/fix_ble_bond_error_after_reboot' into 'master'
fix(ble/bluedroid): fixed BLE bond error after reboot

Closes CBLE50Y23-58

See merge request espressif/esp-idf!26392
2023-10-19 11:58:16 +08:00
Zhang Xiao Yan
dffe28b787 Merge branch 'docs/add_parameter_description_to_esp_netif' into 'master'
docs: add parameter description to esp_netif.h

See merge request espressif/esp-idf!26487
2023-10-19 10:52:51 +08:00
zwx
b96064a740 fix(esp_phy): fix pll track corner case 2023-10-19 10:46:24 +08:00
Wan Lei
a9b6c98489 Merge branch 'refactor/spi_using_rcc_automic_lock' into 'master'
refac(spi): update periph_module_xxx with rcc_atomic_lock for periph bus

Closes IDF-8159

See merge request espressif/esp-idf!26394
2023-10-18 20:36:51 +08:00
Guillaume Souchere
63952fe2f6 Merge branch 'feat/make-task-tracking-independant-from-poisoning' into 'master'
feat(heap): Dissociate heap poisoning from task tracking functionalities

Closes IDF-8332

See merge request espressif/esp-idf!26311
2023-10-18 20:18:22 +08:00
Zim Kalinowski
fa1a3ce0b5 Merge branch 'refactor/components_linux_compatible' into 'master'
Exclude all currently incompatible components from Linux build

Closes IDF-8318 and IDF-5996

See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
Jakob Hasse
8aba6a53e4 feat(freertos): Added private PSRAM stack task creation functions
* Added prvTaskCreateDynamicAffinitySetWithCaps
  and prvTaskCreateDynamicPinnedToCoreWithCaps
  which allocate the task's stack in PSRAM instead of
  internal RAM. These functions are only available if
  PSRAM is enabled.
2023-10-18 20:06:42 +08:00
Armando
7879b29b0c feat(dma): added a helper api to check buffer is dma aligned 2023-10-18 11:57:55 +00:00
Armando
4eaf233bb8 change(sdmmc): replace periph_module_x with rcc 2023-10-18 11:57:55 +00:00
Armando
2d3736fa11 change(sdmmc): update the volatile location of the sdmmc_struct.h 2023-10-18 11:57:55 +00:00
Armando
70314b56d5 feat(sdmmc): supported sd2.0 on esp32p4 2023-10-18 11:57:55 +00:00
Shreyas Sheth
ee9ce51133 feat(wifi): Add SAE EXT key support for esp station 2023-10-18 17:10:31 +05:30
Jouni Malinen
98cc860e86 feat(wifi): Pull in wpa_supplicant upstream code for SAE EXT key
SAE: Derive a variable length PMK with the new AKM suites

Select the PMK length based on the used group (prime length) when using
the new AKM suites for SAE.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-10-18 16:50:24 +05:30
Jouni Malinen
3ec105067c feat(wifi): Pull in wpa_supplicant upstream code for SAE EXT key
SAE: Indicate AKM suite selector in commit for new AKM suites

SAE authentication needs to known which AKM suite is being used to be
able to determine the correct PMK length for the new AKM suite selectors
that use variable length keys.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-10-18 16:50:24 +05:30
Jouni Malinen
5719f7908d feat(wifi): Pull in wpa_supplicant upstream code for SAE EXT key
SAE: EAPOL-Key and key/MIC length information for the new AKM suites

Update the AKM suite specific mapping of various EAPOL-Key key lengths
and algorithms to include the new SAE AKM suites with variable length
keys.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-10-18 16:50:24 +05:30
Jouni Malinen
21ac680eac feat(wifi): Pull in wpa_supplicant upstream code for SAE EXT key
SAE: Internal WPA_KEY_MGMT_* defines for extended key AKMs

Define new WPA_KEY_MGMT_* values for the new SAE AKM suite selectors
with variable length keys. This includes updates to various mapping and
checking of the SAE key_mgmt values.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-10-18 16:50:24 +05:30
Jouni Malinen
7dbfd8c6da feat(wifi): Pull in wpa_supplicant upstream code for SAE EXT key
SAE: Use wpa_key_mgmt_sae() helper

Use the existing helper function instead of maintaining multiple copies
of lists of SAE key management suites.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-10-18 16:50:24 +05:30
Jouni Malinen
b95ace06b8 feat(wifi): Pull in wpa_supplicant upstream code for SAE EXT key
Define new RSN AKM suite selector values

Add the new AKM suite selectors defined in IEEE P802.11-REVme/D1.3.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-10-18 16:50:24 +05:30
Shreyas Sheth
e746fc0deb feat(wifi): Refactor and update wpa_supplicant with upstream 2023-10-18 16:50:24 +05:30
luomanruo
5f891fae7e ble: update controller log module for ESP32-C6, ESP32-H2 and ESP32-C2 2023-10-18 18:10:25 +08:00
Lucas Saavedra Vaz
64f8222ec6 fix(driver/gpio): Fix SIG_GPIO_OUT_IDX comment for signal connect 2023-10-18 12:04:48 +02:00
zwl
ee869ddd9b fix(ble): fixed ble connection timeout issue on ESP32H2 2023-10-18 17:08:51 +08:00
luomanruo
0b7cba39de ble: update controller log module for ESP32-C2 2023-10-18 17:08:51 +08:00
luomanruo
8f30d922ac ble: update controller log module for ESP32-H2 and ESP32-C6 2023-10-18 17:08:51 +08:00
cjin
c9cf190847 change(ble): update ble lib on c6 h2 and c2 chip 2023-10-18 17:08:51 +08:00
Jiang Jiang Jian
fdb4e0e532 Merge branch 'bugfix/spurious_beacon_timeout' into 'master'
Fixed some WiFi Issues

Closes WIFIBUG-169, WIFIBUG-164, WIFI-6251, WIFIBUG-144, WIFIBUG-153, and WIFIBUG-171

See merge request espressif/esp-idf!26403
2023-10-18 16:42:17 +08:00
Jiang Jiang Jian
7e4d7388c7 Merge branch 'bugfix/fix_pm_tests' into 'master'
fix(esp_hw_support): fix pm tests failure caused by non-iram safe test code

Closes IDFCI-1840

See merge request espressif/esp-idf!26530
2023-10-18 16:26:32 +08:00
Guillaume Souchere
d6def6c06e Merge branch 'fix/check_integrity_on_used_blocks' into 'master'
heap: fix integrity check on used blocks by the tlsf component

Closes IDFGH-11050

See merge request espressif/esp-idf!26289
2023-10-18 15:47:25 +08:00
Jiang Jiang Jian
249e45a5d6 Merge branch 'bugfix/coex_cfg_option_invisible' into 'master'
fix(esp_coex): Fix dependency errors in coexist configuration

Closes BT-3435

See merge request espressif/esp-idf!26484
2023-10-18 15:36:22 +08:00
Wan Lei
9f413d5d8d Merge branch 'feature/esp32p4_hp_ledc_support' into 'master'
feat(ledc): support ledc on esp32p4

Closes IDF-6510

See merge request espressif/esp-idf!25356
2023-10-18 15:27:54 +08:00
Erhan Kurubas
2d55270006 fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality 2023-10-18 08:48:45 +02:00
zhiweijian
d86a990be5 fix(ble/bluedroid): fixed BLE bond error after reboot 2023-10-18 14:40:16 +08:00
Kapil Gupta
23a9880544 Merge branch 'bugfix/wps_condition_chain' into 'master'
fix(wifi): Fix static analyzer warning for WPS code

See merge request espressif/esp-idf!26492
2023-10-18 14:22:04 +08:00
Zhi Wei Jian
daf1fc790a Merge branch 'bugfix/fix_dtm_test_failed_on_ble_5.0' into 'master'
fix(ble/bluedroid): fixed bluedroid host DTM API

Closes BLEQABR23-690 and BLECRT-42

See merge request espressif/esp-idf!26345
2023-10-18 14:04:54 +08:00
Guillaume Souchere
7492c862af feat(heap): Dissociate heap poisoning from task tracking
In order to enable CONFIG_HEAP_TASK_TRACKING, some kind
of poisoning had to be enabled (!HEAP_POISONING_DISABLED).
However since those functionalities don't seem to be related
in any way, this commit decouple them by removing
MULTI_HEAP_BLOCK_OWNER from poison_head_t in multi_heap_poisoning.c
and handling the block ownership in heap_caps.c instead.

Note that handling task tracking in multi_heap.c would necessitate
updating the ROM implementation of multi_heap.c as well. For this
reason, the task tracking feature has to be handled in heap_caps.c.
2023-10-18 06:43:22 +02:00
Mahavir Jain
2407813a67 Merge branch 'feature/update_esp32c6-h2_apm_api' into 'master'
apm: updated APM HAL/LL APIs.

See merge request espressif/esp-idf!26368
2023-10-18 12:26:38 +08:00
morris
e92a1515be feat(hal): add util function to reverse a 8bit byte 2023-10-18 09:48:14 +08:00
Erhan Kurubas
3de31924ac Merge branch 'feature/pseudo_exccause_to_openocd' into 'master'
Feature/pseudo exccause to openocd

See merge request espressif/esp-idf!25708
2023-10-18 07:36:43 +08:00
Zim Kalinowski
929ba5d414 Merge branch 'bugfix/ringbuf-fix-linux-build' into 'master'
fix(ringbuf): Fixed linux build

See merge request espressif/esp-idf!25771
2023-10-17 23:23:40 +08:00
David Čermák
210f757835 Merge branch 'fix/esp_netif_lock' into 'master'
fix(esp_netif): Lock netif list with TCPIP context

Closes IDFGH-11088

See merge request espressif/esp-idf!26164
2023-10-17 21:36:39 +08:00
wuzhenghui
97e001d603 fix(esp_hw_support): fix pm tests failure caused by non-iram safe test code 2023-10-17 20:56:43 +08:00
Sachin Billore
c106f5caf6 apm: updated APM HAL/LL APIs. 2023-10-17 18:20:36 +05:30
Fu Hanxi
321d3c9ba6 Merge branch 'ci/remove_ttfw' into 'master'
ci: remove ttfw

See merge request espressif/esp-idf!26313
2023-10-17 20:43:56 +08:00
Erhan Kurubas
bde8ff8b67 feat(panic): send pseudo exccause to openocd 2023-10-17 12:34:24 +02:00
Armando (Dou Yiwen)
056558e870 Merge branch 'feat/added_flash_operation_range_macros' into 'master'
soc: added flash operation range macros in ext_mem_defs.h

Closes IDF-7918

See merge request espressif/esp-idf!26488
2023-10-17 18:19:35 +08:00
jgujarathi
6ddeba878c fix(esp_wifi): Fixes issues in beacon_timeout, PMKSA and AID assignment
- Fixes issue wheere beacon timeout would get triggerred multiple times
  leading to a m f probe req.

- Fix missing PMKSA flush scenarios.

- Fix wrong AID assigned to station when multiple stations try to connect
  simultaneously with mixed order of auth-request and assoc-request frames.
2023-10-17 15:35:14 +05:30
Sudeep Mohanty
225ecfb6e2 Merge branch 'bugfix/interrupt_context_for_p4' into 'master'
fix(freertos): Fixed xPortCanYield to correctly determine ISR context on esp32p4

See merge request espressif/esp-idf!26161
2023-10-17 17:16:57 +08:00
wanlei
57614bbad2 feat(ledc): support ledc on esp32p4 2023-10-17 16:40:04 +08:00
Erhan Kurubas
340262977e Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20230921' into 'master'
Feature/update openocd to v0.12.0 esp32 20230921

Closes IDF-7920

See merge request espressif/esp-idf!26316
2023-10-17 16:09:39 +08:00
Island
83943ed3c4 Merge branch 'ble_dev/added_modem_reset_on_ble' into 'master'
feat(ble): added modem reset on c2 h2 and c6

See merge request espressif/esp-idf!26387
2023-10-17 15:42:32 +08:00
Jiang Jiang Jian
fb2c844a83 Merge branch 'bugfix/optimize_tcp_connection' into 'master'
Fix(tcp):optimize tcp connection

See merge request espressif/esp-idf!25124
2023-10-17 14:28:29 +08:00
Xu Xiao
ed9f9021cc Merge branch 'revert_tcpip_task_priority_macro' into 'master'
revert(lwip): Revert changes to LWIP task priority macro from MR 25020

See merge request espressif/esp-idf!26420
2023-10-17 13:28:19 +08:00
Mahavir Jain
c4e4629049 Merge branch 'feature/add_key_manager_hal_layer' into 'master'
Add LL & HAL for Key Manager and HUK

Closes IDF-7985 and IDF-7901

See merge request espressif/esp-idf!25167
2023-10-17 12:39:02 +08:00
Kevin (Lao Kaiyao)
fcc4827e88 Merge branch 'contrib/github_pr_12384' into 'master'
docs: fix i2s section formatting (GitHub PR)

Closes IDFGH-11218

See merge request espressif/esp-idf!26408
2023-10-17 12:34:18 +08:00
Kapil Gupta
4dedd3e69d fix(wifi): Fix static analyzer warning for WPS code 2023-10-17 10:03:39 +05:30
Kevin (Lao Kaiyao)
2da28270bf Merge branch 'bugfix/fix_overflow_in_apll_calculation' into 'master'
fix(apll): fixed overflow in apll calculation

See merge request espressif/esp-idf!26389
2023-10-17 12:24:19 +08:00
wanlei
b81cafe42e refac(spi): update periph_module_xxx with rcc_automic_lock for periph bus 2023-10-17 11:32:23 +08:00
Linda
6c86424772 docs: add parameter description to esp_netif.h 2023-10-17 10:35:39 +08:00
Jiang Jiang Jian
db4598e305 Merge branch 'bugfix/disable_tsf_tbtt_soc_wakeup_after_wifi_disconnected' into 'master'
fix(pm): fix soc wakeup after wifi disconnected

Closes IDFGH-11162

See merge request espressif/esp-idf!26401
2023-10-16 23:01:12 +08:00
Armando
d08518e310 feat(sdspi): supported sdspi on esp32p4 2023-10-16 19:29:07 +08:00
Zhang Hai Peng
ea81f4c4a3 Merge branch 'bugfix/fix_ble_bugs' into 'master'
Fix some BLE bugs in bluedroid host

See merge request espressif/esp-idf!26448
2023-10-16 19:27:29 +08:00
Guillaume Souchere
84c5d3e52f fix(heap): Fixed integrity check on used blocks by the tlsf component
This commit updates the tlsf submodule to include the modification made in the component
aiming to perform integrity check on all blocks (not only the free ones).
Added test to test the fix in test_apps/heap_tests.

Fixes https://github.com/espressif/esp-idf/issues/12231
2023-10-16 12:29:38 +02:00
Adam Múdry
0024867c3b Merge branch 'feature/add_optional_immediate_fsync' into 'master'
fatfs: add optional immediate fsync

See merge request espressif/esp-idf!26097
2023-10-16 17:37:22 +08:00
zwx
1d6f77136d feat(openthread): add config for radio statistic feature 2023-10-16 17:35:52 +08:00
Armando
17063b51e0 feat(soc): added flash operation range macros in ext_mem_defs.h 2023-10-16 17:19:04 +08:00
Armando (Dou Yiwen)
1ca64f2bd6 Merge branch 'refactor/specify_esp_adc_test_app_dependency' into 'master'
adc: trim adc apps build dependency

Closes IDF-8388

See merge request espressif/esp-idf!26481
2023-10-16 17:14:21 +08:00
Jakob Hasse
548022fbe6 refactor(linux): excluded all non-Linux components from build
* All components which won't build (yet) on Linux are excluded.
  This enables switching to Linux in an application without
  explicitly setting COMPONENTS to main in the main
  CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available

doc(linux): brought section
  "Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
Alexey Lapshin
2eb5123403 Merge branch 'feature/add-newlib-sbom' into 'master'
feat(newlib): Add sbom manifest file

Closes IDF-8221

See merge request espressif/esp-idf!26418
2023-10-16 16:36:19 +08:00
Fu Hanxi
4dbf8c8948
ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
Shu Chen
fbf8d06477 Merge branch 'feature/openthread_uart_api_refactor' into 'master'
feat(openthread): Host connection logic refactor

See merge request espressif/esp-idf!26215
2023-10-16 16:13:00 +08:00
laokaiyao
8bc618443a fix(apll): fixed overflow in apll calculation 2023-10-16 08:01:17 +00:00
Armando
cb90ed263d fix(spi): fixed spi master polling mode not mem sync issue on esp32p4 2023-10-16 15:35:08 +08:00
Michael (XIAO Xufeng)
2308292ca3 Merge branch 'bugfix/revert_pvt' into 'master'
Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"

See merge request espressif/esp-idf!26425
2023-10-16 12:53:07 +08:00
Armando
a31577027e change(adc): trim adc apps build dependency 2023-10-16 12:48:30 +08:00
Mahavir Jain
eea2536dc4 Merge branch 'feature/conservative_key_revocation_in_secure_boot_v2' into 'master'
feat: Add API to verify the bootloader and application image before revoking...

Closes IDF-7078

See merge request espressif/esp-idf!24572
2023-10-16 12:42:49 +08:00
Aditya Patwardhan
58bf5ab6fb feat(esp_rom): Added ROM headers related to Key Manager 2023-10-16 09:26:45 +05:30
Aditya Patwardhan
8edef17f1a feat(esp_common): Added PACKED_ATTR in esp_attr.h 2023-10-16 09:26:45 +05:30
Aditya Patwardhan
ade65add54 feat(hal): Added HAL and LL layer for Key Manager 2023-10-16 09:26:37 +05:30
Aditya Patwardhan
6b4d2140ee feat(hal): Added HAL and LL layer for HUK 2023-10-16 09:26:14 +05:30
linruihao
11efe6ecdc fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-16 11:44:23 +08:00
Jiang Jiang Jian
8023a2b603 Merge branch 'bugfix/dpp_bugs' into 'master'
esp_wifi: Fix few dpp bugs.

Closes WIFIBUG-155 and WIFIBUG-154

See merge request espressif/esp-idf!26340
2023-10-16 11:36:55 +08:00
Mahavir Jain
dbc33ca7aa Merge branch 'feature/add_intr_priority_config_option' into 'master'
feat(mbedtls): Add config for interrupt priority in AES and RSA

Closes IDF-7963 and IDF-7964

See merge request espressif/esp-idf!26190
2023-10-16 11:33:03 +08:00
laokaiyao
10ab993f25 ci(pre-check): revert the check list accident change in PR 2023-10-16 11:20:57 +08:00
Jiang Jiang Jian
bd52831ef6 Merge branch 'bugfix/fix_c6_crash' into 'master'
fix(phy): fix wifi deinit stuck issue for ESP32C6

Closes IDF-8269

See merge request espressif/esp-idf!26414
2023-10-16 11:20:08 +08:00
Mahavir Jain
1501aef1b3 Merge branch 'feature/enable_secure_boot_esp32p4' into 'master'
feat(secure_boot): add secure boot support for esp32p4

Closes IDF-7544 and IDF-7745

See merge request espressif/esp-idf!26335
2023-10-16 11:07:14 +08:00
Island
f19f1dbd91 Merge branch 'bugfix/0925_update_libble_c6_h2_c2' into 'master'
update c6 h2 c2 libble to 7ec5b5c1

Closes BLERP-92, BLERP-122, BLERP-93, BLERP-94, BLERP-89, BLERP-90, BLERP-95, BLERP-97, BLERP-98, BLERP-99, BLERP-100, BLERP-101, BLERP-102, BLERP-120, and BLERP-123

See merge request espressif/esp-idf!26176
2023-10-16 10:47:08 +08:00
morris
4f3e05f6a8 Merge branch 'ci/fix_hal_assert_check' into 'master'
fix(hal): replace assert with hal_assert

See merge request espressif/esp-idf!26349
2023-10-16 09:56:04 +08:00
alanmaxwell
477cde7b1d fix(phy): fix wifi deinit stuck issue for ESP32C6 2023-10-15 15:38:28 +00:00
morris
05b345d6bc Merge branch 'refactor/specify_test_app_dependency' into 'master'
build: trim lcd apps build dependency

Closes IDF-8391

See merge request espressif/esp-idf!26457
2023-10-15 18:59:18 +08:00
C.S.M
0e95c0f4f8 Merge branch 'ci/reduce_flash_build_ci' into 'master'
spi_flash: reduce build times on ci

See merge request espressif/esp-idf!26264
2023-10-14 09:41:35 +08:00
Radek Tandler
4c8c5debed Merge branch 'feature/storage_host_test_nvs_page' into 'master'
feature(nvs_flash): nvs_page host tests updated to use esp_partition for linux instead of CMock emulation of API

Closes IDF-6166

See merge request espressif/esp-idf!25978
2023-10-14 08:41:50 +08:00
Erhan Kurubas
681647f1eb Merge branch 'fix_esp32s3_irq_names' into 'master'
fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers

See merge request espressif/esp-idf!26442
2023-10-14 04:20:27 +08:00
C.S.M
000b455e93 Merge branch 'bugfix/ota_fail_on_octal_flash' into 'master'
fix(ota): Fixed OTA fail on octal flash with 32MB memory

See merge request espressif/esp-idf!26436
2023-10-14 02:26:59 +08:00
Alexey Lapshin
b41b175a59 feat(newlib): Add sbom manifest file 2023-10-13 19:15:03 +04:00
Mahavir Jain
6b62065b92 Merge branch 'fix/crypto_periphs_use_rcc_atomic_blocks' into 'master'
Use rcc atomic blocks to enable/reset crypto peripherals

See merge request espressif/esp-idf!25811
2023-10-13 22:37:58 +08:00
Song Ruo Jing
d73bf72885 Merge branch 'feature/gpio_dump_io_info' into 'master'
feat(gpio): add a dump API to dump IO configurations

Closes IDFGH-10987

See merge request espressif/esp-idf!26158
2023-10-13 22:35:59 +08:00
David Cermak
88d18e9a40 fix(esp_netif): Mark esp_netif_next deprecated and fix usages
* Uses netif_find_if() in IPv6 examples
* Fixes esp_netif_next() usage in L2TAP
2023-10-13 15:56:45 +02:00
David Cermak
606363897c feat(esp_netif): Added new API to search in netif list 2023-10-13 15:56:30 +02:00
David Cermak
36735f4d77 fix(esp_netif): Lock netif list with TCPIP context
This commit removes the lock from the list manipulation code in esp_netif_objects.c,
 because we already have another lock/task context for lwip.
So the list manipulation is unsafe and safety must be assured by the stack layer
(in esp_netif_lwip).
Problems with current locking:
* implementation of locking was wrong -- lazy init style of creating the mutex is not
  thread safe (and destroying it if we have no interface makes the problem exhibit very frequently)
* locking only the list won't solve issues when assessing interfaces atomically
* maintaining multiple locks is problematic, as we often switch between
lwip context and user context in internal implementation of esp_netif_lwip

Closes https://github.com/espressif/esp-idf/issues/12261
2023-10-13 15:54:53 +02:00
Gong Yan Tao
ce98ac87d4 Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs' into 'master'
fix(bt&ble): fix BLE unable to load bonded device info after reboot.

Closes BT-3406

See merge request espressif/esp-idf!25535
2023-10-13 19:18:42 +08:00
radek.tandler
d4aa9ccb0c change(nvs_flash): Host tests were migrated from CMock to esp_partition linux emulation 2023-10-13 13:17:28 +02:00
Michael (XIAO Xufeng)
586ab5387a Merge branch 'bugfix/remove_spiram_kconfig_hwsupport' into 'master'
fix(hw_support): remove outdated source from Kconfig file

See merge request espressif/esp-idf!26391
2023-10-13 18:49:38 +08:00
Ondrej Kosta
4f6c86ebb8 Merge branch 'feature/extend_eth_test_targets' into 'master'
CI tests for all supported Ethernet tests

Closes IDF-5704

See merge request espressif/esp-idf!24468
2023-10-13 18:44:10 +08:00
liuning
516496b9d3 fix(pm): fix soc wakeup after wifi disconnected, station no respond after m f null, crash when connected to non_trans bssid 2023-10-13 18:14:54 +08:00
Niklas Kaaf
2d6dcee136 fix: "erro code" -> "error code" typos
Closes https://github.com/espressif/esp-idf/pull/12330
2023-10-13 18:13:54 +08:00
Cao Sen Miao
6137905c02 ci(spi_flash): reduce build times on ci 2023-10-13 17:54:42 +08:00
Chen Jian Xing
f67aa66067 Merge branch 'bugfix/fix_some_wifi_issue' into 'master'
bugfix/fix some wifi issue

Closes WIFIBUG-164, WIFIBUG-183, IDFGH-11186, FCS-1292, IDFGH-8972, and WIFI6-336

See merge request espressif/esp-idf!26412
2023-10-13 17:31:44 +08:00
Aditya Patwardhan
fa1da64dec Merge branch 'feature/mbedtls_3_5_0_update' into 'master'
feat(mbedtls): update to 3.5.0 release

See merge request espressif/esp-idf!26331
2023-10-13 17:11:05 +08:00
morris
d4dbacf988 Merge branch 'feature/2nd_twai_on_c6' into 'master'
twai: support multiple TWAI controller

See merge request espressif/esp-idf!23713
2023-10-13 16:55:21 +08:00
C.S.M
e19324b4fa Merge branch 'bugfix/h2_i2c1_no_signal' into 'master'
fix(i2c): I2C port 1 doesn't work on esp32h2

See merge request espressif/esp-idf!26416
2023-10-13 15:01:34 +08:00
morris
2bbdd35383 build: trim lcd apps build dependency 2023-10-13 14:58:15 +08:00
Wang Meng Yang
da73e48fdf Merge branch 'bugfix/use_bt_sdp_bqb_include_macro_for_ertm_mode_flag' into 'master'
fix(bt/bluedroid): Add correct macro for ertm mode included flag

See merge request espressif/esp-idf!26427
2023-10-13 14:36:14 +08:00
xueyunfei
fcc1569de4 Fix(tcp):optimize tcp connection 2023-10-13 14:14:55 +08:00
Mahavir Jain
ee435132cb Merge branch 'bugfix/preencrypted_ota_failed_with_partial_download' into 'master'
fix(esp_https_ota): fix preencrypted ota failed with pytest server and partial http enabled

Closes IDF-8112

See merge request espressif/esp-idf!25791
2023-10-13 12:51:33 +08:00
Laukik Hase
3f67722274
refactor(tools/test_apps): Move HAL tests for MPU to the panic test-app 2023-10-13 10:16:57 +05:30
Cao Sen Miao
6cea72b76b fix(ota): Fixed OTA fail on octal flash with 32MB memory,
Closes https://github.com/espressif/esp-idf/issues/11903
2023-10-13 12:01:26 +08:00
cjin
6503d1327b feat(ble): added modem reset on c2 h2 and c6 2023-10-13 11:39:29 +08:00
zhanghaipeng
60354c39a9 fix(bt/bluedroid): Fix hid example stack overflow bugs when using esp32s3 2023-10-13 11:20:17 +08:00
Martin Vychodil
64befdca3a Merge branch 'feature/partition_readonly_flag' into 'master'
feat(partition_table): Add read-only partition flag and functionality

Closes IDF-6421

See merge request espressif/esp-idf!24855
2023-10-13 11:11:07 +08:00
zhanghaipeng
4129addca6 fix(bt/bluedroid): Fix remove resolving list error for esp32 2023-10-13 10:54:25 +08:00
zhanghaipeng
c73d7c0b60 fix(bt/bluedroid): Fix bugs in ble service change characteristic 2023-10-13 10:54:25 +08:00
zhanghaipeng
2b551b09c8 feat(bt/bluedroid): Support scan response data length zero in BLE 2023-10-13 10:54:25 +08:00
zhanghaipeng
7492c004dd fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE 2023-10-13 10:54:25 +08:00
alanmaxwell
16ec59907e fix(wifi): Fix some wifi issue
1.fix multi antenna issue
2.fix dirty eb when rx HE rate action for C6
3.fix h/w modem state consecutive times when the modem sleep type is modified in runtime
2023-10-13 10:45:31 +08:00
morris
0717729911 fix(hal): replace assert with hal_assert
hal is a G0 component but assert may link in the symbols in the newlib component.
we'd better not use assert in the hal but use the alternative HAL_ASSERT
2023-10-13 10:14:47 +08:00
morris
ca1cd88e25 Merge branch 'feature/enable_hal_util_host_test' into 'master'
feat(hal): enable hal host test

Closes IDF-8275

See merge request espressif/esp-idf!26384
2023-10-12 22:24:38 +08:00
aditi_lonkar
236fa500c7 fix(wpa_supplicant): Fix few dpp bugs
1) Fix crash in dpp Listen without bootstrap
  2) Fix crash on receiving dpp auth_req from hostapd with dpp akm
2023-10-12 13:51:27 +00:00
Jiang Jiang Jian
042382e87b Merge branch 'feature/support_dump_sleep_context' into 'master'
feat(esp_hw_support): Supports recording key sleep parameters into user-specified structures for debug

Closes FCS-1300

See merge request espressif/esp-idf!26359
2023-10-12 19:35:47 +08:00
Erhan Kurubas
c418a39f41 fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers 2023-10-12 13:24:24 +02:00
Jiang Jiang Jian
313d642add Merge branch 'bugfix/fix_esp_sleep_enable_ext1_wakeup_func' into 'master'
bugfix(pm): fix esp_sleep_enable_ext1_wakeup func

See merge request espressif/esp-idf!26386
2023-10-12 18:36:28 +08:00
Jiang Jiang Jian
59417a4049 Merge branch 'feature/free_bt_memory' into 'master'
feat(bt): Frees BLE memory when no longer in use

See merge request espressif/esp-idf!22795
2023-10-12 18:35:15 +08:00
Konstantin Kondrashov
e19504a9c1 Merge branch 'feature/enable_multicore_unicore_tests_for_esp32p4' into 'master'
feat(tools): Enables unicore_bootloader test for ESP32P4

Closes IDF-7692

See merge request espressif/esp-idf!26035
2023-10-12 17:35:26 +08:00
Song Ruo Jing
321f628ff5 feat(gpio): add a dump API to dump IO configurations
Closes https://github.com/espressif/esp-idf/issues/12176
2023-10-12 17:34:20 +08:00
Harshit Malpani
1df186d4e1
feat: Add API to verify the bootloader and app image
Added an API to verify the bootloader and app image before revoking the key in Secure Boot V2.
This will help in preventing the device to be bricked if the bootloader/application cannot be
verified by any other keys in efuse
2023-10-12 14:53:57 +05:30
Island
82f983f256 Merge branch 'feat/ble_mesh_seperate_hb_handling' into 'master'
feat(ble_mesh): Use a separate file for heartbeat handling

See merge request espressif/esp-idf!26278
2023-10-12 17:11:07 +08:00
Erhan Kurubas
31b3b1f455 feat(gcov): improve gcov file handling using esp_apptrace_feof() 2023-10-12 11:01:23 +02:00
Peter Dragun
95b764970e Merge branch 'feat/uf2-to-esptool' into 'master'
feat(tools): move uf2 file generation to esptool

Closes IDF-7434

See merge request espressif/esp-idf!25655
2023-10-12 16:03:16 +08:00
luomanruo
229685a4b5 ble: update tx power level index of ESP32-H2 and ESP32-C2 2023-10-12 15:56:56 +08:00
luomanruo
f74338afa2 ble:update c2 libble to 6a8d1f3d, h2 c6 libble to 57ed7949 2023-10-12 15:56:56 +08:00
gongyantao
fdc35e772b fix(bt/bluedroid): update the newest active device in bluetooth
1: update the newest active device when an ACL link is established and
   the remote device info is not in bond list. This updates will not stored
   into NVRAM until a new device is paired.
2023-10-12 07:46:34 +00:00
gongyantao
061cd29168 fix(bt/bluedroid): ble fails to load bonded device info after reboot
1: add a quantity check in bt when writing paired device info into nvs.
2: delete the exceeded device info from NVS when get bonded list during
bluedroid initialization.
3: unify the process of bt and ble to load bonded list during bluedroid
initialization.
2023-10-12 07:46:34 +00:00
zhiweijian
d3394003b5 Update BLE lib on ESP32-C3 and ESP32-S3
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-12 07:42:53 +00:00
zhiweijian
43011c66d6 fix(ble/bluedroid): fixed bluedroid host DTM API 2023-10-12 07:42:53 +00:00
Zhi Wei Jian
05541a2e3e Merge branch 'bugfix/fix_ble_c3_2M_phy_ci_failed' into 'master'
Fix BLE 2M phy cannot send packets on ESP32-C3

Closes CBLE50Y23-64

See merge request espressif/esp-idf!26417
2023-10-12 15:42:14 +08:00
Ondrej
3a3656ba38 ci(esp_eth): added tests of all supported Etherent chips 2023-10-12 07:23:51 +00:00
Ondrej Kosta
a93d53aadb fix(esp_eth): various Ethernet driver fixes
ksz8851snl: enabled reception of multicast frames

Internal EMAC: fixed APLL CLK deinitialization

DM9051 and KSZ80xx: fixed speed configuration when not in loopback mode

phy_802_3: added multiple attempts when autodetecting PHY address
2023-10-12 07:23:51 +00:00
zlq
9c2d470465 feat(bootloader): adjust dbias of bootloader, change clock of H2 to 64
MHz
2023-10-12 14:51:54 +08:00
Xiao Xufeng
28ba080c5e Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"
This reverts commit b221f87e00.
2023-10-12 14:51:54 +08:00
nilesh.kale
cf4a7bb09d feat(mbedtls): Add config for interrupt priority in AES and RSA(MPI) 2023-10-12 11:06:13 +05:30
harshal.patil
f46a93e565
feat(secure_boot): add secure boot support for esp32p4 2023-10-12 10:12:54 +05:30
morris
a21e46dc64 Merge branch 'contrib/github_pr_12370' into 'master'
Support LCD panel sleep mode (GitHub PR)

Closes IDFGH-11203

See merge request espressif/esp-idf!26364
2023-10-12 11:45:41 +08:00
Jiang Jiang Jian
5debc3beb2 Merge branch 'bugfix/fix_wrong_mem_caps_in_memory_layout' into 'master'
fix(heap):  fix the issue on esp32c3 where retention memory was exhausted prematurely and preventing the CPU from powering down

Closes IDF-8236

See merge request espressif/esp-idf!25962
2023-10-12 10:39:43 +08:00
morris
2ae3d4d7c4 feat(twai): support multiple twai controllers
Closes https://github.com/espressif/esp-idf/issues/11383
2023-10-12 09:59:27 +08:00
Laukik Hase
239bc3b96f Merge branch 'fix/nvs_part_gen_docs' into 'master'
fix(docs/nvs_part_gen): Show the NVS HMAC encryption scheme-specific commands only for supported SOCs

See merge request espressif/esp-idf!26332
2023-10-11 20:56:54 +08:00
gongyantao
9e4c8bb76e fix(bt/bluedroid): Add correct macro for ertm mode included flag 2023-10-11 20:19:40 +08:00
zhangwenxu
8ba1f550fb feat(openthread): Host connection logic refactor 2023-10-11 10:42:57 +00:00
Jiang Jiang Jian
c7eb0d22a8 Merge branch 'feature/modify_dhcp_offer_and_ack_to_unicast' into 'master'
fix(lwip): Modify the DHCP offer and DHCP ack from broadcast to unicast

Closes WIFI-68

See merge request espressif/esp-idf!26379
2023-10-11 18:26:21 +08:00
xuxiao
31bb66813a revert(lwip): Revert changes to LWIP task priority macro from MR 25020 2023-10-11 17:54:27 +08:00
nilesh.kale
44cbb8bb24 fix: fix preencrypted ota failed with pytest server and partial http enabled 2023-10-11 15:22:24 +05:30
Mahavir Jain
0c3ed4f540 fix(mbedtls): remove deprecated MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION
This config has been removed in the upstream mbedTLS starting 3.0
release. Please see mbedTLS changelog for more details.
2023-10-11 09:32:32 +00:00
Mahavir Jain
e9094cef66 fix(mbedtls): dynamic buffer feature issue with mbedtls 3.5.0
Set max TLS version in the SSL context during setup phase. Dynamic
buffer feature overrides the `mbedtls_ssl_setup` API and hence
this change is required per upstream 3.5.0 codebase change.
2023-10-11 09:32:32 +00:00
Mahavir Jain
9ca8f3d45b feat(mbedtls): update to 3.5.0 release
Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.5.0
2023-10-11 09:32:32 +00:00
harshal.patil
57d10477da
feat(ecdsa): use RCC atomic block to enable/reset the ECDSA peripheral 2023-10-11 14:59:04 +05:30
harshal.patil
43864f7fb4
feat(ds): use RCC atomic block to enable/reset the DS peripheral 2023-10-11 14:59:04 +05:30
harshal.patil
18b93e9564
feat(hmac): use RCC atomic block to enable/reset the HMAC peripheral 2023-10-11 14:59:04 +05:30
harshal.patil
1c6ff8ce9f
feat(ecc): use RCC atomic block to enable/reset the ECC peripheral 2023-10-11 14:59:04 +05:30
harshal.patil
c5cc4f488a
feat(mpi): use RCC atomic block to enable/reset the MPI peripheral 2023-10-11 14:59:03 +05:30
harshal.patil
3483cf61aa
fix(esp_hw_support/esp_ds): remove enabling redundant peripherals 2023-10-11 14:59:03 +05:30