Commit Graph

3404 Commits

Author SHA1 Message Date
Roland Dobai
8dddb8b596 Revert "Merge branch 'feature/clippy' into 'master'"
This reverts merge request !16998
2022-06-29 16:46:47 +08:00
Mahavir Jain
9ee26516a7 Merge branch 'fix/update_docs_for_hmac_api' into 'master'
esp_hmac: Fix documentation for API and Programming Guide

See merge request espressif/esp-idf!18703
2022-06-29 16:06:33 +08:00
Roland Dobai
2e817c4426 Merge branch 'feature/clippy' into 'master'
idf.py: Add automated hints on how to resolve errors

Closes IDF-4511, IDF-4512, and IDF-4631

See merge request espressif/esp-idf!16998
2022-06-29 15:44:55 +08:00
wang tao
2e036ea173 add esp32c2 iperf throughput 2022-06-29 14:55:22 +08:00
morris
85ab06440b Merge branch 'bugfix/remove_dc_as_cmd_phase' into 'master'
spi_lcd: don't support dc_as_cmd_phase

Closes IDFGH-7026

See merge request espressif/esp-idf!18694
2022-06-29 10:50:36 +08:00
Ondrej Kosta
ed7afd8b73 Merge branch 'feature/eth_phy_common' into 'master'
ESP PHY structure refactor

Closes IDF-5149

See merge request espressif/esp-idf!18158
2022-06-28 23:25:12 +08:00
Aditya Patwardhan
c6fe3ba7c6 esp_hmac: Fix documentation for API and Programming Guide 2022-06-28 12:47:28 +00:00
Aditya Patwardhan
28af19f6f4 Merge branch 'fix/fix_protocomm_documentation' into 'master'
protocomm.rst: Fix documentation regarding Security Version 0

See merge request espressif/esp-idf!18722
2022-06-28 20:43:00 +08:00
Kevin (Lao Kaiyao)
47266d7736 Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
touch_sensor: add description to distinguish the API on different target

Closes IDFGH-7499

See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
Aditya Patwardhan
d736cd560a protocomm.rst: Fix documentation regarding Security Version 0 2022-06-28 15:13:52 +05:30
morris
489d14cf55 spi_lcd: don't support dc_as_cmd_phase
The current SPI hardware can't support 9bit SPI data format very well
(i.e. inserting an extra bit before each data byte)

Closes https://github.com/espressif/esp-idf/pull/8644
2022-06-28 17:11:31 +08:00
Armando (Dou Yiwen)
4dbd2c7e30 Merge branch 'refactor/move_spi_necessary_private_headers' into 'master'
spi: move spi_common_internal to esp_private

See merge request espressif/esp-idf!18146
2022-06-28 15:51:22 +08:00
laokaiyao
d5e55e0563 touch_sensor: add description to distinguish the API on different target
Closes https://github.com/espressif/esp-idf/issues/9067
2022-06-28 02:20:43 +00:00
Mahavir Jain
26514959dd
docs: secure-boot-v2: remove incorrect note about bootloader re-flash
In secure-boot-v2 scheme, one can always regenerate signature using
secure boot signing key and re-flash either bootloader or application.
2022-06-27 14:24:42 +05:30
Armando
f31d88e3fe spi: move spi_common_internal to esp_private 2022-06-24 19:12:13 +08:00
Ondrej Kosta
43f3904304 esp_eth: IEEE 802.3 PHY MII Management Interface functionality grouped to one common file 2022-06-24 05:51:44 +00:00
simon.chupin
c6a6eaeb60 idf.py: Add automated hints on how to resolve errors 2022-06-23 14:09:34 +02:00
Cao Sen Miao
3a820462ac temperature_sensor: Add temperature sensor support for ESP32-C2 2022-06-23 15:36:43 +08:00
weitianhua
dd0bb0181c Add migration doc for IDF 5.0 2022-06-22 15:34:05 +08:00
Darian Leung
c2e098c10e bluedroid: Fix breaking change typos
This commit fixes typos that are breaking changes (i.e., macros, types, and functions)
in the bluedroid API. Migration notes for v5.0 have also been added.

Closes https://github.com/espressif/esp-idf/issues/6887
2022-06-21 19:07:25 +08:00
Zim Kalinowski
303681a9c9 Merge branch 'docs/clarify_esp_timer_name' into 'master'
doc: added name 'ESP Timer' to doc for clarification

