Commit Graph

1487 Commits

Author SHA1 Message Date
laokaiyao
c731b099ee remove(c5beta3): remove c5 beta3 doxy files 2024-06-17 12:02:15 +08:00
Ivan Grokhotkov
c565f9e028
docs(console): add an API guides page on standard I/O
Closes https://github.com/espressif/esp-idf/issues/13907
2024-06-13 10:40:20 +02:00
Marius Vikhammer
618eb845d6 docs(core): update misc docs for C5 2024-06-12 09:37:47 +08:00
Jan Beran
950428c2f4 feat(tools): Add often used espefuse subcommands to idf.py 2024-06-07 16:23:17 +02:00
Konstantin Kondrashov
3bc8792fce feat(doc): Adds note for parttool that if SB or FE are on
Use "--esptool-erase-args=force" to ignore the esptool error
2024-06-04 18:18:26 +03:00
Marius Vikhammer
21c111465a Merge branch 'docs/c61_support' into 'master'
docs(c61): add docs build for C61

Closes IDF-9287

See merge request espressif/esp-idf!31182
2024-06-04 18:13:38 +08:00
Marius Vikhammer
d42d77b55d Merge branch 'docs/fix_broken_links' into 'master'
docs(links): fix broken links found in CI

See merge request espressif/esp-idf!30977
2024-06-03 12:05:19 +08:00
Marius Vikhammer
2eb4cd3d84 docs(c61): add docs build for C61 2024-06-03 10:24:27 +08:00
Daniel Paul
26502b7e2e Merge branch 'docs/add_component_manager_to_build_system' into 'master'
Docs/add component manager to build system

See merge request espressif/esp-idf!29064
2024-05-30 22:47:49 +08:00
Zhang Shu Xian
23caae99f6 docs: Update CN translation for phy by adding or removing blank line and space 2024-05-30 19:28:29 +08:00
Marius Vikhammer
bfe974a9a2 docs(links): fix broken links found in CI 2024-05-30 14:21:00 +08:00
Abhik Roy
7b25f38fd4 feat(lwip): Added multiple dns ip support 2024-05-27 20:56:01 +10:00
shenmengjing
5d07b48c27 docs: Update the CN Translation for build-system 2024-05-24 18:50:04 +08:00
Jakob Hasse
6d5d4f8fc1 Merge branch 'feature/esp_app_desc_linux' into 'master'
feat(linux): esp_app_format now works on Linux

See merge request espressif/esp-idf!30781
2024-05-23 17:27:09 +08:00
Daniel Paul
3d48ac51f9 docs: Add information to build system about IDF Component Manager 2024-05-22 20:48:18 +08:00
Armando
10d3912c70 feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00
Guillaume Souchere
300deed514 Merge branch 'doc/update-performance-guides-p4-c5' into 'master'
docs(performance): Add P4 and C5 information in the performance guides

Closes IDF-7761 and IDF-9494

See merge request espressif/esp-idf!30362
2024-05-21 14:02:19 +08:00
shenmengjing
ebc0a8efc5 docs: Provide translation for ble-mesh and reproducible-builds 2024-05-21 11:05:36 +08:00
Dai Zi Yan
09dd046ba1 Merge branch 'docs/update_translation_for_idf_py_and_spiffs' into 'master'
docs: Update the CN Translation for idf-py and spiffs

Closes DOC-7686 and DOC-7536

See merge request espressif/esp-idf!30699
2024-05-20 16:15:21 +08:00
shenmengjing
6f4d2ade10 docs: Update the CN Translation for ram-usage and speed 2024-05-20 09:40:06 +02:00
Guillaume Souchere
d98b0c497a docs(performance): Add esp32p4/c5 relevant information to the performance guides
in speed.rst:
- add startup time increase info when spiram test is enabled
- add startup time increase info when spiram is enabled and
  poisoning comprehensive is enabled
- add L2 cache variable size info to optimize IRAM space / cache misses
- update sections refencing bluetooth/wifi built-in tasks to not show
  related info for p4 targets.
