Commit Graph

34062 Commits

Author SHA1 Message Date
Darian Leung
d7b83bfd3b refactor(usb/host): reformat code with astyle_py 2023-12-15 04:44:02 +08:00
Harshit Malpani
3e22e0b750 Merge branch 'contrib/github_pr_12796' into 'master'
fix(esp_http_client): correct the typo in the error log string (GitHub PR)

Closes IDFGH-11686

See merge request espressif/esp-idf!27904
2023-12-14 20:14:21 +08:00
Martin Vychodil
a6ad55823b Merge branch 'docs/update_esp_vfs_notes' into 'master'
docs(vfs): update esp_vfs_register_fd api description

See merge request espressif/esp-idf!27265
2023-12-14 19:54:59 +08:00
Mahavir Jain
8ef201be80 Merge branch 'bugfix/fix_partition_table_gen' into 'master'
fix(partition_table): Check partition size for type APP

See merge request espressif/esp-idf!26755
2023-12-14 18:41:52 +08:00
Harshit Malpani
760e92946c Merge branch 'contrib/github_pr_12500' into 'master'
change(components/esp_http_server): add task_caps configuration (GitHub PR)

Closes IDFGH-11351

See merge request espressif/esp-idf!27621
2023-12-14 18:30:41 +08:00
Jiang Jiang Jian
0340043e59 Merge branch 'bugfix/fix_memory_leak_in_c3_s3_controller' into 'master'
Fixed memory leak in ESP32C3 and ESP32S3 controller

Closes BT-3516

See merge request espressif/esp-idf!27890
2023-12-14 17:52:47 +08:00
Wan Lei
cc10aca7ac Merge branch 'fix/spi_lcd_example_fix_border_pixel_display' into 'master'
fix(spi_master): fixed lcd example block border pixel issue

Closes IDF-8858

See merge request espressif/esp-idf!27902
2023-12-14 17:00:28 +08:00
Island
45198988b0 Merge branch 'bugfix/fix_ble_gattc_deregister' into 'master'
fix(bt/bluedroid): Fix ble gattc deregister

Closes BLERP-321

See merge request espressif/esp-idf!27622
2023-12-14 12:26:27 +08:00
Wang Meng Yang
7a45809b4f Merge branch 'bugfix/crash_in_btc_hf_init' into 'master'
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks

Closes BT-3498, BT-3505, BT-3524, COEXQABR24-4, COEXQABR24-16, COEXQABR24-17, and BTQABR2023-112

See merge request espressif/esp-idf!27211
2023-12-14 12:23:55 +08:00
wanlei
09147fa8e0 fix(spi_master): fixed lcd example block border pixel issue 2023-12-14 12:18:10 +08:00
Shang Zhou
af6964da1c Merge branch 'docs/update_cn_trans_for_26918' into 'master'
docs: Update CN translation for security.rst

Closes DOC-6684

See merge request espressif/esp-idf!27671
2023-12-14 12:15:50 +08:00
Xu Si Yu
58992e2bc0 Merge branch 'feature/update_openthread_dc6bf36' into 'master'
feat(openthread): modification of uart and spi spinel based on openthread 41ef807

See merge request espressif/esp-idf!27390
2023-12-14 12:10:40 +08:00
Shang Zhou
e26118d1c0 docs: Update CN translation for security.rst 2023-12-14 10:40:16 +08:00
Jiang Jiang Jian
80c2bd3d7c Merge branch 'bugfix/put_extra_link_retention_in_iram' into 'master'
fix(pm): place extra link opt in iram

Closes PM-30

See merge request espressif/esp-idf!27625
2023-12-14 10:28:34 +08:00
Shinichi Tanaka
c5cb67d49c
fix(esp_http_client): correct the typo in the error log string
Corrected the module name in the error log.
("https_ota" to "http_client")
2023-12-14 09:21:24 +09:00
Roland Dobai
e1e44970e5 Merge branch 'fix/bump_precommit_esp_idf_sbom' into 'master'
fix: bump esp-idf-sbom to v0.13.0 in pre-commit

Closes IDF-8850

See merge request espressif/esp-idf!27868
2023-12-13 20:15:35 +08:00
linruihao
b0bd1f38f8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:26:49 +08:00
Tomas Rezucha
f8080b2457 Merge branch 'fix/usb_binterval_parsing' into 'master'
fix(usb/host): Correctly parse wMaxPacketSize and bInterval fields in HighSpeed EP descriptors

