Commit Graph

4380 Commits

Author SHA1 Message Date
Peter Dragun
64be67e59d docs(docker): update instructions for esp_rfc2217_server 2023-03-20 10:53:05 +01:00
Mahavir Jain
bad4cd7072
spi_flash: RAM loadable ELF should have dangerous writes option allowed
For RAM loadable ELF case, there is no application or the bootloader on
the flash. And hence the check for getting current running OTA partition
or looking up partition table fails during dangerous writes option.

We are disabling the dangerous writes option for RAM loadable ELF case
and allowing writes to entire flash memory.
2023-03-20 11:10:29 +05:30
Kevin (Lao Kaiyao)
2d14ba2b91 Merge branch 'feature/analog_comparator_h2' into 'master'
Introduce the Analog Comparator driver

Closes IDF-6817

See merge request espressif/esp-idf!22355
2023-03-18 00:42:20 +08:00
Jakob Hasse
a44671c11a doc: remove left-over legacy event loop docs 2023-03-17 15:37:26 +08:00
laokaiyao
53584bb5a7 ana_cmpr: add programming guide 2023-03-17 14:35:55 +08:00
Roland Dobai
b08d08d766 Merge branch 'docs/simplify_udev_rules_instructions' into 'master'
docs: Simplify OpenOCD udev rules instructions for manual Linux installation

See merge request espressif/esp-idf!22628
2023-03-17 14:30:23 +08:00
Marius Vikhammer
34ad5d8d29 Merge branch 'docs/extra_component_dirs' into 'master'
docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide

See merge request espressif/esp-idf!22792
2023-03-17 11:28:45 +08:00
Zim Kalinowski
956a4514b8 Merge branch 'docs/broken_links_4' into 'master'
docs: fix broken links

See merge request espressif/esp-idf!22747
2023-03-16 19:53:38 +08:00
Marius Vikhammer
a0764049fa docs: fixed EXTRA_COMPONENT_DIRS being mispelled as EXTRA_COMPONENTS_DIRS in build-system guide 2023-03-16 16:52:03 +08:00
Mahavir Jain
361f6821a0 Merge branch 'feature/esp_http_client_esp_events' into 'master'
esp_http_client: Add support for esp_events

See merge request espressif/esp-idf!21113
2023-03-16 13:25:38 +08:00
Aditya Patwardhan
85b1efc729 Merge branch 'update/update_cmn_crt_authorities_csv' into 'master'
Update common cert authorities csv

See merge request espressif/esp-idf!22713
2023-03-16 12:59:48 +08:00
Wang Zi Yan
6c8d4ed6ec docs: update translation for configure-ft2232h-jtag.rst and configure-other-jtag.rst 2023-03-16 10:29:28 +08:00
Marius Vikhammer
86c647e93f docs: add note about configuring panic/system reset for task WDT
Closes https://github.com/espressif/esp-idf/issues/10995
2023-03-16 09:52:04 +08:00
Sudeep Mohanty
9b81e2b189 freertos: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches
FromISR APIs would put an unblocked task on the pending ready list if
the scheduler is suspended on the current core, irrespective of the
task's core affinity and the state of the scheduler on the other core.
This commit updates this behavior by allowing tasks to get scheduled on
a core which has the scheduler running as long as the task's core
affinity allows it.
2023-03-15 07:43:33 +00:00
Harshit Malpani
674fd8feb8
esp_http_client: Add support for esp_events 2023-03-15 11:48:11 +05:30
Marius Vikhammer
02f88d81ce docs: fix broken links 2023-03-14 11:40:35 +08:00
Jiang Jiang Jian
266a58f85b Merge branch 'bugfix/add_rf_test_lib' into 'master'
esp_phy: Update esp32c3/s3 phy lib and add test lib

Closes WIFI-5097

See merge request espressif/esp-idf!22058
2023-03-13 20:21:47 +08:00
Sudeep Mohanty
1559b6309f Merge branch 'bugfix/ulp_docs_incorrect_jump_desc' into 'master'
docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions

Closes IDFGH-9574

See merge request espressif/esp-idf!22695
2023-03-13 17:53:14 +08:00
Omar Chebib
2f4c32afac Apply 1 suggestion(s) to 1 file(s) 2023-03-13 14:47:09 +08:00
xiehang
a85ff31f00 Add the esp_phy_cert_test.h file to Doxyfile 2023-03-13 14:15:37 +08:00
Espressif BOT
e174fc967e Update common cert authorities csv 2023-03-12 11:00:24 +08:00
Song Ruo Jing
3ec287eaa5 Merge branch 'feature/ledc_gamma_curve_support' into 'master'
ledc: Support gamma curve fade feature

