Commit Graph

1182 Commits

Author SHA1 Message Date
Jiang Jiang Jian
b7ca4320bb Merge branch 'bugfix/atomic_gptimer_fsm_v5.0' into 'release/v5.0'
gptimer: fix race condition between start and stop (v5.0)

See merge request espressif/esp-idf!22712
2023-03-17 10:38:53 +08:00
wuzhenghui
64d5421d8b deep sleep: close rf to optimize sleep current 2023-03-14 13:57:42 +08:00
Sudeep Mohanty
316a1de567 docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions
This commit updates the incorrect description for the JUMPR and JUMPS
instructions for ULP FSM on esp32/s2/s3.

Closes https://github.com/espressif/esp-idf/issues/10923
2023-03-13 11:05:52 +01:00
morris
c24222dcde gptimer: fix race condition between start and stop
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-11 11:42:09 +08:00
morris
2b14b7d061 Merge branch 'contrib/github_pr_10402_v5.0' into 'release/v5.0'
ledc: move callback to IRAM as it's called from an ISR (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22590
2023-03-06 10:14:58 +08:00
Song Ruo Jing
bdffb4403d ledc: Add check for whether the registered callback is in iram in ledc_cb_register 2023-03-03 17:21:56 +08:00
Bradley McFadden
701780891c uart: Correct typo in referenced function name
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.

Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-03 16:45:17 +08:00
Sudeep Mohanty
4b75883ea4 docs: Ulpdated ULP docs to have the correct notes directive
This commit updates the ULP .rst files to have the correct notes
directive format. The notes directives were missing a colon.
2023-02-24 11:22:48 +01:00
Marius Vikhammer
fc3f49d589 Merge branch 'docs/freertos_doc_organization_v5.0' into 'release/v5.0'
Docs: Update FreeRTOS documentation organization for IDF and Amazon SMP FreeRTOS (v5.0)

See merge request espressif/esp-idf!22395
2023-02-20 15:26:23 +08:00
morris
f58f8116de Merge branch 'feature/adc_calibration_c2_v5.0' into 'release/v5.0'
esp_adc: support adc calibration on esp32c2 (v5.0)

See merge request espressif/esp-idf!22382
2023-02-20 14:13:23 +08:00
Marius Vikhammer
5400061f6a Merge branch 'docs/elm_chan_broken_link_v5.0' into 'release/v5.0'
docs: fix broken link in fatfs doc (v5.0)

See merge request espressif/esp-idf!22297
2023-02-20 12:21:28 +08:00
Marius Vikhammer
03a4f75f98 Merge branch 'docs/fix_broken_link_format_v5.0' into 'release/v5.0'
docs: fix rst external links with wrong format (v5.0)

See merge request espressif/esp-idf!22336
2023-02-20 11:20:42 +08:00
Armando
22431bc41b doc: make adc wifi hardware limitation visible on esp32 2023-02-20 10:34:34 +08:00
morris
3f68b61f3e Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
mcpwm: support non-vararg version of generator functions (v5.0)

See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
morris
92b1f4fa27 Merge branch 'bugfix/gptimer_pm_lock_xtal_5.0' into 'release/v5.0'
gptimer: acquire pm lock for xtal clock source (v5.0)

See merge request espressif/esp-idf!22281
2023-02-18 15:00:24 +08:00
Konstantin Kondrashov
8a6fb6df19 Merge branch 'feature/secure_features_are_enabled_correctly_v5.0' into 'release/v5.0'
security: Adds new APIs to check that all eFuse security features are enabled correctly (v5.0)

See merge request espressif/esp-idf!22116
2023-02-17 21:40:42 +08:00
Darian
6a86124ff5 Merge branch 'feature/usb_host_feature_and_refactor_backports_v5.0' into 'release/v5.0'
USB Host: Backport multiple feature and refactors to v5.0

See merge request espressif/esp-idf!21584
2023-02-17 20:49:46 +08:00
Darian Leung
77480ea12b freertos: Update ESP-IDF FreeRTOS and FreeRTOS Additions documentation
This commit updates the ESP-IDF FreeRTOS and FreeRTOS Additions to account for
the fact that there are now two implementations of SMP FreeRTOS (i.e., IDF SMP
vs Amazon SMP).
2023-02-17 20:43:30 +08:00
Darian Leung
b56f66d28d freertos: Update FreeRTOS overview document
This commit updates "freertos.rst" to act as an overview document of FreeRTOS
in ESP-IDF, outlining the different FreeRTOS implementations (IDF vs Amazon)
and various supplemental features. The details of each implementation will be
separated to their own documents.
2023-02-17 20:43:30 +08:00
Darian Leung
fe11add262 freertos: Rename SMP changes document to ESP-IDF FreeRTOS
This commit renames "freertos-smp" docuemnt to "freertos_idf". This fits better
with the current dual FreeRTOS implementation (i.e., IDF FreeRTOS and Amazon
SMP FreeRTOS), both of which are SMP capable.
2023-02-17 20:43:30 +08:00
Linda
1b9df395b0 docs: fix a broken link in mcpwm of API reference 2023-02-15 11:04:01 +08:00
Marius Vikhammer
55c2ac7b96 docs: fix rst external links with wrong format 2023-02-13 12:05:21 +08:00
Marius Vikhammer
33afa9a14a docs: fix broken link in fatfs doc 2023-02-09 16:10:57 +08:00
morris
de8409fa88 gptimer: acquire pm lock for xtal clock source 2023-02-09 14:10:15 +08:00
KonstantinKondrashov
07bf145e06 doc: Update hmac article 2023-01-23 21:03:00 +08:00
Jiang Jiang Jian
96db537020 Merge branch 'feature/apply_new_version_logic_v5.0' into 'release/v5.0'
all: Apply new version logic (major * 100 + minor) (v5.0)

