Fu Hanxi
953d1fcbca
docs: provide simple approach to run pytest locally
2023-03-10 11:25:02 +08:00
Armando
75629ee6a8
spi_flash: added programming guide for ESP-IDF vs ESP-ROM flash driver
2023-03-09 14:55:13 +08:00
Roland Dobai
b5b062a55c
Merge branch 'bufix/fix_check_kconfigs_mention' into 'master'
...
bugfix: Fix documentation reference to check_kconfigs.py
Closes IDFGH-9573
See merge request espressif/esp-idf!22626
2023-03-09 00:26:11 +08:00
Martin Vychodil
f8383f439f
Merge branch 'feature/sd_perf_uplift' into 'master'
...
fatfs: fstat - enable setting a custom preferred block size
Closes IDF-6978
See merge request espressif/esp-idf!22522
2023-03-09 00:03:02 +08:00
Djordje Nedic
29e8025750
docs: Simplify OpenOCD udev rules instructions for manual Linux installation
...
Instead of pointing the user to the OpenOCD documentation, we simply instruct them to copy a single file and point them directly to it.
2023-03-08 13:49:21 +01:00
Zim Kalinowski
05037957c7
Merge branch 'docs/broken_links_2' into 'master'
...
docs: fix broken links
See merge request espressif/esp-idf!22611
2023-03-08 18:12:24 +08:00
Adam Múdry
16915556a3
fatfs: fstat - enable setting a custom preferred block size
...
Enables setting a custom st_blksize in fatfs vfs fstat function.
Directly affects file buffer size for fatfs.
Increasing the value helps with fread and fgets speeds, however increases heap usage.
Added info to docs about improving I/O performance.
2023-03-08 09:09:47 +01:00
daiziyan
9ba9dc04b0
docs: updated flash-encryption, startup, memory-types and misc_system_api
2023-03-07 18:06:52 +08:00
Darian
daf4150846
Merge branch 'refactor/freertos_port_malloc_macros' into 'master'
...
FreeRTOS(IDF): Refactor pvPortMalloc()/vPortFree(), Implement IDF heap wrapper for FreeRTOS.
Closes IDF-3997
See merge request espressif/esp-idf!22565
2023-03-07 17:30:10 +08:00
Mahavir Jain
56dc272514
Merge branch 'feature/esp32h2_secure_boot' into 'master'
...
esp32h2: add secure boot feature support
Closes IDF-6281 and IDF-6681
See merge request espressif/esp-idf!22625
2023-03-07 15:27:04 +08:00
Noah Pendleton
e7747bdee6
doc: fix a small typo for check_kconfigs.py
...
The script was moved in bcc8f2628c
,
update the doc reference to match.
2023-03-06 09:58:15 -05:00
Mahavir Jain
11e034b387
docs: add ESP32-H2 secure boot guide
...
Close IDF-6681
2023-03-06 16:58:08 +05:30
Marius Vikhammer
24e0d91cd0
docs: fix broken links
2023-03-06 17:29:10 +08:00
Darian Leung
e21ab0332b
freertos(IDF): Refactor port heap functions
...
Vanilla FreeRTOS expects applications to use one of the heap implementations
provided by FreeRTOS (i.e., heap_x.c), where functions such as pvPortMalloc()
and vPortFree() are defined in the heap implementation.
However, ESP-IDF already provides its own heap implementation
(i.e., esp_heap_caps.h). Thus, the pvPortMallc()/vPortFree() functions were
previously overriden by macro to call esp_heap functions directly.
This commit refactors the FreeRTOS port's heap as such:
- Added a heap_idf.c that implements all of the heap related functions required
by FreeRTOS source
- All dynamic memory allocated by FreeRTOS is from internal memory. Thus, the
FreeRTOS heap is the internal memory subset of the ESP-IDF heap.
- Removed some old macros to reduce diff from upstream source code.
2023-03-06 16:00:29 +08:00
Cao Sen Miao
7686e06e4e
docs: Remove not-updated warning for I2C Flash and temperature sensor
2023-03-06 11:25:14 +08:00
Wu Zheng Hui
2066977b48
Merge branch 'feature/bringup_esp32c6_deepsleep_support_master' into 'master'
...
esp32c6: bringup deepsleep examples
Closes IDF-6051, IDF-6052, IDF-5349, IDF-5924, and WIFI-5352
See merge request espressif/esp-idf!22300
2023-03-03 23:53:10 +08:00
C.S.M
679dae70cd
Merge branch 'feature/temperature_intr' into 'master'
...
temperature sensor: Add high/low value threshold interrupt support
Closes IDF-5786
See merge request espressif/esp-idf!22331
2023-03-03 15:31:23 +08:00
Cao Sen Miao
840ff4f865
temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6
2023-03-03 10:38:40 +08:00
wuzhenghui
709adaaa37
soc_caps: since esp32c6 only support one ext wakeup src, split SOC_PM_SUPPORT_EXT_WAKEUP
...
Close IDF-5924
2023-03-02 15:06:05 +08:00
Wang Zi Yan
2e4455a7e4
docs: finalize CN for index/spi_slave/system_time
2023-03-02 07:04:49 +00:00
Wang Zi Yan
c490c3a183
docs: update CN for index/spi_slave/system_time
2023-03-02 07:04:49 +00:00
Darian
640ba3c029
Merge branch 'feature/ringbuf_uses_event_lists' into 'master'
...
esp_ringbuf: Replace internal semaphores with task event lists
Closes IDF-875
See merge request espressif/esp-idf!22442
2023-03-02 01:58:44 +08:00
David Čermák
956e62c461
Merge branch 'feature/lwip_ipv6_only' into 'master'
...
lwip: Support IPv6 only mode
Closes IDF-6023
See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
Song Ruo Jing
0558d40c81
Merge branch 'contrib/github_pr_10856' into 'master'
...
Correct typo in referenced function name (GitHub PR)
Closes IDFGH-9496
See merge request espressif/esp-idf!22537
2023-03-01 18:39:11 +08:00
morris
14555a19db
Merge branch 'feature/parlio_driver' into 'master'
...
Parallel IO TX driver && LED Matrix example
Closes IDF-6607
See merge request espressif/esp-idf!22163
2023-03-01 17:08:16 +08:00
Bradley McFadden
6a21403cba
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-01 12:19:07 +08:00
Zhang Xiao Yan
268a662e6c
Merge branch 'docs/add_link_to_vscode_debug_configuration' into 'master'
...
docs: add link to configuration of VSCode debug
See merge request espressif/esp-idf!22526
2023-03-01 10:33:55 +08:00
morris
a7f5ff32ff
doc: initial parallel IO programming guide
...
Also correct the GPIO information on esp32h2.
2023-03-01 00:43:14 +00:00
Darian Leung
443d87c2ff
esp_ringbuf: Replace internal semaphores with task event lists
...
This commit replaces the existing TX/RX semaphores with FreeRTOS task event
lists (similar to how FreeRTOS queues implement task blocking). Using task
event lists allows the ring buffer object to be smaller and various ring buffer
functions to be faster. The ring buffer queue set impelementation was also
updated as a result.
2023-02-28 23:56:45 +08:00
Martin Vychodil
25e438d94b
Merge branch 'feature/sdspi_host_h2' into 'master'
...
sdspi: h2 support
Closes IDF-6244
See merge request espressif/esp-idf!22504
2023-02-28 16:32:36 +08:00
Jiang Jiang Jian
146a5c4de4
Merge branch 'feature/sae_softAP' into 'master'
...
esp_wifi: WPA3-SAE support for softAP
Closes IDFGH-4771
See merge request espressif/esp-idf!15690
2023-02-28 12:25:05 +08:00
Shreyas Sheth
2b8e40e760
esp_wifi: WPA3-SAE support for softAP
2023-02-28 12:25:05 +08:00
Song Ruo Jing
8486a2c3ad
Merge branch 'bugfix/revert_rtc_clock_bbpll_power_on_with_usb' into 'master'
...
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
Closes IDFGH-6887
See merge request espressif/esp-idf!20973
2023-02-27 23:18:54 +08:00
Mahavir Jain
ad19981af8
Merge branch 'feature/esp32h2_enable_flash_encryption' into 'master'
...
Feature/esp32h2 enable flash encryption
Closes IDF-6282 and IDF-6680
See merge request espressif/esp-idf!22502
2023-02-27 16:55:32 +08:00
Linda
414a5c0410
docs: add link to configuration of VSCode debug
2023-02-27 16:31:48 +08:00
David Cermak
5f6cb31105
lwip: Support IPv6 only mode
2023-02-27 08:53:34 +01:00
Armando
83d0181a2c
sdspi: h2 support
2023-02-27 14:39:06 +08:00
Song Ruo Jing
1a66459b44
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
...
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
During sleep, BBPLL clock always gets disabled
esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
When this option is selected, IDF will constantly monitor USB CDC port connection status.
As long as it gets connected to a HOST, automatic light-sleep will not happen.
Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
liuning
7817c23623
esp_coex: correct Kconfig name
2023-02-26 06:58:18 +00:00
Sudeep Mohanty
6c1a544782
Merge branch 'docs/ulp_docs_incorrect_notes' into 'master'
...
docs: Ulpdated ULP docs to have the correct notes directive
Closes IDF-2522
See merge request espressif/esp-idf!22415
2023-02-24 18:17:31 +08:00
Aditya Patwardhan
7b40852d2f
docs/flash_encryption: Update docs for esp32h2 target
2023-02-24 15:21:51 +05:30
Wan Lei
cf146d4b31
Merge branch 'bugfix/fix_spi_master_iram_safe_env' into 'master'
...
spi_master: fix whole master driver iram safe enviroenment
Closes IDF-6848
See merge request espressif/esp-idf!22401
2023-02-24 14:54:03 +08:00
Armando (Dou Yiwen)
4452a3cf3e
Merge branch 'feature/support_h2_adc' into 'master'
...
adc: support adc h2
Closes IDF-6124, IDF-6214, IDF-6543, IDF-6215, IDF-6664, and IDF-6695
See merge request espressif/esp-idf!22205
2023-02-24 14:28:33 +08:00
Jing Li
a529771d88
Merge branch 'refactor/pm_use_unified_esp_pm_config_t' into 'master'
...
pm: refactor pm codes to use unified esp_pm_config_t
See merge request espressif/esp-idf!22472
2023-02-24 14:06:19 +08:00
Marius Vikhammer
c2f9392be5
Merge branch 'feature/h2_wdt' into 'master'
...
wdt: add support for H2
Closes IDF-6643 and IDF-6678
See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
wanlei
f11c44e55b
spi_master: fix master driver iram safe enviroenment
2023-02-24 10:46:06 +08:00
C.S.M
b184b9a153
Merge branch 'bugfix/usb_serial_driver_block' into 'master'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver
Closes IDF-5390 and IDFGH-8776
See merge request espressif/esp-idf!22412
2023-02-24 10:22:08 +08:00
Cao Sen Miao
720b8d9c1a
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-02-23 17:45:39 +08:00
Armando
5653018cd1
esp_adc: support selecting clock source for oneshot driver
2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6
esp_adc: support h2 oneshot mode and continuous mode
2023-02-23 11:48:31 +08:00
jingli
eede7295d1
docs: upate migration guides for deprecated type and header file in power management component
2023-02-23 11:36:13 +08:00
jingli
8f415a7f44
refactor: power management component use unified esp_pm_config_t
2023-02-23 11:36:07 +08:00
Marius Vikhammer
5d26a0de9a
wdt: add support for H2
2023-02-23 11:22:51 +08:00
Wang Ning
aa892a18a3
Merge branch 'docs/fix_errors_in_esp32-c3-devkitm-1_pin_list' into 'master'
...
Docs/Fix Errors in ESP32-C3-DevKitM-1 Pin List
Closes DOC-4657
See merge request espressif/esp-idf!22460
2023-02-23 11:07:12 +08:00
Wang Ning
712e15e45c
Docs/Fix Errors in ESP32-C3-DevKitM-1 Pin List
2023-02-23 11:07:11 +08:00
Chip Weinberger
c39be8bc76
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-02-22 14:28:08 +08:00
Wang Zi Yan
262699683d
docs: add CN GCC-12.2.0 migration guide
2023-02-22 05:33:03 +00:00
Alexey Lapshin
e4eca000f7
docs: add EN GCC-12.2.0 migration guide
2023-02-22 05:33:03 +00:00
Zhang Xiao Yan
778aeae99e
Merge branch 'docs/remove_incorrect_note_from_esp32s3_get_started' into 'master'
...
docs: remove incorrect note from get started of esp32s3
See merge request espressif/esp-idf!22389
2023-02-22 09:58:57 +08:00
Roland Dobai
b26800e7ad
Merge branch 'fix/docker_rfc2217' into 'master'
...
docs: add info how to access serial port inside docker via rfc2217
Closes IDFGH-9230
See merge request espressif/esp-idf!22441
2023-02-22 04:06:57 +08:00
Frantisek Hrbata
0788616626
docs: add info how to access serial port inside docker via rfc2217
...
On Windows/Mac the serial port cannot be access directly inside
docker container. This is already mentioned in the documentation.
This expands the documentation for steps which can be used to overcome
this limitation by using remote serial port access via telnet protocol.
Closes https://github.com/espressif/esp-idf/issues/10617
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-21 15:02:48 +01:00
Wan Lei
66cda021d0
Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
...
gpio: h2 support input hysteresis filter
Closes IDF-6653
See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
Song Ruo Jing
987fd3208a
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32h2
Closes IDF-6265 and IDF-5973
See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Mo Fei Fei
986678ce9f
Merge branch 'docs/add_cn_trans_dac.rst' into 'master'
...
Docs: Add CN translation for dac.rst
Closes DOC-4551
See merge request espressif/esp-idf!22283
2023-02-21 14:36:30 +08:00
Mo Fei Fei
ba79daade6
Docs: Add CN translation for dac.rst
2023-02-21 14:36:30 +08:00
Shang Zhou
ccb3156133
Merge branch 'docs/fix_typo_for_pin_layout' into 'master'
...
docs: Fix typo for U0TXD in the diagram
Closes DOC-4552
See merge request espressif/esp-idf!22230
2023-02-21 12:16:10 +08:00
Wan Lei
cf5387fc76
Merge branch 'feature/h2_twai_support' into 'master'
...
twai: h2 support twai driver
Closes IDF-6217 and IDF-6673
See merge request espressif/esp-idf!22174
2023-02-21 11:43:51 +08:00
Shang Zhou
99ee02d70b
docs: Fix typo for U0TXD in the diagram
2023-02-21 10:58:35 +08:00
wanlei
c9bcec9212
gpio: h2 support input hysteresis filter
2023-02-20 19:34:48 +08:00
Zhang Xiao Yan
6642009074
Merge branch 'docs/fix_typo_spi_flash' into 'master'
...
docs: fix typo in api-reference/peripherals/spi_flash
See merge request espressif/esp-idf!22402
2023-02-20 17:49:37 +08:00
Song Ruo Jing
2c2a62e323
clk_tree: Add basic clock support for esp32h2
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
Remove FPGA build for esp32h2
2023-02-20 17:15:02 +08:00
Jakob Hasse
603fc32e24
Merge branch 'docs/fix_broken_link_format' into 'master'
...
docs: fix rst external links with wrong format
See merge request espressif/esp-idf!22335
2023-02-20 14:28:07 +08:00
Linda
b08017f599
docs: fix typo in api-reference/peripherals/spi_flash
2023-02-20 14:26:47 +08:00
Darian
015697f850
Merge branch 'docs/freertos_idf_fix_redirect' into 'master'
...
freertos: Fix IDF FreeRTOS documentation redirect
See merge request espressif/esp-idf!22417
2023-02-20 14:14:18 +08:00
Mo Fei Fei
c88efb7fa8
Merge branch 'docs/sync_cn_trans_peripherals' into 'master'
...
Docs: update CN translation for migration-guides, api-reference, api-guides
Closes DOC-4614
See merge request espressif/esp-idf!22386
2023-02-20 11:49:55 +08:00
Mo Fei Fei
600ed6ac10
Docs: update CN translation for migration-guides, api-reference, api-guides
2023-02-20 11:49:54 +08:00
Krzysztof Budzynski
0048c977ee
Merge branch 'docs/fix_typo_esp32s3_gpio' into 'master'
...
docs: fix typo in api-reference/peripherals/gpio/esp32s3
See merge request espressif/esp-idf!22403
2023-02-17 22:21:37 +08:00
Darian Leung
3a609ae35b
freertos: Fix IDF FreeRTOS documentation redirect
2023-02-17 20:44:55 +08:00
Sudeep Mohanty
449ea7cab7
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-17 12:55:25 +01:00
Shang Zhou
74980e1ceb
Merge branch 'docs/update_spi_features' into 'master'
...
docs: Review and update spi_features
Closes DOC-4575
See merge request espressif/esp-idf!22249
2023-02-16 21:57:08 +08:00
Martin Vychodil
c58a84f893
Merge branch 'feature/fatfs_format_api' into 'master'
...
fatfs: added APIs to format a FAT filesystem
Closes IDF-6046
See merge request espressif/esp-idf!21845
2023-02-16 19:59:31 +08:00
wanlei
fdeeced62c
twai: h2 support twai driver
2023-02-16 16:34:23 +08:00
Shang Zhou
913c1722c2
docs: Review and update spi_features
2023-02-16 16:27:42 +08:00
Sudeep Mohanty
372d2310c9
docs: Updated api_guides/performance chapters for esp32c6 and esp32h2
...
This commit updates the api_guides/performance chapters for esp32c6 and
esp32h2.
2023-02-16 09:08:46 +01:00
Armando
d59fd3e529
fatfs: deprecate esp_vfs_fat_sdmmc_unmount
...
This API was deprecated before, but without deprecation warning and
migration doc. This commit added deprecation warning and migration doc
to it.
2023-02-16 14:17:51 +08:00
Linda
75df11ccbc
docs: fix typo in api-reference/peripherals/gpio/esp32s3
2023-02-16 12:14:30 +08:00
Marius Vikhammer
29d347acdf
Merge branch 'docs/system_feature_general_notes_c6_h2' into 'master'
...
docs: update misc docs for C6 and H2
Closes IDF-5938 and IDF-6675
See merge request espressif/esp-idf!22390
2023-02-16 10:19:14 +08:00
Erhan Kurubas
a3df4d5386
Merge branch 'apptrace_pytest' into 'master'
...
Generic apptrace example with pytest support
Closes IDF-5620
See merge request espressif/esp-idf!22195
2023-02-16 03:41:19 +08:00
Roland Dobai
2237847967
Merge branch 'fix/idf_tools_python_dir_change' into 'master'
...
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH
Closes IDFGH-9085
See merge request espressif/esp-idf!22372
2023-02-15 19:07:52 +08:00
Darian
c94e0a9892
Merge branch 'docs/freertos_doc_organization' into 'master'
...
Docs: Update FreeRTOS documentation organization for IDF and Amazon SMP FreeRTOS
See merge request espressif/esp-idf!22264
2023-02-15 18:13:53 +08:00
Wang Zi Yan
d4e79801a9
docs: update CN for api-guides/app_trace.rst
2023-02-15 10:30:41 +01:00
Erhan Kurubas
db10697b74
example/system: remove app_trace_to_host example. Instead use app_trace_basic
2023-02-15 10:30:32 +01:00
Marius Vikhammer
b67c822d10
docs: update misc docs for C6 and H2
2023-02-15 17:27:31 +08:00
Sachin Parekh
774f0ef636
Merge branch 'esp32c6/ecdsa_secure_boot_support' into 'master'
...
ESP32C6: Enable ECDSA secure boot
Closes IDF-5357 and IDF-5931
See merge request espressif/esp-idf!21058
2023-02-15 16:03:35 +08:00
Linda
c36b2eac6f
docs: remove incorrect note from get started of esp32s3
2023-02-15 15:44:39 +08:00
Guillaume Souchere
b1f9d7a8ee
Merge branch 'feature/use-linked-list-for-heap-trace-records' into 'master'
...
heap: fix Leaks perf on large records by using doubly linked list
Closes IDFGH-9121 and IDF-1244
See merge request espressif/esp-idf!22009
2023-02-15 15:14:19 +08:00
Darian Leung
3b638b12ad
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-15 12:42:18 +08:00
Darian Leung
bec82aa0cf
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-15 12:42:18 +08:00
Darian Leung
69433a9660
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-15 12:42:04 +08:00
Roland Dobai
afe554c753
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH
...
IDF_PYTHON_ENV_PATH is the path where the Python environment is created
and used. By default it is inside IDF_TOOLS_PATH. IDF_PYTHON_ENV_PATH
was exported by idf_tools.py but was not imported back. This fixes the
issue and ESP-IDF will honor the value of IDF_PYTHON_ENV_PATH.
Closes https://github.com/espressif/esp-idf/issues/10489
2023-02-14 17:26:04 +01:00