Commit Graph

955 Commits

Author SHA1 Message Date
linruihao
c57f0f45da 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-23 17:01:14 +08:00
Kapil Gupta
443842fd9d fix(wifi): Add support to move supplicant BSS to external memory 2024-01-27 11:15:10 +05:30
David Čermák
616b881b91 Merge branch 'bugfix/lwip_dns_docs_v5.0' into 'release/v5.0'
fix(lwip): Document DNS limitation in lwIP (v5.0)

See merge request espressif/esp-idf!27563
2023-12-22 04:43:37 +08:00
Jiang Jiang Jian
c74c15a92f Merge branch 'docs/Separate_low-power_documents_v5.0' into 'release/v5.0'
docs:separate low power documents (backport v5.0)

See merge request espressif/esp-idf!28020
2023-12-21 11:11:51 +08:00
Krzysztof Budzynski
d0a89f848e Apply 2 suggestion(s) to 2 file(s) 2023-12-20 10:57:07 +08:00
wangtao@espressif.com
a5db7c63ea docs:Separate low-power documents 2023-12-20 10:56:51 +08:00
David Cermak
ee02d4d51b fix(lwip): Document DNS limitation in lwIP
* Add a note that DNS server config is global in lwIP
* Add a section about defining LWIP config macros from CMake
* Mention the DNS limitation in ESP-IDF additions to lwIP
* Update CN for lwIP DNS limitation

Co-Authored-By: Wang Ziyan <wangziyan@espressif.com>
2023-12-01 08:47:16 +01:00
Frantisek Hrbata
13e4c1a9e7 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-12-01 08:31:06 +01:00
liuning
728cd2489a feat(esp_wifi): support ps-none mode at coexist 2023-10-31 20:38:17 +08:00
Jiang Guang Ming
d5fda4a286 docs: add the description of CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL 2023-10-26 21:00:39 +08:00
Shen Weilong
6875e2b7d0 feat(bt): Frees BLE memory when no longer in use
It will free libble.a & libbt all txt, data and bss segment memory.
          This memory is combined into one large memory and put into the heap
          pool.
2023-10-24 06:04:39 +00:00
Alexey Gerenkov
d2b9326df1 Merge branch 'bugfix/docs_hw_breakpoints_num_v5.0' into 'release/v5.0'
fix(docs/jtag): Fix hard-coded HW breakpoints/watchpoints number (v5.0)

See merge request espressif/esp-idf!26501
2023-10-23 20:16:27 +08:00
Shreyas Sheth
79e55b6e92 docs(wifi): Update wifi and wifi security documentation and bugfixes
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
9. Fix sta connecting with wpa security in enterprise mode
2023-10-17 14:01:18 +05:30
Nic Ballinger
3229216527 fix(docs/jtag): Fix hard-coded HW breakpoints/watchpoints number
Closes https://github.com/espressif/esp-idf/pull/11986
2023-10-16 17:33:48 +03:00
Ondrej Kosta
acf5b6eccb docs(esp_eth): added Ethernet to Improving Network Speed section 2023-09-26 13:29:37 +00:00
Jiang Jiang Jian
aedd7fe002 Merge branch 'docs/update_multi_antenna_switch_docs_v5.0' into 'release/v5.0'
Docs/update multi antenna switch docs v5.0(Backport v5.0)

See merge request espressif/esp-idf!25819
2023-09-21 10:53:14 +08:00
Jiang Jiang Jian
be49757cbf Merge branch 'contrib/github_pr_9694_v5.0' into 'release/v5.0'
add low power doc and picture (GitHub PR)(backport v5.0)

See merge request espressif/esp-idf!25591
2023-09-21 10:37:38 +08:00
Jiang Jiang Jian
0b4adebda5 Merge branch 'feature/configurable_wpa2_ent_v5.0' into 'release/v5.0'
Make enterprise support configurable to save binary size.(v5.0)

See merge request espressif/esp-idf!25557
2023-09-21 10:37:20 +08:00
muhaidong
d04b4e836b esp_wifi: update multi antenna switch docs 2023-09-07 14:43:29 +08:00
wangtao
eb25e92584 backport for v5.0 delete esp32c6 info 2023-08-29 11:48:52 +08:00
wang tao
86310135f6 add low power doc and picture
Merges https://github.com/espressif/esp-idf/pull/9694
2023-08-28 14:23:09 +08:00
aditi_lonkar
ff523686b5 esp_wifi: Make enterprise support configurable to save binary size. 2023-08-25 11:14:49 +05:30
Shang Zhou
024c311475 docs: Update CN translation for get-started/index.rst 2023-08-23 11:21:23 +02:00
radim.karnis
4cafb6bfa8 docs(idf-tools): Add uninstallation instructions 2023-08-23 11:21:23 +02:00
Jiang Guang Ming
498d012510 docs: add new mbedtls configuration option in optimize size 2023-08-09 16:54:43 +08:00
morris
2f88ec6824 Merge branch 'docs/add_Chinese_translation_for_api-guides_hardware-abstraction.rst_backport_v5.0' into 'release/v5.0'
docs: provide CN tranlsation for api-guides/hardware-abstraction.rst (backport v5.0)

