From 31d4a60d8c1565f88f1cedceed9bf07063bdb782 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 14 Mar 2026 21:35:28 +0100 Subject: [PATCH] Platform 2026.03 (#24547) * Platform 2026.03 * changes as suggested from Theo --- platformio.ini | 2 +- platformio_tasmota32.ini | 4 +--- .../xdrv_81_0_esp32_webcam_CSI_core.ino | 2 ++ tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino | 9 ++++++++- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/platformio.ini b/platformio.ini index 35f5d6bf0..470c3b843 100644 --- a/platformio.ini +++ b/platformio.ini @@ -138,7 +138,7 @@ lib_ignore = ESP8266Audio [core] ; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4. Added Backport for PWM selection -platform = https://github.com/tasmota/platform-espressif8266/releases/download/2026.02.00/platform-espressif8266.zip +platform = https://github.com/tasmota/platform-espressif8266/releases/download/2026.03.00/platform-espressif8266.zip platform_packages = build_unflags = ${esp_defaults.build_unflags} build_flags = ${esp82xx_defaults.build_flags} diff --git a/platformio_tasmota32.ini b/platformio_tasmota32.ini index 3db1aca6c..c55603043 100644 --- a/platformio_tasmota32.ini +++ b/platformio_tasmota32.ini @@ -97,9 +97,7 @@ custom_component_remove = espressif/cmake_utilities [core32] -platform = https://github.com/tasmota/platform-espressif32/releases/download/2026.02.30/platform-espressif32.zip +platform = https://github.com/tasmota/platform-espressif32/releases/download/2026.03.30/platform-espressif32.zip platform_packages = build_unflags = ${esp32_defaults.build_unflags} build_flags = ${esp32_defaults.build_flags} - - diff --git a/tasmota/tasmota_xdrv_driver/xdrv_81_0_esp32_webcam_CSI_core.ino b/tasmota/tasmota_xdrv_driver/xdrv_81_0_esp32_webcam_CSI_core.ino index 7589b0469..f31dde460 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_81_0_esp32_webcam_CSI_core.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_81_0_esp32_webcam_CSI_core.ino @@ -468,7 +468,9 @@ uint32_t WcInitPipeline() { // De-initialize only the resolution-dependent hardware void WcDeinitPipeline() { // 0. AWB must go before ISP processor +#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0) WcIspDeinitAWB(); +#endif // 1. Delete Encoder if (Wc.h264.handle) { diff --git a/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino b/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino index 213fc64ea..c64df318a 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino @@ -27,6 +27,13 @@ extern "C" { # define ESP_HOSTED_NEW_OTA #endif +#ifdef CONFIG_ESP_HOSTED_CP_TARGET_ESP32C6 +#ifdef CONFIG_ESP_HOSTED_IDF_SLAVE_TARGET +#undef CONFIG_ESP_HOSTED_IDF_SLAVE_TARGET +#endif +#define CONFIG_ESP_HOSTED_IDF_SLAVE_TARGET "esp32c6" +#endif + enum EspHostTypes { ESP_HOST, ESP_HOSTED }; struct Hosted_t { @@ -381,4 +388,4 @@ bool Xdrv84(uint32_t function) { #endif // FIRMWARE_SAFEBOOT #endif // CONFIG_ESP_WIFI_REMOTE_ENABLED -#endif // ESP32 \ No newline at end of file +#endif // ESP32