Repository navigation
fix(ci): pin esp32c2 platform to IDF 5.4 instead of floating stable tag - #2289
Conversation
The ESP32_C2_DEVKITM_1 board definition tracked the floating `stable`
tag of pioarduino/platform-espressif32. Upstream bumped `stable` to
55.03.38, which requires PlatformIO Core >=6.1.19; FastLED CI ships
PIO Core 6.1.18, so every esp32c2 build has been failing with:
IncompatiblePlatform: Development platform 'espressif32' is not
compatible with PlatformIO Core v6.1.18 and depends on PlatformIO
Core >=6.1.19.
Every other ESP32 board in boards.py pins a specific release URL via
a named constant (ESP32_IDF_5_4_PIOARDUINO = 54.03.20, etc.). This
brings esp32c2 in line with that pattern — pinning to 54.03.20, which
is battle-tested by esp32s3 and several other boards using the same
constant.
No functional change for esp32c2 beyond moving off the moving target.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated the ESP32_C2_DEVKITM_1 board configuration in the CI pipeline to use a pinned PlatformIO platform URL (version 54.03.20) instead of relying on the floating "stable" release tag. This ensures consistent platform artifacts across builds. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
ESP32_C2_DEVKITM_1inci/boards.pywas tracking the floatingstabletag ofpioarduino/platform-espressif32. Upstream bumpedstable→ 55.03.38, which requires PlatformIO Core >=6.1.19. FastLED CI runs Core 6.1.18, so every esp32c2 build has been failing withIncompatiblePlatform.Error from CI
(seen in run 24591055571 and every esp32c2 master run in the past ~day)
Fix
Pin esp32c2 to
ESP32_IDF_5_4_PIOARDUINO(=54.03.20) — the same constant used byesp32s3and other C-series boards inci/boards.py. Matches the existing pinning pattern; no more floating-tag drift.Test plan
import ci.boardsresolvesESP32_C2_DEVKITM_1.platformto the pinned URLesp32c2job on this PR passes (the real validation)Why not bump PIO Core instead
Bumping to 6.1.19 across all of CI is a higher-blast-radius change that would affect every board simultaneously. Pinning esp32c2 to a known-good platform version is lower-risk and consistent with how every other board in
boards.pyis configured.🤖 Generated with Claude Code
Summary by CodeRabbit