Repository navigation
fix(esp32c6): reject USB serial pins for LED output - #2681
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThree files add pin validation to prevent configuring GPIO12/13 as FastLED outputs on ESP32-C6, where these pins are native USB D-/D+ lines. The platform mask is updated with a compile-time assert, and runtime checks are added to PARLIO driver and AutoResearch streaming initialization. ChangesESP32-C6 USB GPIO Safety Validation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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
data_gpio_nums[]parlioStreamValidatefail channel creation before adding C6 pin maps that include GPIO12/GPIO13Closes #2677
Validation
git diff --checkPLATFORMIO_SRC_DIR=$PWD\examples\AutoResearch pio run -e esp32c6parlioStreamValidatewith 16 lanes/256 LEDs/2 iterations/1000 ms; result returnedchannelsOk=false,completed=false; follow-upstatusRPC succeeded and COM9 remained enumeratedSummary by CodeRabbit