Commit Graph

1083 Commits

Author SHA1 Message Date
C.S.M
7e08b407b9 Merge branch 'feature/spi_flash_vendor_classify' into 'master'
spi_flash: only link flash vendor which is officially supported to save IRAM

See merge request espressif/esp-idf!22255
2023-02-09 13:48:15 +08:00
Cao Sen Miao
0f8f13d21d spi_flash: only link flash vendor which is officially supported to save IRAM 2023-02-09 10:28:54 +08:00
Marius Vikhammer
6233b0aa64 Merge branch 'feature/c6_newlib_nano' into 'master'
newlib: update newlib nano documentation for C6

See merge request espressif/esp-idf!22219
2023-02-09 10:13:47 +08:00
Marius Vikhammer
65a4058e8c newlib: update newlib nano documentation for C6
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
Armando
0947bcce1b docs: make s3 octal flash error handling clearer 2023-02-08 10:47:05 +08:00
Roland Dobai
4bd5ebb4a1 Merge branch 'tools/monitor_move' into 'master'
Tools(idf_monitor): Move idf_monitor to separate repo

Closes IDF-4109

See merge request espressif/esp-idf!22050
2023-02-07 19:47:46 +08:00
Frantisek Hrbata
4b5e56e08c docs: hints are supported for gdbui and openocd
Hints should be now working for gdbui and openocd. They are not
produced via RunTool(), but the hints are used directly.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-03 14:59:28 +01:00
Peter Dragun
3e3533f918 feat(idf_monitor): move idf_monitor to separate repo 2023-02-03 11:20:15 +01:00
laokaiyao
f27cd67c00 driver: pack peripherals 2023-02-02 18:19:58 +08:00
morris
753eab91ee Merge branch 'feature/usj_support_h2' into 'master'
USJ console support on esp32h2

Closes IDF-6239

See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
Erhan Kurubas
f13b6d1f87 doc: fix usb-jtag configure efuse section 2023-01-31 10:02:48 +01:00
morris
3151f9c8f1 usj: bringup on esp32h2 2023-01-31 16:21:47 +08:00
Jiang Jiang Jian
1195b6cb2b Merge branch 'docs/add_some_details_for_wifi_scan_description' into 'master'
Docs/add some details for wifi scan description

Closes DOC-4179 and IDFGH-8980

See merge request espressif/esp-idf!21589
2023-01-31 13:56:09 +08:00
Marius Vikhammer
c7a41fb860 docs: update system api guides and intr chapters for C6 and H2 2023-01-29 16:15:36 +08:00
Marius Vikhammer
2973600c45 docs: update fatal error doc for C6/H2 2023-01-29 14:03:09 +08:00
Marius Vikhammer
5e9e8c396f wdt: add support for WDTs on C6 2023-01-19 12:58:26 +08:00
Erhan Kurubas
9d6383340f Merge branch 'doc_update_esp32c6_jtag' into 'master'
docs: JTAG debugging update for ESP32C6

Closes IDF-6033

See merge request espressif/esp-idf!22028
2023-01-19 03:44:43 +08:00
Shang Zhou
fa33755de4 Merge branch 'docs/sync_up_translation_january' into 'master'
docs: Sync up CN and EN versions for files in api-guides and hw-reference (Jan)

Closes DOC-4458

See merge request espressif/esp-idf!22047
2023-01-19 02:22:58 +08:00
Erhan Kurubas
7cb79db71e docs: JTAG debugging update for ESP32C6 2023-01-18 15:17:23 +01:00
David Čermák
2f1d30d155 Merge branch 'bugfix/lwip_core_locking' into 'master'
esp_netif/lwip: Fix core-locking config

Closes IDFGH-8445, IDFGH-9098, and IDFGH-9063