Closes IDF-5811 and IDF-6236

See merge request espressif/esp-idf!22486
2023-03-12 07:54:08 +08:00
Sudeep Mohanty
ce796ffaf9 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-11 08:10:10 +01:00
morris
f8d68efcbf Merge branch 'bugfix/atomic_gptimer_fsm' into 'master'
gptimer: fix race condition between start and stop

See merge request espressif/esp-idf!22620
2023-03-11 09:40:17 +08:00
Jiang Jiang Jian
d5f53fb415 Merge branch 'feature/nan_datapath' into 'master'
NAN Datapath support and console example

Closes WIFI-1223

See merge request espressif/esp-idf!13593
2023-03-11 04:50:10 +08:00
morris
2d52334e5d 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-10 23:27:29 +08:00
Nachiket Kukade
4c76af3f68 esp_wifi: Add support for NAN Discovery and Datapath
Update wifi lib with below -
1. Create NAN Discovery SM for beaconing & cluster formation
2. Create NAN interface for Tx/Rx of beacons & action frames
3. Add commands & events for NAN Services Publish/Subscribe/Followup
4. Add NAN Datapath definitions, Events, Peer structures
5. Support for forming and parsing of Datapath related attributes
6. Modules for NDP Req, Resp, Confirm, Term, Peer management
7. NAN Interface related additions in Datapath, Data Tx Q's

In addition include below changes -
1. Add netif and driver support for NAN Interface
2. Add simple examples for Publisher-Subscriber usecases
3. Add an advanced console example that supports commands
   for NAN Discovery, Services & Datapath
4. Add wifi_apps for providing better NAN API's and Peer management

Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
2023-03-10 11:18:23 +05:30
Fu Hanxi
7002a5ce10 Merge branch 'docs/update_idf_build_apps_and_pytest' into 'master'
Docs/update idf build apps and pytest

See merge request espressif/esp-idf!22696
2023-03-10 13:08:25 +08:00
Song Ruo Jing
79f34fe524 ledc: Support gamma curve fade feature on esp32c6 and esp32h2 2023-03-10 12:42:46 +08:00
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
Linda
7a9676db16 Update link in mDNS.rst 2023-02-20 18:51:44 +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
Guillaume Souchere
2cf9236f6c heap trace standalone: Fix initialization of the unused linked list, update tests
- Call TAILQ_INSERT_TAIL in linked_list_setup to add unused records from the tail of the list
- Fix test "heap trace leak check" to expect that after a free, the record is zeroed instead of checking that
  the whole list of records is moved by one index in the array.
- Use esp_rom_printf() under lock instead of printf() since it does not rely on interrupts.
2023-02-14 09:48:14 +01:00
Erhan Kurubas
69b1d1786c docs: JTAG debugging update for ESP32-H2 2023-02-13 22:49:00 +01:00
Mahavir Jain
61bf801d0f Merge branch 'feature/esp32h2_add_hmac_ds' into 'master'
ESP32-H2 add HMAC and DS Peripheral support

Closes IDF-6279 and IDF-6285

See merge request espressif/esp-idf!22306
2023-02-13 20:04:50 +08:00
Armando (Dou Yiwen)
d3fec8394f Merge branch 'feature/adc_filter' into 'master'
adc: supported adc digital filter

Closes IDF-2529, IDFGH-9113, and IDFGH-9279

See merge request espressif/esp-idf!22035
2023-02-13 16:43:58 +08:00
Sachin Parekh
2bb9499a7e esp32c6: Enable ECDSA based secure boot
- Updated documentation for C6
2023-02-13 13:02:11 +05:30
Mahavir Jain
9a66885af1
docs: remove H2 HMAC and DS chapters from not updated list 2023-02-13 10:37:38 +05:30
Marius Vikhammer
98c55f29d1 docs: fix rst external links with wrong format 2023-02-13 11:51:31 +08:00
morris
c2c4fbff13 lcd: driver support for esp32h2 2023-02-11 00:30:48 +00:00
Jiang Jiang Jian
254efe402e Merge branch 'feature/wifi_kconfig_merge' into 'master'
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig

Closes WIFI-4541 and IDF-1830

See merge request espressif/esp-idf!18998
2023-02-11 07:38:46 +08:00
Kapil Gupta
30a2558450 esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig 2023-02-11 07:38:45 +08:00
Armando
7e6bf9f987 esp_adc: added adc filter doc, and filter migration guides 2023-02-10 16:46:20 +00:00
Roland Dobai
648b1a41c6 Merge branch 'bugfix/dbg_target_hints' into 'master'
tools: enable hints for debug targets