- Add IDF_TARGET_RF_TYPE for esp32c5

in ram-usage.rst:
- add L2 cache variable size info to maximize RAM space

Remove the files from esp32c5.txt and esp32p4.txt
that are no longer in need of update.
2024-05-20 09:40:05 +02:00
Konstantin Kondrashov
712005c451 Merge branch 'feature/log_level_check_refactoring' into 'master'
feat(log): Refactoring tag level check APIs

Closes IDF-9083, IDF-7919, and IDFGH-6947

See merge request espressif/esp-idf!29331
2024-05-17 22:36:27 +08:00
Jakob Hasse
562c89993e feat(linux): esp_app_format now works on Linux 2024-05-16 17:01:02 +02:00
shenmengjing
acbf7ac735 docs: Provide CN Translation for four docs in api-guides 2024-05-16 14:32:13 +08:00
Konstantin Kondrashov
c3b0418a4e feat(log): Refactoring tag level check APIs 2024-05-16 09:26:08 +03:00
shenmengjing
29350a2d99 docs: Provide CN Translation for usb-otg-console 2024-05-15 14:21:17 +08:00
C.S.M
15cf203632 feature(usb_serial_jtag): add usb serial jtag support for esp32p4 2024-05-11 14:16:57 +08:00
shenmengjing
60cd5933d6 docs: Edit the CN Translation and EN Source 2024-05-10 15:30:16 +08:00
shenmengjing
a89e354f9d docs: Update the CN Translation for idf-py and spiffs 2024-05-08 17:15:06 +08:00
shenmengjing
a55e6c0eb6 docs: Update the CN Translation for ram-usage.rst 2024-04-30 23:32:22 +08:00
Alexey Lapshin
e1946b6446 feat(docs): update reducing stack size article 2024-04-30 23:32:22 +08:00
Dai Zi Yan
1b95af2096 Merge branch 'docs/udpate_cn_trans' into 'master'
docs: update the EN version of size.rst

Closes DOC-7598

See merge request espressif/esp-idf!30166
2024-04-29 15:04:53 +08:00
Shen Meng Jing
3a0ad2b17e Merge branch 'docs/translate_c_support' into 'master'
docs: Provide translation for c.rst

Closes DOC-7522

See merge request espressif/esp-idf!29863
2024-04-26 15:18:39 +08:00
shenmengjing
3b76cae7e7 docs: Provide translation for c.rst 2024-04-25 11:01:13 +08:00
Jakob Hasse
4c5cded945 refactor(linux): Improved error reporting
* Without using GDB, segfaults and aborts are reported
  clearly now
* Without using GDB, segfaults produce a rudimentary
  backtrace now
2024-04-24 18:12:45 +02:00
Wang Fang
f5e34f6c14 Update CN translation for coredump 2024-04-23 20:13:28 +03:00
Erhan Kurubas
3b8191cf5d feat(coredump): save .bss, .data and .heap sections to the elf file 2024-04-23 19:07:51 +03:00
daiziyan
16bd72bebe docs: update the CN version of size.rst 2024-04-23 14:55:39 +08:00
Darian
9a24782dd2 Merge branch 'contrib/github_pr_13669' into 'master'
docs: clarify ESP_RETURN_ON_ERROR result (GitHub PR)

Closes IDFGH-12678

See merge request espressif/esp-idf!30397
2024-04-23 14:30:00 +08:00
Darian Leung
d2ea044e49
docs(esp_common): Fix formatting issues in error-handling.rst
This commit fixes the following formatting issues in error-handling.rst:

- Incorrect indentation (3 spaces to 4 spaces)
- Fixed some italics that were supposed to be inline literals
- Used code-block directive for language highlighting
2024-04-23 02:34:25 +08:00
Richard Allen
4226d13b01 docs: clarify ESP_RETURN_ON_ERROR result 2024-04-22 09:56:58 -05:00
Roland Dobai
af302c0bee Merge branch 'feat/add_merged_bin_cmd' into 'master'
feat(tools): Add idf.py merge-bin command and cmake target

