Commit Graph

3778 Commits

Author SHA1 Message Date
Zim Kalinowski
759f7ec13d Merge branch 'feature/add_int_task_wdt_esp32c2_v5.0' into 'release/v5.0'
WDT: implement interrupt wdt and task wdt for ESP32-C2 (backport v5.0)

See merge request espressif/esp-idf!20980
2022-12-05 16:38:35 +08:00
liuning
5cd324413a esp_wifi: fix some connectionless related issue and add connectionless power save guide 2022-12-05 11:35:23 +08:00
Marius Vikhammer
a5d2158cd0 Apply suggestions to 2 files 2022-12-05 11:32:03 +08:00
muhaidong
054fdeb8c7 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-12-05 11:31:52 +08:00
zhangyanjiao
645e5657c6 update doc for set channel 2022-12-05 11:31:40 +08:00
zhangyanjiao
acf7f03f67 update wifi reason code 2022-12-05 11:31:27 +08:00
Aditya Patwardhan
079e10666a esp_tls: Update documentation for cert callback 2022-12-05 08:59:24 +05:30
liuning
39080a2d59 docs: update BluFi documentation 2022-12-05 11:23:41 +08:00
morris
4756a44c97 Merge branch 'feature/rgb_lcd_restart_v5.0' into 'release/v5.0'
rgb_lcd: support restart dma transmission manually (v5.0)

See merge request espressif/esp-idf!21408
2022-12-05 10:24:53 +08:00
morris
2dd67ecd05 ledc: explain the callback return value
Closes https://github.com/espressif/esp-idf/issues/10093
2022-12-05 02:11:48 +00:00
morris
302ecb0764 Merge branch 'doc/pcnt_overflow_compensate_v5.0' into 'release/v5.0'
pcnt: support accumulate the count value in the high/low limit event (v5.0)

See merge request espressif/esp-idf!21170
2022-12-02 22:42:50 +08:00
Jiang Jiang Jian
c0d79f2ef1 Merge branch 'bugfix/ble_mesh_event_typo_fix_v5.0' into 'release/v5.0'
ble_mesh: stack: Fix typo in directly erase settings event (v5.0)

See merge request espressif/esp-idf!21107
2022-12-02 20:33:17 +08:00
Ivan Grokhotkov
b25b76be9f Merge branch 'contrib/github_pr_9943_v5.0' into 'release/v5.0'
Update build-system.rst (GitHub PR) (v5.0)

See merge request espressif/esp-idf!20530
2022-12-02 19:33:23 +08:00
Ivan Grokhotkov
e1efc8299f Merge branch 'docs/update_index_v5.0' into 'release/v5.0'
docs: remove rarely used items from the home page (v5.0)

See merge request espressif/esp-idf!20496
2022-12-02 19:32:58 +08:00
Ivan Grokhotkov
de2d43255f Merge branch 'docs/remove_bt_video_link_v5.0' into 'release/v5.0'
docs: remove old and dead BT video example link (v5.0)

See merge request espressif/esp-idf!20331
2022-12-02 19:32:15 +08:00
Ivan Grokhotkov
09242d8bcc Merge branch 'docs/i2c_spec_url_v5.0' into 'release/v5.0'
docs: remove link to i2c specs (v5.0)

See merge request espressif/esp-idf!20859
2022-12-02 19:25:15 +08:00
Ivan Grokhotkov
e31463efbe Merge branch 'docs/add_hw_ref_c2_link_v5.0' into 'release/v5.0'
docs: add TRM links for C2 to hw ref chapter (v5.0)

See merge request espressif/esp-idf!21025
2022-12-02 19:19:34 +08:00
Roland Dobai
8faf09234c Merge branch 'feature/use_tools_json_to_check_toolchain_ver_v5.0' into 'release/v5.0'
Tools: use tools.json to double-check toolchain version when building (v5.0)

See merge request espressif/esp-idf!20662
2022-12-02 19:11:54 +08:00
Roland Dobai
e08150e534 Merge branch 'fix/tools-gdbinit-with-elf-symbols_v5.0' into 'release/v5.0'
tools: fixed elf symbols load if gdbinit specified (v5.0)

See merge request espressif/esp-idf!20467
2022-12-02 19:09:48 +08:00
morris
7d39d1223b rgb_lcd: support restart dma transmission manually
When doing Flash operations (e.g. OTA), LCD's DMA bandwidth will be not
sufficient, causing the desync between the LCD controller and DMA.

Added a restart function to help the user to make them sync again.
2022-12-02 16:29:21 +08:00
Omar Chebib
3e9701205c esp_timer: add a function to restart timer
Timers, periodic or not, can now be restarted thanks to esp_timer_restart function.
This is done atomically, which can be used to feed a periodic timer, or simply change the period.
2022-12-01 10:45:35 +00:00
Omar Chebib
6b4e1619d8 TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog 2022-12-01 10:45:35 +00:00
Omar Chebib
b675bb2a4d WDT: implement interrupt wdt and task wdt for ESP32-C2
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-12-01 10:45:35 +00:00
Guillaume Souchere
755dded0f5 heap: add documentation about the function placement in IRAM and its usage in ISR
This commits adds a internal.md file in the heap directory to clarify the idea behind
which functions is placed in IRAM or in flash.