See merge request espressif/esp-idf!20941
2023-01-12 16:18:23 +08:00
Mahavir Jain
6988e82430 Merge branch 'feature/esp_http_server_esp_events_v5.0' into 'release/v5.0'
esp_http_server: Added support for esp_events (v5.0)

See merge request espressif/esp-idf!21844
2023-01-12 12:40:12 +08:00
Tomas Rezucha
b4f281f523 tinyusb: Add TinyUSB example tests 2023-01-09 17:55:02 +08:00
morris
ae7c8de4a7 mcpwm: support non-varg version of generator functions
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
KonstantinKondrashov
823024c10c all: Apply new version logic (major * 100 + minor) 2023-01-06 02:00:52 +08:00
Mahavir Jain
7860662a93
docs: remove mention of DIS_BOOT_REMAP for chips other than ESP32-S2
Relevant: https://esp32.com/viewtopic.php?f=13&t=31188
2023-01-04 21:29:33 +05:30
Harshit Malpani
1a39a17777
esp_http_server: Added support for esp_events 2022-12-29 18:08:38 +05:30
Harshit Malpani
83896d877a
docs: Update esp_https_ota docs to have information about OTA events 2022-12-21 10:39:35 +05:30
Jiang Jiang Jian
25eb1f0c6e Merge branch 'bugfix/some_wifi_fixes_v5.0' into 'release/v5.0'
esp_wifi: update wifi lib to latest master for v5.0

See merge request espressif/esp-idf!21680
2022-12-21 10:50:49 +08:00
Jiang Jiang Jian
594dd810f1 Merge branch 'bugfix/esp_lcd_modify_bounce_buffer_index_v5.0' into 'release/v5.0'
RGB LCD: support multi frame buffer in bounce buffer mode (v5.0)

See merge request espressif/esp-idf!21660
2022-12-21 10:48:18 +08:00
Jiang Jiang Jian
c173845ff3 Merge branch 'feature/tlsf-dynamic-control-size_v5.0' into 'release/v5.0'
heap: Update to the new tlsf implementation of dynamic metadata size (backport v5.0)

See merge request espressif/esp-idf!20774
2022-12-20 13:51:07 +08:00
Angus Gratton
8468ea3dcc
build system: Add idf_component_add_link_dependency function, use for spi_flash overriding 2022-12-19 15:25:30 +01:00
zhangyanjiao
bf8167ed42 fix typos in docs 2022-12-19 14:20:29 +08:00
Krzysztof Budzynski
c43c41967c fix typos error 2022-12-19 14:20:16 +08:00
zhangyanjiao
270940dda0 esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
2022-12-19 14:20:05 +08:00
morris
6d22959461 doc: recommend turn on psram xip feature for bounbe buffer mode 2022-12-16 17:48:28 +08:00
Armando
bb074904b4 adc: no longer support adc2 oneshot mode on esp32c3
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.

However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
Armando
1c373cf293 adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous  mode is not stable.

However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
morris
7cb4504c55 Merge branch 'doc/esp_lcd_class_diagram_v5.0' into 'release/v5.0'
RGB LCD multi-framebuffer support (v5.0)

See merge request espressif/esp-idf!21476
2022-12-12 11:47:38 +08:00
Jiang Jiang Jian
9dd8e497fd Merge branch 'feature/esp_tls_add_cert_selection_callback_v5.0' into 'release/v5.0'
esp-tls: Add support for the CERTIFICATE SELECTION HOOK. The hook has access... (v5.0)

See merge request espressif/esp-idf!21220
2022-12-08 11:52:45 +08:00
morris
1c45872a00 doc: add api reference for controller lcd drivers 2022-12-07 17:55:19 +08:00
morris
e843281c8f Merge branch 'doc/explain_ledc_callback_return_value_v5.0' into 'release/v5.0'
ledc: explain the callback return value (v5.0)

See merge request espressif/esp-idf!20966
2022-12-06 18:08:32 +08:00
zhangyanjiao
fe4efc0df6 update doc for espnow max encryped connection 2022-12-06 05:06:18 +00:00
Jiang Jiang Jian
b2396cee86 Merge branch 'bugfix/multiple_wifi_fixes_v5.0' into 'release/v5.0'
esp_wifi: update wifi lib

See merge request espressif/esp-idf!21425
2022-12-06 13:05:08 +08:00
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
Aditya Patwardhan
079e10666a esp_tls: Update documentation for cert callback 2022-12-05 08:59:24 +05:30
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
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
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
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
Marius Vikhammer
c7e8aca45f docs: remove link to i2c specs 2022-10-31 11:54:00 +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
0db5909b47 mcpwm: new function to fetch capture resolution 2022-10-21 07:37:36 +00: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
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
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
35bb72bbfc docs: fixed misc broken links 2022-09-19 11:10:23 +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
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
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
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
Tomas Rezucha
ca445ed99f usb_host: Use MSC driver from component registry 2022-09-08 14:05:48 +02:00
Tomas Rezucha
f30eab33a1 usb: Bring USB Host API out of beta 2022-09-08 14:05:10 +02: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
Jakob Hasse
615bc28836 doc (nvs): added note about maximum possible namespaces 2022-09-06 10:00:23 +02: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
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
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
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
Laukik Hase
1dd7c7a480
docs: Added migration guide for app_update
- Deprecated functions and alternatives
2022-08-24 14:46:33 +05:30
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
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
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
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