See merge request espressif/esp-idf!25044
2023-08-04 16:44:32 +08:00
Cai Xin Ying
8a187da064 provide CN translation for api-guides/openthread.rst (backport v5.0) 2023-08-01 13:15:17 +08:00
caixinying-git
832f1f9f0b docs: provide CN tranlsation for api-guides/hardware-abstraction.rst 2023-07-28 14:38:20 +08:00
Roland Dobai
b04c2f6f9b Merge branch 'docs/add_Chinese_translation_for_api-guides/tools/idf-py_backport_v5.0' into 'release/v5.0'
docs: add CN translation for api-guides/tools/idf-py.rst (backport v5.0)

See merge request espressif/esp-idf!24187
2023-07-11 16:36:38 +08:00
Cai Xin Ying
6fa3982408 docs: add CN translation for api-guides/tools/idf-py.rst (backport v5.0) 2023-07-11 16:36:36 +08:00
Krzysztof Budzynski
3a7e3fbbf6 Merge branch 'contrib/github_pr_11743_v5.0' into 'release/v5.0'
docs(jtag): Update chip revisions to follow ESP32-C3 errata (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24590
2023-07-11 16:10:33 +08:00
Krzysztof Budzynski
9f0be63126 Merge branch 'docs/add_Chinese_translation_for_linux-host-requirements.rst_and_external-ram-esp32-notes.rst_backport_v5.0' into 'release/v5.0'
docs: provide CN translation for linux-host-requirements.rst and external-ram-esp32-notes.rst (backport v5.0)

See merge request espressif/esp-idf!24490
2023-07-11 15:21:33 +08:00
Cai Xin Ying
80db9fb3c6 docs: provide CN translation for linux-host-requirements.rst and external-ram-esp32-notes.rst (backport v5.0) 2023-07-11 15:21:33 +08:00
Marius Vikhammer
2ea42539a6 Merge branch 'docs/update_code_how_to_configure_multiple_antennas_of_wifi_v5.0' into 'release/v5.0'
docs: update code of how to configure multiple antennas of wifi (v5.0)

See merge request espressif/esp-idf!24457
2023-07-11 15:08:06 +08:00
Marius Vikhammer
378f493851 Merge branch 'docs/fix_typo_in_api_guides_usb_otg_console_v5.0' into 'release/v5.0'
docs: fix a typo in api-guides/usb-otg-console (v5.0)

See merge request espressif/esp-idf!24454
2023-07-11 15:06:56 +08:00
Xabi Crespo
bfddc02963 docs(jtag): Update chip revisions to follow ESP32-C3 errata (GitHub PR) 2023-07-04 19:29:52 +08:00
Vikram
8390818e7e Added description to disable coredump logs to ram_usage.rst
Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-06-29 11:51:03 +05:30
Linda
1dbca70b62 docs: update code of how to configure multiple antennas of wifi 2023-06-28 14:43:45 +08:00
Linda
a42b4da02d docs: fix a typo in api-guides/usb-otg-console 2023-06-28 14:40:53 +08:00
Jiang Jiang Jian
2798527b0b Merge branch 'bugfix/fix_some_wifi_bugs_230612_v5.0' into 'release/v5.0'
Fixed some wifi bugs 230612 v5.0 (Backport v5.0)

See merge request espressif/esp-idf!24172
2023-06-14 01:10:29 +08:00
Armando
156da3a22c doc: update s3 psram vaddr max range size 2023-06-13 10:13:57 +08:00
muhaidong
811e5e06d2 docs: update ftm docs 2023-06-12 15:24:40 +08:00
muhaidong
0d2271e539 docs: add some details for wifi scan description 2023-06-12 15:24:20 +08:00
Jiang Jiang Jian
838850abab Merge branch 'feature/example_deep_sleep_wake_stub_backport_v5.0' into 'release/v5.0'
example: add deepsleep_wake stub example (backport v5.0)

See merge request espressif/esp-idf!23414
2023-06-12 11:07:59 +08:00
David Čermák
b1a3e6cd58 Merge branch 'docs/esp_protocols_docs_migration_v5.0' into 'release/v5.0'
docs: migrated documentation from github.io to docs.espressif.com (v5.0)

See merge request espressif/esp-idf!23318
2023-05-17 20:28:38 +08:00
Roland Dobai
b08267f3b1 Merge branch 'monitor_win_color-v5.0' into 'release/v5.0'
bug(idf_monitor): fix color on windows with hints (v5.0)

See merge request espressif/esp-idf!23348
2023-05-17 18:39:32 +08:00
zhiweijian
35170b7733 fix blufi doc error 2023-05-11 20:14:50 +08:00
Marius Vikhammer
124a43e9ec build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-10 09:56:15 +08:00
jiangguangming
554400dbc5 docs: add wake stub example link to deep-sleep-stub.rst 2023-05-04 16:46:15 +08:00
Peter Dragun
5746495450 bug(idf_monitor): fix color on windows with hints
Closes https://github.com/espressif/esp-idf/issues/9610
2023-04-24 11:25:32 +02:00