See merge request espressif/esp-idf!27395
2023-12-13 17:28:45 +08:00
Konstantin Kondrashov
e2b537550d Merge branch 'feature/improve_cmake_msg' into 'master'
feat(tools): Improves a cmake message for updating git submodules

See merge request espressif/esp-idf!27859
2023-12-13 16:50:21 +08:00
Jakob Hasse
1c606941ed Merge branch 'contrib/github_pr_12436' into 'master'
feature(console): add command user context support (GitHub PR)

Closes IDFGH-11280

See merge request espressif/esp-idf!27240
2023-12-13 16:36:54 +08:00
Alon Bar-Lev
af79fe0495
change(components/esp_http_server): add task_caps configuration
The HTTP server is not a critical component, it would be nice if we can
control the task caps by using configuration.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-12-13 12:26:59 +05:30
Mahavir Jain
1b822573b6 Merge branch 'feat/make_verify_signature_block_function_public' into 'master'
feat(bootloader_support): Make `esp_secure_boot_verify_sbv2_signature_block()` function public

Closes IDFGH-11599

See merge request espressif/esp-idf!27742
2023-12-13 11:43:33 +08:00
Jiang Jiang Jian
45c5962b1e Merge branch 'feat/add_channel_change_event' into 'master'
feat(wifi): add wifi channel change event

Closes IDFGH-11400

See merge request espressif/esp-idf!27520
2023-12-13 10:41:54 +08:00
Alon Bar-Lev
bccb2873bd feat(console): add command user context support
Current implementation implicitly forces the developer to use global variables
to enter its context during the command invocation, this change enables each
module to register a context for command to find without the need to manage
global variables.

No API breakage.

Fields added:
   esp_console_cmd_t::func_w_context    - (*)(int argc, char **argv, void *context)

Functions added:
   esp_err_t esp_console_cmd_set_context(const char *cmd, void *context)

Usage:

   esp_console_cmd_register(&cmd));
   esp_console_cmd_set_context(cmd.command, (void *)"context"));

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2023-12-13 10:27:04 +08:00
Tomas Rezucha
e32b7b060c fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2023-12-12 21:10:43 +01:00
Tomas Rezucha
c2660ce7c6 fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2023-12-12 21:10:37 +01:00
Darian
142218c2eb Merge branch 'contrib/github_pr_11575' into 'master'
feat(system): add esp_backtrace_print_all_tasks function (GitHub PR)

Closes IDFGH-10315 and IDFGH-10538

See merge request espressif/esp-idf!24974
2023-12-13 01:07:04 +08:00
Chip Weinberger
3686689a2a feat(esp_system): Add esp_backtrace_print_all_tasks()
This commit adds esp_backtrace_print_all_tasks() which prints the backtraces
of all tasks at runtime.

Closes https://github.com/espressif/esp-idf/issues/9708
CLoses https://github.com/espressif/esp-idf/pull/11575

[Omar Chebib: Prevent task switching while printing backtraces of tasks.]
[Omar Chebib: Ensure all task stacks are flushed from register to RAM.]
[Omar Chebib: Removed esp_task_snapshot_to_backtrace_frame() as task snapshot is private API.]
[Omar Chebib: Added test case for esp_backtrace_print_all_tasks().]

Signed-off-by: Omar Chebib <omar.chebib@espressif.com>
2023-12-12 19:54:17 +08:00
Frantisek Hrbata
c3afbebf23 fix: bump esp-idf-sbom to v0.13.0 in pre-commit
v0.13.0 contains fix for the submodule hash validation. Let's
bump its version in pre-commit, so the fix is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-12 12:26:34 +01:00
Jin Cheng
e1a5122dbc Merge branch 'fix/build_error_in_compiler_performance_mode' into 'master'
fix(bt/bluedroid): fixed build error when compiler in performace mode

Closes IDFGH-11637

See merge request espressif/esp-idf!27816
2023-12-12 18:56:42 +08:00
Roland Dobai
efaa0f0d1b Merge branch 'tools/remove_log_line_of_recommended_tool' into 'master'
fix(idf_tools): Do not display the log containing the info about the tool that is being used as recommended

See merge request espressif/esp-idf!27855
2023-12-12 16:59:13 +08:00
C.S.M
980780c2c5 Merge branch 'bugfix/bod_threshold' into 'master'
fix(bod): Fix BOD threshold value on ESP32H2