A section in mem_alloc.rst documentation is added to specify which functions from the
heap component API can be used in interrupt handlers.
2022-11-24 12:40:00 +01:00
laokaiyao
592a51ae96 i2s: fixed typo 'philip'
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-22 15:59:51 +08:00
morris
0dbbf7bac5 pcnt: support accumulate count value
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 15:17:55 +08:00
lly
ad2cc1f102 doc: Update the bluetooth low energy part in migration-guides 2022-11-17 11:48:59 +00:00
Marius Vikhammer
7d2ba509e5 docs: add datasheets, hw guidelines and erratas for all chips 2022-11-10 15:00:41 +08:00
Marius Vikhammer
f53bd52bbb docs: add TRM links for C2 to hw ref chapter 2022-11-10 14:59:01 +08:00
Ivan Grokhotkov
166effd4b8 Merge branch 'feature/partition_api_new_component_v5.0' into 'release/v5.0'
Storage: Partition APIs moved to the new component 'esp_partition' (v5.0)

See merge request espressif/esp-idf!20855
2022-11-04 14:58:51 +08:00
morris
ed92569ed1 Merge branch 'contrib/github_pr_10087_v5.0' into 'release/v5.0'
fixed url to console component (GitHub PR) (v5.0)

See merge request espressif/esp-idf!20900
2022-11-03 10:01:10 +08:00
Martin Vychodil
af81bd1b0a Storage: Partition APIs moved to the new component 'esp_partition'
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
Michael (XIAO Xufeng)
725eacbf16 Merge branch 'feature/usb/voltage_monitoring_backport_v5.0' into 'release/v5.0'
tinyusb: TinyUSB in IDF v5.0.0 (backport v5.0)

See merge request espressif/esp-idf!20673
2022-11-02 17:26:22 +08:00
beta-tester
940530c505 doc: redirect console page
Previous the console doc is moved from api-guide to api-reference, which
broken the URL as well, this commit added a redirect link to ensure the
old URL can still work.
2022-11-02 16:11:24 +08:00
Marius Vikhammer
c7e8aca45f docs: remove link to i2c specs 2022-10-31 11:54:00 +08:00
Jiang Jiang Jian
2635a18df2 Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_5.0_0821' into 'release/v5.0'
Bufix/backport some wifi lwip bugs for 5.0 0821

See merge request espressif/esp-idf!20732
2022-10-28 16:33:50 +08:00
morris
8481fbf752 Merge branch 'bugfix/change_clock_name_v5.0' into 'release/v5.0'
mcpwm: fix wrong return value in the legacy MCPWM driver (5.0)

See merge request espressif/esp-idf!20693
2022-10-28 10:02:40 +08:00
Tomas Rezucha
61191a5ce5 tinyusb: Use TinyUSB from component registry 2022-10-25 06:44:56 +02:00
Tomas Rezucha
0179edb71d tinyusb: Add VBUS voltage monitoring feature
VBUS voltage monitoring is mandated by USB specification for self-powered devices.
This implementation maps selected GPIO to bvalid signal of USB-OTG peripheral.

Closes https://github.com/espressif/esp-idf/issues/7747
2022-10-25 06:44:56 +02:00
morris
acb3b06ed6 twai: remove deprecated code and add hint
name "CAN" has been deprecated for a long time, this commit just remove
it from the code base.

Please use "TWAI" driver instead.
2022-10-24 18:39:45 +08:00
xueyunfei
cd58bad218 Lwip:add TCP Fin2 timeout configuration 2022-10-21 16:23:54 +08:00
morris
0db5909b47 mcpwm: new function to fetch capture resolution 2022-10-21 07:37:36 +00:00
Michael (XIAO Xufeng)
28f9ddee74 Merge branch 'doc/usj_sw_reset_alive_bbpll_doc_v5.0' into 'release/v5.0'
usb_serial_jtag: fixed the docs that we can use usj in sleep modes (v5.0)

See merge request espressif/esp-idf!20287
2022-10-20 01:34:54 +08:00
Alexey Lapshin
97353355ab tools: cmake: check tool supported version with idf_tools.py 2022-10-18 12:27:55 +04:00
morris
1729c79577 Merge branch 'feature/mcpwm_update_compare_iram_safe_5.0' into 'release/v5.0'
mcpwm: make set_compare_value iram safe (5.0)