See merge request espressif/esp-idf!20840
2023-01-18 20:31:25 +08:00
Shang Zhou
f114008fc7 docs: Sync up CN and EN versions for files in api-guides and hw-reference (Jan) 2023-01-18 18:57:59 +08:00
David Cermak
a71fa82177 esp_netif/lwip: Fix core-locking config
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
* Fix openthread libs

Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-01-17 16:15:58 +01:00
Marius Vikhammer
70d1dbccd8 Merge branch 'docs/enable_h2_build' into 'master'
docs: add support for building H2 docs

Closes IDF-6259

See merge request espressif/esp-idf!21933
2023-01-17 12:11:29 +08:00
Marius Vikhammer
7100b7d1ff docs: add support for building H2 docs 2023-01-17 10:04:26 +08:00
Erhan Kurubas
c453326a8a docs: JTAG debugging update for ESP32C2 2023-01-12 09:09:02 +01:00
muhaidong
f855d0790d docs: update ftm docs 2023-01-10 21:14:51 +08:00
muhaidong
fe576d316e docs: add some details for wifi scan description 2023-01-10 21:14:42 +08:00
muhaidong
b2e302fc97 docs: update wifi amsdu receiving docs 2023-01-10 21:14:34 +08:00
jiangguangming
0f5990b1f2 docs: add wake stub example link to deep-sleep-stub.rst 2023-01-10 17:03:54 +08:00
daiziyan
f6419eb3fe docs: update CN trans for memory-types,tips-and-quirks, partition-tables and start-project 2023-01-10 02:40:03 +00:00
Euripedes Rocha
5afa3d347c [MQTT] - Moves compile definition out of idf
- MQTT build process is to be managed in esp-mqtt repository
- Componenf directory points directly to submodule, usage must be
  unchanged
2023-01-06 06:30:26 +00:00
David Čermák
063a26b5e6 Merge branch 'bugfix/lwip_mark_ppp_officially_supported' into 'master'
lwip: Mark PPP officially supported

Closes IDFGH-8820

See merge request espressif/esp-idf!21900
2023-01-05 15:57:45 +08:00
David Cermak
d964aaceac lwip: Mark PPP officially supported
Closes https://github.com/espressif/esp-idf/issues/10249
2023-01-04 14:20:20 +01:00
Shang Zhou
1089065b02 docs: Update CN translation for idf-monitor.rst 2023-01-03 13:22:26 +01:00
Roland Dobai
17286337ea Tools: IDF Monitor: Determine possible instruction addresses based on ELF segments 2023-01-03 13:22:26 +01:00
Michael (XIAO Xufeng)
57a9c67c01 index 2022-12-29 01:00:31 +08:00
Zhang Xiao Yan
ae639f68a6 Merge branch 'docs/update_USB-OTG_ESP32S2_ESP32S3' into 'master'
updated USB_OTG in dfu.rst, usb_device.rst and secure-boot-v2.rst

Closes DOC-3565

See merge request espressif/esp-idf!20144
2022-12-27 14:38:51 +08:00
Jakob Hasse
58f58c25a6 Merge branch 'docs/test_linux' into 'master'
docs: refactored and updated Linux target docs

See merge request espressif/esp-idf!21236
2022-12-22 16:36:51 +08:00
Jakob Hasse
102b501b10 Merge branch 'contrib/github_pr_9962' into 'master'
[Panic] add user configurable reboot delay in seconds (GitHub PR)

Closes IDFGH-8506

See merge request espressif/esp-idf!21305
2022-12-21 21:12:21 +08:00
Jakob Hasse
b718c7182c docs(linux): refactored and updated Linux target docs 2022-12-21 17:12:42 +08:00
morris
6ca7a3ab25 Merge branch 'contrib/github_pr_10382' into 'master'
Update DFU docs for flash encryption (GitHub PR)

Closes IDFGH-8970

See merge request espressif/esp-idf!21689
2022-12-20 22:00:58 +08:00
Jakob Hasse
cb9786d35e refactor(esp_system): reboot delay: added docs, protected by watchdog 2022-12-20 15:51:00 +08:00
Ivan Grokhotkov
32754865da Merge branch 'feature/spiflash_override_cmake_function' into 'master'
build system: Add spi_flash_add_link_dependency function for spi_flash custom driver

