mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
docs: Update App Utils programming guide docs for ESP32P4
Re-enable protocol and ota examples for ESP32P4
This commit is contained in:
parent
bef0b16dba
commit
2df1ba8535
@ -93,7 +93,6 @@ api-reference/network/esp_nan.rst
|
|||||||
api-reference/network/esp_wifi.rst
|
api-reference/network/esp_wifi.rst
|
||||||
api-reference/network/index.rst
|
api-reference/network/index.rst
|
||||||
api-reference/system/sleep_modes.rst
|
api-reference/system/sleep_modes.rst
|
||||||
api-reference/system/ota.rst
|
|
||||||
api-reference/system/app_trace.rst
|
api-reference/system/app_trace.rst
|
||||||
api-reference/system/ulp_macros.rst
|
api-reference/system/ulp_macros.rst
|
||||||
api-reference/system/ulp-lp-core.rst
|
api-reference/system/ulp-lp-core.rst
|
||||||
@ -103,19 +102,11 @@ api-reference/system/random.rst
|
|||||||
api-reference/system/power_management.rst
|
api-reference/system/power_management.rst
|
||||||
api-reference/system/misc_system_api.rst
|
api-reference/system/misc_system_api.rst
|
||||||
api-reference/system/inc/power_management_esp32p4.rst
|
api-reference/system/inc/power_management_esp32p4.rst
|
||||||
api-reference/system/esp_https_ota.rst
|
|
||||||
api-reference/system/ulp-risc-v.rst
|
api-reference/system/ulp-risc-v.rst
|
||||||
api-reference/index.rst
|
api-reference/index.rst
|
||||||
api-reference/protocols/icmp_echo.rst
|
api-reference/protocols/icmp_echo.rst
|
||||||
api-reference/protocols/esp_serial_slave_link.rst
|
api-reference/protocols/esp_serial_slave_link.rst
|
||||||
api-reference/protocols/mbedtls.rst
|
|
||||||
api-reference/protocols/esp_http_server.rst
|
|
||||||
api-reference/protocols/esp_sdio_slave_protocol.rst
|
api-reference/protocols/esp_sdio_slave_protocol.rst
|
||||||
api-reference/protocols/esp_local_ctrl.rst
|
|
||||||
api-reference/protocols/esp_crt_bundle.rst
|
|
||||||
api-reference/protocols/esp_http_client.rst
|
|
||||||
api-reference/protocols/esp_https_server.rst
|
|
||||||
api-reference/protocols/esp_tls.rst
|
|
||||||
api-reference/protocols/index.rst
|
api-reference/protocols/index.rst
|
||||||
security/host-based-security-workflows.rst
|
security/host-based-security-workflows.rst
|
||||||
security/flash-encryption.rst
|
security/flash-encryption.rst
|
||||||
|
@ -8,7 +8,9 @@ Overview
|
|||||||
|
|
||||||
ESP Local Control (**esp_local_ctrl**) component in ESP-IDF provides capability to control an ESP device over HTTPS or Bluetooth® Low Energy. It provides access to application defined **properties** that are available for reading/writing via a set of configurable handlers.
|
ESP Local Control (**esp_local_ctrl**) component in ESP-IDF provides capability to control an ESP device over HTTPS or Bluetooth® Low Energy. It provides access to application defined **properties** that are available for reading/writing via a set of configurable handlers.
|
||||||
|
|
||||||
Initialization of the **esp_local_ctrl** service over Bluetooth Low Energy transport is performed as follows:
|
.. only:: SOC_BT_SUPPORTED
|
||||||
|
|
||||||
|
Initialization of the **esp_local_ctrl** service over Bluetooth Low Energy transport is performed as follows:
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
@ -45,7 +47,7 @@ Initialization of the **esp_local_ctrl** service over Bluetooth Low Energy trans
|
|||||||
ESP_ERROR_CHECK(esp_local_ctrl_start(&config));
|
ESP_ERROR_CHECK(esp_local_ctrl_start(&config));
|
||||||
|
|
||||||
|
|
||||||
Similarly for HTTPS transport:
|
Initialization of the **esp_local_ctrl** service over HTTPS transport is performed as follows:
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ Over The Air Updates (OTA)
|
|||||||
OTA Process Overview
|
OTA Process Overview
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
The OTA update mechanism allows a device to update itself based on data received while the normal firmware is running (for example, over Wi-Fi or Bluetooth.)
|
The OTA update mechanism allows a device to update itself based on data received while the normal firmware is running (for example, over Wi-Fi, Bluetooth or Ethernet).
|
||||||
|
|
||||||
OTA requires configuring the :doc:`../../api-guides/partition-tables` of the device with at least two OTA app slot partitions (i.e., ``ota_0`` and ``ota_1``) and an OTA Data Partition.
|
OTA requires configuring the :doc:`../../api-guides/partition-tables` of the device with at least two OTA app slot partitions (i.e., ``ota_0`` and ``ota_1``) and an OTA Data Partition.
|
||||||
|
|
||||||
|
@ -8,7 +8,9 @@ ESP 本地控制
|
|||||||
|
|
||||||
通过 ESP-IDF 的 ESP 本地控制 (**esp_local_ctrl**) 组件,可使用 HTTPS 或 BLE 协议控制 ESP 设备。通过一系列可配置的处理程序,该组件允许你对应用程序定义的读/写 **属性** 进行访问。
|
通过 ESP-IDF 的 ESP 本地控制 (**esp_local_ctrl**) 组件,可使用 HTTPS 或 BLE 协议控制 ESP 设备。通过一系列可配置的处理程序,该组件允许你对应用程序定义的读/写 **属性** 进行访问。
|
||||||
|
|
||||||
通过 BLE 传输协议初始化 **esp_local_ctrl** 的过程如下:
|
.. only:: SOC_BT_SUPPORTED
|
||||||
|
|
||||||
|
通过 BLE 传输协议初始化 **esp_local_ctrl** 的过程如下:
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
OTA 流程概览
|
OTA 流程概览
|
||||||
------------
|
------------
|
||||||
|
|
||||||
OTA 升级机制可以让设备在固件正常运行时根据接收数据(如通过 Wi-Fi 或蓝牙)进行自我更新。
|
OTA 升级机制可以让设备在固件正常运行时根据接收数据(如通过 Wi-Fi、蓝牙或以太网)进行自我更新。
|
||||||
|
|
||||||
要运行 OTA 机制,需配置设备的 :doc:`../../api-guides/partition-tables`,该分区表至少包括两个 OTA 应用程序分区(即 ``ota_0`` 和 ``ota_1``)和一个 OTA 数据分区。
|
要运行 OTA 机制,需配置设备的 :doc:`../../api-guides/partition-tables`,该分区表至少包括两个 OTA 应用程序分区(即 ``ota_0`` 和 ``ota_1``)和一个 OTA 数据分区。
|
||||||
|
|
||||||
|
@ -17,10 +17,6 @@ examples/protocols/esp_http_client:
|
|||||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
|
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "linux"]
|
- if: IDF_TARGET not in ["esp32", "linux"]
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4
|
|
||||||
depends_filepatterns:
|
depends_filepatterns:
|
||||||
- examples/common_components/protocol_examples_common/**/*
|
- examples/common_components/protocol_examples_common/**/*
|
||||||
- components/esp_http_client/**/*
|
- components/esp_http_client/**/*
|
||||||
@ -28,10 +24,7 @@ examples/protocols/esp_http_client:
|
|||||||
examples/protocols/esp_local_ctrl:
|
examples/protocols/esp_local_ctrl:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_WIFI_SUPPORTED != 1
|
|
||||||
- if: IDF_TARGET in ["esp32h2"]
|
- if: IDF_TARGET in ["esp32h2"]
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
||||||
reason: only test on these targets
|
reason: only test on these targets
|
||||||
@ -42,20 +35,12 @@ examples/protocols/esp_local_ctrl:
|
|||||||
|
|
||||||
examples/protocols/http_request:
|
examples/protocols/http_request:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4 # TODO: IDF-8076
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
reason: only test on esp32
|
reason: only test on esp32
|
||||||
|
|
||||||
examples/protocols/http_server:
|
examples/protocols/http_server:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4 # TODO: IDF-8076
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
||||||
reason: only test on these targets
|
reason: only test on these targets
|
||||||
@ -79,19 +64,13 @@ examples/protocols/http_server/captive_portal:
|
|||||||
examples/protocols/http_server/restful_server:
|
examples/protocols/http_server/restful_server:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
|
- if: IDF_TARGET in ["esp32h2"]
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4 # TODO: IDF-8076
|
|
||||||
depends_filepatterns:
|
depends_filepatterns:
|
||||||
- examples/common_components/protocol_examples_common/**/*
|
- examples/common_components/protocol_examples_common/**/*
|
||||||
- components/esp_http_server/**/*
|
- components/esp_http_server/**/*
|
||||||
|
|
||||||
examples/protocols/http_server/ws_echo_server:
|
examples/protocols/http_server/ws_echo_server:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4 # TODO: IDF-8076
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
reason: only test on esp32
|
reason: only test on esp32
|
||||||
@ -103,10 +82,6 @@ examples/protocols/https_mbedtls:
|
|||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
enable:
|
enable:
|
||||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
|
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4 # TODO: IDF-8076
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
reason: only test on esp32
|
reason: only test on esp32
|
||||||
@ -114,19 +89,15 @@ examples/protocols/https_mbedtls:
|
|||||||
examples/protocols/https_request:
|
examples/protocols/https_request:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
|
- if: IDF_TARGET in ["esp32h2"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: not supported on p4 and h2 # TODO: IDF-8076 (P4), IDF-9076 (H2)
|
reason: not supported on h2 # TODO: IDF-9076 (H2)
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
reason: only test on esp32
|
reason: only test on esp32
|
||||||
|
|
||||||
examples/protocols/https_server/simple:
|
examples/protocols/https_server/simple:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4 # TODO: IDF-8076
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
||||||
reason: only test on these targets
|
reason: only test on these targets
|
||||||
@ -137,10 +108,6 @@ examples/protocols/https_server/simple:
|
|||||||
|
|
||||||
examples/protocols/https_server/wss_server:
|
examples/protocols/https_server/wss_server:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4 # TODO: IDF-8076
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
reason: only test on esp32
|
reason: only test on esp32
|
||||||
@ -150,10 +117,6 @@ examples/protocols/https_server/wss_server:
|
|||||||
|
|
||||||
examples/protocols/https_x509_bundle:
|
examples/protocols/https_x509_bundle:
|
||||||
<<: *default_dependencies
|
<<: *default_dependencies
|
||||||
disable:
|
|
||||||
- if: IDF_TARGET == "esp32p4"
|
|
||||||
temporary: true
|
|
||||||
reason: not supported on p4 # TODO: IDF-8076
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
reason: only test on esp32
|
reason: only test on esp32
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | Linux |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | Linux |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | ----- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | ----- |
|
||||||
# ESP HTTP Client Example
|
# ESP HTTP Client Example
|
||||||
|
|
||||||
See the README.md file in the upper level 'examples' directory for more information about examples.
|
See the README.md file in the upper level 'examples' directory for more information about examples.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP Local Control using HTTPS server
|
# ESP Local Control using HTTPS server
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# HTTP Request Example
|
# HTTP Request Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# HTTP server advanced tests
|
# HTTP server advanced tests
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Async Requests Handlers HTTPD Server Example
|
# Async Requests Handlers HTTPD Server Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Simple HTTP File Server Example
|
# Simple HTTP File Server Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# HTTPD Server Persistent Sockets Example
|
# HTTPD Server Persistent Sockets Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# HTTP Restful API Server Example
|
# HTTP Restful API Server Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Simple HTTPD Server Example
|
# Simple HTTPD Server Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Websocket echo server
|
# Websocket echo server
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 | Linux |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | Linux |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | ----- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | ----- |
|
||||||
|
|
||||||
# HTTP connection with TLS support using mbedTLS
|
# HTTP connection with TLS support using mbedTLS
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# HTTPS Request Example
|
# HTTPS Request Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# HTTP server with SSL support using OpenSSL
|
# HTTP server with SSL support using OpenSSL
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# HTTP Websocket server with SSL support
|
# HTTP Websocket server with SSL support
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# HTTPS x509 Bundle Example
|
# HTTPS x509 Bundle Example
|
||||||
|
|
||||||
|
@ -140,9 +140,9 @@ examples/system/light_sleep:
|
|||||||
|
|
||||||
examples/system/ota/advanced_https_ota:
|
examples/system/ota/advanced_https_ota:
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
|
- if: IDF_TARGET in ["esp32h2"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: target esp32h2, esp32p4 is not supported yet
|
reason: target esp32h2 is not supported yet
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
||||||
temporary: true
|
temporary: true
|
||||||
@ -161,9 +161,9 @@ examples/system/ota/advanced_https_ota:
|
|||||||
|
|
||||||
examples/system/ota/native_ota_example:
|
examples/system/ota/native_ota_example:
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
|
- if: IDF_TARGET in ["esp32h2"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: target esp32h2, esp32p4 is not supported yet
|
reason: target esp32h2 is not supported yet
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
reason: Only esp32 has ethernet runners
|
reason: Only esp32 has ethernet runners
|
||||||
@ -179,15 +179,15 @@ examples/system/ota/native_ota_example:
|
|||||||
|
|
||||||
examples/system/ota/otatool:
|
examples/system/ota/otatool:
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET in ["esp32c2", "esp32h2", "esp32p4"]
|
- if: IDF_TARGET in ["esp32h2"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: target esp32c2, esp32h2, esp32p4 is not supported yet
|
reason: target esp32h2 is not supported yet
|
||||||
|
|
||||||
examples/system/ota/pre_encrypted_ota:
|
examples/system/ota/pre_encrypted_ota:
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
|
- if: IDF_TARGET in ["esp32h2"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: target esp32h2, esp32p4 is not supported yet
|
reason: target esp32h2 is not supported yet
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET != "esp32"
|
- if: IDF_TARGET != "esp32"
|
||||||
temporary: true
|
temporary: true
|
||||||
@ -204,9 +204,9 @@ examples/system/ota/pre_encrypted_ota:
|
|||||||
|
|
||||||
examples/system/ota/simple_ota_example:
|
examples/system/ota/simple_ota_example:
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
|
- if: IDF_TARGET in ["esp32h2"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: target esp32h2, esp32p4 is not supported yet
|
reason: target esp32h2 is not supported yet
|
||||||
- if: CONFIG_NAME == "spiram" and SOC_SPIRAM_SUPPORTED != 1
|
- if: CONFIG_NAME == "spiram" and SOC_SPIRAM_SUPPORTED != 1
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Advanced HTTPS OTA example
|
# Advanced HTTPS OTA example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Native OTA example
|
# Native OTA example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# OTA Tool Example
|
# OTA Tool Example
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
@ -15,6 +13,8 @@ from pytest_embedded import Dut
|
|||||||
@pytest.mark.esp32c3
|
@pytest.mark.esp32c3
|
||||||
@pytest.mark.esp32s3
|
@pytest.mark.esp32s3
|
||||||
@pytest.mark.esp32c6
|
@pytest.mark.esp32c6
|
||||||
|
@pytest.mark.esp32c2
|
||||||
|
@pytest.mark.esp32p4
|
||||||
@pytest.mark.generic
|
@pytest.mark.generic
|
||||||
def test_otatool_example(dut: Dut) -> None:
|
def test_otatool_example(dut: Dut) -> None:
|
||||||
# Verify factory firmware
|
# Verify factory firmware
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Encrypted Binary OTA
|
# Encrypted Binary OTA
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Simple OTA example
|
# Simple OTA example
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user