See merge request espressif/esp-idf!20304
2022-10-14 11:58:55 +08:00
Krzysztof Budzynski
da9a78ebfc Merge branch 'docs/translate_protocols_in_migration_guides_backport_v5.0' into 'release/v5.0'
docs: provide translation for protocols in migration guides (backport v5.0)

See merge request espressif/esp-idf!20538
2022-10-13 13:43:24 +08:00
morris
54813cc19b mcpwm: make set_compare_value iram safe
Closes https://github.com/espressif/esp-idf/issues/9793
2022-10-12 08:41:58 +00:00
Shang Zhou
7df991f841 docs: provide translation for protocols in migration guides 2022-10-11 18:03:10 +08:00
Marius Vikhammer
055f18f27a docs: sync chinese translation of build-system.rst 2022-10-11 14:27:04 +08:00
Uday M S
83c0a7dc93 Update build-system.rst
Rearranged few lines of folder directory description
2022-10-11 14:26:55 +08:00
Roland Dobai
737cdcbaa6 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-10 09:46:39 +02:00
Linda
8cbaff1b1d docs: remove rarely used items from the home page 2022-10-08 10:38:37 +08:00
Aditya Patwardhan
78b49a4ab6 protocomm: Enable security version 2 by default 2022-10-07 14:14:44 +05:30
Aditya Patwardhan
6f69097815 wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid breaking the usage for sec1 2022-10-07 14:14:44 +05:30
Mahavir Jain
5f0bf15ad5
docs: update coredump guide to make stack size config generic 2022-10-04 10:24:44 +05:30
Alexey Lapshin
3eec946f60 tools: add esp-rom-elfs version '20220823' 2022-10-03 18:48:16 +04:00
Michael (XIAO Xufeng)
c15f5f352c essl: move from esp-idf component to extra component 2022-09-29 07:39:45 +00:00
Marius Vikhammer
73fba0e574 docs: remove old and dead BT video example link 2022-09-26 09:31:24 +08:00
Michael (XIAO Xufeng)
0f59ffb94f 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 15:33:21 +08:00
Jiang Jiang Jian
3c3a68513c Merge branch 'feature/add_mesh_support_macro_v5.0' into 'release/v5.0'
ble_mesh: docs: Remove BLE Mesh related reference for C2(v5.0)

See merge request espressif/esp-idf!20097
2022-09-20 16:04:27 +08:00
wangjialiang
ddc294c79f ble_mesh: docs: Remove BLE Mesh related reference for C2 2022-09-19 21:11:17 +08:00
Marius Vikhammer
6360e7028d Merge branch 'docs/misc_broken_link_fixes_v5.0' into 'release/v5.0'
docs: fixed misc broken links (v5.0)

See merge request espressif/esp-idf!20211
2022-09-19 14:32:44 +08:00
Jiang Jiang Jian
9119178f38 Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue_v5.0' into 'release/v5.0'
esp_wifi: fix set country code before wifi start issue.(Backport v5.0)

See merge request espressif/esp-idf!20151
2022-09-19 14:31:55 +08:00
Marius Vikhammer
35bb72bbfc docs: fixed misc broken links 2022-09-19 11:10:23 +08:00
Jiang Jiang Jian
74e21fadbd Merge branch 'docs/update-esp-rom-elfs-link_v5.0' into 'release/v5.0'
docs: update link for ESP ROM ELF releases (v5.0)

See merge request espressif/esp-idf!20150
2022-09-19 11:05:39 +08:00
Jiang Jiang Jian
2772806cb6 Merge branch 'feature/ulp_binutils_multi_target_v5.0' into 'release/v5.0'
ulp: support the new multi-target ULP-FSM binutils (v5.0)

See merge request espressif/esp-idf!20132
2022-09-19 11:03:49 +08:00
muhaidong
2dc3784f49 docs: update wifi country code docs. 2022-09-14 17:08:32 +08:00
Alexey Lapshin
5ab5672544 docs: update link for ESP ROM ELF releases 2022-09-14 12:53:47 +04:00
Jiang Jiang Jian
72b2de9dab Merge branch 'docs/c2_storage_update_v5.0' into 'release/v5.0'
docs: update storage and sleep docs for C2 (v5.0)

See merge request espressif/esp-idf!19738
2022-09-14 13:56:08 +08:00
Jiang Jiang Jian
42a5b33e19 Merge branch 'doc/nvs_max_num_namespaces_5.0' into 'release/v5.0'
doc (nvs): added note about maximum possible namespaces (backport 5.0)

See merge request espressif/esp-idf!19979
2022-09-14 13:54:06 +08:00
Jiang Jiang Jian
21a15ad172 Merge branch 'feature/usb_v5_qol_backport_v5.0' into 'release/v5.0'
usb: USB IDF v5 update (backport v5.0)

See merge request espressif/esp-idf!20045
2022-09-14 13:52:36 +08:00
Alexey Lapshin
b1387fb7cb 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 23:42:18 +04:00
Sudeep Mohanty
4a58b810dd docs: Updated description of ULP FSM shift operations
This commit updates the documentation for ULP FSM LSH and RSH
operations.