Closes IDF-3167

See merge request espressif/esp-idf!14186
2022-12-19 22:21:40 +08:00
Mahavir Jain
4aa4a76d2c
docs: update dfu docs for secure DL mode 2022-12-19 17:43:07 +05:30
Jiang Jiang Jian
066dc196af Merge branch 'feature/esp32c6_wifi_bt_common_dependcy_support' into 'master'
esp32c6: support esp32c6 phy

Closes IDF-5680

See merge request espressif/esp-idf!21576
2022-12-19 12:16:11 +08:00
Shang Zhou
256c8a103e
docs: update CN translation for build-system.rst 2022-12-16 16:26:45 +01:00
Angus Gratton
d89652b382
build system: Add idf_component_add_link_dependency function, use for spi_flash overriding 2022-12-16 16:26:44 +01:00
zhangyanjiao
572f117b79 fix typos in docs 2022-12-16 15:52:21 +08:00
wuzhenghui
5822cdf93b esp_phy: enable for esp32c6 2022-12-16 15:47:56 +08:00
Krzysztof Budzynski
049a8a2db7 fix typos error 2022-12-16 15:31:24 +08:00
Chip Weinberger
95a22aa2f6
Update DFU docs for flash encryption 2022-12-15 16:13:57 -08:00
zhangyanjiao
590481d531 esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
2022-12-15 15:23:32 +08:00
Fu Hanxi
17224f3254 component manager: add build property DEPENDENCIES_LOCK
closes https://github.com/espressif/esp-idf/issues/9394
2022-12-13 15:25:19 +08:00
Darian
936a69da3c Merge branch 'docs/freertos_smp_critical_section_usage' into 'master'
Docs: Update IDF FreeRTOS documentation on spinlock initialization and usage

See merge request espressif/esp-idf!21509
2022-12-10 02:08:30 +08:00
Darian Leung
10ee81108f freertos(IDF): Update documentation on spinlock initialization and usage
This commit adds some code snippets to covering how to initialize spinlocks
when they are dynamically or statically allocated.
2022-12-08 22:05:14 +08:00
Ivan Grokhotkov
f1b1540f61
docs: fix the number of breakpoints and watchpoints for RISC-V chips 2022-12-08 12:12:02 +01:00
Alexey Lapshin
960a235ad7 Merge branch 'fix/docs-SYSVIEW_FreeRTOS_txt-path' into 'master'
docs: fix path to SYSVIEW_FreeRTOS.txt

See merge request espressif/esp-idf!21461
2022-12-08 18:13:22 +08:00
Mahavir Jain
bdd822970c Merge branch 'bugfix/add_check_for_coredump_encrypted_flag' into 'master'
coredump: add partition encrypted flag check for flash encryption case

See merge request espressif/esp-idf!21410
2022-12-07 11:52:49 +08:00
Zhang Xiao Yan
1d82bcd125 Merge branch 'docs/update_jtag_pins_for_other_purposes_esp32s3_esp32c3' into 'master'
docs: update description of jtag pins for esp32s3 and esp32c3

Closes DOC-3015

See merge request espressif/esp-idf!21225
2022-12-07 09:45:05 +08:00
Alexey Lapshin
2710718f5d docs: fix path to SYSVIEW_FreeRTOS.txt 2022-12-06 13:49:10 +07:00
Mahavir Jain
12b977dba6
coredump: add partition encrypted flag check for flash encryption case
Ref: https://esp32.com/viewtopic.php?f=13&t=30752
2022-12-02 17:15:01 +05:30
Linda
d34752352b docs: update description of initial upload on development boards 2022-12-02 15:07:23 +08:00
muhaidong
18d9f4322b doc: update wifi amsdu docs 2022-12-01 14:57:58 +08:00
Linda
9c0d573eae updated USB_OTG in dfu.rst, usb_device.rst and secure-boot-v2.rst 2022-11-29 10:08:59 +08:00
Mahavir Jain
11f2683c27 docs: add chapter about overall "security" area guide
List down considerations for the following areas:

- Hardware security
- Network security
- Product security

Also added brief explanation about "Security Policy" for ESP-IDF.

Closes IDF-1565
2022-11-25 03:17:05 +00:00
Linda
042a36e4c2 docs: update description of jtag pins for esp32s3 and esp32c3 2022-11-24 18:35:39 +08:00
Alexey Gerenkov
55bd4a74cd tools: Replace 'xtensa-clang' with 'esp-clang' 2022-11-22 17:30:14 +03:00
Djordje Nedic
ebb6c2e77b tools: Move out kconfig_new in favour of using the esp-idf-kconfig package
This commit removes all kconfig_new files and references to them and adds esp-idf-kconfig as a dependency and adequate wrappers to avoid breaking changes.
2022-11-15 21:19:51 +01:00
Zim Kalinowski
f3a5a29bf8 Merge branch 'fix/add-dram-limitations-in-docs' into 'master'
docs: add section in ram-usage documentation to clarify DRAM limitations on esp32

Closes IDFGH-1187

See merge request espressif/esp-idf!21085
2022-11-15 17:54:20 +08:00
Guillaume Souchere
abe56e2bbe docs: add section in ram-uasge.rst to clarify DRAM limitations on esp32.
The sections details that only 160KB of DRAM can be used for statically allocated data.
Reference this new section in mem_alloc.rst and memory-types.rst.
2022-11-15 07:40:25 +01:00
Zim Kalinowski
04595966f3 Merge branch 'doc/api_guides_cplusplus' into 'master'
docs: add C++ support chapter to the API guides

See merge request espressif/esp-idf!20182
2022-11-14 20:20:31 +08:00
liuning
b153469841 esp_wifi: fix some connectionless related issue and add connectionless power save guide 2022-11-11 15:59:19 +08:00
Kevin (Lao Kaiyao)
5bed8fab49 Merge branch 'refactor/rename_h2_to_h4' into 'master'
esp32h2: renaming esp32h2 to esp32h4

Closes IDF-6098

See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
Marius Vikhammer
c4644ddee5 Apply suggestions to 2 files 2022-11-09 11:43:22 +08:00
muhaidong
e972161b7a esp_wifi: Modify wifi scan return value.
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-09 11:43:09 +08:00
zhangyanjiao
c8d0704f1c update doc for set channel 2022-11-09 11:42:26 +08:00
zhangyanjiao
3f87a9824a update wifi reason code 2022-11-09 11:42:26 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
liuning
c41ce49c7a docs: update BluFi documentation 2022-11-07 13:11:20 +08:00
Ivan Grokhotkov
80d3dc9ac5 docs: add C++ support chapter to the API guides 2022-11-04 18:37:03 +01:00
Ivan Grokhotkov
07fe9caba0
docs: mention that increasing ESP32_REV_MIN can reduce IRAM size 2022-11-03 11:08:01 +01:00
Aleksei Apaseev
06ac2166d6 tools: added idf.py coredump sub-command 2022-10-28 03:01:56 +00:00
morris
120daa67a7 Merge branch 'docs/update_external_ram' into 'master'
docs: update translation for external-ram

Closes DOC-3918

See merge request espressif/esp-idf!20761
2022-10-26 17:02:10 +08:00
Wang Zi Yan
c85a19edbf docs: update translation for external-ram 2022-10-26 17:02:10 +08:00
Zhang Xiao Yan
991ba2269a Merge branch 'docs/update_jtag_channel_esp32_esp32s2' into 'master'
docs: update jtag channel for esp32 and esp32s2

Closes DOC-3689

See merge request espressif/esp-idf!20172
2022-10-26 16:31:36 +08:00
morris
7c770a980d Merge branch 'docs/add_link_xtensa_isa_doc_to_hlinterrupts' into 'master'
docs: add the link of xtensa isa doc to hlinterrupts.rst

