From c80563b3b58651979536aafc2de7c5979de88bd0 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 24 Aug 2025 16:07:38 +0200 Subject: [PATCH] add esp32-c5 to build workflows / optimize C6 safeboot to be IDF 5.5 compatible (#23824) * optimize esp32-c6 safeboot for IDF 5.5 * add esp32-c5 to GH Actions build workflows --- .github/workflows/Tasmota_build_devel.yml | 9 +- .github/workflows/Tasmota_build_master.yml | 9 +- platformio_tasmota_env32.ini | 103 +++++++++++++-------- 3 files changed, 74 insertions(+), 47 deletions(-) diff --git a/.github/workflows/Tasmota_build_devel.yml b/.github/workflows/Tasmota_build_devel.yml index aad56c02b..079c63300 100644 --- a/.github/workflows/Tasmota_build_devel.yml +++ b/.github/workflows/Tasmota_build_devel.yml @@ -90,13 +90,15 @@ jobs: variant: - tasmota32-safeboot - tasmota32solo1-safeboot - - tasmota32c2-safeboot - - tasmota32c3-safeboot - - tasmota32c3ser-safeboot - tasmota32s2-safeboot - tasmota32s2cdc-safeboot - tasmota32s3-safeboot - tasmota32s3ser-safeboot + - tasmota32c2-safeboot + - tasmota32c3-safeboot + - tasmota32c3ser-safeboot + - tasmota32c5-safeboot + - tasmota32c5ser-safeboot - tasmota32c6-safeboot - tasmota32c6ser-safeboot - tasmota32p4-safeboot @@ -205,6 +207,7 @@ jobs: - tasmota32-lvgl - tasmota32c2 - tasmota32c3 + - tasmota32c5 - tasmota32c6 - tasmota32p4 - tasmota32s2 diff --git a/.github/workflows/Tasmota_build_master.yml b/.github/workflows/Tasmota_build_master.yml index 842da5239..fc03182fc 100644 --- a/.github/workflows/Tasmota_build_master.yml +++ b/.github/workflows/Tasmota_build_master.yml @@ -24,13 +24,15 @@ jobs: variant: - tasmota32-safeboot - tasmota32solo1-safeboot - - tasmota32c2-safeboot - - tasmota32c3-safeboot - - tasmota32c3ser-safeboot - tasmota32s2-safeboot - tasmota32s2cdc-safeboot - tasmota32s3-safeboot - tasmota32s3ser-safeboot + - tasmota32c2-safeboot + - tasmota32c3-safeboot + - tasmota32c3ser-safeboot + - tasmota32c5-safeboot + - tasmota32c5ser-safeboot - tasmota32c6-safeboot - tasmota32c6ser-safeboot - tasmota32p4-safeboot @@ -132,6 +134,7 @@ jobs: - tasmota32-lvgl - tasmota32c2 - tasmota32c3 + - tasmota32c5 - tasmota32c6 - tasmota32p4 - tasmota32s2 diff --git a/platformio_tasmota_env32.ini b/platformio_tasmota_env32.ini index 8dc683005..ff52b4b11 100644 --- a/platformio_tasmota_env32.ini +++ b/platformio_tasmota_env32.ini @@ -140,24 +140,24 @@ build_flags = ${env:tasmota32_base.build_flags} -DOTA_URL='"http://ota.tasmota.com/tasmota32/release/tasmota32c5-safeboot.bin"' lib_extra_dirs = lib/lib_ssl, lib/libesp32 lib_ignore = ${safeboot_flags.lib_ignore} -custom_sdkconfig = - '# CONFIG_BT_ENABLED is not set' - '# CONFIG_BT_NIMBLE_ENABLED is not set' - '# CONFIG_BT_CONTROLLER_ENABLED is not set' - CONFIG_BT_CONTROLLER_DISABLED=y - '# CONFIG_LWIP_IP_FORWARD is not set' - '# CONFIG_LWIP_IPV4_NAPT is not set' - '# CONFIG_LWIP_IPV4_NAPT_PORTMAP is not set' - '# CONFIG_ETH_ENABLED is not set' - '# CONFIG_ETH_USE_SPI_ETHERNET is not set' - '# CONFIG_ETH_TRANSMIT_MUTEX is not set' - '# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set' - '# CONFIG_ETH_SPI_ETHERNET_W5500 is not set' - '# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set' - '# CONFIG_LWIP_PPP_SUPPORT is not set' -custom_component_remove = espressif/esp_hosted - espressif/esp_wifi_remote - espressif/esp_modem +custom_sdkconfig = + '# CONFIG_BT_ENABLED is not set' + '# CONFIG_BT_NIMBLE_ENABLED is not set' + '# CONFIG_BT_CONTROLLER_ENABLED is not set' + CONFIG_BT_CONTROLLER_DISABLED=y + '# CONFIG_LWIP_IP_FORWARD is not set' + '# CONFIG_LWIP_IPV4_NAPT is not set' + '# CONFIG_LWIP_IPV4_NAPT_PORTMAP is not set' + '# CONFIG_LWIP_PPP_SUPPORT is not set' + '# CONFIG_ETH_ENABLED is not set' + '# CONFIG_ETH_USE_SPI_ETHERNET is not set' + '# CONFIG_ETH_TRANSMIT_MUTEX is not set' + '# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set' + '# CONFIG_ETH_SPI_ETHERNET_W5500 is not set' + '# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set' +custom_component_remove = espressif/esp_hosted + espressif/esp_wifi_remote + espressif/esp_modem [env:tasmota32c5ser-safeboot] platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF55 @@ -169,24 +169,24 @@ build_flags = ${env:tasmota32_base.build_flags} -DOTA_URL='"http://ota.tasmota.com/tasmota32/release/tasmota32c5ser-safeboot.bin"' lib_extra_dirs = lib/lib_ssl, lib/libesp32 lib_ignore = ${safeboot_flags.lib_ignore} -custom_sdkconfig = - '# CONFIG_BT_ENABLED is not set' - '# CONFIG_BT_NIMBLE_ENABLED is not set' - '# CONFIG_BT_CONTROLLER_ENABLED is not set' - CONFIG_BT_CONTROLLER_DISABLED=y - '# CONFIG_LWIP_IP_FORWARD is not set' - '# CONFIG_LWIP_IPV4_NAPT is not set' - '# CONFIG_LWIP_IPV4_NAPT_PORTMAP is not set' - '# CONFIG_ETH_ENABLED is not set' - '# CONFIG_ETH_USE_SPI_ETHERNET is not set' - '# CONFIG_ETH_TRANSMIT_MUTEX is not set' - '# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set' - '# CONFIG_ETH_SPI_ETHERNET_W5500 is not set' - '# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set' - '# CONFIG_LWIP_PPP_SUPPORT is not set' -custom_component_remove = espressif/esp_hosted - espressif/esp_wifi_remote - espressif/esp_modem +custom_sdkconfig = + '# CONFIG_BT_ENABLED is not set' + '# CONFIG_BT_NIMBLE_ENABLED is not set' + '# CONFIG_BT_CONTROLLER_ENABLED is not set' + CONFIG_BT_CONTROLLER_DISABLED=y + '# CONFIG_LWIP_IP_FORWARD is not set' + '# CONFIG_LWIP_IPV4_NAPT is not set' + '# CONFIG_LWIP_IPV4_NAPT_PORTMAP is not set' + '# CONFIG_LWIP_PPP_SUPPORT is not set' + '# CONFIG_ETH_ENABLED is not set' + '# CONFIG_ETH_USE_SPI_ETHERNET is not set' + '# CONFIG_ETH_TRANSMIT_MUTEX is not set' + '# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set' + '# CONFIG_ETH_SPI_ETHERNET_W5500 is not set' + '# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set' +custom_component_remove = espressif/esp_hosted + espressif/esp_wifi_remote + espressif/esp_modem [env:tasmota32c6-safeboot] extends = env:tasmota32_base @@ -197,6 +197,18 @@ build_flags = ${env:tasmota32_base.build_flags} -DOTA_URL='"http://ota.tasmota.com/tasmota32/release/tasmota32c6-safeboot.bin"' lib_extra_dirs = lib/lib_ssl, lib/libesp32 lib_ignore = ${safeboot_flags.lib_ignore} +custom_sdkconfig = + '# CONFIG_BT_ENABLED is not set' + '# CONFIG_BT_NIMBLE_ENABLED is not set' + '# CONFIG_BT_CONTROLLER_ENABLED is not set' + CONFIG_BT_CONTROLLER_DISABLED=y + '# CONFIG_LWIP_IP_FORWARD is not set' + '# CONFIG_LWIP_IPV4_NAPT is not set' + '# CONFIG_LWIP_IPV4_NAPT_PORTMAP is not set' + '# CONFIG_LWIP_PPP_SUPPORT is not set' +custom_component_remove = espressif/esp_hosted + espressif/esp_wifi_remote + espressif/esp_modem [env:tasmota32c6ser-safeboot] extends = env:tasmota32_base @@ -207,6 +219,18 @@ build_flags = ${env:tasmota32_base.build_flags} -DOTA_URL='"http://ota.tasmota.com/tasmota32/release/tasmota32c6ser-safeboot.bin"' lib_extra_dirs = lib/lib_ssl, lib/libesp32 lib_ignore = ${safeboot_flags.lib_ignore} +custom_sdkconfig = + '# CONFIG_BT_ENABLED is not set' + '# CONFIG_BT_NIMBLE_ENABLED is not set' + '# CONFIG_BT_CONTROLLER_ENABLED is not set' + CONFIG_BT_CONTROLLER_DISABLED=y + '# CONFIG_LWIP_IP_FORWARD is not set' + '# CONFIG_LWIP_IPV4_NAPT is not set' + '# CONFIG_LWIP_IPV4_NAPT_PORTMAP is not set' + '# CONFIG_LWIP_PPP_SUPPORT is not set' +custom_component_remove = espressif/esp_hosted + espressif/esp_wifi_remote + espressif/esp_modem [env:tasmota32s3ser-safeboot] extends = env:tasmota32_base @@ -254,11 +278,8 @@ build_flags = ${env:tasmota32_base.build_flags} lib_ignore = ${env:tasmota32_base.lib_ignore} Micro-RTSP epdiy -custom_sdkconfig = '# CONFIG_SPIRAM is not set' -; '# CONFIG_BT_ENABLED is not set' -; CONFIG_BT_DISABLED=y -; '# CONFIG_BT_NIMBLE_ENABLED is no set' -; CONFIG_BT_NIMBLE_DISABLED=y +custom_sdkconfig = + '# CONFIG_SPIRAM is not set' '# CONFIG_TWAI_ERRATA_FIX_BUS_OFF_REC is not set' '# CONFIG_TWAI_ERRATA_FIX_TX_INTR_LOST is not set' '# CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID is not set'