Closes https://github.com/espressif/esp-idf/issues/8831
2022-09-13 15:06:26 +02:00
Ivan Grokhotkov
70f90b7160 Merge branch 'docs/sync_up_i2c_wifi_blemesh_backport_v5.0' into 'release/v5.0'
docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c (backport v5.0)

See merge request espressif/esp-idf!19862
2022-09-13 16:55:12 +08:00
Shang Zhou
ba224e0fd9 docs: Update CN version for MR19453 2022-09-13 16:54:47 +08:00
Marius Vikhammer
8acb8bbd76 docs: update storage and sleep docs for C2 2022-09-13 16:54:47 +08:00
Ivan Grokhotkov
72e2fb2da1 Merge branch 'docs/malloc_header_v5.0' into 'release/v5.0'
heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT) (v5.0)

See merge request espressif/esp-idf!19895
2022-09-13 16:52:26 +08:00
Ivan Grokhotkov
63a4298509 Merge branch 'docs/networking_and_storage_backport_v5.0' into 'release/v5.0'
docs: translate networking.rst and storage.rst (backport v5.0)

See merge request espressif/esp-idf!20058
2022-09-13 16:45:11 +08:00
Wang Zi Yan
1dc350dc64 docs: translate networking.rst and storage.rst (backport v5.0) 2022-09-13 16:45:10 +08:00
Zim Kalinowski
1164a5a52f Merge branch 'docs/reorder_mem_alloc_content_v5.0' into 'release/v5.0'
docs: reorder content in mem_alloc section (v5.0)

See merge request espressif/esp-idf!19948
2022-09-13 16:44:43 +08:00
Ivan Grokhotkov
726a73c076 Merge branch 'docs/update_cn_trans_establish_serial_connect_5.0' into 'release/v5.0'
docs: update cn trans establish_serial_connect (v5.0)

See merge request espressif/esp-idf!19893
2022-09-13 16:43:16 +08:00
Michael (XIAO Xufeng)
eea8629fa1 Merge branch 'bugfix/fix_gpio_intr_lost_v5.0' into 'release/v5.0'
gpio: Fix interrupt lost issue (backport v5.0)

See merge request espressif/esp-idf!19935
2022-09-09 15:05:50 +08:00
Ondrej Kosta
9c2ae8305a Added migration notes for SPI-Ethernet Modules Initialization 2022-09-08 15:41:51 +02:00
Tomas Rezucha
ca445ed99f usb_host: Use MSC driver from component registry 2022-09-08 14:05:48 +02:00
Tomas Rezucha
e69f473198 usb_host: Remove custom test_app 2022-09-08 14:05:29 +02:00
Tomas Rezucha
f30eab33a1 usb: Bring USB Host API out of beta 2022-09-08 14:05:10 +02:00
Jiang Jiang Jian
50059115a5 Merge branch 'doc/update_esp32c2_ble_doc_v5.0' into 'release/v5.0'
update doc for esp32c2 (backport v5.0)

See merge request espressif/esp-idf!20019
2022-09-08 17:17:22 +08:00
Mahavir Jain
658adc75de Merge branch 'docs/nvs_key_part_note_for_self_gen_keys_v5.0' into 'release/v5.0'
docs: nvs: prior flash erase note for device generated `nvs_keys` partition (v5.0)

See merge request espressif/esp-idf!19944
2022-09-08 12:26:49 +08:00
Mahavir Jain
bcee30f78e Merge branch 'feature/wifi_prov_mgr_is_provisioned_api_change_v5.0' into 'release/v5.0'
wifi_provisioning: decouple `wifi_prov_mgr_is_provisioned` from manager state (v5.0)

See merge request espressif/esp-idf!19945
2022-09-08 12:26:36 +08:00
Song Ruo Jing
3017b65d4d gpio: Fix interrupt lost issue
In previous gpio default isr, interrupt status bits get cleared at the exit of the isr.
However, for edge-triggered interrupt type, the interrupt status bit should be cleared before entering the per-pin handlers to avoid any potential interrupt lost.

Closes https://github.com/espressif/esp-idf/pull/6853
2022-09-08 11:52:25 +08:00
zhiweijian
f46fba1904 update doc for esp32c2 2022-09-07 19:16:14 +08:00
Mahavir Jain
f954caecf0 Merge branch 'bugfix/c2_skip_validate_v5.0' into 'release/v5.0'
bootloader: allow skip image validation on C2 (v5.0)