Closes IDF-5795

See merge request espressif/esp-idf!22198
2023-02-10 17:25:27 +08:00
Roland Dobai
1dc3d5ef22 Merge branch 'feature/introduce_spdx_licenseref' into 'master'
tools: allow to use LicenseRef-[idstring] in SPDX-License-Identifier

Closes IDF-4486

See merge request espressif/esp-idf!22132
2023-02-10 17:08:01 +08:00
Frantisek Hrbata
08c9a7b520 tools: add new outdated option for idf_tools.py list
This adds a new outdated option, which only lists outdated
packages installed in IDF_TOOLS_PATH. It searches for the
latest installed tool version in the IDF_TOOLS_PATH/tools path and
compares it against the latest available version in the tools.json
file. If the latest version of a tool installed in IDF_TOOLS_PATH/tools
is smaller, it's reported as outdated. Nothing is reported if the tool
is up to date.

Two new tests are added. First just checks if nothing is reported in
case there is no update available. The second artificially generates
new tools.json file called tools.outdated.json and sets XTENSA_ESP32_ELF
version to 'zzzzzz'. It then checks if the XTENSA_ESP32_ELF tool
is reported as outdated by the 'zzzzzz' version.

Description of the new outdated option is addedd to docs as well.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-09 10:25:45 +01:00
C.S.M
7e08b407b9 Merge branch 'feature/spi_flash_vendor_classify' into 'master'
spi_flash: only link flash vendor which is officially supported to save IRAM

See merge request espressif/esp-idf!22255
2023-02-09 13:48:15 +08:00
Jakob Hasse
4be50db159 Merge branch 'docs/elm_chan_broken_link' into 'master'
docs: fix broken link in fatfs doc

See merge request espressif/esp-idf!22268
2023-02-09 11:54:49 +08:00
Wan Lei
005e4c7e0b Merge branch 'feature/spi_h2_support' into 'master'
SPI: Support master, slave, slave_hd driver for H2

Closes IDF-6245, IDF-6246, IDF-6247, and IDF-6696

See merge request espressif/esp-idf!22048
2023-02-09 11:04:46 +08:00
Cao Sen Miao
0f8f13d21d spi_flash: only link flash vendor which is officially supported to save IRAM 2023-02-09 10:28:54 +08:00
Marius Vikhammer
6233b0aa64 Merge branch 'feature/c6_newlib_nano' into 'master'
newlib: update newlib nano documentation for C6

See merge request espressif/esp-idf!22219
2023-02-09 10:13:47 +08:00
morris
76433e4cb2 Merge branch 'refactor/gptimer_pm_lock_logic' into 'master'
gptimer: add pm lock for xtal clock

Closes DOC-4504

See merge request espressif/esp-idf!22162
2023-02-09 01:48:29 +08:00
Mahavir Jain
889142552c Merge branch 'docs/refactor_secure_boot_v2_documentation' into 'master'
docs: refactored Secure Boot V2 documentation

Closes IDF-6760

See merge request espressif/esp-idf!22258
2023-02-08 18:40:43 +08:00
morris
044a114e66 gptimer: unify clock setting with clk_tree API 2023-02-08 16:30:47 +08:00
Mahavir Jain
02fb6fab09
docs: secure-boot-v2: add a section about secure padding 2023-02-08 12:01:52 +05:30
harshal.patil
3c0778a069
docs: refactored Secure Boot V2 documentation
- Added "Signing using pre-calculate signatures" section
- Refactored "Signing using an external HSM" section
2023-02-08 12:01:47 +05:30
Marius Vikhammer
4a0c5991ab docs: fix broken link in fatfs doc 2023-02-08 12:02:17 +08:00
wanlei
5300bd3b2f spi: support H2 spi master, slave, slave_hd driver 2023-02-08 11:38:45 +08:00
Marius Vikhammer
65a4058e8c newlib: update newlib nano documentation for C6
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
Armando
0947bcce1b docs: make s3 octal flash error handling clearer 2023-02-08 10:47:05 +08:00
morris
990c6f58a6 Merge branch 'feature/etm_support_h2' into 'master'
etm: add basic driver on esp32h2

Closes IDF-6225

See merge request espressif/esp-idf!22246
2023-02-08 10:42:10 +08:00
Kevin (Lao Kaiyao)
668eb92d4f Merge branch 'contrib/github_pr_10672' into 'master'
Add maximum speed to I2C slave config in docs (GitHub PR)

Closes IDFGH-9289