See merge request espressif/esp-idf!29996
2024-04-22 17:55:36 +08:00
Shen Meng Jing
ed366b55c2 Merge branch 'docs/translate_configure-builtin-jtag' into 'master'
docs: Provide translation for cofigure-builtin-jtag.rst in jtag-debugging

Closes DOC-7523

See merge request espressif/esp-idf!29867
2024-04-19 19:46:31 +08:00
shenmengjing
6d81e702d9 docs: Provide translation for cofigure-builtin-jtag.rst in jtag-debugging 2024-04-19 18:53:17 +08:00
Kevin (Lao Kaiyao)
7835ce48f1 Merge branch 'ci/enable_doc_build_for_esp32c5' into 'master'
ci(doc): enable doc build for esp32c5

See merge request espressif/esp-idf!30338
2024-04-19 11:50:10 +08:00
Roland Dobai
9b8e2c72ba Merge branch 'docs/coredump_standalone' into 'master'
docs(tools/coredump): add information about standalone tool for advanced users

Closes IDFGH-12407 and IDFGH-12462

See merge request espressif/esp-idf!30039
2024-04-18 21:20:08 +08:00
laokaiyao
fc000cd7b7 ci(doc): enable doc build for esp32c5 2024-04-18 19:39:29 +08:00
shenmengjing
4e0c5d3e8e docs: Provide translation for ecdsa.rst and qemu.rst 2024-04-18 14:58:39 +08:00
Jiang Jiang Jian
64c41c82cb Merge branch 'docs/update_build_system' into 'master'
docs: update a typo in the build system document

Closes DOC-6637

See merge request espressif/esp-idf!29969
2024-04-17 10:41:55 +08:00
Jan Beran
0dec6fe65d feat(tools): Add idf.py merge-bin command and cmake target 2024-04-16 12:49:18 +02:00
Zhang Xiao Yan
69972b2a1e Merge branch 'docs/update_deep_sleep_stub' into 'master'
docs: update api-guides/deep-sleep-stub

See merge request espressif/esp-idf!25258
2024-04-15 12:45:35 +08:00
Linda
2dc0be81fb docs: update api-guides/deep-sleep-stub 2024-04-15 11:43:19 +08:00
Erhan Kurubas
72f463afc6 Merge branch 'doc_update_esp32p4_jtag' into 'master'
Update esp32p4 jtag debugging guide

Closes IDF-7758

See merge request espressif/esp-idf!26527
2024-04-13 02:10:21 +08:00
xuxiao
27f61966cd feat(wifi): add esp32c5 beta3 wifi support 2024-04-10 14:09:40 +08:00
Linda
8d36c6257e docs: add two terms to api-guides/flash_psram_config 2024-04-09 11:09:28 +08:00
Mahavir Jain
b185b2b3c2 Merge branch 'feature/mbedtls_error_str_config' into 'master'
feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C

See merge request espressif/esp-idf!30031
2024-04-08 11:10:59 +08:00
Roland Dobai
54fd736bcd Merge branch 'docs/external_flash' into 'master'
docs(idf_py): Describe the option to configure esptool.py with --extra-args

Closes IDFGH-4513

See merge request espressif/esp-idf!29851
2024-04-07 13:50:05 +08:00
Peter Dragun
1830f58920 docs(tools/coredump): add warning about core dump usage with encrypted parttion
Closes https://github.com/espressif/esp-coredump/issues/8
2024-04-05 15:41:00 +02:00
Erhan Kurubas
9e80e127ac doc(jtag): update esp32p4 jtag debugging guide 2024-04-04 21:37:56 +03:00
Peter Dragun
e5760b35a5 docs(tools/coredump): add information about standalone tool for advanced users
Closes https://github.com/espressif/esp-idf/issues/13433
2024-04-04 16:47:32 +02:00
Mahavir Jain
78ff15602e
docs: add note about newly added mbedtls config to reduce app size footprint 2024-04-04 09:23:05 +05:30
Jiang Jiang Jian
b18a039263 Merge branch 'doc/update_espnow_example' into 'master'
docs(wifi): change the magic varible from int to uint32_t on the receiving side