See merge request espressif/esp-idf!18586
2022-06-20 13:01:40 +08:00
Jakob Hasse
d7cceabbb4 Merge branch 'feature/upgrade_c_cxx_standards' into 'master'
build system: use C17 and C++2a by default

Closes IDF-1499, IDFGH-1788, IDFGH-2781, and IDFGH-7617

See merge request espressif/esp-idf!18371
2022-06-20 12:24:08 +08:00
Jakob Hasse
0d15ee6c12 refactor(doc): added name 'ESP Timer' to doc for clarification 2022-06-20 11:15:48 +08:00
morris
06eb494a61 pcnt: support set the level of virtual IO 2022-06-18 15:00:37 +08:00
Ivan Grokhotkov
3973db7664
soc: make register access macros compatible with C++20
In C++20, using the result of an assignment to a 'volatile' value is
deprecated.

Breaking change: register "setter" or modification macros can no
longer be used as expressions.

Closes https://github.com/espressif/esp-idf/issues/9170
2022-06-17 18:09:22 +02:00
Aditya Patwardhan
6222d43984 protocomm: Added option to enable/disable supported security versions. 2022-06-17 13:16:20 +00:00
Aditya Patwardhan
0b88785286 provisioning: Added documentation for SRP6a based Security Scheme 2 2022-06-17 13:16:20 +00:00
Armando (Dou Yiwen)
0b80546f8e Merge branch 'feature/new_esp_psram_component' into 'master'
esp_psram: new esp psram component

Closes IDF-4318, IDF-4382, IDF-4841, and IDFGH-7192

See merge request espressif/esp-idf!18050
2022-06-15 19:16:56 +08:00
Roland Dobai
62fe93f9ad Merge branch 'fix/flash_detect_new_project' into 'master'
tools: Rename the flash size detection kconfig option

Closes IDFGH-7593

See merge request espressif/esp-idf!18505
2022-06-15 19:14:38 +08:00
Kevin (Lao Kaiyao)
bb30edf35a Merge branch 'refactor/i2s_driver_rewrite' into 'master'
🔨 i2s: i2s driver-NG

Closes IDF-3714 and IDF-4592

See merge request espressif/esp-idf!15175
2022-06-15 14:22:58 +08:00
Jiang Jiang Jian
e4a70f311a Merge branch 'docs/improve_blufi_docs' into 'master'
docs: update BluFi documentation regarding misleading contents

Closes DOC-2836 and DOC-2701

See merge request espressif/esp-idf!18393
2022-06-15 11:27:21 +08:00
laokaiyao
28b8fc6a7e i2s: update documents for driver-NG 2022-06-15 10:30:04 +08:00
laokaiyao
0fe3bb8ab7 i2s: update examples and unit-tests 2022-06-15 10:29:06 +08:00
laokaiyao
621d0aa942 i2s: Introduced a brand new driver 2022-06-15 10:29:06 +08:00
Tomas Rezucha
e8d172eb87 Merge branch 'docs/esp_bsp' into 'master'
docs: Add information about BSPs

See merge request espressif/esp-idf!18096
2022-06-14 21:57:07 +08:00
Roland Dobai
d56c578ddb tools: Rename the flash size detection kconfig option
9c46c98b4c have changed the default value
of ESPTOOLPY_FLASHSIZE_DETECT. As the side effect, existing
projects (having the option still enabled) started to discard the SHA256 digest.

Rename the ESPTOOLPY_FLASHSIZE_DETECT option so existing projects would
have the value disabled by default.

Closes https://github.com/espressif/esp-idf/issues/9148
2022-06-14 15:56:20 +02:00
Darian
e213e66ba3 Merge branch 'refactor/esp_hw_support_cpu' into 'master'
esp_hw_support: Add new esp_cpu.h abstraction

Closes IDF-4769

See merge request espressif/esp-idf!17091
2022-06-14 21:11:30 +08:00
Shang Zhou
b20aa0612b Merge branch 'docs/translate_spi_slave_and_spi_master' into 'master'
docs: provide CN translation for spi_slave and spi_features

Closes DOC-2921 and DOC-3179

