From 61bb1cf1cefcb6859309a8262d8dc407086716b8 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Tue, 28 May 2024 15:14:20 +0200 Subject: [PATCH 01/11] docs(libraries): Add new SoCs --- docs/en/libraries.rst | 94 +++++++++++++++++++++---------------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/docs/en/libraries.rst b/docs/en/libraries.rst index 6d0bfeabc0f..95b98f50ad0 100644 --- a/docs/en/libraries.rst +++ b/docs/en/libraries.rst @@ -9,53 +9,53 @@ Supported Peripherals Currently, the Arduino ESP32 supports the following peripherals with Arduino APIs. -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | | Comments | -+===============+===============+===============+===============+===============+=====+========================+ -| ADC | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Bluetooth | Yes | Not Supported | Not Supported | Not Supported | | Bluetooth Classic | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| BLE | Yes | Not Supported | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| DAC | Yes | Yes | Not Supported | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Ethernet | Yes | Not Supported | Not Supported | Not Supported | | (*) | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| GPIO | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Hall Sensor | Not Supported | Not Supported | Not Supported | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| I2C | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| I2S | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| LEDC | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Motor PWM | No | Not Supported | Not Supported | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Pulse Counter | No | No | No | No | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| RMT | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| SDIO | No | No | No | No | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| SDMMC | Yes | Not Supported | Not Supported | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Timer | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Temp. Sensor | Not Supported | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Touch | Yes | Yes | Not Supported | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| TWAI | No | No | No | No | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| UART | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| USB | Not Supported | Yes | Yes | Yes | | ESP32-C3 only CDC/JTAG | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Wi-Fi | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | ESP32-C6 | ESP32-H2 | | Comments | ++===============+===============+===============+===============+===============+===============+===============+=====+========================+ +| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Bluetooth | Yes | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | | Bluetooth Classic | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| BLE | Yes | Not Supported | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| DAC | Yes | Yes | Not Supported | Not Supported | Not Supported | Not Supported | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Ethernet | Yes | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | | (*) | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Hall Sensor | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Motor PWM | No | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Pulse Counter | No | No | No | No | No | No | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| SDIO | No | No | No | No | No | No | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| SDMMC | Yes | Not Supported | Not Supported | Yes | Not Supported | Not Supported | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Temp. Sensor | Not Supported | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Touch | Yes | Yes | Not Supported | Yes | Not Supported | Not Supported | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| TWAI | No | No | No | No | No | No | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| UART | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| USB | Not Supported | Yes | Yes | Yes | Yes | Yes | | C3,C6,H2 only CDC/JTAG | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ +| Wi-Fi | Yes | Yes | Yes | Yes | Yes | Not Supported | | | ++---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ Notes ^^^^^ From 7faf9138ff2f507f4a6b8c4e57f081e903654d90 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Tue, 28 May 2024 15:22:47 +0200 Subject: [PATCH 02/11] docs(): Add C2 and H2 to USB and getting started --- docs/en/getting_started.rst | 4 ++-- docs/en/tutorials/cdc_dfu_flash.rst | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/en/getting_started.rst b/docs/en/getting_started.rst index 3b3a7e5b988..012de54baaa 100644 --- a/docs/en/getting_started.rst +++ b/docs/en/getting_started.rst @@ -41,8 +41,8 @@ ESP32 Yes Yes `ESP32`_ ESP32-S2 Yes Yes `ESP32-S2`_ ESP32-C3 Yes Yes `ESP32-C3`_ ESP32-S3 Yes Yes `ESP32-S3`_ -ESP32-C6 No Yes `ESP32-C6`_ -ESP32-H2 No Yes `ESP32-H2`_ +ESP32-C6 Yes Yes `ESP32-C6`_ +ESP32-H2 Yes Yes `ESP32-H2`_ ======== ====== =========== =================================== .. note:: diff --git a/docs/en/tutorials/cdc_dfu_flash.rst b/docs/en/tutorials/cdc_dfu_flash.rst index 7d4572d6ef2..1c291edac73 100644 --- a/docs/en/tutorials/cdc_dfu_flash.rst +++ b/docs/en/tutorials/cdc_dfu_flash.rst @@ -19,6 +19,8 @@ SoC USB Peripheral Support ESP32-S2 CDC and DFU ESP32-C3 CDC only ESP32-S3 CDC and DFU +ESP32-C6 CDC only +ESP32-H2 CDC only ========= ======================= It's important that your board includes the USB connector attached to the embedded USB from the SoC. If your board doesn't have the USB connector, you can attach an external one to the USB pins. From 775c929098f9ba89c57f5a62d5733bd8a86adc2c Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Tue, 28 May 2024 15:29:25 +0200 Subject: [PATCH 03/11] docs(): Fix table format --- docs/en/getting_started.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/en/getting_started.rst b/docs/en/getting_started.rst index 012de54baaa..13fe99300e7 100644 --- a/docs/en/getting_started.rst +++ b/docs/en/getting_started.rst @@ -34,16 +34,16 @@ Supported SoC's Here are the ESP32 series supported by the Arduino-ESP32 project: -======== ====== =========== =================================== -SoC Stable Development Datasheet -======== ====== =========== =================================== -ESP32 Yes Yes `ESP32`_ -ESP32-S2 Yes Yes `ESP32-S2`_ -ESP32-C3 Yes Yes `ESP32-C3`_ -ESP32-S3 Yes Yes `ESP32-S3`_ -ESP32-C6 Yes Yes `ESP32-C6`_ -ESP32-H2 Yes Yes `ESP32-H2`_ -======== ====== =========== =================================== +========== ====== =========== ================================= +SoC Stable Development Datasheet +========== ====== =========== ================================= +ESP32 Yes Yes `ESP32`_ +ESP32-S2 Yes Yes `ESP32-S2`_ +ESP32-C3 Yes Yes `ESP32-C3`_ +ESP32-S3 Yes Yes `ESP32-S3`_ +ESP32-C6 Yes Yes `ESP32-C6`_ +ESP32-H2 Yes Yes `ESP32-H2`_ +========== ====== =========== ================================= .. note:: ESP32-C2 is also supported by Arduino-ESP32 but requires rebuilding the static libraries. From e903da689d4531f7fa7327e042206a4cdc3422a8 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 29 May 2024 09:54:16 +0200 Subject: [PATCH 04/11] docs(extension): Add sphinxemoji support --- docs/conf_common.py | 1 + docs/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/conf_common.py b/docs/conf_common.py index 676cca899d5..14100332fea 100644 --- a/docs/conf_common.py +++ b/docs/conf_common.py @@ -28,6 +28,7 @@ "sphinx_copybutton", "sphinx_tabs.tabs", "esp_docs.esp_extensions.dummy_build_system", + "sphinxemoji.sphinxemoji", ] # ESP32_DOCS = [ diff --git a/docs/requirements.txt b/docs/requirements.txt index 71b14c5c135..588000d0e2f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,4 @@ esp-docs>=1.4.0 sphinx-copybutton==0.5.0 sphinx-tabs==3.2.0 +sphinxemoji>=0.3.1 From 3f3e0adf3c3c585bb439b182c77708fce23bd0b9 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 29 May 2024 10:09:23 +0200 Subject: [PATCH 05/11] docs(): Lower emoji version --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 588000d0e2f..23c1e8d3f6b 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ esp-docs>=1.4.0 sphinx-copybutton==0.5.0 sphinx-tabs==3.2.0 -sphinxemoji>=0.3.1 +sphinxemoji>=0.2.0 From b2f1d50656e2713775082914a65de83bc973ce47 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 29 May 2024 10:12:09 +0200 Subject: [PATCH 06/11] Revert "docs(): Lower emoji version" This reverts commit 3f3e0adf3c3c585bb439b182c77708fce23bd0b9. --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 23c1e8d3f6b..588000d0e2f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ esp-docs>=1.4.0 sphinx-copybutton==0.5.0 sphinx-tabs==3.2.0 -sphinxemoji>=0.2.0 +sphinxemoji>=0.3.1 From 6c537d6b356a10a2ccca3870a6898ee88ead35c5 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 29 May 2024 10:12:17 +0200 Subject: [PATCH 07/11] Revert "docs(extension): Add sphinxemoji support" This reverts commit e903da689d4531f7fa7327e042206a4cdc3422a8. --- docs/conf_common.py | 1 - docs/requirements.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/conf_common.py b/docs/conf_common.py index 14100332fea..676cca899d5 100644 --- a/docs/conf_common.py +++ b/docs/conf_common.py @@ -28,7 +28,6 @@ "sphinx_copybutton", "sphinx_tabs.tabs", "esp_docs.esp_extensions.dummy_build_system", - "sphinxemoji.sphinxemoji", ] # ESP32_DOCS = [ diff --git a/docs/requirements.txt b/docs/requirements.txt index 588000d0e2f..71b14c5c135 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,3 @@ esp-docs>=1.4.0 sphinx-copybutton==0.5.0 sphinx-tabs==3.2.0 -sphinxemoji>=0.3.1 From 660c55e117da82381c99ae3dd3cc55eec3a0cb6e Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 29 May 2024 10:21:40 +0200 Subject: [PATCH 08/11] docs(): Shrink peripherals table --- docs/en/libraries.rst | 94 +++++++++++++++++++++---------------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/docs/en/libraries.rst b/docs/en/libraries.rst index 95b98f50ad0..c186633bd7f 100644 --- a/docs/en/libraries.rst +++ b/docs/en/libraries.rst @@ -9,53 +9,53 @@ Supported Peripherals Currently, the Arduino ESP32 supports the following peripherals with Arduino APIs. -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | ESP32-C6 | ESP32-H2 | | Comments | -+===============+===============+===============+===============+===============+===============+===============+=====+========================+ -| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Bluetooth | Yes | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | | Bluetooth Classic | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| BLE | Yes | Not Supported | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| DAC | Yes | Yes | Not Supported | Not Supported | Not Supported | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Ethernet | Yes | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | | (*) | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Hall Sensor | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Motor PWM | No | Not Supported | Not Supported | Not Supported | Not Supported | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Pulse Counter | No | No | No | No | No | No | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| SDIO | No | No | No | No | No | No | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| SDMMC | Yes | Not Supported | Not Supported | Yes | Not Supported | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Temp. Sensor | Not Supported | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Touch | Yes | Yes | Not Supported | Yes | Not Supported | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| TWAI | No | No | No | No | No | No | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| UART | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| USB | Not Supported | Yes | Yes | Yes | Yes | Yes | | C3,C6,H2 only CDC/JTAG | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ -| Wi-Fi | Yes | Yes | Yes | Yes | Yes | Not Supported | | | -+---------------+---------------+---------------+---------------+---------------+---------------+---------------+-----+------------------------+ ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | ESP32-C6 | ESP32-H2 | | Comments | ++===============+==========+==========+==========+==========+==========+==========+===+========================+ +| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Bluetooth | Yes | N/A | N/A | N/A | N/A | N/A | | Bluetooth Classic | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| BLE | Yes | N/A | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| DAC | Yes | Yes | N/A | N/A | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Ethernet | Yes | N/A | N/A | N/A | N/A | N/A | | (*) | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Hall Sensor | N/A | N/A | N/A | N/A | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Motor PWM | No | N/A | N/A | N/A | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Pulse Counter | No | No | No | No | No | No | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| SDIO | No | No | No | No | No | No | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| SDMMC | Yes | N/A | N/A | Yes | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Temp. Sensor | N/A | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Touch | Yes | Yes | N/A | Yes | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| TWAI | No | No | No | No | No | No | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| UART | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| USB | N/A | Yes | Yes | Yes | Yes | Yes | | C3,C6,H2 only CDC/JTAG | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ +| Wi-Fi | Yes | Yes | Yes | Yes | Yes | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ Notes ^^^^^ From 2e319a4c6e0ac4e03c19df36a219fe76849ca688 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 29 May 2024 10:29:14 +0200 Subject: [PATCH 09/11] docs(): Shrink table even more --- docs/en/libraries.rst | 96 ++++++++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 47 deletions(-) diff --git a/docs/en/libraries.rst b/docs/en/libraries.rst index c186633bd7f..eb4e1f52ab2 100644 --- a/docs/en/libraries.rst +++ b/docs/en/libraries.rst @@ -9,59 +9,61 @@ Supported Peripherals Currently, the Arduino ESP32 supports the following peripherals with Arduino APIs. -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | ESP32-C6 | ESP32-H2 | | Comments | -+===============+==========+==========+==========+==========+==========+==========+===+========================+ -| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Bluetooth | Yes | N/A | N/A | N/A | N/A | N/A | | Bluetooth Classic | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| BLE | Yes | N/A | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| DAC | Yes | Yes | N/A | N/A | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Ethernet | Yes | N/A | N/A | N/A | N/A | N/A | | (*) | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Hall Sensor | N/A | N/A | N/A | N/A | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Motor PWM | No | N/A | N/A | N/A | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Pulse Counter | No | No | No | No | No | No | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| SDIO | No | No | No | No | No | No | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| SDMMC | Yes | N/A | N/A | Yes | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Temp. Sensor | N/A | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Touch | Yes | Yes | N/A | Yes | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| TWAI | No | No | No | No | No | No | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| UART | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| USB | N/A | Yes | Yes | Yes | Yes | Yes | | C3,C6,H2 only CDC/JTAG | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ -| Wi-Fi | Yes | Yes | Yes | Yes | Yes | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+------------------------+ ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | ESP32-C6 | ESP32-H2 | | Comments | ++===============+==========+==========+==========+==========+==========+==========+===+==========+ +| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| BT Classic | Yes | N/A | N/A | N/A | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| BLE | Yes | N/A | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| DAC | Yes | Yes | N/A | N/A | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Ethernet | Yes | N/A | N/A | N/A | N/A | N/A | | (*) | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Hall Sensor | N/A | N/A | N/A | N/A | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Motor PWM | No | N/A | N/A | N/A | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Pulse Counter | No | No | No | No | No | No | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| SDIO | No | No | No | No | No | No | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| SDMMC | Yes | N/A | N/A | Yes | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Temp. Sensor | N/A | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Touch | Yes | Yes | N/A | Yes | N/A | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| TWAI | No | No | No | No | No | No | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| UART | Yes | Yes | Yes | Yes | Yes | Yes | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| USB | N/A | Yes | Yes | Yes | Yes | Yes | | (**) | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ +| Wi-Fi | Yes | Yes | Yes | Yes | Yes | N/A | | | ++---------------+----------+----------+----------+----------+----------+----------+---+----------+ Notes ^^^^^ (*) SPI Ethernet is supported by all ESP32 families and RMII only for ESP32. +(**) ESP32-C3, C6, H2 only support USB CDC/JTAG + .. note:: Some peripherals are not available for all ESP32 families. To see more details about it, see the corresponding SoC at `Product Selector `_ page. .. include:: common/datasheet.inc From beb2fcf114e6773b535e8e3772805c4d66da8e46 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 29 May 2024 10:33:13 +0200 Subject: [PATCH 10/11] docs(): Shrink table more and more --- docs/en/libraries.rst | 94 +++++++++++++++++++++---------------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/docs/en/libraries.rst b/docs/en/libraries.rst index eb4e1f52ab2..93699844e50 100644 --- a/docs/en/libraries.rst +++ b/docs/en/libraries.rst @@ -9,53 +9,53 @@ Supported Peripherals Currently, the Arduino ESP32 supports the following peripherals with Arduino APIs. -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | ESP32-C6 | ESP32-H2 | | Comments | -+===============+==========+==========+==========+==========+==========+==========+===+==========+ -| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| BT Classic | Yes | N/A | N/A | N/A | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| BLE | Yes | N/A | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| DAC | Yes | Yes | N/A | N/A | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Ethernet | Yes | N/A | N/A | N/A | N/A | N/A | | (*) | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Hall Sensor | N/A | N/A | N/A | N/A | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Motor PWM | No | N/A | N/A | N/A | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Pulse Counter | No | No | No | No | No | No | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| SDIO | No | No | No | No | No | No | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| SDMMC | Yes | N/A | N/A | Yes | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Temp. Sensor | N/A | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Touch | Yes | Yes | N/A | Yes | N/A | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| TWAI | No | No | No | No | No | No | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| UART | Yes | Yes | Yes | Yes | Yes | Yes | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| USB | N/A | Yes | Yes | Yes | Yes | Yes | | (**) | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ -| Wi-Fi | Yes | Yes | Yes | Yes | Yes | N/A | | | -+---------------+----------+----------+----------+----------+----------+----------+---+----------+ ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | ESP32-C6 | ESP32-H2 | Notes | ++===============+==========+==========+==========+==========+==========+==========+=======+ +| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| BT Classic | Yes | N/A | N/A | N/A | N/A | N/A | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| BLE | Yes | N/A | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| DAC | Yes | Yes | N/A | N/A | N/A | N/A | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Ethernet | Yes | N/A | N/A | N/A | N/A | N/A | (*) | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Hall Sensor | N/A | N/A | N/A | N/A | N/A | N/A | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Motor PWM | No | N/A | N/A | N/A | N/A | N/A | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Pulse Counter | No | No | No | No | No | No | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| SDIO | No | No | No | No | No | No | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| SDMMC | Yes | N/A | N/A | Yes | N/A | N/A | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Temp. Sensor | N/A | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Touch | Yes | Yes | N/A | Yes | N/A | N/A | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| TWAI | No | No | No | No | No | No | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| UART | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| USB | N/A | Yes | Yes | Yes | Yes | Yes | (**) | ++---------------+----------+----------+----------+----------+----------+----------+-------+ +| Wi-Fi | Yes | Yes | Yes | Yes | Yes | N/A | | ++---------------+----------+----------+----------+----------+----------+----------+-------+ Notes ^^^^^ From 76d95f51f168e4a47f648d5bc2037e37f0fbec62 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 29 May 2024 11:20:38 +0200 Subject: [PATCH 11/11] docs(): Shrink table the most I am able to --- docs/en/libraries.rst | 94 +++++++++++++++++++++---------------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/docs/en/libraries.rst b/docs/en/libraries.rst index 93699844e50..0e3499f7783 100644 --- a/docs/en/libraries.rst +++ b/docs/en/libraries.rst @@ -9,53 +9,53 @@ Supported Peripherals Currently, the Arduino ESP32 supports the following peripherals with Arduino APIs. -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Peripheral | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-S3 | ESP32-C6 | ESP32-H2 | Notes | -+===============+==========+==========+==========+==========+==========+==========+=======+ -| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| BT Classic | Yes | N/A | N/A | N/A | N/A | N/A | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| BLE | Yes | N/A | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| DAC | Yes | Yes | N/A | N/A | N/A | N/A | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Ethernet | Yes | N/A | N/A | N/A | N/A | N/A | (*) | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Hall Sensor | N/A | N/A | N/A | N/A | N/A | N/A | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Motor PWM | No | N/A | N/A | N/A | N/A | N/A | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Pulse Counter | No | No | No | No | No | No | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| SDIO | No | No | No | No | No | No | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| SDMMC | Yes | N/A | N/A | Yes | N/A | N/A | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Temp. Sensor | N/A | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Touch | Yes | Yes | N/A | Yes | N/A | N/A | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| TWAI | No | No | No | No | No | No | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| UART | Yes | Yes | Yes | Yes | Yes | Yes | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| USB | N/A | Yes | Yes | Yes | Yes | Yes | (**) | -+---------------+----------+----------+----------+----------+----------+----------+-------+ -| Wi-Fi | Yes | Yes | Yes | Yes | Yes | N/A | | -+---------------+----------+----------+----------+----------+----------+----------+-------+ ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Peripheral | ESP32 | S2 | C3 | S3 | C6 | H2 | Notes | ++===============+=======+=======+=======+=======+=======+=======+=======+ +| ADC | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| BT Classic | Yes | N/A | N/A | N/A | N/A | N/A | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| BLE | Yes | N/A | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| DAC | Yes | Yes | N/A | N/A | N/A | N/A | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Ethernet | Yes | N/A | N/A | N/A | N/A | N/A | (*) | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| GPIO | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Hall Sensor | N/A | N/A | N/A | N/A | N/A | N/A | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| I2C | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| I2S | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| LEDC | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Motor PWM | No | N/A | N/A | N/A | N/A | N/A | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Pulse Counter | No | No | No | No | No | No | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| RMT | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| SDIO | No | No | No | No | No | No | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| SDMMC | Yes | N/A | N/A | Yes | N/A | N/A | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Timer | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Temp. Sensor | N/A | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Touch | Yes | Yes | N/A | Yes | N/A | N/A | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| TWAI | No | No | No | No | No | No | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| UART | Yes | Yes | Yes | Yes | Yes | Yes | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| USB | N/A | Yes | Yes | Yes | Yes | Yes | (**) | ++---------------+-------+-------+-------+-------+-------+-------+-------+ +| Wi-Fi | Yes | Yes | Yes | Yes | Yes | N/A | | ++---------------+-------+-------+-------+-------+-------+-------+-------+ Notes ^^^^^