Closes IDFGH-9560 and IDFGH-9366

See merge request espressif/esp-idf!29845
2024-04-01 23:13:13 +08:00
daiziyan
178f80a170 docs: update a typo in the build system document 2024-04-01 19:29:05 +08:00
alanmaxwell
565660db87 docs: disable build phy.rst for esp32p4 2024-04-01 14:59:57 +08:00
alanmaxwell
1d763691ea docs(phy): rewrite multi antenna docs 2024-04-01 14:59:57 +08:00
alanmaxwell
a6cc70e6e7 docs: seperate multiple antennas from Wi-Fi to PHY 2024-04-01 14:59:27 +08:00
Radim Karniš
cb4b433ddc docs(idf_py): Describe the option to configure esptool.py with --extra-args
Closes https://github.com/espressif/esp-idf/issues/6337
2024-03-28 12:09:50 +01:00
Marius Vikhammer
f1e65b8373 docs(misc): fixed typos found with codespell 2024-03-28 11:50:58 +08:00
zhangyanjiao
ff2862b747 docs(wifi): update the docmentation for sniffer API
Closes https://github.com/espressif/esp-idf/issues/10740
2024-03-27 12:15:09 +08:00
morris
cf59c00564 change(mpll): clean up mpll clock acquire with ldo driver 2024-03-25 22:03:49 +08:00
Roland Dobai
5da7c6e3b2 Merge branch 'docs/docker_groupid' into 'master'
docs(docker): add note about group ID when host device is added to container

Closes IDFGH-12342

See merge request espressif/esp-idf!29717
2024-03-20 19:54:39 +08:00
Frantisek Hrbata
6554cac7dc docs(docker): add note about group ID when host device is added to container
Closes https://github.com/espressif/esp-idf/issues/13373

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-03-20 11:15:36 +01:00
Nachiket Kukade
4971764917 feat(esp_wifi): Refactor and improve FTM code
Enable FTM Responder mode for ESP32C6. Update wifi libs with below -

1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request retry and comeback support

Closes https://github.com/espressif/esp-idf/issues/6810
2024-03-18 22:01:36 +08:00
wangjialiang
ae97d9aecf feat(ble_mesh): update the link of BLE-MESH 1.1 specification and model specification 2024-03-13 15:36:18 +08:00
Jakob Hasse
1deef8bee9 docs(heap): Fixed mistake in the heap allocator docs
Closes https://github.com/espressif/esp-idf/issues/13353
2024-03-12 10:24:35 +08:00
Anton Maklakov
686a0e4f0f docs(qemu): add system dependencies list 2024-03-07 20:37:24 +08:00
Sudeep Mohanty
0de2912f91 Merge branch 'fix/esp_system_requires_esp_gdbstub' into 'master'
fix(esp_system): Updated the CMakeLists.txt to add requirement for esp_gdbstub component

Closes IDFGH-12162

See merge request espressif/esp-idf!29132
2024-03-07 16:24:46 +08:00
Mahavir Jain
842a658322 Merge branch 'feature/add_jtag_re_enable_example' into 'master'
feat: add example to re-enable jtag using hmac peripheral

Closes IDF-6909 and IDF-6910

See merge request espressif/esp-idf!26672
2024-03-05 17:52:59 +08:00
mofeifei
3dc5bfd58b docs: update cn trans fatal-errors 2024-03-05 15:52:37 +08:00
Shang Zhou
c3d7ef1a0f Merge branch 'docs/sync_api-guides_files' into 'master'
docs: sync low-power-mode and usb-serial-jtag-console

Closes DOC-7008