See merge request espressif/esp-idf!19975
2022-09-07 18:03:37 +08:00
Mo Fei Fei
ebb04bbdfe Docs: Update CN trans for nvs_flash.rst 2022-09-06 10:08:56 +02:00
Jakob Hasse
615bc28836 doc (nvs): added note about maximum possible namespaces 2022-09-06 10:00:23 +02:00
Marius Vikhammer
3056d6e53d 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-09-06 14:21:47 +08:00
Marius Vikhammer
f26d10118c docs: reorder content in mem_alloc section
We should avoid hiding sections between long lists of API documentation.
2022-09-05 13:45:59 +08:00
Mahavir Jain
caabf04af5
docs: add migration guide entry about provisioning API change 2022-09-05 10:53:47 +05:30
Mahavir Jain
6f4e857ae8
docs: nvs: prior flash erase note for device generated nvs_keys partition 2022-09-05 10:53:29 +05:30
Marius Vikhammer
7caafb2542 heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT)
The actual memory allocated for malloc() depends on a lot of factors, see heap_caps_malloc_default()

Closes https://github.com/espressif/esp-idf/issues/7659
2022-09-01 14:32:54 +08:00
Mo Feifei
3b783f4d2d docs: update cn trans establish_serial_connect 2022-09-01 13:33:07 +08:00
Aditya Patwardhan
c88b27f285 mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
the DS documentation
2022-08-30 21:39:01 +05:30
Shang Zhou
958fce8571 docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c 2022-08-30 19:18:06 +08:00
Vilem Zavodny
41e8d71349 docs: Added link to list of available LCD controller drivers.
(cherry picked from commit 32f59d365f)
2022-08-29 08:25:09 +02:00
Ivan Grokhotkov
469f66fc9d Merge branch 'fix/disable_idf_py_moinitor_hints_v5.0' into 'release/v5.0'
Tools: Disable idf.py hints for IDF Monitor (v5.0)

See merge request espressif/esp-idf!19784
2022-08-29 13:57:50 +08:00
Mo Feifei
d38036b978 docs: fix jtag select efuse bit 2022-08-26 14:55:25 +08:00
Roland Dobai
46df25cc8b 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 15:17:21 +02:00
Mahavir Jain
6d37f012e1 Merge branch 'feature/app_metadata_to_esp_system_v5.0' into 'release/v5.0'
app_update: Moved app metadata to new component `esp_app_format` (v5.0)

See merge request espressif/esp-idf!19754
2022-08-25 17:06:50 +08:00
Michael (XIAO Xufeng)
69be7c4cc2 Merge branch 'feat/support_esp32c2_uart_v5.0' into 'release/v5.0'
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL (v5.0)

See merge request espressif/esp-idf!19690
2022-08-25 02:03:26 +08:00
Laukik Hase
1dd7c7a480
docs: Added migration guide for app_update
- Deprecated functions and alternatives
2022-08-24 14:46:33 +05:30
morris
de9fd87a42 Merge branch 'feature/esp_jpeg_examples_v5.0' into 'release/v5.0'
examples/tjpgd: Use esp_jpeg component in tjpgd example. (backport v5.0)

See merge request espressif/esp-idf!19635
2022-08-24 11:07:20 +08:00
morris
43876cb31b Merge branch 'bugfix/add_adc_oneshot_disable_ulp_enum_v5.0' into 'release/v5.0'
esp_adc: add adc ulp mode disable enum , and kconfig to enable dac output (v5.0)

See merge request espressif/esp-idf!19710
2022-08-23 16:07:30 +08:00
Vilem Zavodny
f8d94d6a4e tjpgd: Remove ROM patches and tests.
(cherry picked from commit a00e8771a7)
2022-08-23 07:57:10 +02:00
Armando
81007ee4ed esp_adc: add adc ulp mode disable enum
Prior to this commit, adc ulp is disabled by setting
adc_oneshot_unit_init_cfg_t::ulp_mode to false.

After this commit, a new enum `ADC_ULP_MODE_DISABLE` is added. So
setting `ulp_mode` to `ADC_ULP_MODE_DISABLE`, instead of `false`, to
disable the ulp mode.
2022-08-23 10:48:15 +08:00
morris
38ac62e704 Merge branch 'feature/modbus_update_migration_guides_v50' into 'release/v5.0'
modbus: update protocol migration guide (backport v5.0)

See merge request espressif/esp-idf!19687
2022-08-23 01:06:08 +08:00
Alex Lisitsyn
cd61a77cd6 modbus: update protocol migration guide (backport v5.0) 2022-08-23 01:06:08 +08:00
morris
214ebb4adb Merge branch 'bugfix/rmt_iram_safe_test_5.0' into 'release/v5.0'
driver: multiple updates backport to (5.0)

See merge request espressif/esp-idf!19525
2022-08-22 19:02:08 +08:00
morris
60253ed3f3 Merge branch 'bugfix/esp_netif_remove_slip_v5.0' into 'release/v5.0'
esp_netif: Migrate SLIP interface to user-space (v5.0)

