diff --git a/docs/docs_not_updated/esp32p4.txt b/docs/docs_not_updated/esp32p4.txt index 4e98522949..d8b1098c14 100644 --- a/docs/docs_not_updated/esp32p4.txt +++ b/docs/docs_not_updated/esp32p4.txt @@ -93,7 +93,6 @@ api-reference/network/esp_nan.rst api-reference/network/esp_wifi.rst api-reference/network/index.rst api-reference/system/sleep_modes.rst -api-reference/system/ota.rst api-reference/system/app_trace.rst api-reference/system/ulp_macros.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/misc_system_api.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/index.rst api-reference/protocols/icmp_echo.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_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 security/host-based-security-workflows.rst security/flash-encryption.rst diff --git a/docs/en/api-reference/protocols/esp_local_ctrl.rst b/docs/en/api-reference/protocols/esp_local_ctrl.rst index 6dddd41d20..18ed81ebad 100644 --- a/docs/en/api-reference/protocols/esp_local_ctrl.rst +++ b/docs/en/api-reference/protocols/esp_local_ctrl.rst @@ -8,44 +8,46 @@ 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. -Initialization of the **esp_local_ctrl** service over Bluetooth Low Energy transport is performed as follows: +.. only:: SOC_BT_SUPPORTED - .. code-block:: c + Initialization of the **esp_local_ctrl** service over Bluetooth Low Energy transport is performed as follows: - esp_local_ctrl_config_t config = { - .transport = ESP_LOCAL_CTRL_TRANSPORT_BLE, - .transport_config = { - .ble = & (protocomm_ble_config_t) { - .device_name = SERVICE_NAME, - .service_uuid = { - /* LSB <--------------------------------------- - * ---------------------------------------> MSB */ - 0x21, 0xd5, 0x3b, 0x8d, 0xbd, 0x75, 0x68, 0x8a, - 0xb4, 0x42, 0xeb, 0x31, 0x4a, 0x1e, 0x98, 0x3d + .. code-block:: c + + esp_local_ctrl_config_t config = { + .transport = ESP_LOCAL_CTRL_TRANSPORT_BLE, + .transport_config = { + .ble = & (protocomm_ble_config_t) { + .device_name = SERVICE_NAME, + .service_uuid = { + /* LSB <--------------------------------------- + * ---------------------------------------> MSB */ + 0x21, 0xd5, 0x3b, 0x8d, 0xbd, 0x75, 0x68, 0x8a, + 0xb4, 0x42, 0xeb, 0x31, 0x4a, 0x1e, 0x98, 0x3d + } } - } - }, - .proto_sec = { - .version = PROTOCOM_SEC0, - .custom_handle = NULL, - .sec_params = NULL, - }, - .handlers = { - /* User defined handler functions */ - .get_prop_values = get_property_values, - .set_prop_values = set_property_values, - .usr_ctx = NULL, - .usr_ctx_free_fn = NULL - }, - /* Maximum number of properties that may be set */ - .max_properties = 10 - }; + }, + .proto_sec = { + .version = PROTOCOM_SEC0, + .custom_handle = NULL, + .sec_params = NULL, + }, + .handlers = { + /* User defined handler functions */ + .get_prop_values = get_property_values, + .set_prop_values = set_property_values, + .usr_ctx = NULL, + .usr_ctx_free_fn = NULL + }, + /* Maximum number of properties that may be set */ + .max_properties = 10 + }; - /* Start esp_local_ctrl service */ - ESP_ERROR_CHECK(esp_local_ctrl_start(&config)); + /* Start esp_local_ctrl service */ + 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 diff --git a/docs/en/api-reference/system/ota.rst b/docs/en/api-reference/system/ota.rst index ea1506fdc9..a65707a0b0 100644 --- a/docs/en/api-reference/system/ota.rst +++ b/docs/en/api-reference/system/ota.rst @@ -6,7 +6,7 @@ Over The Air Updates (OTA) 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. diff --git a/docs/zh_CN/api-reference/protocols/esp_local_ctrl.rst b/docs/zh_CN/api-reference/protocols/esp_local_ctrl.rst index fb09163164..99e1071af8 100644 --- a/docs/zh_CN/api-reference/protocols/esp_local_ctrl.rst +++ b/docs/zh_CN/api-reference/protocols/esp_local_ctrl.rst @@ -8,41 +8,43 @@ ESP 本地控制 通过 ESP-IDF 的 ESP 本地控制 (**esp_local_ctrl**) 组件,可使用 HTTPS 或 BLE 协议控制 ESP 设备。通过一系列可配置的处理程序,该组件允许你对应用程序定义的读/写 **属性** 进行访问。 -通过 BLE 传输协议初始化 **esp_local_ctrl** 的过程如下: +.. only:: SOC_BT_SUPPORTED - .. code-block:: c + 通过 BLE 传输协议初始化 **esp_local_ctrl** 的过程如下: - esp_local_ctrl_config_t config = { - .transport = ESP_LOCAL_CTRL_TRANSPORT_BLE, - .transport_config = { - .ble = & (protocomm_ble_config_t) { - .device_name = SERVICE_NAME, - .service_uuid = { - /* LSB <--------------------------------------- - * ---------------------------------------> MSB */ - 0x21, 0xd5, 0x3b, 0x8d, 0xbd, 0x75, 0x68, 0x8a, - 0xb4, 0x42, 0xeb, 0x31, 0x4a, 0x1e, 0x98, 0x3d + .. code-block:: c + + esp_local_ctrl_config_t config = { + .transport = ESP_LOCAL_CTRL_TRANSPORT_BLE, + .transport_config = { + .ble = & (protocomm_ble_config_t) { + .device_name = SERVICE_NAME, + .service_uuid = { + /* LSB <--------------------------------------- + * ---------------------------------------> MSB */ + 0x21, 0xd5, 0x3b, 0x8d, 0xbd, 0x75, 0x68, 0x8a, + 0xb4, 0x42, 0xeb, 0x31, 0x4a, 0x1e, 0x98, 0x3d + } } - } - }, - .proto_sec = { - .version = PROTOCOM_SEC0, - .custom_handle = NULL, - .sec_params = NULL, - }, - .handlers = { - /* User defined handler functions */ - .get_prop_values = get_property_values, - .set_prop_values = set_property_values, - .usr_ctx = NULL, - .usr_ctx_free_fn = NULL - }, - /* Maximum number of properties that may be set */ - .max_properties = 10 - }; + }, + .proto_sec = { + .version = PROTOCOM_SEC0, + .custom_handle = NULL, + .sec_params = NULL, + }, + .handlers = { + /* User defined handler functions */ + .get_prop_values = get_property_values, + .set_prop_values = set_property_values, + .usr_ctx = NULL, + .usr_ctx_free_fn = NULL + }, + /* Maximum number of properties that may be set */ + .max_properties = 10 + }; - /* Start esp_local_ctrl service */ - ESP_ERROR_CHECK(esp_local_ctrl_start(&config)); + /* Start esp_local_ctrl service */ + ESP_ERROR_CHECK(esp_local_ctrl_start(&config)); 同样,对于 HTTP 传输: diff --git a/docs/zh_CN/api-reference/system/ota.rst b/docs/zh_CN/api-reference/system/ota.rst index 9492076928..7c685f7898 100644 --- a/docs/zh_CN/api-reference/system/ota.rst +++ b/docs/zh_CN/api-reference/system/ota.rst @@ -6,7 +6,7 @@ OTA 流程概览 ------------ -OTA 升级机制可以让设备在固件正常运行时根据接收数据(如通过 Wi-Fi 或蓝牙)进行自我更新。 +OTA 升级机制可以让设备在固件正常运行时根据接收数据(如通过 Wi-Fi、蓝牙或以太网)进行自我更新。 要运行 OTA 机制,需配置设备的 :doc:`../../api-guides/partition-tables`,该分区表至少包括两个 OTA 应用程序分区(即 ``ota_0`` 和 ``ota_1``)和一个 OTA 数据分区。 diff --git a/examples/protocols/.build-test-rules.yml b/examples/protocols/.build-test-rules.yml index 43502efc2a..af7c326134 100644 --- a/examples/protocols/.build-test-rules.yml +++ b/examples/protocols/.build-test-rules.yml @@ -17,10 +17,6 @@ examples/protocols/esp_http_client: - if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux" disable_test: - if: IDF_TARGET not in ["esp32", "linux"] - disable: - - if: IDF_TARGET == "esp32p4" - temporary: true - reason: not supported on p4 depends_filepatterns: - examples/common_components/protocol_examples_common/**/* - components/esp_http_client/**/* @@ -28,10 +24,7 @@ examples/protocols/esp_http_client: examples/protocols/esp_local_ctrl: <<: *default_dependencies disable: - - if: SOC_WIFI_SUPPORTED != 1 - if: IDF_TARGET in ["esp32h2"] - temporary: true - reason: not supported on p4 disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] reason: only test on these targets @@ -42,20 +35,12 @@ examples/protocols/esp_local_ctrl: examples/protocols/http_request: <<: *default_dependencies - disable: - - if: IDF_TARGET == "esp32p4" - temporary: true - reason: not supported on p4 # TODO: IDF-8076 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 examples/protocols/http_server: <<: *default_dependencies - disable: - - if: IDF_TARGET == "esp32p4" - temporary: true - reason: not supported on p4 # TODO: IDF-8076 disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] reason: only test on these targets @@ -79,19 +64,13 @@ examples/protocols/http_server/captive_portal: examples/protocols/http_server/restful_server: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32h2", "esp32p4"] - temporary: true - reason: not supported on p4 # TODO: IDF-8076 + - if: IDF_TARGET in ["esp32h2"] depends_filepatterns: - examples/common_components/protocol_examples_common/**/* - components/esp_http_server/**/* examples/protocols/http_server/ws_echo_server: <<: *default_dependencies - disable: - - if: IDF_TARGET == "esp32p4" - temporary: true - reason: not supported on p4 # TODO: IDF-8076 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 @@ -103,10 +82,6 @@ examples/protocols/https_mbedtls: <<: *default_dependencies enable: - 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: - if: IDF_TARGET != "esp32" reason: only test on esp32 @@ -114,19 +89,15 @@ examples/protocols/https_mbedtls: examples/protocols/https_request: <<: *default_dependencies disable: - - if: IDF_TARGET in ["esp32h2", "esp32p4"] + - if: IDF_TARGET in ["esp32h2"] 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: - if: IDF_TARGET != "esp32" reason: only test on esp32 examples/protocols/https_server/simple: <<: *default_dependencies - disable: - - if: IDF_TARGET == "esp32p4" - temporary: true - reason: not supported on p4 # TODO: IDF-8076 disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] reason: only test on these targets @@ -137,10 +108,6 @@ examples/protocols/https_server/simple: examples/protocols/https_server/wss_server: <<: *default_dependencies - disable: - - if: IDF_TARGET == "esp32p4" - temporary: true - reason: not supported on p4 # TODO: IDF-8076 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 @@ -150,10 +117,6 @@ examples/protocols/https_server/wss_server: examples/protocols/https_x509_bundle: <<: *default_dependencies - disable: - - if: IDF_TARGET == "esp32p4" - temporary: true - reason: not supported on p4 # TODO: IDF-8076 disable_test: - if: IDF_TARGET != "esp32" reason: only test on esp32 diff --git a/examples/protocols/esp_http_client/README.md b/examples/protocols/esp_http_client/README.md index 832454a4b5..8e92232f8c 100644 --- a/examples/protocols/esp_http_client/README.md +++ b/examples/protocols/esp_http_client/README.md @@ -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 See the README.md file in the upper level 'examples' directory for more information about examples. diff --git a/examples/protocols/esp_local_ctrl/README.md b/examples/protocols/esp_local_ctrl/README.md index 5df67bec5e..f51269ee9b 100644 --- a/examples/protocols/esp_local_ctrl/README.md +++ b/examples/protocols/esp_local_ctrl/README.md @@ -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 diff --git a/examples/protocols/http_request/README.md b/examples/protocols/http_request/README.md index 9a01c6027f..ce6795556d 100644 --- a/examples/protocols/http_request/README.md +++ b/examples/protocols/http_request/README.md @@ -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 diff --git a/examples/protocols/http_server/advanced_tests/README.md b/examples/protocols/http_server/advanced_tests/README.md index cd23147cbf..22303a8ebe 100644 --- a/examples/protocols/http_server/advanced_tests/README.md +++ b/examples/protocols/http_server/advanced_tests/README.md @@ -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 diff --git a/examples/protocols/http_server/async_handlers/README.md b/examples/protocols/http_server/async_handlers/README.md index e979bcdbc0..61bdd20520 100644 --- a/examples/protocols/http_server/async_handlers/README.md +++ b/examples/protocols/http_server/async_handlers/README.md @@ -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 diff --git a/examples/protocols/http_server/file_serving/README.md b/examples/protocols/http_server/file_serving/README.md index 9aa64a04e0..137cfd6bee 100644 --- a/examples/protocols/http_server/file_serving/README.md +++ b/examples/protocols/http_server/file_serving/README.md @@ -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 diff --git a/examples/protocols/http_server/persistent_sockets/README.md b/examples/protocols/http_server/persistent_sockets/README.md index 1e5e87c885..ebd6542968 100644 --- a/examples/protocols/http_server/persistent_sockets/README.md +++ b/examples/protocols/http_server/persistent_sockets/README.md @@ -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 diff --git a/examples/protocols/http_server/restful_server/README.md b/examples/protocols/http_server/restful_server/README.md index 21011f6587..ccabdd5616 100644 --- a/examples/protocols/http_server/restful_server/README.md +++ b/examples/protocols/http_server/restful_server/README.md @@ -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 diff --git a/examples/protocols/http_server/simple/README.md b/examples/protocols/http_server/simple/README.md index 746d455af1..cc7593f396 100644 --- a/examples/protocols/http_server/simple/README.md +++ b/examples/protocols/http_server/simple/README.md @@ -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 diff --git a/examples/protocols/http_server/ws_echo_server/README.md b/examples/protocols/http_server/ws_echo_server/README.md index 3c07fd9476..0f30248319 100644 --- a/examples/protocols/http_server/ws_echo_server/README.md +++ b/examples/protocols/http_server/ws_echo_server/README.md @@ -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 diff --git a/examples/protocols/https_mbedtls/README.md b/examples/protocols/https_mbedtls/README.md index efb0ee90e8..c1a91775e5 100644 --- a/examples/protocols/https_mbedtls/README.md +++ b/examples/protocols/https_mbedtls/README.md @@ -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 diff --git a/examples/protocols/https_request/README.md b/examples/protocols/https_request/README.md index 3e2cc244c0..b02da7c3ee 100644 --- a/examples/protocols/https_request/README.md +++ b/examples/protocols/https_request/README.md @@ -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 diff --git a/examples/protocols/https_server/simple/README.md b/examples/protocols/https_server/simple/README.md index 78401a1b02..d6aefd33b1 100644 --- a/examples/protocols/https_server/simple/README.md +++ b/examples/protocols/https_server/simple/README.md @@ -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 diff --git a/examples/protocols/https_server/wss_server/README.md b/examples/protocols/https_server/wss_server/README.md index e04e46ef2c..8ae7062bfa 100644 --- a/examples/protocols/https_server/wss_server/README.md +++ b/examples/protocols/https_server/wss_server/README.md @@ -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 diff --git a/examples/protocols/https_x509_bundle/README.md b/examples/protocols/https_x509_bundle/README.md index e5f321be5b..e82d56c68c 100644 --- a/examples/protocols/https_x509_bundle/README.md +++ b/examples/protocols/https_x509_bundle/README.md @@ -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 diff --git a/examples/system/.build-test-rules.yml b/examples/system/.build-test-rules.yml index c93b24b0bb..364552ae53 100644 --- a/examples/system/.build-test-rules.yml +++ b/examples/system/.build-test-rules.yml @@ -140,9 +140,9 @@ examples/system/light_sleep: examples/system/ota/advanced_https_ota: disable: - - if: IDF_TARGET in ["esp32h2", "esp32p4"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32h2, esp32p4 is not supported yet + reason: target esp32h2 is not supported yet disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] temporary: true @@ -161,9 +161,9 @@ examples/system/ota/advanced_https_ota: examples/system/ota/native_ota_example: disable: - - if: IDF_TARGET in ["esp32h2", "esp32p4"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32h2, esp32p4 is not supported yet + reason: target esp32h2 is not supported yet disable_test: - if: IDF_TARGET != "esp32" reason: Only esp32 has ethernet runners @@ -179,15 +179,15 @@ examples/system/ota/native_ota_example: examples/system/ota/otatool: disable: - - if: IDF_TARGET in ["esp32c2", "esp32h2", "esp32p4"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32c2, esp32h2, esp32p4 is not supported yet + reason: target esp32h2 is not supported yet examples/system/ota/pre_encrypted_ota: disable: - - if: IDF_TARGET in ["esp32h2", "esp32p4"] + - if: IDF_TARGET in ["esp32h2"] temporary: true - reason: target esp32h2, esp32p4 is not supported yet + reason: target esp32h2 is not supported yet disable_test: - if: IDF_TARGET != "esp32" temporary: true @@ -204,9 +204,9 @@ examples/system/ota/pre_encrypted_ota: examples/system/ota/simple_ota_example: disable: - - if: IDF_TARGET in ["esp32h2", "esp32p4"] + - if: IDF_TARGET in ["esp32h2"] 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 disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"] diff --git a/examples/system/ota/advanced_https_ota/README.md b/examples/system/ota/advanced_https_ota/README.md index c653d77871..f3eea9565c 100644 --- a/examples/system/ota/advanced_https_ota/README.md +++ b/examples/system/ota/advanced_https_ota/README.md @@ -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 diff --git a/examples/system/ota/native_ota_example/README.md b/examples/system/ota/native_ota_example/README.md index 0c73c8c879..311f6e9b83 100644 --- a/examples/system/ota/native_ota_example/README.md +++ b/examples/system/ota/native_ota_example/README.md @@ -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 diff --git a/examples/system/ota/otatool/README.md b/examples/system/ota/otatool/README.md index 40634e861b..c707e5933e 100644 --- a/examples/system/ota/otatool/README.md +++ b/examples/system/ota/otatool/README.md @@ -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 diff --git a/examples/system/ota/otatool/pytest_otatool.py b/examples/system/ota/otatool/pytest_otatool.py index da5ef502fa..9313d3ae0d 100644 --- a/examples/system/ota/otatool/pytest_otatool.py +++ b/examples/system/ota/otatool/pytest_otatool.py @@ -1,7 +1,5 @@ # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD # SPDX-License-Identifier: Unlicense OR CC0-1.0 -from __future__ import print_function - import os import subprocess import sys @@ -15,6 +13,8 @@ from pytest_embedded import Dut @pytest.mark.esp32c3 @pytest.mark.esp32s3 @pytest.mark.esp32c6 +@pytest.mark.esp32c2 +@pytest.mark.esp32p4 @pytest.mark.generic def test_otatool_example(dut: Dut) -> None: # Verify factory firmware diff --git a/examples/system/ota/pre_encrypted_ota/README.md b/examples/system/ota/pre_encrypted_ota/README.md index 948fe059d9..ba806c05af 100644 --- a/examples/system/ota/pre_encrypted_ota/README.md +++ b/examples/system/ota/pre_encrypted_ota/README.md @@ -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 diff --git a/examples/system/ota/simple_ota_example/README.md b/examples/system/ota/simple_ota_example/README.md index eaaa332e55..bdb023c331 100644 --- a/examples/system/ota/simple_ota_example/README.md +++ b/examples/system/ota/simple_ota_example/README.md @@ -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