See merge request espressif/esp-idf!29368
2024-03-05 11:48:56 +08:00
nilesh.kale
37adea9a14 feat: add example to re-enable jtag using hmac peripheral 2024-03-04 15:42:33 +05:30
Shang Zhou
4e4be31b4a docs: sync low-power-mode and usb-serial-jtag-console 2024-03-04 14:24:17 +08:00
laokaiyao
01e3c85322 refactor(esp32c5): change beta3 path in esp_system and bootloader 2024-03-01 11:12:36 +08:00
Alexey Lapshin
fdb7a43752 Merge branch 'feature/esp32p4_concontiguous_mem_mvp' into 'master'
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 on P4

See merge request espressif/esp-idf!28783
2024-02-29 16:28:13 +08:00
Alexey Lapshin
824c8e0593 feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000
This commit introduce SOC_MEM_NON_CONTIGUOUS_SRAM flag (that enebled for
esp32p4). If SOC_MEM_NON_CONTIGUOUS_SRAM is enabled:

- LDFLAGS+=--enable-non-contiguous-regions
- ldgen.py replaces "arrays[*]" from sections.ld.in with objects under
  SURROUND keyword. (e.g. from linker.lf: data -> dram0_data SURROUND(foo))
- "mapping[*]" - refers to all other data

If SOC_MEM_NON_CONTIGUOUS_SRAM, sections.ld.in file should contain at
least one block of code like this (otherwise it does not make sense):

  .dram0.bss (NOLOAD) :
  {
    arrays[dram0_bss]
    mapping[dram0_bss]
  } > sram_low

  .dram1.bss (NOLOAD) :
  {
    /* do not place here arrays[dram0_bss] because it may be splited
     * between segments */
    mapping[dram0_bss]
  } > sram_high
2024-02-28 19:41:25 +04:00
Sudeep Mohanty
7444890a03 fix(esp_system): Updated the conditions for the GDBStub on Panic Kconfig option
This commit updates the Panic handler behavior Kconfig setting to make
the GDBStub on Panic (CONFIG_ESP_SYSTEM_PANIC_GDBSTUB) option to be only
available when esp_gdbstub is part of the component list of the build.

Closes https://github.com/espressif/esp-idf/issues/13218
2024-02-28 08:34:08 +01:00
Lin Rui Hao
00df222cdf Merge branch 'docs/rf_coexistence_api_guides_support_esp32c2' into 'master'
Docs: RF coexistence api guides support esp32c2

Closes BT-3582

See merge request espressif/esp-idf!28780
2024-02-23 15:20:45 +08:00
linruihao
e418e8ec21 docs: update rf coexistenct api guides
1. support esp32c2
2. fix inconsistency between CN and EN docs of rf coexistence
3. adjust the visibility of some contents based on soc_caps
2024-02-21 16:57:33 +08:00
Linda
f288a81723 docs: add a link for Windows users to JTAG debugging 2024-02-19 17:33:24 +08:00
daiziyan
840a281818 docs: update CN translation 2024-02-06 09:55:01 +08:00
Marius Vikhammer
ef87256e73 Merge branch 'docs/esp32c5_build_docs' into 'master'
docs(esp32c5): add support for building C5 docs

Closes IDF-8679

See merge request espressif/esp-idf!28753
2024-02-02 09:36:41 +08:00
Abhik Roy
35fe20da84 change(lwip): Remove 'experimental' from NAPT in kconfig, update lwIP doc 2024-02-01 20:09:08 +11:00
Marius Vikhammer
4d28524bdb docs(esp32c5): add support for building C5 docs 2024-02-01 10:06:41 +08:00
Tomas Rezucha
49f3dae095 Merge branch 'ci/add_p4_usb_host_to_ci' into 'master'
feature(usb): Add USB support for ESP32-P4

Closes IDF-6873

See merge request espressif/esp-idf!28585
2024-01-31 22:04:23 +08:00
Roland Dobai
2e207db65f Merge branch 'feature/add_arguments_ninja_monitor' into 'master'
feat: Propagate arguments when running ninja monitor

Closes IDF-8856