Closes DOC-229

See merge request espressif/esp-idf!20771
2022-10-25 19:51:04 +08:00
Linda
49da8c20f8 docs: add the link of xtensa isa doc to hlinterrupts.rst 2022-10-25 17:39:52 +08:00
KonstantinKondrashov
b5315aec16 partition_table: Improve an error msg and doc
Closes https://github.com/espressif/esp-idf/issues/9846
2022-10-20 17:18:01 +08:00
Zhang Xiao Yan
ba663acf97 Merge branch 'docs/update_warning_undefined_variable_build_system' into 'master'
docs: update warning on undefined variables in api-guides/build-system

Closes DOC-3812

See merge request espressif/esp-idf!20559
2022-10-19 15:23:22 +08:00
xueyunfei
bfaaa86775 Lwip:add TCP Fin2 timeout configuration 2022-10-18 15:40:43 +08:00
Marius Vikhammer
099b0b6421 Merge branch 'feature/c6_doc_build' into 'master'
docs: add support for building C6 docs

Closes IDF-5829

See merge request espressif/esp-idf!19721
2022-10-18 09:37:30 +08:00
Wan Lei
f98a37f571 Merge branch 'docs/add_flash_to_psram_feature' into 'master'
docs: add the flash content moved to psram feature

Closes IDF-5885

See merge request espressif/esp-idf!19908
2022-10-17 14:51:15 +08:00
Marius Vikhammer
ca4ad3ce7c docs: add support for building C6 docs 2022-10-13 04:39:16 +00:00
Linda
0a8a67ecd0 docs: update warning on undefined variables in api-guides/build-system 2022-10-13 10:35:22 +08:00
gaoxu
2cb2ff99af docs: add description about flash content moved to psram feature 2022-10-11 15:15:04 +08:00
Marius Vikhammer
d0e2a8d73c Merge branch 'contrib/github_pr_9943' into 'master'
Update build-system.rst (GitHub PR)

Closes IDFGH-8484

See merge request espressif/esp-idf!20519
2022-10-11 12:00:30 +08:00
Marius Vikhammer
6010064bfc docs: sync chinese translation of build-system.rst 2022-10-11 10:44:56 +08:00
Roland Dobai
40b48a5393 Merge branch 'tools/idf_py_size_output_file_opt' into 'master'
tools: Add --output-file argument to idf.py size commands

Closes IDF-5954

See merge request espressif/esp-idf!20354
2022-10-10 15:54:00 +08:00
Roland Dobai
e2d275a382 Merge branch 'fix/export_without_constraint_download' into 'master'
Tools: The Python dependency checker should not update the constraint file

Closes IDF-6010

See merge request espressif/esp-idf!20460
2022-10-10 15:39:09 +08:00
Uday M S
c7f31f9a5c
Update build-system.rst 2022-10-09 20:46:06 +05:30
Uday M S
b5250006a7
Update build-system.rst
Rearranged few lines of folder directory description
2022-10-09 15:06:50 +05:30
morris
7984552731 Merge branch 'docs/update_cn_trans_build_system' into 'master'
Docs: Update CN trans for build-system.rst

Closes DOC-3758

See merge request espressif/esp-idf!20402
2022-10-08 15:49:35 +08:00
Mo Fei Fei
b03cc11a92 Docs: Update CN trans for build-system.rst 2022-10-08 15:49:34 +08:00
Ivan Grokhotkov
8048d596a2
docs: remove duplicate "the" articles 2022-10-05 11:58:23 +02:00
Roland Dobai
d50f574a31 Tools: The Python dependency checker should not update the constraint file
The Python dependency checker called from the export scripts and before
build remains offline, i.e. it will use the previously downloaded
constraint file but won't download a newer version.