See merge request espressif/esp-idf!19634
2022-08-22 15:49:22 +08:00
Michael (XIAO Xufeng)
ddaf57892c docs: update console frequency for ESP32-C2 2022-08-22 14:28:12 +08:00
Mahavir Jain
2d2e1190fe
docs: update copyright page for removed (migrated) components 2022-08-19 17:50:36 +05:30
Mahavir Jain
676a1d6eb1 Merge branch 'feature/esp_cryptoauthlib_from_manager_v5.0' into 'release/v5.0'
Push out esp-cryptoauthlib to component manager (v5.0)

See merge request espressif/esp-idf!19654
2022-08-19 20:18:54 +08:00
Mahavir Jain
047eac2f25
Add entry for cryptoauthlib component manager migration 2022-08-18 20:15:19 +05:30
Mahavir Jain
481c295bc2
cleanup remaining references for esp-cryptoauthlib 2022-08-18 20:15:19 +05:30
Geng Yuchao
3144c870a6 Update BLE documentation scope 2022-08-18 16:27:06 +08:00
Geng Yuchao
238d48edbc Remove docs not update for classic_bt 2022-08-18 16:27:06 +08:00
Geng Yuchao
07f860d7e1 Updated the nimble instructions for ESP32. 2022-08-18 16:27:06 +08:00
Geng Yuchao
5524c772e6 Fix soc caps define for all chips 2022-08-18 16:27:06 +08:00
David Cermak
5a9cfbbb28 esp_netif: Add docs on creating custom network stack connection layer 2022-08-18 07:07:44 +02:00
morris
c8b634ecfe rgb_lcd: deprecate esp_lcd_color_space_t 2022-08-18 10:59:16 +08:00
morris
d8c2f67d63 mcpwm: added enable/disable functions
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
Ivan Grokhotkov
3d64788a2d Merge branch 'feature/replace-heap-tlsf-with-submodule_v5.0' into 'release/v5.0'
heap: Remove TLSF related files and replace them with the TLSF submodule (v5.0)

See merge request espressif/esp-idf!19555
2022-08-16 14:09:38 +08:00
Jiang Jiang Jian
5e32649ae9 Merge branch 'docs/backport_api_guides_5.0' into 'release/v5.0'
Docs: Updated the Chinese translation for several docs in api-guides and migration-guides/system.rst (backport v5.0)