See merge request espressif/esp-idf!22235
2023-02-08 10:22:56 +08:00
morris
6f8ee89302 etm: add basic driver on esp32h2 2023-02-07 14:54:08 +00:00
Roland Dobai
4bd5ebb4a1 Merge branch 'tools/monitor_move' into 'master'
Tools(idf_monitor): Move idf_monitor to separate repo

Closes IDF-4109

See merge request espressif/esp-idf!22050
2023-02-07 19:47:46 +08:00
Kevin (Lao Kaiyao)
421e5e6416 Merge branch 'refactor/pack_driver_source_files' into 'master'
components/driver: pack peripherals

See merge request espressif/esp-idf!22173
2023-02-07 10:20:57 +08:00
Mahavir Jain
dc7f47aaeb Merge branch 'docs/esp32c6_enable_flash_encryption_documentation' into 'master'
esp32c6: update documentation for flash encryption

Closes IDF-5358

See merge request espressif/esp-idf!22229
2023-02-06 23:47:28 +08:00
wanlei
6ec9802eb7 spi_master: fix clock source RC_FAST usage 2023-02-06 12:41:17 +08:00
Song Ruo Jing
b72d759290 uart: Add support for esp32h2 2023-02-06 00:48:04 +08:00
Sudeep Mohanty
371fe114bc docs: Updated chip independednt api-reference chapters for c6 and h2 2023-02-03 15:00:27 +01:00
Frantisek Hrbata
4b5e56e08c docs: hints are supported for gdbui and openocd
Hints should be now working for gdbui and openocd. They are not
produced via RunTool(), but the hints are used directly.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-03 14:59:28 +01:00
Aditya Patwardhan
b06a029677 esp32c6: update documentation for flash encryption 2023-02-03 16:01:06 +05:30
Mo Fei Fei
6d4313f414 Docs: update CN trans for idf_monitor.rst 2023-02-03 11:20:18 +01:00
Peter Dragun
3e3533f918 feat(idf_monitor): move idf_monitor to separate repo 2023-02-03 11:20:15 +01:00
morris
15b9352f60 mcpwm: support esp32h2 2023-02-02 19:05:31 +08:00
David Čermák
b37980d26e Merge branch 'bugfix/mqtt_docs_migration_5.x' into 'master'
mqtt/docs: Mention removal of user_context in 5.x migration guide

Closes IDFGH-9261

See merge request espressif/esp-idf!22177
2023-02-02 18:55:29 +08:00
laokaiyao
f27cd67c00 driver: pack peripherals 2023-02-02 18:19:58 +08:00
Dai Zi Yan
b97a98a703 Merge branch 'docs/sync_up_translation_Jan' into 'master'
docs: sync up translation for api-reference

Closes DOC-4445 and DOC-3673

See merge request espressif/esp-idf!22150
2023-02-02 18:07:21 +08:00
David Cermak
2f8b12deb4 mqtt/docs: Mention removal of user_context in 5.x migration guide
update CN for migration-guides/release-5.x/5.0/protocols.rst
Co-Authored-By: Wang Zi Yan <wangziyan@espressif.com>

Closes https://github.com/espressif/esp-idf/issues/10644
2023-02-02 10:41:21 +01:00
morris
753eab91ee Merge branch 'feature/usj_support_h2' into 'master'
USJ console support on esp32h2

Closes IDF-6239

See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
Erhan Kurubas
dbdffd7329 Merge branch 'fix_jtag_debugging_update_doc_esp32c6' into 'master'
doc: fix usb-jtag configure efuse section

See merge request espressif/esp-idf!22166
2023-02-02 17:06:46 +08:00
Frantisek Hrbata
8e893db5f3 docs: allow to use SPDX LicenseRef-[idstring] indentifier
In a very rare cases there is a need to use custom license, which is not
present on the SPDX list. Now, files under such license are added to the
check_copyright ignore list. For example zigbee examples introduced
by !16205. SPDX has a LicenseRef-[idstring] identifier[1] for such cases,
so let's try to use it in license representation[2]. The idea is that licenses
not on the SPDX list can be added into the LICENSES[3] directory and used as

	SPDX-License-Identifier: LicenseRef-Special-License

Or if the custom license is present directly in a source file we can use
a special LicenseRef-Included identifier to state that the license
is included.

	SPDX-License-Identifier: LicenseRef-Included

Please note that LicenseRef-Included is just a made up identifier to
state the fact that the license is included directly in the source file.
There is nothing in the SPDX spec about this usage.

This relatively small adjustment allows to refer to custom licenses
without a need to skip check_copyright for them.