See merge request espressif/esp-idf!28477
2024-01-31 20:09:59 +08:00
Jan Beran
858e3fe5ec docs(esp-idf-monitor): Add information about ESP_IDF_MONITOR_NO_RESET 2024-01-31 09:35:44 +01:00
Mo Fei Fei
af0d1c6945 Docs: update cn trans for config wdt desc 2024-01-31 15:19:17 +08:00
KonstantinKondrashov
c40afaf4ad feat(doc): Update the WDT article
Closes https://github.com/espressif/esp-idf/issues/12995
2024-01-31 15:19:17 +08:00
Tomas Rezucha
f13ae0fc08 feat(esp32p4): Add USB-OTG support for ESP32-P4 2024-01-30 15:07:11 +01:00
Linda
6af8643d06 docs: format table for generated pdf document 2024-01-29 14:36:04 +08:00
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
Mahavir Jain
fd9cf82965 Merge branch 'docs/add_read_otadata_documentation' into 'master'
docs: Add documentation for `idf.py read-otadata`

See merge request espressif/esp-idf!28141
2024-01-15 13:00:23 +08:00
Harshit Malpani
18947904bc
docs: Add documentation for idf.py read-otadata 2024-01-12 18:58:14 +05:30
nilesh.kale
50ca5227fa fix: renamed partool.py -> parttool.py 2024-01-12 11:15:38 +05:30
Kapil Gupta
685fcf4278 Merge branch 'feature/supplicant_bss_extmem' into 'master'
WiFi: Add support to move supplicant BSS to external memory

See merge request espressif/esp-idf!27891
2024-01-11 15:55:14 +08:00
Erhan Kurubas
f5934dea31 Merge branch 'feature/esp32p4_coredump_support' into 'master'
feat(coredump): add esp32p4 chip support and doc update

Closes IDF-6521 and IDF-7756

See merge request espressif/esp-idf!28226
2024-01-10 20:07:29 +08:00
Mahavir Jain
c0bd52898f Merge branch 'contrib/github_pr_12915' into 'master'
docs: Correct coap IPV6 support requirement comments (GitHub PR)

Closes IDFGH-11821

See merge request espressif/esp-idf!28297
2024-01-08 11:29:59 +08:00
Jon Shallow
35f553f84d
docs: Correct coap IPV6 support requirement comments
coap (libcoap) can now be built with or without IPV6.
2024-01-05 12:35:41 +05:30
jgujarathi
8ab5cee34a docs(esp_wifi): Add docs for additional authmode incompatible situation
- Adds documentation for additional situations where authmode incompatible disconnect
  reason code will be reported
2024-01-04 11:56:42 +05:30
Erhan Kurubas
c3916927c9 feat(esp-coredump): add esp32p4 chip support and doc update 2024-01-03 12:05:34 +01:00
Abhik Roy
0c99a58ff6 Merge branch 'lwip/acceptmbox_config' into 'master'
change(lwip): Added macro to configure TCP accept mailbox size

See merge request espressif/esp-idf!27276
2024-01-03 15:55:12 +08:00
mofeifei
009e6945aa docs: Updated cn trans for esp_http_client and external_ram 2024-01-02 16:06:03 +08:00
Kapil Gupta
14ee656993 docs(wifi): Add documentation for ESP defined disconnect reasoncodes 2023-12-28 15:23:29 +05:30
Armando
7e0f298608 change(psram): update doc about ldo 2023-12-26 11:43:33 +08:00
David Cermak
e3a02d78c8 docs(network): Update network/proto API refs and guides for ESP32P4 2023-12-20 23:07:35 +08:00
Mo Fei Fei
3140fcadf2 Merge branch 'docs/update_cn_trans_usb-serial-jtag-console' into 'master'
docs: Update cn trans for use-serial-jtag-console

Closes DOC-6815

See merge request espressif/esp-idf!28004
2023-12-20 16:42:09 +08:00
mofeifei
07d0266c88 docs: Update cn trans for use-serial-jtag-console 2023-12-20 14:08:27 +08:00
Ivan Grokhotkov
3a340b385f Merge branch 'feature/qemu_lcd' into 'master'
feat(qemu): add a CLI option for graphics output