See merge request espressif/esp-idf!27760
2023-12-12 16:17:42 +08:00
KonstantinKondrashov
8001fabfbe feat(tools): Improves a cmake message for updating git submodules
Closes https://github.com/espressif/esp-idf/issues/12776
2023-12-12 16:00:04 +08:00
gongyantao
f303fa0174 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 15:00:45 +08:00
morris
02cc74a676 Merge branch 'feature/dwgdma_driver' into 'master'
feat(dw_gdma): channel allocator driver

Closes IDF-7085 and IDF-7498

See merge request espressif/esp-idf!27421
2023-12-12 14:21:57 +08:00
Xu Si Yu
e88dc25226 feat(openthread): modification of uart and spi spinel based on openthread 41ef807 2023-12-12 14:12:16 +08:00
Aleksei Apaseev
8be8b34d23 fix(idf_tools): Do not print the log about the version of the tool 2023-12-12 11:54:30 +08:00
Mahavir Jain
0281aa844b Merge branch 'bugfix/change_block_num_to_burn_keys' into 'master'
fix(hal/testapps): fix block number to burn keys to avoid overlapping

See merge request espressif/esp-idf!25611
2023-12-12 11:49:35 +08:00
morris
bf00021b37 feat(dw_gdma): channel allocator driver 2023-12-12 03:35:05 +00:00
Roland Dobai
558392b998 Merge branch 'feature/vulnerability_scan' into 'master'
feat: use esp-idf-sbom-action for vulnerability scan

Closes IDF-8805 and IDF-5187

See merge request espressif/esp-idf!27688
2023-12-11 21:57:05 +08:00
harshal.patil
fe293dfd83
feat(bootloader_support): Make esp_secure_boot_verify_sbv2_signature_block() function public
Closes https://github.com/espressif/esp-idf/issues/12717
2023-12-11 18:50:55 +05:30
zhangyanjiao
40d7cd8b68 feat(wifi): add wifi channel change event
Closes https://github.com/espressif/esp-idf/issues/12538
2023-12-11 19:07:11 +08:00
Roland Dobai
a4c80b5fce Merge branch 'bugfix/coredump_detect' into 'master'
tools: idf.py: fix detection of raw core dump file

Closes IDFGH-9491

See merge request espressif/esp-idf!23434
2023-12-11 17:49:22 +08:00
Cao Sen Miao
b77b17efd2 fix(bod): Fix BOD threshold value on ESP32H2 2023-12-11 16:41:52 +08:00
Armando (Dou Yiwen)
b914f25b53 Merge branch 'doc/revert_8_bit_ddr_emmc_support_doc' into 'master'
Revert "doc(sdmmc): update emmc states"

See merge request espressif/esp-idf!27815
2023-12-11 15:33:39 +08:00
Shang Zhou
09ea179864 Merge branch 'docs/sync_up_en_and_cn_nov' into 'master'
docs: Sync up CN and EN versions for files under api-guides and api-references (Nov)

Closes DOC-6664

See merge request espressif/esp-idf!27721
2023-12-11 14:53:06 +08:00
Shang Zhou
740981078f docs: Sync up CN and EN versions for files under api-guides and api-references (Nov) 2023-12-11 14:53:05 +08:00
Marius Vikhammer
79d04d4e14 Merge branch 'docs/update_sys_docs_p4' into 'master'
docs(esp32p4): update misc docs for esp32p4

Closes IDF-7751, IDF-7754, and IDF-7749

See merge request espressif/esp-idf!27713
2023-12-11 14:14:35 +08:00
Harshit Malpani
bbbede07d0
fix(partition_table): Check partition size for type APP
The size of partition of type APP should be multiple of 4 KB. Partition
generation tool now make this as a mandatory requirement. This is
minimum flash erase size. If the size of the APP type partition is not
aligned to 4 KB then the last erase operation could go beyond the allocated
partition and hence may fail. This issue would only be observed when the
firmware size grows very close to the allocated partition size, and hence
causing the OTA update to fail.

For already deployed devices on-field with the size of APP partition not
aligned to flash sector boundary, it is best to ensure that firmware
size always remains within the lower 4 KB boundary of the total
allocated space. While migrating to ESP-IDF 5.3 release, partition table
for an existing project can be adjusted accordingly for the build to
succeed.

Found during discussion in https://github.com/espressif/esp-idf/pull/12460
2023-12-11 10:14:57 +05:30
Armando
b3cc39cfd8 Revert "doc(sdmmc): update emmc states"
This reverts commit 77299842ed.
2023-12-11 11:47:00 +08:00