Related to https://github.com/espressif/esp-idf/pull/9328
2022-10-03 11:39:28 +02:00
Aditya Patwardhan
244f4ce1d9 protocomm: Enable security version 2 by default 2022-09-30 16:53:20 +05:30
Jakob Hasse
f33ac0a037 Merge branch 'feature/freertos_sim' into 'master'
FreeRTOS Single Core Simulator PoC

See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Mahavir Jain
56c04a4188
docs: update coredump guide to make stack size config generic 2022-09-28 20:41:01 +05:30
Jakob Hasse
bfbbd9d790 feat(freertos): Added FreeRTOS POSIX/Linux Simulator
* Added port layer from the FreeRTOS POSIX port, added
  additional port code for ESP-IDF.
* Created another hello world example using that POSIX
  port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
Djordje Nedic
09e61e8a23 tools: Add --output-file argument to idf.py size commands
This commit ads the corresponding --output-file option from idf_size.py to idf.py.

This is needed because piping the idf.py size output to a file would result in CMake output being present in the file as well.
2022-09-27 15:41:36 +02:00
Roland Dobai
d08898aabc Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
tools: fixed elf symbols load if gdbinit specified

Closes IDF-4991 and GCC-246

See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Krzysztof Budzynski
0cc6fef626 Merge branch 'bugfix/build_openocd_from_sources' into 'master'
docs: Provide instructions on how to resolve issue with 'raggedright' when building openocd from sources

See merge request espressif/esp-idf!20214
2022-09-23 12:32:54 +08:00
Michael (XIAO Xufeng)
eb290ecd12 Merge branch 'doc/usj_sw_reset_alive_bbpll_doc' into 'master'
usb_serial_jtag: fixed the docs that we can use usj in sleep modes

See merge request espressif/esp-idf!20096
2022-09-22 15:30:41 +08:00
Alexey Lapshin
fd2846c95e tools: add esp-rom-elfs version '20220823' 2022-09-21 22:39:03 +04:00
Michael (XIAO Xufeng)
a0bf87ee5d usb_serial_jtag: fixed the docs that we can use usj in sleep modes
Related to: https://github.com/espressif/esp-idf/issues/8507, https://github.com/espressif/esp-idf/issues/8884
2022-09-22 01:36:06 +08:00
Krzysztof
707d49e161 docs: Provide instructions on how to resolve issue with 'raggedright' when building openocd from sources 2022-09-20 18:27:17 +08:00
Jiang Jiang Jian
9d8d118397 Merge branch 'feature/add_mesh_support_macro' into 'master'
ble_mesh: docs: Remove BLE Mesh related reference for C2

Closes IDF-4215

See merge request espressif/esp-idf!19513
2022-09-20 11:06:25 +08:00
Marius Vikhammer
29830f609d Merge branch 'docs/misc_broken_link_fixes' into 'master'
docs: fixed misc broken links

See merge request espressif/esp-idf!20208
2022-09-19 10:58:58 +08:00
Marius Vikhammer
8540e7a772 docs: fixed misc broken links 2022-09-18 15:03:39 +08:00
wangjialiang
6e79d05814 ble_mesh: docs: Remove BLE Mesh related reference for C2 2022-09-16 19:39:51 +08:00
Linda
8d8326c446 docs: update jtag channel for esp32 and esp32s2 2022-09-15 18:34:08 +08:00
Alexey Lapshin
3c5c47e7bd Merge branch 'docs/update-esp-rom-elfs-link' into 'master'
docs: update link for ESP ROM ELF releases

Closes DOC-3045

See merge request espressif/esp-idf!19704
2022-09-14 15:47:24 +08:00
Alexey Lapshin
a9bd454529 tools: update esp32ulp-elf to v2.35_20220830
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-13 12:55:48 +04:00
morris
4c6c170b15 Merge branch 'staging/add_wrap_example' into 'master'
example: add an example to show how to wrap functions in IDF and bootloader