See merge request espressif/esp-idf!27874
2023-12-19 20:07:29 +08:00
Roland Dobai
539425ff99 Merge branch 'feature/doc_update_idf_file_args_plus_idftoolspath_setup' into 'master'
feat(tools): Documentation update about setting IDF_TOOLS_PATH and idf.py argument file parsing

Closes IDF-8527 and IDFGH-11401

See merge request espressif/esp-idf!27080
2023-12-19 16:32:58 +08:00
Ivan Grokhotkov
d9983c0039
feat(qemu): add a CLI option for graphics output 2023-12-18 11:47:15 +01:00
Armando
92e19af4ea doc(psram): updated voltage supply for psram programming guide 2023-12-18 15:18:07 +08:00
Shang Zhou
c1e3440352 docs: Update CN translation for idf-py.rst and linux-macos-setup.rst 2023-12-15 11:50:38 +00:00
Marek Fiala
9757c8f7c9 docs(tools): Add idf.py file argument parsing to idf.py doc 2023-12-15 11:50:38 +00:00
Abhik Roy
0c41c4e1da change(lwip): Added macro to configure TCP accept mailbox size 2023-12-15 21:11:44 +11: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
Kapil Gupta
36c38943c8 fix(wifi): Add support to move supplicant BSS to external memory 2023-12-13 16:07:13 +00: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
Marius Vikhammer
ac3915f092 docs(esp32p4): update misc docs for esp32p4 2023-12-09 09:09:55 +08:00
Roland Dobai
b486466339 Merge branch 'monitor_custom_reset' into 'master'
docs(tools/monitor): custom reset sequence from esptool

See merge request espressif/esp-idf!26834
2023-12-08 16:00:24 +08:00
daiziyan
17dfe49416 docs: provide CN trans for idf-monitor 2023-12-07 10:06:36 +01:00
Peter Dragun
0022803ed6 docs(tools/monitor): custom reset sequence from esptool 2023-12-07 10:06:24 +01:00
Ivan Grokhotkov
918c0ce4ac
feat(tools): update qemu to esp-develop-8.1.3-20231206
https://github.com/espressif/qemu/releases/tag/esp-develop-8.1.3-20231206
2023-12-07 10:54:29 +08:00
Sudeep Mohanty
356b77ce84 Merge branch 'contrib/github_pr_12461' into 'master'
Enables VERSION argument for project() macro in cmake

Closes IDFGH-11310

See merge request espressif/esp-idf!27369
2023-12-06 20:57:17 +08:00
Chen Jian Xing
f0353350d0 Merge branch 'docs/Separate_low-power_documents' into 'master'
docs:Separate low-power documents

Closes WIFI-6310

See merge request espressif/esp-idf!27273
2023-12-06 16:59:56 +08:00
Krzysztof Budzynski
58713b0b8a Apply 2 suggestion(s) to 2 file(s) 2023-12-06 10:57:35 +08:00
daiziyan
e85feafa0f docs: add CN trans for idf-docker-image.rst 2023-12-05 14:52:14 +01:00
timoxd7
db1584a568 feat(docker): Add Dockerfile argument for variable clone depth
Closes https://github.com/espressif/esp-idf/pull/12637
2023-12-05 14:52:14 +01: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
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
Ivan Grokhotkov
71153c7dbb
feat(tools): add 'idf.py qemu' extension
This extension allows running programs in QEMU similar to running
them on a real chip:

- 'idf.py qemu' — builds and runs the program in QEMU. User gets
  a QEMU instance launched, and can work with it as a normal QEMU
  instance.
- 'idf.py qemu monitor' — same, but QEMU is launched in the
  background, and idf_monitor runs in the foreground, showing QEMU
  output. Compared to only running 'idf.py qemu' this enables, for
  example, automatic backtrace decoding.
