Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ board_build.flash_mode = dio
;; WLEDMM begin

;; tasmota platform - reduces firmaware size by ~280KB
platformTasmota = https://github.com/tasmota/platform-espressif32/releases/download/2023.06.02/platform-espressif32.zip ;; Tasmota Arduino Core 2.0.9 with IPv6 support, based on IDF 4.4.4
platformTasmota = https://github.com/tasmota/platform-espressif32/releases/download/2024.06.00/platform-espressif32.zip ;; Tasmota Arduino Core 2.0.18 with IPv6 support, based on IDF 4.4.8
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify that the Tasmota platform release exists and is accessible

echo "Checking platform URL accessibility..."
HTTP_STATUS=$(curl -I -s -o /dev/null -w "%{http_code}" "https://github.com/tasmota/platform-espressif32/releases/download/2024.06.00/platform-espressif32.zip")

if [ "$HTTP_STATUS" = "200" ] || [ "$HTTP_STATUS" = "302" ]; then
  echo "✓ Platform URL is accessible (HTTP $HTTP_STATUS)"
else
  echo "✗ Platform URL returned HTTP $HTTP_STATUS"
fi

# Check if the release tag exists
echo ""
echo "Checking if release tag 2024.06.00 exists..."
gh api repos/tasmota/platform-espressif32/releases/tags/2024.06.00 --jq '.tag_name, .name, .published_at' 2>/dev/null || echo "Release tag not found or error accessing GitHub API"

Repository: MoonModules/WLED-MM

Length of output: 351


🌐 Web query:

Arduino ESP32 2.0.18 release notes breaking changes

💡 Result:

  • Espressif did not release an “Arduino-ESP32 core v2.0.18”. Arduino’s “2.0.18-20240930.arduino3” package exists because Arduino needed to ship urgent fixes on top of Espressif v2.0.17 and bumped the version only to trigger IDE auto-update. As a result, the version macros still report 2.0.17. [1]
  • Release notes: Arduino staff/forum moderators state Arduino did not publish real release notes for these Arduino-specific 2.0.18-* builds; the only “notes” are effectively the commit diff in their repo. [3]
  • Breaking changes (practically):
    • Windows/IDE2 compile failures due to long platform folder name 2.0.18-20240930.arduino3 (path length issues). A workaround was to rename the installed platform folder. [2]
    • A later update 2.0.18-arduino.5 is mentioned as including fixes for this topic (including “a shorter name”). [2]

Sources: [1] Arduino Forum thread with Arduino maintainer explanation of 2.0.18-* being 2.0.17+fixes, [2] Arduino Forum compile-error thread & later fix mention, [3] Arduino Forum note about lack of release notes.


🌐 Web query:

Tasmota platform-espressif32 2024.06.00 release

💡 Result:

Tasmota’s platform-espressif32 2024.06.00 release (tagged June 29, 2024) is the Tasmota PlatformIO ESP32 platform update that moves to Tasmota Arduino Core 2.0.18 (noted as “with IPv6 support”) and is based on ESP-IDF 4.4.8. [1]

Release/tag notes also mention:

  • Update examples.yml
  • Delete examples/tasmota_platformio_override.ini
  • Platform 2024.06.00 Tasmota Core 2.0.18” [2]

PlatformIO usage (downloaded platform package):

platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.06.00/platform-espressif32.zip

[2]

Sources:
[1] https://github.com/tasmota/platform-espressif32/releases/tag/2024.06.00
[2] https://github.com/tasmota/platform-espressif32/tags?after=2024.08.11


Verify Windows IDE2 compatibility with Arduino 2.0.18 platform folder naming.

The platform URL is accessible and Tasmota 2024.06.00 release exists. However, Arduino's 2.0.18 build (2.0.18-20240930.arduino3) introduces a documented breaking change: Windows IDE2 compile failures due to the long platform folder name. Versions prior to 2.0.18-arduino.5 are affected.

Confirm that Windows IDE2 users are either excluded from this platform or that the Tasmota build uses a patched Arduino version (2.0.18-arduino.5 or later) that includes a shorter folder name. If not, provide a workaround for Windows IDE2 developers.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@platformio.ini` at line 431, The platformTasmota entry points at
platform-espressif32.zip for Tasmota 2024.06.00 which may break Windows IDE2 due
to the long Arduino 2.0.18 platform folder name (seen in Arduino build
2.0.18-20240930.arduino3); verify Windows IDE2 compatibility and either (A)
replace the URL with a known patched Arduino-2.0.18-arduino.5-or-later build of
platform-espressif32 (update platformTasmota to that patched ZIP), or (B)
explicitly exclude/document Windows IDE2 users and provide a workaround entry
(e.g., a platformTasmota_win that points to a trimmed-name ZIP or instructs to
manually rename the platform folder) so Windows IDE2 developers won’t hit the
long-folder-name compile failure. Ensure you reference and update the
platformTasmota definition and the platform-espressif32 ZIP target when applying
the fix.

platform_packagesTasmota =

;; ** For compiling with latest Frameworks (IDF4.4.x and arduino-esp32 v2.0.x) **
Expand Down
Loading