See merge request espressif/esp-idf!20005
2022-09-13 14:33:27 +08:00
Shang Zhou
be389496e1 docs: sync up CN and EN versions for build-system and partition-tables 2022-09-09 18:28:41 +08:00
Omar Chebib
6dfac0dd68 example: add an example to show how to wrap functions in IDF and bootloader
A section in the documentation has also been added to talk about the wrap feature of the linker.
2022-09-09 16:47:16 +08:00
Marius Vikhammer
572e79530c Merge branch 'bugfix/c2_skip_validate' into 'master'
bootloader: allow skip image validation on C2

Closes IDF-5827

See merge request espressif/esp-idf!19755
2022-09-06 14:21:15 +08:00
muhaidong
a3226bd32a docs: update wifi country code docs. 2022-09-03 20:31:37 +08:00
Alexey Lapshin
8abef173a1 docs: update link for ESP ROM ELF releases 2022-09-01 15:05:26 +04:00
Roland Dobai
84acc58d3c Merge branch 'fix/disable_idf_py_moinitor_hints' into 'master'
Tools: Disable idf.py hints for IDF Monitor

Closes IDFGH-8110

See merge request espressif/esp-idf!19782
2022-08-29 22:51:55 +08:00
Djordje Nedic
5ee663d592 tools: Add CSV support to idf_size.py
This adds CSV support to idf_size.py and idf.py size actions and using the --format argument which accepts 'text', 'json' or 'csv' as input.

idf_size.py --json argument is deprecated but left to avoid a breaking change.

For idf.py size actions OUTPUT_JSON environment variable set at configuration time is overriden at target build time if --format is used.

Additionally, this commit refactors big parts of code, unified usage of json_dict and manually generated dictionaries for textual output and improves code quality in many parts.
2022-08-26 15:34:21 +02:00
Krzysztof Budzynski
5c1044d84d Merge branch 'feature/docs-add-debugging-freertos-objects' into 'master'
docs: add debugging freertos objects

See merge request espressif/esp-idf!18357
2022-08-26 20:32:30 +08:00
Mo Fei Fei
fa49d63633 Docs: update the JTAG select eFuse description for S3 and C3 in configure-other-jtag.rst 2022-08-26 14:52:13 +08:00
Roland Dobai
ff38cb8e0d Tools: Disable idf.py hints for IDF Monitor
The feature will be re-enabled later after a proper fix for the
following Github issue.

Closes https://github.com/espressif/esp-idf/issues/9610
2022-08-25 14:53:41 +02:00
Marius Vikhammer
c36cd5238c bootloader: allow skip image validation on C2
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not supported on C2 due to
no RTC memory, but BOOTLOADER_SKIP_VALIDATE_ALWAYS should still be
supported.
2022-08-25 16:51:44 +08:00
Zhang Xiao Yan
d20a4da56a Merge branch 'docs/update_name_length_of_partition_table' into 'master'
docs: update name length of partition tables

Closes DOC-3470

See merge request espressif/esp-idf!19355
2022-08-22 17:36:13 +08:00
Linda
3fa90c8e5d docs: update name length of partition tables 2022-08-18 17:42:28 +08:00
Roland Dobai
152ce8884b Tools: Fix idf.py hints to be enabled all the time and being able to disable them 2022-08-15 13:01:39 +02:00
Mo Fei Fei
694c54595b Docs: update CN trans for several docs in api-guides 2022-08-10 18:55:39 +08:00
Shang Zhou
a17b207e4f docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c 2022-08-09 11:45:34 +08:00
wangjialiang
4720af95ec ble_mesh: doc: Restore missing ble mesh videos 2022-08-04 16:32:47 +08:00
Shubham Kulkarni
1bb1b70e0f docs: Add documentation for define extra partition subtypes through build system 2022-08-03 05:18:37 +00:00
David Čermák
8d62485a12 Merge branch 'feat/lwip_dhcps_append_opts' into 'master'
lw-ip/dhcpserver: Support for adding extra opts

Closes IDFGH-973