[1] https://spdx.github.io/spdx-spec/v2.3/other-licensing-information-detected/#101-license-identifier-field
[2] https://spdx.github.io/spdx-spec/v2.3/using-SPDX-short-identifiers-in-source-files/#e4-representing-multiple-licenses
[3] https://reuse.software/spec/

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-02 08:21:47 +01:00
daiziyan
4667f1b3ef docs: sync up translation for api-reference 2023-02-02 14:44:13 +08:00
Himel Patel
77bd7b38ce Add maximum speed to I2C slave config in docs 2023-02-01 23:33:44 +11:00
laokaiyao
330149f3a6 i2c: support i2c on esp32h2 2023-02-01 11:23:11 +08:00
David Čermák
dba0718f47 Merge branch 'feature/lwip_linux' into 'master'
lwip: Add support for linux target

Closes IDF-5707, IDF-5647, and IDF-6003

See merge request espressif/esp-idf!19302
2023-01-31 22:01:50 +08:00
Wang Zi Yan
2940d41047 docs: update translation for configure-other-jtag.rst and index.rst 2023-01-31 10:02:48 +01:00
Erhan Kurubas
f13b6d1f87 doc: fix usb-jtag configure efuse section 2023-01-31 10:02:48 +01:00
morris
3151f9c8f1 usj: bringup on esp32h2 2023-01-31 16:21:47 +08:00
Wan Lei
e6ed62d18a Merge branch 'feature/spi_isr_pin_to_core' into 'master'
spi: add feature to assign core_id of spi isr registered

Closes IDF-6371

See merge request espressif/esp-idf!21597
2023-01-31 15:57:33 +08:00
David Cermak
fa97004faf lwip: Support for linux target
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00
Jiang Jiang Jian
1195b6cb2b Merge branch 'docs/add_some_details_for_wifi_scan_description' into 'master'
Docs/add some details for wifi scan description

Closes DOC-4179 and IDFGH-8980

See merge request espressif/esp-idf!21589
2023-01-31 13:56:09 +08:00
Song Ruo Jing
0d07f85916 Merge branch 'feature/esp32h2_ledc_support' into 'master'
ledc: Add support for ESP32H2

Closes IDF-6235 and IDF-6698

See merge request espressif/esp-idf!22120
2023-01-31 12:26:30 +08:00
Marius Vikhammer
4c4a0a9427 Merge branch 'docs/fatal_errors_c6_h2' into 'master'
docs: update misc system docs for C6/H2

Closes IDF-5920, IDF-6692, IDF-5928, IDF-6684, IDF-5927, and IDF-6685

See merge request espressif/esp-idf!22105
2023-01-31 09:57:50 +08:00
Song Ruo Jing
ad55230b0a ledc: Add support for esp32h2; Refactor ledc driver clock source selection related code
LEDC examples and test cases are supported on ESP32H2.
   Switch to use general clock IDs for ledc_clk_cfg_t enum values.
   Deprecate LEDC_USE_RTC8M_CLK.
2023-01-30 19:19:34 +08:00
Armando (Dou Yiwen)
375aaf8e7b Merge branch 'bugfix/fix_s3_devkit_doc_mspi_pin_issue' into 'master'
Doc: added a warning to not use pin 35, 36, 37 on modules with octal

Closes IDFGH-9217

See merge request espressif/esp-idf!22152
2023-01-30 17:57:16 +08:00
morris
a15830bcfc Merge branch 'bugfix/correct_default_apb_frequency' into 'master'
soc: fix wrong APB_CLK_FREQ value on esp32c6

Closes IDF-6343

See merge request espressif/esp-idf!22080
2023-01-30 17:12:55 +08:00
wanlei
713dc06661 spi: add feature to modify core_id of spi isr regstered 2023-01-30 16:14:02 +08:00
Zhang Xiao Yan
b517114a0f Merge branch 'docs/update_section_names_adc_calibration' into 'master'
update section names of adc_calibration.rst

See merge request espressif/esp-idf!22061
2023-01-30 14:31:19 +08:00
Armando
d59f77b8f0 Doc: added a warning to not use pin 35, 36, 37 on modules with octal external memory
Closes https://github.com/espressif/esp-idf/issues/10605
2023-01-30 14:22:55 +08:00
Marius Vikhammer
c7a41fb860 docs: update system api guides and intr chapters for C6 and H2 2023-01-29 16:15:36 +08:00
Marius Vikhammer
2973600c45 docs: update fatal error doc for C6/H2 2023-01-29 14:03:09 +08:00
morris
774a05399b soc: fix wrong APB_CLK_FREQ value on esp32c6 2023-01-28 06:33:23 +00:00