Commit Graph

512 Commits

Author SHA1 Message Date
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
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
Marius Vikhammer
ac3915f092 docs(esp32p4): update misc docs for esp32p4 2023-12-09 09:09:55 +08:00
renpeiying
cf03d6341e docs: Provide Chinese translation for bootloader_image_format, log, random, and internal-unstable.rst 2023-12-08 17:01:36 +08:00
Darian Leung
024eb7218d change(docs): Update multicore tags to SOC_HP_CPU_HAS_MULTIPLE_CORES
Previously, documentation sections that were only meant for multicore ESP
targets would use tags that depend on CONFIG_FREERTOS_UNICORE or
CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE. This is not ideal as project configuration
can be changed by the user.

This commit updates those tags to use SOC_HP_CPU_HAS_MULTIPLE_CORES which is
always defined in multicore targets regardless of project configuration.
2023-12-05 10:56:48 +08:00
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
Lou Tianhao
29488207ff docs(pm):add uart wakeup description when pd top 2023-11-28 19:31:33 +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
Lou Tianhao
e54684754c docs(pm):add gpio wakeup description when pd top 2023-11-28 12:02:25 +08:00
Wang Ziyan
baf1091868 Merge branch 'docs/update_cn_for_sdmmc_and_ulp-lp-core' into 'master'
docs: Update CN for sdmmc and ulp-lp-core docs

Closes DOC-6632

See merge request espressif/esp-idf!27198
2023-11-21 13:13:34 +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
Wang Zi Yan
90afe1a32f docs: Update CN for sdmmc and ulp-lp-core docs 2023-11-21 10:34:54 +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
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
aaa1ea8af1 docs(pm/ext1): support esp_sleep_enable_io_ext1_wakeup and esp_sleep_disable_io_ext1_wakeup 2023-11-17 16:23:56 +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
Michael (XIAO Xufeng)
ad1e48f932 Merge branch 'doc/light_sleep_example_pg' into 'master'
doc(sleep_mode): Added link to lightsleep example

See merge request espressif/esp-idf!27202
2023-11-17 15:37:28 +08:00
Xiao Xufeng
a43b074456 doc(sleep_mode): Added link to lightsleep example 2023-11-16 18:01:30 +08:00
Mahavir Jain
9acb6863c3
docs(ecdsa): add a note about TRNG dependency for ECDSA peripheral 2023-11-15 10:21:29 +05:30
Marius Vikhammer
730f2af489 docs(esp32h2): updated misc docs with esp32h2 content 2023-11-14 12:09:00 +08:00
Guillaume Souchere
3ac6eeb7b6 change(docs): Remove heap_caps_check_integrity wrong behavior warning in ROM heap
A patch will fix the behavior of heap_caps_check_integrity in the ROM implementation
of the heap component so the warning is not longer needed.
2023-11-01 09:47:41 +01: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
Marius Vikhammer
789a8b3446 docs(ulp): add info about lp-uart to lp-core docs 2023-10-23 12:11:34 +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
Ren Pei Ying
143a9a1678 Merge branch 'docs/Provide_CN_trans_for_api-reference/system/chip_revision.rst' into 'master'
docs: Provide Chinese translation for api-reference/system/chip_revision.rst

Closes DOC-6204

See merge request espressif/esp-idf!25756
2023-10-18 22:56:52 +08:00
renpeiying
cd1133df82 docs: Provide Chinese translation for api-reference/system/chip_revision.rst 2023-10-18 16:18:04 +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
Ren Pei Ying
15da1a0fb5 Merge branch 'docs/add_CN_trans_for_api-reference/system/pthread.rst' into 'master'
docs: Provide Chinese translation for api-reference/system/pthread.rst

Closes DOC-6331

See merge request espressif/esp-idf!26022
2023-10-17 16:55:10 +08:00
renpeiying
2dd0d9f330 docs: Provide Chinese translation for api-reference/system/pthread.rst 2023-10-17 14:03:36 +08:00
Guillaume Souchere
f00234fb13 fix(doc): Add warning that canary check not supported for TLSF in ROM
The function heap_caps_check_integrity does not perform canary check on used block
as documented. The problem is fixed in the heap component but no patch is provided
for the ROM implementation.

Update the documentation with a warning for the targets supporting the TLSF implementation
in ROM feature.
2023-10-16 12:29:38 +02:00
Dai Zi Yan
9adb19fe53 Merge branch 'docs/update_format_issues_wrongly_added_to_the_ingore_file' into 'master'
docs: update document format issues

Closes DOC-6383

See merge request espressif/esp-idf!26096
2023-10-14 03:55:42 +08:00
Cai Xin Ying
01209e459c docs: update document format issues 2023-10-14 03:55:41 +08:00
Ren Pei Ying
3620037de2 Merge branch 'docs/add_CN_trans_for_api-reference/system/freertos_additions.rst' into 'master'
docs: Provide Chinese translation for api-reference/system/freertos_additions.rst

Closes DOC-6308

See merge request espressif/esp-idf!25981
2023-10-13 16:41:43 +08:00
Ren Pei Ying
260cfa75ff Merge branch 'docs/add_cn_trans_for_ipc.rst_in_api-reference_system' into 'master'
docs: Provide Chinese translation for api-reference/system/ipc.rst

See merge request espressif/esp-idf!26122
2023-10-13 14:40:20 +08:00
Ren Pei Ying
3a16224d1d docs: Provide Chinese translation for api-reference/system/ipc.rst 2023-10-13 14:40:20 +08:00
Ren Pei Ying
9ea6f0f4ff Merge branch 'docs/add_cn_trans_for_mm.rst_in_api-reference_system' into 'master'
docs: Provide Chinese translation for api-reference/system/mm.rst

Closes DOC-6336

See merge request espressif/esp-idf!26110
2023-10-13 12:52:52 +08:00
renpeiying
b589c75be6 docs: Provide Chinese translation for api-reference/system/freertos_additions.rst 2023-10-13 12:38:09 +08:00
Mo Fei Fei
9711e9a812 Merge branch 'docs/add_cn_translation_for_api-reference/system/freertos_idf.rst' into 'master'
docs: provide CN translation for api-reference/system/freertos_idf.rst

Closes DOC-6250

See merge request espressif/esp-idf!26100
2023-10-13 11:46:03 +08:00
Cai Xin Ying
e16134570c docs: provide CN translation for api-reference/system/freertos_idf.rst 2023-10-13 11:46:02 +08:00
Ren Pei Ying
8dc736b323 Merge branch 'docs/add_cn_trans_for_esp_http_ota_and_esp_function_with_shared_stack.rst' into 'master'
docs: Provide Chinese translation for api-reference/system/esp_http_ota and esp_function_with_shared_stack.rst

See merge request espressif/esp-idf!26195
2023-10-12 17:00:50 +08:00
Ren Pei Ying
0c2d0141ff Merge branch 'docs/add_cn_trans_for_ulp-lp-core.rst_in_api-reference_system' into 'master'
docs: Provide Chinese translation for api-reference/system/ulp-lp-core.rst

Closes DOC-6335

See merge request espressif/esp-idf!26086
2023-10-12 16:20:41 +08:00
renpeiying
bdde7d4fb9 docs: Provide Chinese translation for api-reference/system/mm.rst 2023-10-12 14:37:06 +08:00
Ren Pei Ying
a9f7579e0a Merge branch 'docs/add_CN_trans_for_docs_in_api-reference/systems' into 'master'
docs: Provide Chinese translation for docs in api-reference/system

Closes DOC-6184

See merge request espressif/esp-idf!25727
2023-10-12 13:15:58 +08:00
renpeiying
a68ad0192d docs: Provide Chinese translation for api-reference/system/esp_http_ota and esp_function_with_shared_stack.rst 2023-10-12 12:29:00 +08:00
renpeiying
69a1a09195 docs: Provide Chinese translation for docs in api-reference/system 2023-10-12 10:25:07 +08:00
renpeiying
d41f28050d docs: Provide Chinese translation for api-reference/system/ulp-lp-core.rst 2023-10-10 18:04:36 +08:00
morris
c9a0968f4a Merge branch 'docs/add_cn_trans_for_async_memcpy.rst_in_api-reference_system' into 'master'
docs: Provide Chinese translation for async_memcpy.rst in api-reference/system

Closes DOC-6134

See merge request espressif/esp-idf!26266
2023-10-10 16:26:54 +08:00
Darian
a10121491f Merge branch 'change/freertos_make_task_snapshot_private' into 'master'
refactor(freertos/task_snapshot): Make task snapshot private

Closes IDF-8182

See merge request espressif/esp-idf!26115
2023-10-09 16:32:18 +08:00
Ren Pei Ying
927f02b6a3 Merge branch 'docs/Add_CN_trans_for_system/intr_alloc.rst' into 'master'
docs: Provide Chinese translation for system/intr_alloc.rst

Closes DOC-6136

See merge request espressif/esp-idf!25637
2023-10-07 21:31:50 +08:00
Ren Pei Ying
42c2c60e58 Merge branch 'docs/add_CN_trans_for_system/wdts.rst' into 'master'
docs: Provide Chinese translation for api-reference/system/wdts.rst

Closes DOC-6133

See merge request espressif/esp-idf!25690
2023-10-07 16:56:47 +08:00