Commit Graph

978 Commits

Author SHA1 Message Date
Wei Yu Han
ef3548fc51 docs(ble): Added BLE Qualification Information to API Guides (v5.0) 2024-12-18 10:41:30 +08:00
Sarvesh Bodakhe
8058b97326 fix(wifi): Fix wrong wifi reason codes reported on station and softAP
- Fix wrong reason code reported when softAP issues a disconnect for station
- Fix wrong reason code reported when association timeout happens at station
- Deprecate enums WIFI_REASON_ASSOC_EXPIRE, WIFI_REASON_NOT_AUTHED, WIFI_REASON_NOT_ASSOCED
  and use WIFI_REASON_DISASSOC_DUE_TO_INACTIVITY,
  WIFI_REASON_CLASS2_FRAME_FROM_NONAUTH_STA,
  WIFI_REASON_CLASS3_FRAME_FROM_NONASSOC_STA respectively
- Update wifi documentation related to reason codes
2024-12-10 22:39:21 +05:30
Jiang Jiang Jian
fee009d9c5 Merge branch 'change/improve_some_wifi_releated_introduction_v50' into 'release/v5.0'
change(wifi):improve some wifi releated introduction v50

See merge request espressif/esp-idf!34280
2024-10-28 13:41:36 +08:00
Mahavir Jain
060aefc945 Merge branch 'feat/mbedtls_size_optimization_v5.0' into 'release/v5.0'
Fix the increase in build size of mbedtls while upgrading to v3.x (v5.0)

See merge request espressif/esp-idf!34255
2024-10-28 11:17:26 +08:00
Alexey Gerenkov
d7bb0f27f6 Merge branch 'jtag_doc_update_v5.0' into 'release/v5.0'
docs(jtag): update OpenOCD related sections (v5.0)

See merge request espressif/esp-idf!34401
2024-10-25 19:27:25 +08:00
wangtao@espressif.com
f33707bc89 change(wifi):improve some wifi releated introduction 2024-10-25 19:22:33 +08:00
Erhan Kurubas
5928579960 docs(jtag): update OpenOCD related sections 2024-10-23 20:58:47 +02:00
Island
2098c371cc Merge branch 'docs/add_ble_get_started_eng_2024102310_v5.0' into 'release/v5.0'
Docs: Added BLE English version of BLE Get Started (v5.0)

See merge request espressif/esp-idf!34383
2024-10-23 18:55:39 +08:00
Wei Yu Han
c0b22cb37b Merge branch 'docs/add_ble_get_started_eng' into 'master'
Docs: Added BLE English version of BLE Get Started

See merge request espressif/esp-idf!34013

(cherry picked from commit 35fd041288)

42601a7a docs(ble): Added ENG version of ble-introduction.rst
615282c4 docs(ble): Added ENG version of ble-device-discovery.rst
645e68f5 docs(ble): Added initial ENG version of ble-device-discovery.rst
d2d95a52 docs(ble): Added ENG version of ble-data-exchange.rst
00ca4dc7 docs(ble):Updated Details table in ble-device-discovery.rst
8e03c200 fix(ble): Removed trailing white space, and fixed some format issues
5b304485 docs(ble):Fixed a indentation in ble-data-exchange.rst
b4c51e7b docs(ble): Deleted some chinese character in ble-data-exchange.rst ENG version
d01d7efe docs(ble):Revised some expression in ENG version of BLE Get Started
a24762c5 docs(ble): Removed a trailing whitespace in ble-introduction.rst
afbe5a1f Apply 44 suggestion(s) to 4 file(s)
4ddab725 docs(ble): Fixed a description in ble-introduction.rst
203dfa03 Apply 5 suggestion(s) to 3 file(s)

Co-authored-by: Island <island@espressif.com>
2024-10-23 10:16:47 +08:00
Fu Hanxi
233429b4a3 ci: replace internal clang-tidy runner with the pypi project 2024-10-22 13:23:21 +02:00
harshal.patil
47609faf77 fix(mbedtls): Fix the increase in build size of mbedtls when upgrading to v3.x 2024-10-17 14:56:05 +05:30
Island
378dd55e3d Merge branch 'docs/update_ble_feature_support_status_v5.0' into 'release/v5.0'
docs(ble): Updated a feature name in feature status table v5.0

See merge request espressif/esp-idf!34064
2024-10-12 14:26:41 +08:00
Wei Yu Han
8fd56dc107 docs(ble): Added BLE Get Started (v5.0) 2024-10-12 14:25:47 +08:00
Wei Yu Han
d3d5a1b2ae docs(ble): Updated a feature name in feature status table 2024-10-10 10:09:53 +08:00
Chen Jichang
58c3ee2c89 feat(psram): add psram noinit segment support on S2/S3/P4/C5
Closes https://github.com/espressif/esp-idf/issues/14253
2024-09-12 10:40:48 +08:00
Island
af66e74fb4 Merge branch 'docs/add_ble_feature_status_table_v5.0' into 'release/v5.0'
docs(ble): Added BLE feature support status (v5.0)

See merge request espressif/esp-idf!32925
2024-08-26 14:02:45 +08:00
Yuhan Wei
aa06bdb836 docs(ble): Removed original blufi.rst 2024-08-22 09:52:45 +08:00
Linda
17de132b94 docs: delete user guides of ESP32-DevKitC, ESP-WROVER-KIT and ESP32-PICO-DevKitM-2 2024-08-20 14:36:20 +08:00
Yuhan Wei
742f28cc88 docs(ble): Updated ble fast provision example link in ble-mesh-faq.rst 2024-08-19 17:23:39 +08:00
Yuhan Wei
f399708eb9 docs(ble): Updated the support status for some NimBLE features 2024-08-19 09:43:57 +08:00
Yuhan Wei
c162aa01b4 docs(ble): Added BLE feature support status 2024-08-16 17:56:14 +08:00
Linda
a29b71d96a docs: format AP basic configuration tables in wifi.rst 2024-07-02 15:13:10 +08:00
zhangyanjiao
b1c0260dfd docs(wifi): update the docmentation for sniffer API
Closes https://github.com/espressif/esp-idf/issues/10740
2024-04-17 16:19:54 +08:00
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