See merge request espressif/esp-idf!19115
2022-07-29 14:02:20 +08:00
Alexey Lapshin
42a22f149a docs: add debugging freertos objects 2022-07-27 11:36:14 +04:00
David Cermak
b5d13b9837 lwip/dhcpserver: Support for adding extra opts
This enables users appending an extra, user defined options in dhcp
server messages. Example of adding captive_portal option (160) to dhcp
offer message is provided:
* Add idf-lwip hook file (project makefile):
  idf_component_get_property(lwip lwip COMPONENT_LIB)
  target_compile_options(${lwip} PRIVATE "-I${PROJECT_DIR}/main")
  target_compile_definitions(${lwip} PRIVATE "-DESP_IDF_LWIP_HOOK_FILENAME=\"add_captive_portal.h\"")
* Implement appending (add_captive_portal.h):
  #pragma once
  #define LWIP_HOOK_DHCPS_POST_APPEND_OPTS(netif, dhcp, state, pp_opts) \
  if ((state)==DHCPOFFER) { *(pp_opts) = append_captive_portal_uri(*(pp_opts)); }
  static inline uint8_t *append_captive_portal_uri(uint8_t *optptr)
  {
    const static uint8_t DHCP_OPTION_CAPTIVE_PORTAL=160;
    const static char CAPTIVE_PORTAL_URI[]="my_uri";
    int size = sizeof(CAPTIVE_PORTAL_URI) - 1;
    *optptr++ = DHCP_OPTION_CAPTIVE_PORTAL;
    *optptr++ = size;
    for(int i = 0; i < size; ++i) {
        *optptr++ = CAPTIVE_PORTAL_URI[i];
    }
    return optptr;
  }

Merges https://github.com/espressif/esp-idf/pull/3308
2022-07-26 07:09:22 +00:00
daiziyan
b995b584bd docs: translated removed-components and build-system 2022-07-26 14:55:01 +08:00
Wang Fang
83a0cd33ce docs: updated documents related to wakeup source, ulp, flash-encryption and memory types 2022-07-25 10:57:40 +08:00
Darian
0570c5db1a Merge branch 'bugfix/freertos_xTaskIncrementTick' into 'master'
freertos: Fix xTaskIncrementTick() and xTaskResumeAll()

Closes IDF-4698 and IDF-4705

See merge request espressif/esp-idf!17204
2022-07-21 08:14:30 +08:00
Darian Leung
db26ff2503 freertos: Fix vTaskSuspendAll() and xTaskResumeAll()
This commit fixes vTaskSuspendAll() and xTaskResumeAll() in the following ways.

- For vTaskSuspendAll()
    - Sync function source code with upstream single core version
    - Clearly mark IDF additions
- For xTaskResumeAll()
    - Sync function source code with upstream single core version
    - Clearly mark IDF additions
    - Fix bug where cores other than core 0 were allowed to unwind pended ticks
2022-07-20 11:32:10 +08:00
Darian Leung
7a4e1fee99 freertos: Fix xTaskIncrementTick()
Previously, xTaskIncrementTick() would always trigger a yield (i.e., return pdTRUE)
when called on core 1. This would mean core 1 would call vTaskSwitchContext() on
every tick, leading to uneccesary CPU overhead.

This commit fixes xTaskIncrementTick() in the following ways:

- Clearly mark IDF additions in xTaskIncrementTick()
- Moved esp_vApplicationTickHook() to be called direclty in xPortSysTickHandler() in order to
  simplify xTaskIncrementTick().
- Only core 0 calls xTaskIncrementTick() in order to simplify the function's logic. Core 0 is
  solely responsible for managing xTickCount and xPendedTicks
- All other cores call xTaskIncrementTickOtherCores() instead which is a simplified version of
  xTaskIncrementTick() and handles the following:
    - Check if core 0 has unblocked a higher priority task to run
    - Check if the current core requires time slicing
    - Call vApplicationTickHook()
2022-07-20 11:31:50 +08:00