Repository navigation
Conversation
…nner.h DriverTest calls FastLED.enableAllDrivers() but never includes the header that provides the linker opt-in body for that function. After PR #2476 switched ./compile to fbuild compile-many (and added `all` to the esp32s3/esp32dev_i2s workflow args), this example is now built in CI on all ESP32 targets and the resulting link fails with: undefined reference to `CFastLED::enableAllDrivers()' Adding the include from fl/channels/all_drivers.h pulls in the body, per the dual-mode API documented in #2428. 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)
📝 WalkthroughWalkthroughTestRunner.h adds an explicit include for ChangesDriver availability setup
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
|
Superseded by #2478, which addresses the underlying architectural issue (moves |
Summary
Fixes ESP32 link failure in
SpecialDrivers/ESP/DriverTestnow surfaced by master CI after #2476 switched./compileto fbuild compile-many and addedallto the esp32 workflow args.Symptom (from master CI on commit
0bc9b8c3d2, target esp32s3):Root cause:
TestRunner.hcallsFastLED.enableAllDrivers()(line 271) but never includesfl/channels/all_drivers.h, which provides the linker opt-in body for that method (see #2428). Adding the include resolves the unresolved symbol at link.This is a one-line example-level fix; no library or build-system changes.
Known follow-up (out of scope)
Ports/PJRCSpectrumAnalyzeralso now fails on teensy41 (and presumably teensy35/36/40) with:That is a Teensy Audio library / CMSIS-DSP link resolution problem under fbuild compile-many — the math lib (
libarm_cortexM7lfsp_math.a) isn't being pulled in. It's a fbuild/build-system issue, not an example issue, and warrants a separate investigation.Test plan
build_esp32s3workflow turns green on this branchbuild_esp32dev_i2sworkflow turns green on this branch🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes