Commit Graph

571 Commits

Author SHA1 Message Date
kirill.chalov
22a053f1fc docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +08:00
Jakob Hasse
be59c94917 feat(pthread): Pthread can now use PSRAM as stack
Closes https://github.com/espressif/esp-idf/pull/10623
Closes https://github.com/espressif/esp-idf/issues/8662

Thanks to f-hoepfinger-hr-agrartechnik for the contribution
in https://github.com/espressif/esp-idf/pull/10623
2024-01-22 15:33:05 +08:00
Sudeep Mohanty
82f2294bcb Merge branch 'feature/ulp_riscv_interrupt_handling' into 'master'
feat(ulp-riscv): Added interrupt handling for ULP RISC-V

Closes IDFGH-9866 and IDF-1713

See merge request espressif/esp-idf!27802
2024-01-19 15:44:27 +08:00
Omar Chebib
0d9d004d00 Merge branch 'doc/esp32p4_intr_alloc' into 'master'
docs(soc): add a few details in the `intr_alloc` documentation for the ESP32-P4

Closes IDF-8781

See merge request espressif/esp-idf!28249
2024-01-19 10:50:42 +08:00
Sudeep Mohanty
de8ee8cc1a feat(ulp-riscv): Updated documentation about ULP RISC-V interrupt handling
This commit updates the documentation to add support for ULP RISC-V
interrupt handling.
2024-01-18 15:59:53 +01:00
nilesh.kale
50ca5227fa fix: renamed partool.py -> parttool.py 2024-01-12 11:15:38 +05:30
Omar Chebib
9a6791b79d docs(soc): add a few details in the intr_alloc documentation for the ESP32-P4 2024-01-04 11:21:56 +08:00
mofeifei
879429f342 docs: Update cn trans for freertos docs 2024-01-02 22:30:42 +08:00
Darian Leung
31b195d150 docs(freertos/idf): Update IDF FreeRTOS documentation
This commit updates the IDF FreeRTOS documentation as follows:

- Update terminology ("CPU" to "Core", "ESP-IDF FreeRTOS" to "IDF FreeRTOS")
- Fixed some inconsistent formatting
- Rearranged some sub sections
- Updated section regarding single-core mode to be coherent with v10.5.1 update.
2024-01-02 22:30:42 +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
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
renpeiying
30c27cb8a0 docs: Provide Chinese translation for async_memcpy.rst in api-reference/system 2023-10-07 16:07:16 +08:00
renpeiying
4ee7fac7da docs: Provide Chinese translation for system/intr_alloc.rst 2023-10-07 15:59:11 +08:00
Darian Leung
9968a48c36 refactor(freertos/task_snapshot): Make task snapshot private
Task snapshot API were never intended to be called from user code. This commit
makes task snapshot a private API thus moves `#include "freertos/task_snapshot.h"`
to `#include "esp_private/freertos_debug.h"`.

Task snapshot related Kconfig options have also been hidden.

Note: Added 'freertos_common' mapping to ldgen mapping execptions lists due to
inlining of 'freertos_debug.h' functions.
2023-10-07 13:14:55 +08:00
Armando
4215adcdb4 feat(cache): added cache msync doc 2023-09-28 15:53:19 +08:00
renpeiying
7d41744b16 docs: Provide Chinese translation for api-reference/system/wdts.rst 2023-09-27 16:26:50 +08:00
Sudeep Mohanty
a76a1465b6 fix(freertos): 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 names.

Closes https://github.com/espressif/esp-idf/issues/12204
2023-09-20 10:31:08 +02:00
Mahavir Jain
e12522df12 Merge branch 'docs/fix_doc_error_in_stack_depth_max_value_in_heap_debugging' into 'master'
docs: Update maximum stack frames during heap memory debugging

See merge request espressif/esp-idf!25988
2023-09-20 13:05:08 +08:00
renpeiying
61cf4b2da5 docs: Provide Chinese translation for api-reference/system/freertos.rst 2023-09-19 17:01:34 +08:00
Konstantin Kondrashov
ecf4968e1c Merge branch 'feature/esp32p4_support_ipc' into 'master'
feat(esp_system): Support IPC_ISR for ESP32P4

Closes IDF-7769

See merge request espressif/esp-idf!25812
2023-09-19 13:26:52 +08:00
nilesh.kale
e2906504fb docs: Update maximum stack frames during heap memory debugging 2023-09-18 13:44:58 +05:30
KonstantinKondrashov
7a878bdc50 feat(esp_system): Support IPC_ISR for ESP32P4 2023-09-15 23:38:12 +08:00
caixinying-git
b07ada6e94 docs: update format issues left in EN docs 2023-09-15 10:46:25 +00:00
Song Ruo Jing
3717963618 Merge branch 'contrib/github_pr_12179' into 'master'
Update uart_ll.h - Fixing division by zero (GitHub PR)

Closes IDFGH-10990

See merge request espressif/esp-idf!25907
2023-09-14 11:30:42 +08:00
Song Ruo Jing
901eb02659 fix(docs): Improve the DFS and Peripheral Drivers section in power_management.rst 2023-09-13 21:44:23 +08:00
Konstantin Kondrashov
82cb4d5836 Merge branch 'feature/esp32p4_efuse' into 'master'
feat(efuse): Support eFuses for ESP32P4

Closes IDF-7512 and IDF-7759

See merge request espressif/esp-idf!25923
2023-09-13 19:43:49 +08:00
Konstantin Kondrashov
cbdb799b6f feat(esp_timer): Support systimer for ESP32P4 2023-09-13 19:13:38 +08:00
KonstantinKondrashov
b29f6d5a40 feat(efuse): Support eFuses and doc for ESP32P4 2023-09-12 17:58:17 +08:00
Lou Tian Hao
5690d7b4dc Merge branch 'docs/add_ext1_wakeup_per_pin_description_for_c6_and_h2' into 'master'
docs(pm): add ext1 wakeup per pin description

See merge request espressif/esp-idf!25759
2023-09-11 13:07:48 +08:00
morris
2e6015b39f Merge branch 'refactor/add_namespace_intr_cpu_id' into 'master'
refactor(intr): add namespace for intr_cpu_id_t

See merge request espressif/esp-idf!25725
2023-09-06 16:41:57 +08:00
Adam Múdry
2b5d12858d Merge branch 'docs/partition_table_api_guide_update_data_subtypes' into 'master'
docs(storage): Add supported data partition subtypes

Closes IDF-818

See merge request espressif/esp-idf!25614
2023-09-06 15:31:39 +08:00
Lou Tianhao
72d7a7884d docs(pm): add ext1 wakeup per pin description 2023-09-06 11:59:55 +08:00
morris
e8847a176f refactor(intr): add namespace for intr_cpu_id_t
previously the intr_types.h doesn't have a namespace,
it has the risk of introduing conflict in user's project.
2023-09-06 09:50:41 +08:00
Wang Zi Yan
ca334f2cea docs: Provide CN trans for sub power mode docs 2023-09-04 13:07:10 +08:00
Marius Vikhammer
eb8883cc20 Merge branch 'feature/p4_wdt' into 'master'
feat(core-system/wdt): added support for watchdogs on P4

Closes IDF-8135 and IDF-7750

See merge request espressif/esp-idf!25584
2023-08-31 10:14:19 +08:00
Marius Vikhammer
8ecbd1f59b feat(core-system/wdt): added support for watchdogs on P4 2023-08-30 11:04:02 +08:00
Adam Múdry
087de4c77a docs(storage): Add supported data partition subtypes 2023-08-29 11:28:28 +02:00
Darian
f1c71b75fa Merge branch 'refactor/freertos_task_snapshot_option' into 'master'
refactor(freertos): Remove option for Task Snapshot

See merge request espressif/esp-idf!25610
2023-08-29 14:19:55 +08:00
Darian Leung
659ec67967 refactor(freertos): Remove option for Task Snapshot
Previously, Task Snapshot could be conditionally built based on the
CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT option. However, there is no overhead
with always enabling Task Snapshot functions, as the linker will remove any
functions if they are not called.

This commit...

- removes all ESP-IDF dependencies on the CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
option so that Task Snapshot functions are always available.
- Makes CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT a hidden option to maintain
compatibility with user code.
- adds documentation regarding Task Snapshot.
2023-08-28 20:11:27 +08:00
Sudeep Mohanty
ec4cd2bb19 docs(freertos): Updated FreeRTOS documentation for ESP32-P4 2023-08-28 10:07:43 +08:00
morris
54febcae0e fix(adc): invalid assertion on the adc_unit 2023-08-23 18:36:02 +08:00
Alexey Gerenkov
3247253671 Merge branch 'feature/newlib_getentropy' into 'master'
feat(newlib): Implement getentropy() function

Closes IDFGH-10746 and IDF-7383

See merge request espressif/esp-idf!25192
2023-08-18 23:43:29 +08:00
Michael (XIAO Xufeng)
026c155c9c Merge branch 'feat/compatibility_revisions' into 'master'
doc: add documentation for compatibility between IDF version and chip revision

See merge request espressif/esp-idf!23973
2023-08-16 15:09:32 +08:00
Marius Vikhammer
f83c29f242 Merge branch 'feature/esp32p4_docs_build' into 'master'
ESP32-P4 build docs

Closes IDF-7520 and IDF-7773

See merge request espressif/esp-idf!25026
2023-08-16 11:49:43 +08:00
Marius Vikhammer
27baef2424 docs(esp32p4): added building docs for ESP32-P4 2023-08-16 10:13:47 +08:00
Xiao Xufeng
d0dcf2da00 doc: add documentation for compatibility between IDF version and chip revision 2023-08-14 17:34:16 +08:00
Xiao Xufeng
e79857b866 docs(sleep_modes): Add docs for sub power modes on S2, S3, C2, C3. 2023-08-11 17:20:16 +08:00
Alexey Gerenkov
f8e020b1d7 feat(newlib): Implement getentropy() function
Closes https://github.com/espressif/esp-idf/issues/11963
2023-08-08 18:06:58 +03:00
morris
fd3d1aa101 feat(async_memcpy): refactor driver code to support different DMA backen
To support AHB and AXI DMA memory copy for the same target (esp32p4).
2023-08-03 12:02:09 +08:00
Cai Xin Ying
03c15adc94 docs: update format issues for EN and CN files under api-reference/system and... 2023-08-03 11:32:07 +08:00
Lou Tian Hao
3f6be5938b Merge branch 'docs/rewrite_all_low_to_any_low_when_not_esp32' into 'master'
Docs: rewrite_all_low_to_any_low_when_not_esp32

See merge request espressif/esp-idf!24997
2023-08-01 20:56:36 +08:00
Lou Tianhao
f33188fb35 docs(pm/sleep): rewrite_all_low_to_any_low_when_not_esp32 2023-08-01 11:53:14 +08:00