- 'idf.py qemu gdb' — launches QEMU in the background and opens an
  interactive GDB prompt, connecting it to QEMU.
- 'idf.py qemu --gdb monitor' and 'idf.py gdb' in another shell:
  launches QEMU in the background, keeps it suspended until GDB is
  connected, and opens idf_monitor. GDB can be used in another shell
  to debug the application.
2023-12-03 07:45:19 +01: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
wangtao@espressif.com
0d0de9da6b docs:Separate low-power documents 2023-12-01 10:13:19 +08:00
mofeifei
43bfffd85e docs: update cn trans idf-docker-image 2023-11-30 12:18:40 +01:00
Frantisek Hrbata
647c485a76 feat(docker): allow to add paths into git's safe.directory
With 8959555cee7e[1] ("setup_git_directory(): add an owner check for the top..")
git added an ownership check of the git directory and refuses to
run any git commands, even parsing the config file, if the git directory
is not owned by the current user. The "fatal: detected dubious ownership in repository"
is reported.

This fixes CVE-2022-24765[2], which allows to compromise user account. On a
multi-user system or e.g. on a shared file system, one user may create a "rogue"
git repository with e.g. core.fsmonitor set to an arbitrary command. Other user
may unwillingly execute this command by running e.g. git-diff or
git-status within the "rogue" git repository, which may be in one of the parent
directories. If e.g. PS1 is set to display information about a git
repository in CWD, as suggested in Git in Bash[3], the user do not need to run
any git command to trigger this, just entering some subdirectory under
this "rogue" git repository is enough, because the git command will be
started transparently through the script used in PS1. The core.fsmonitor
can be set to arbitrary command. It's purpose is to help git to identify changed files
and speed up the scanning for changed files.

rogue
├── .git     # owned by user1
└── dir1     # owned by user2
    ├── dir2 # owned by user2
    └── .git # owned by user2

user1 sets core.fsmonitor for git repository in rogue directory
$ git config --add core.fsmonitor "bash -c 'rm -rf \$HOME'"

user2 enters dir1 and runs e.g. git diff and triggers the core.fsmonitor command.

The ownership check may cause problems when running git commands in
ESP-IDF Docker container. For example user may run the container as
root, but the mounted project may be owned by a particular user.

In this case git will refuse to execute any git command within the
"/project" directory, because it's not owned by root. To overcome this,
git allows to set safe.directories, for which the ownership check is
skipped. The security check may be completely disabled by setting
safe.directories to "*". This solution was proposed in PR 12636[4], but
it would allow make it possible to exploit this vulnerability again.

This fix allows user to specify git's safe.directory in IDF_GIT_SAFE_DIR
environmental variable, which may be set during container startup.

The IDF_GIT_SAFE_DIR has same format as PATH and multiple directories can be
specified by using a ":" separator. To entirely disable this git security check
within the container, user may set IDF_GIT_SAFE_DIR='*'. This might be
heplfull in CI.

Closes https://github.com/espressif/esp-idf/pull/12636

[1] - 8959555cee
[2] - https://nvd.nist.gov/vuln/detail/cve-2022-24765
[3] - https://git-scm.com/book/en/v2/Appendix-A%3A-Git-in-Other-Environments-Git-in-Bash
[4] - https://github.com/espressif/esp-idf/pull/12636

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-11-30 12:18:40 +01:00
Omar Chebib
dc8fdae31b docs(freertos): revert usage of hidden option CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE when :ref: is used 2023-11-30 16:33:28 +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
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
Shu Chen
db84b88d14 Merge branch 'fix/add_docs_for_coex' into 'master'
feat(docs) Add RF Coexist docs for H2

Closes IDF-8550

See merge request espressif/esp-idf!27150
2023-11-22 21:23:33 +08:00
David Čermák
17f6528718 Merge branch 'bugfix/lwip_dns_docs' into 'master'
fix(lwip): Document DNS limitation in lwIP

See merge request espressif/esp-idf!27099
2023-11-22 20:39:22 +08:00