See merge request espressif/esp-idf!18338
2022-06-14 18:53:01 +08:00
Tomas Rezucha
11fd801ed9 docs: Add information about BSPs 2022-06-14 12:09:21 +02:00
Michael (XIAO Xufeng)
7b8e5888ca Merge branch 'refactor/add_clk_tree_ll' into 'master'
clk_tree: Stage3 - HAL for clock subsystem

Closes IDF-4334

See merge request espressif/esp-idf!18270
2022-06-14 17:16:29 +08:00
Armando
38e5043ae8 esp_psram: new psram component 2022-06-14 15:44:27 +08:00
Darian Leung
149872131a hal: Move dedicated GPIO LL and HAL
This commit moves the dedicated GPIO LL and HAL functions from
cpu_ll.h to dedic_gpio_cpu_ll.h.

- cpu_ll_enable_cycle_count() has also been removed due to lack of feasible usage scenarios
2022-06-14 14:38:29 +08:00
Shang Zhou
2cfce11fb8 docs: provide CN translation for spi_slave and spi_features 2022-06-14 14:31:42 +08:00
Darian Leung
61eb7baa6b esp_hw_support: Add esp_cpu.h abstraction and API
This commit updates the esp_cpu.h API. The new API presents a new
abstraction of the CPU where CPU presents the following interfaces:

- CPU Control (to stall/unstall/reset the CPU)
- CPU Registers (to read registers commonly used in SW such as SP, PC)
- CPU Interrupts (to inquire/allocate/control the CPUs 32 interrupts)
- Memory Port (to configure the CPU's memory bus for memory protection)
- Debugging (to configure/control the CPU's debugging port)

Note: Also added FORCE_INLINE_ATTR to the DoxyFile in order to pass doc
        builds for esp_cpu.h
2022-06-14 14:30:58 +08:00
Shang Zhou
efdfb7ec61 docs: update BluFi documentation regarding misleading contents 2022-06-14 14:18:13 +08:00
morris
066289fbd0 Merge branch 'feature/doc_update_efuse' into 'master'
doc(efuse): Updates efuse article

Closes IDF-4223, IDF-4895, IDFGH-7228, and IDFGH-7216

See merge request espressif/esp-idf!18349
2022-06-14 10:50:51 +08:00
Konstantin Kondrashov
32b5307016 Merge branch 'feature/reset_rtc_wdt_in_bootloader_common_erase_part_type_data' into 'master'
bootloader: Fix RTC_WDT reset in bootloader_common_erase_part_type_data when a long erase

Closes IDFGH-7125

See merge request espressif/esp-idf!17841
2022-06-13 20:54:04 +08:00
KonstantinKondrashov
ada08619cf doc: Adds RTC Watchdog Timeout article in fatal errors 2022-06-13 17:54:10 +08:00
songruojing
6f6251f369 hal: Limit the HAL_ASSERTION_LEVEL in bootloader to be no larger than 1 (i.e. silent) 2022-06-13 17:47:51 +08:00
daiziyan
3a2da53e2a docs: add translation for dedic_gpio 2022-06-13 15:14:25 +08:00
Martin Vychodil
7f884dc966 Merge branch 'fix/ff_sdmmc_status_check_optional' into 'master'
fatfs: Add option to mock ff_sdmmc_status output to increase IO speed

Closes IDF-4788

See merge request espressif/esp-idf!18300
2022-06-13 14:42:12 +08:00
Matus Fabo
384d61f156 remove: sdspi_host deprecated api
add: migration guide documentation
2022-06-12 20:07:27 +00:00
Roland Dobai
724b4121b9 Merge branch 'feature/enable-lfn-for-fatfsparse' into 'master'
fatfs: enable long file names for fatfsparse.py

Closes IDF-4992

See merge request espressif/esp-idf!18212
2022-06-10 16:22:45 +08:00
morris
5daa73d236 Merge branch 'refactor/mcpwm_hal_driver_doc' into 'master'
mcpwm: don't support disable carrier one-shot pulse

Closes IDFGH-7406

See merge request espressif/esp-idf!18295
2022-06-10 10:28:59 +08:00
Adam Múdry
8af790da45 fatfs: Add mock option to ff_sdmmc_status function to increase IO speed
Adds `disk_status_check_enable` field to `esp_vfs_fat_mount_config_t` struct to control if ff_sdmmc_status is mocked or not.
2022-06-09 20:09:32 +00:00
Shang Zhou
6b9d92c1d6 docs: provide CN translation for fatfsparse.py 2022-06-09 15:51:03 +02:00
Martin Gaňo
0f160c8f11 fatfs: enable long file names for fatfsparse.py 2022-06-09 15:51:03 +02:00
Dai Zi Yan
b264d46d20 Merge branch 'docs/update_build_system' into 'master'
docs: udpate CN translation for build-system

See merge request espressif/esp-idf!18378
2022-06-09 14:09:07 +08:00
Jiang Jiang Jian
20ac5a8464 Merge branch 'docs/update_wifi_csi_sub_carrier_index_doc' into 'master'
docs:update wifi sci subcarrier index docs

Closes WIFI-3215

See merge request espressif/esp-idf!18125
2022-06-09 10:52:38 +08:00
daiziyan
e6a7fee2b4 docs: udpate CN translation for build-system 2022-06-08 19:40:04 +08:00
Dai Zi Yan
f173016d86 Merge branch 'docs/translate_dfu' into 'master'
docs: translate dfu.rst

Closes DOC-1958

See merge request espressif/esp-idf!18238
2022-06-08 17:33:47 +08:00
Fu Hanxi
566af729c5 docs: update pytest installation 2022-06-08 08:19:35 +08:00
KonstantinKondrashov
7b9d1eaf31 doc(efuse): Updates efuse article 2022-06-07 20:44:27 +08:00
muhaidong
1b496ed9e2 docs: add WIFI_EVENT_STA_BEACON_TIMEOUT event docs. 2022-06-07 17:59:40 +08:00
daiziyan
7344db748f docs: translate dfu.rst 2022-06-07 11:09:30 +08:00
muhaidong
9be681be35 docs: update wifi beacon timeout docs 2022-06-06 17:00:26 +08:00
Dai Zi Yan
e94435df22 Merge branch 'docs/update_idf_monitor' into 'master'
docs: update CN translation for idf-monitor.rst

Closes DOC-3082

See merge request espressif/esp-idf!18248
2022-06-06 15:45:24 +08:00
morris
aa3ddbc3c6 Merge branch 'test/enable_c2_target_tests' into 'master'
ci: enable target tests for ESP32-C2

Closes IDF-4989

See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
Anton Maklakov
e0d2e186bf Merge branch 'feature/toolchain_2022r1' into 'master'
Bring 2022r1-RC1 toolchains, GCC 11

Closes GCC-180, GCC-178, IDFGH-5559, IDFGH-6180, IDFGH-5101, and IDFGH-4380

See merge request espressif/esp-idf!16797
2022-06-03 16:05:49 +08:00
Mu Hai Dong
2905223889 Merge branch 'bugfix/fix_country_policy_issue' into 'master'
esp_wifi: fix country policy issue

Closes WIFI-3908, WIFI-4287, and WIFI-4279

See merge request espressif/esp-idf!17366
2022-06-02 20:01:07 +08:00
muhaidong
06fb6b2e32 esp_wifi: fix country policy issue
1. Fix not update phy according to country code.
    2. Update regdomain max channel according to country info from nvs and or AP.
    3. Change nvs default country from "CN" to "01".
    4. Channel 14 is allowed only 11b mode.
    5. Remove csa when switch channel from/to 14 channel.
    6. Update phy mode nvs when softap channel from 14 to other.
    7. Fix the bug that check whether channel parameter is valid.

Docs: change default country from "CN" to "01"
2022-06-02 16:15:48 +08:00
morris
3247335770 mcpwm: don't support disable carrier first pulse
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.

Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
muhaidong
af04a58633 docs: modify some Chinese expressions related to CSI 2022-06-02 11:55:48 +08:00
muhaidong
ce37a2f205 docs:update wifi sci subcarrier index docs 2022-06-02 11:25:59 +08:00
Anton Maklakov
30d0d7fe7f docs: add GCC migration guide 2022-06-02 10:15:23 +07:00
Michael (XIAO Xufeng)
a0c2252756 build_system: fixed issue that default.target may override other custom configs 2022-06-02 11:08:59 +08:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Mahavir Jain
8094d874bc Merge branch 'refactor/tcp_transport' into 'master'
tcp_transport: Fix error propagation to higher layers

Closes IDF-1291

See merge request espressif/esp-idf!16394
2022-06-01 13:22:15 +08:00
KonstantinKondrashov
6e6b5474c3 doc(esp32c2): Updates Flash Encryption chapter 2022-05-31 11:12:21 +00:00
Laukik Hase
12fb7a61a4
docs: Added migration guide for HTTP Client and TCP Transport
- Added breaking changes notes
- Style fixes
2022-05-31 15:04:21 +05:30
Mahavir Jain
01d014c42d Merge branch 'contrib/github_pr_9062' into 'master'
Secure boot v2 image format: CRC size (GitHub PR)

Closes IDFGH-7493

See merge request espressif/esp-idf!18327
2022-05-31 14:21:05 +08:00
morris
fa6bce6c21 Merge branch 'docs/translate_gpio' into 'master'
Docs/translate gpio

Closes DOC-2857

See merge request espressif/esp-idf!18090
2022-05-31 12:19:35 +08:00
Dai Zi Yan
e2b87e668b Docs/translate gpio 2022-05-31 12:19:34 +08:00
Marius Vikhammer
349203b3b1 docs: fix spelling errors in l2cap docs 2022-05-31 02:32:06 +00:00
Jiang Jiang Jian
6bde276a7a Merge branch 'docs/update-fatfsgen-encoding' into 'master'
Removed misleading sentence about fatfs lfn encoding

Closes IDF-5174

See merge request espressif/esp-idf!18324
2022-05-31 10:24:29 +08:00
Jakob Hasse
97c149f73d Merge branch 'refactor/nvs_iterator_api' into 'master'
NVS: New interface for iterator functions

Closes IDFGH-6149

See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Stefan Wallentowitz
dd7aece4bf
Secure boot v2 image format: CRC size
The CRC size is documented as 1095 bytes, but in the code I find 1196 bytes:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/secure_boot_v2/secure_boot.c#L35
2022-05-30 23:30:34 +02:00
Martin Gaňo
59ba6999ae Removed misleading sentence about fatfs lfn encoding
Closes IDF-5174

Related to IDF-4795
2022-05-30 15:33:58 +02:00
daiziyan
59453d0e78 docs: update CN translation for idf-monitor.rst 2022-05-30 20:55:37 +08:00
Sergei Silnov
89518ee86a build & config: Check requirements of managed components of main and add interface versioning 2022-05-30 14:36:22 +02:00
Mo Fei Fei
2a733ceca5 Merge branch 'doc/add_cn_trans_esp_https_server' into 'master'
Docs: Add CN trans for esp-https-server.rst

Closes DOC-3072

See merge request espressif/esp-idf!18155
2022-05-30 16:24:00 +08:00
Ivan Grokhotkov
87ec752bda Merge branch 'docs/fix_nvs_encryption_docs' into 'master'
doc (nvs_flash): improved NVS partition flash documentation

Closes IDFGH-6549

See merge request espressif/esp-idf!18004
2022-05-30 16:13:12 +08:00
mofeifei
0cce36f0ec docs:add cn trans for esp-https-server.rst 2022-05-30 13:38:01 +08:00
Jiang Jiang Jian
3941b8d136 Merge branch 'docs/c2_getting_started' into 'master'
docs: update getting started guide for C2

Closes IDF-4211

See merge request espressif/esp-idf!18179
2022-05-30 10:53:15 +08:00
Jakob Hasse
ad184e979a refactor (nvs)!: New interface for iterator functions
Closes https://github.com/espressif/esp-idf/issues/7826

* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
  return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
  parameters, instead of returning an new iterator.

Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
Roland Dobai
a2d5041492 Merge branch 'feat/idf_tools_migrate_to_venv' into 'master'
Tools: Use built-in venv instead of virtualenv for creating Python environments

Closes IDF-4538

See merge request espressif/esp-idf!18249
2022-05-29 22:20:35 +08:00
wangmengyang
1423d02cb0 Added BT_SDP API reference document 2022-05-28 23:34:21 +00:00
xiongweichao
b2987c1e94 Added BT_L2CAP API reference document 2022-05-28 23:34:21 +00:00
Wu Zheng Hui
d3fa6e3a15 Merge branch 'bugfix/update_efuse_name' into 'master'
efuse: update efuse name

See merge request espressif/esp-idf!18193
2022-05-28 22:03:17 +08:00
Wu Zheng Hui
b98622c624 efuse: update efuse name 2022-05-28 22:03:16 +08:00