See merge request espressif/esp-idf!19573
2022-08-16 13:50:29 +08:00
Mo Fei Fei
0514906eba Docs: add CN translation for migration guides/gcc.rst and provisioning.rst (backport 5.0) 2022-08-16 13:25:36 +08:00
Mo Feifei
9ac257fd4e docs: update cn trans for migration-guides/system.rst 2022-08-16 12:04:20 +08:00
Mo Feifei
e9fd79b284 docs: update cn trans for api-guides 2022-08-16 12:03:58 +08:00
Roland Dobai
e9b037375a Tools: Fix idf.py hints to be enabled all the time and being able to disable them 2022-08-15 16:41:32 +02:00
Guillaume Souchere
86d1425346 heap: Fix compilation errors when CONFIG_HEAP_TLSF_USE_ROM_IMPL is set
- include headers from the tlsf submodule only when CONFIG_HEAP_TLSF_USE_ROM_IMPL is not set
- remove usage of the tlsf_t type in the multi_heap.c
- add missing declaration of tlsf_poison_fill_pfunc_set() in multi_heap_poisoning.c
- define headers from tlsf submodule as private
- update the linker file in the heap component to the new naming of the tlsf file
- update the copyright docuementation to reference the submodule in github (https://github.com/espressif/tlsf)
- remove deleted files from the check_copyright_ignore.txt
2022-08-15 11:11:52 +02:00
Linda
ac63ec27d7 docs: update the diagram of FSM of I2S 2022-08-12 17:57:52 +08:00
Marius Vikhammer
c577919284 Merge branch 'docs/update_migration_guide_for_esp_hw_support_v5.0' into 'release/v5.0'
docs: Corrected the migration guide for esp_hw_support (v5.0)

See merge request espressif/esp-idf!19409
2022-08-11 10:36:30 +08:00
Island
a3b987b44c Merge branch 'bugfix/restore_missing_ble_mesh_videos_v5.0' into 'release/v5.0'
ble_mesh: doc: Restore missing ble mesh videos(v5.0)

See merge request espressif/esp-idf!19480
2022-08-10 14:53:53 +08:00
wangjialiang
922008a7e6 ble_mesh: doc: Restore missing ble mesh videos 2022-08-10 11:37:24 +08:00
jingli
19331b46ec docs: fix xtal kconfig related description 2022-08-08 13:54:36 +08:00
Sudeep Mohanty
7177c88fe7 docs: Corrected the migration guide for esp_hw_support
This commit corrects the migration guide entry for cpu_log.h under
esp_hw_support to correctly list the breaking change.
2022-08-04 15:16:46 +02:00
Shubham Kulkarni
7bfb89e3b3 Merge branch 'feature/custom_partition_subtypes' into 'master'
gen_esp32part.py: Support custom partition types

See merge request espressif/esp-idf!18656
2022-08-03 16:43:57 +08:00
Konstantin Kondrashov
e57257a6db Merge branch 'feature/adds_efuse_hdr' into 'master'
efuse: Adds missing header

Closes IDF-5734

See merge request espressif/esp-idf!19328
2022-08-03 13:43:44 +08:00
Shubham Kulkarni
1bb1b70e0f docs: Add documentation for define extra partition subtypes through build system 2022-08-03 05:18:37 +00:00
KonstantinKondrashov
3f6a1625bb efuse: Adds missing header 2022-08-02 22:43:12 +08:00
Martin Gano
59ecac263e Merge branch 'docs/add-missing-cmd-parameter-fatfsparse' into 'master'
fatfsparse.py/docs: Added missing cmd parameter to the docs

See merge request espressif/esp-idf!19301
2022-08-02 18:56:25 +08:00
Fu Hanxi
f315986401 Merge branch 'feat/add_ci_related_requirements_txt' into 'master'
Feat/add ci related requirements txt

Closes IDF-4590 and IDFCI-1389

See merge request espressif/esp-idf!19246
2022-08-02 15:49:36 +08:00
Marius Vikhammer
ff71e54f70 docs: fix broken link to lcd example 2022-08-02 10:15:31 +08:00
Marius Vikhammer
5d23a757d6 Merge branch 'feature/ulp_uart' into 'master'
ulp-riscv: uart print

See merge request espressif/esp-idf!19229
2022-08-02 09:14:48 +08:00
Jiang Jiang Jian
681fe85dd6 Merge branch 'docs/c2_protocols_update' into 'master'
docs: remove protocols chapters from C2 not updated list

See merge request espressif/esp-idf!19310
2022-08-01 19:42:40 +08:00
Fu Hanxi
742663dd9b feat: add requirements.docs.txt 2022-08-01 15:49:15 +08:00
Jiang Jiang Jian
b885499c74 Merge branch 'refactor/move_common_adc_part_to_hw_support' into 'master'
esp_adc: move esp_adc out of g1 dependency list

Closes IDF-5637

See merge request espressif/esp-idf!19159
2022-08-01 15:39:45 +08:00
Marius Vikhammer
c0030f6d62 docs: remove protocols chapters from C2 not updated list 2022-08-01 12:58:06 +08:00
Martin Gaňo
a542e9424c fatfsparse.py/docs: Added missing cmd parameter to the docs 2022-07-29 15:29:23 +02: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
Marius Vikhammer
32efa1e92d Add ULP-RISCV print and bitbanged UART tx API
Add example to demonstrate the use of this API.
2022-07-29 12:18:01 +08:00
Armando
5e6a16380a esp_adc: move adc common hw related code into esp_hw_support 2022-07-28 03:49:48 +00:00
Marius Vikhammer
45ad46eb27 Merge branch 'docs/c2_api_ref_sys' into 'master'
docs: update api-ref system docs for C2

Closes IDF-4214 and IDF-4224

See merge request espressif/esp-idf!19218
2022-07-28 09:33:12 +08:00
Marius Vikhammer
9d599c207f docs: update api-ref system docs for C2 2022-07-27 16:12:26 +08:00
morris
e4868548c7 doc: update MCPWM api reference with new driver API 2022-07-27 15:22:24 +08:00
Mu Hai Dong
0aa6612371 Merge branch 'docs/remove_wifi_part_docs_not_updated_esp32c2' into 'master'
docs: remove wifi part in docs_not_updated of esp32c2

Closes WIFI-4620

See merge request espressif/esp-idf!19024
2022-07-27 13:11:54 +08:00
Waheed Barghouthi
d5bfbfc095 doc: update clk_flags requirement for i2c docs
Merges https://github.com/espressif/esp-idf/pull/7637
2022-07-27 11:02:43 +08:00
Mo Fei Fei
0d6de25d1c Merge branch 'docs/add_cn_trans_for_migration_guides_system' into 'master'
Docs: add cn trans for migration-guides/system

Closes DOC-3324

See merge request espressif/esp-idf!19046
2022-07-27 10:45:41 +08:00
Anton Maklakov
80b97faade Merge branch 'docs/get_started_macos_rosetta' into 'master'
docs: add a suggestion for apple m1 users

Closes IDFGH-7758

See merge request espressif/esp-idf!18981
2022-07-27 10:03:48 +08:00
Wang Zi Yan
8fca591407 Merge branch 'docs/provide_tips_for_Mac_users' into 'master'
docs: provide tips for Mac users

Closes DOC-3327

See merge request espressif/esp-idf!19245
2022-07-26 21:04:09 +08:00
Anton Maklakov
f5b626db63 docs: add CN translation for linux-macos-setup.rst update 2022-07-26 18:16:49 +07:00
wangziyan
1f56072b3c docs: update the tips 2022-07-26 17:35:30 +08:00
intern
9387248dfc docs: add cn trans for migration-guides/system 2022-07-26 15:41:51 +08:00
wangziyan
b09b3bd5b1 docs: provide tips for Mac users 2022-07-26 15:29:44 +08: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
Anton Maklakov
57f231af82 docs: add a suggestion for apple m1 users
Closes: https://github.com/espressif/esp-idf/issues/9300
2022-07-26 11:14:05 +07: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
c8ee369a7c Merge branch 'feature/deprecate-old-cpu-api' into 'master'
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API

Closes IDF-4919 and IDF-5032

See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
Jiang Jiang Jian
05b31339f6 Merge branch 'docs/improve_pytest_related_readme' into 'master'
docs: improve ci related docs

See merge request espressif/esp-idf!19169
2022-07-22 21:26:53 +08:00
Zhang Xiao Yan
a1b5dae782 Merge branch 'docs/updated_DevBoards_based_on_feedbacks' into 'master'
docs:updates based on feedbacks

Closes DOC-3376, DOC-3375, DOC-3180, and DOC-3353

See merge request espressif/esp-idf!19154
2022-07-22 17:57:36 +08:00
Linda
3d5f2fbafc docs:updates based on feedbacks 2022-07-22 15:58:09 +08:00
Jiang Jiang Jian
2be53e6765 Merge branch 'bugfix/provide-description-for-preserve-time' into 'master'
fatfsgen.py: add description of the parameter PRESERVE_TIME

Closes IDF-5638

See merge request espressif/esp-idf!19147
2022-07-22 12:27:51 +08:00
Fu Hanxi
8e9cdb0770 docs: improve ci related docs 2022-07-22 08:18:19 +08:00
morris
9a921ada7f rmt: const callback event data 2022-07-22 00:12:36 +00:00
morris
741b031e83 soc: added SOC_TOUCH_SENSE_SUPPORTED macro 2022-07-22 00:12:36 +00:00
Guillaume Souchere
7c6a39ed2e esp_system: Add esp_cpu.h migration guide
This commit:
- adds the migration guide for migrating from the now deprecated cpu_hal/ll.h,
  soc_hal/ll.h, and interrupt_controller_hal.h to esp_cpu.h.
- adds the migration guide for migrating from the now deleted compare_set.h header file.
- adds the migration guide for migrating from the now deleted esp_cpu_get_ccount(),
  esp_cpu_set_ccount() and esp_cpu_in_ocd_debug_mode() functions in esp_cpu.h.
2022-07-22 00:06:06 +08:00
Jiang Jiang Jian
cf5b097c88 Merge branch 'bugfix/further_fix_for_mspi_current_leakage' into 'master'
system/sleep: further fix spi flash/ram current leakage

Closes IDF-4720

See merge request espressif/esp-idf!18566
2022-07-21 19:14:26 +08:00
Jing Li
66395a5c00 system/sleep: further fix spi flash/ram current leakage 2022-07-21 19:14:26 +08:00
laokaiyao
edee3ee3cd i2s: add slot sequence table
Closes: https://github.com/espressif/esp-idf/issues/9208

When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb i2s: add basic examples for STD/TDM/PDM mode 2022-07-21 15:52:39 +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
Mahavir Jain
15039f367d Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!19132
2022-07-21 06:14:41 +08:00
wangyuanze
20afcc96a8 example: add onewire_ds18b20 example 2022-07-20 14:12:43 +00:00
wangyuanze
ab0c4abd6e rmt: add open-drain flag on tx channel 2022-07-20 14:12:43 +00:00
morris
8944479bcd Merge branch 'feature/gpio_sigma_delta_ng' into 'master'
 SDM Driver-NG (Sigma-Delta channel allocator)

Closes IDF-5261 and IDF-2877

See merge request espressif/esp-idf!18626
2022-07-20 21:30:12 +08:00
David Čermák
e7ccaaf9ca Merge branch 'feature/update_mqtt_client' into 'master'
[MQTT] - Updates esp_mqtt configuration struct

See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Martin Gaňo
58b1c140d7 fatfsgen.py: add description of the parameter PRESERVE_TIME 2022-07-20 13:06:57 +02:00
morris
75d411a003 doc: update sdm api reference 2022-07-20 14:59:50 +08:00
morris
9e532696f4 pcnt: add const qualifier to event data 2022-07-20 14:59:50 +08:00
morris
6cab124d7c Merge branch 'bugfix/corrected_typo_in_example_peripherals_usb_device' into 'master'
example: peripherals/usb/device: fix typo naming of local variables

See merge request espressif/esp-idf!19080
2022-07-20 11:56:04 +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
Espressif BOT
72fe927e85 Update esp_crt_bundle certificates 2022-07-20 10:00:11 +08:00