Repository navigation
fix(avr): keep SPI defaults off UART TX - #4094
Conversation
Use the ATmega328P family's established D11/D13 hardware SPI pair for clocked example defaults instead of inheriting D1/D2. D1 is UART TX on Uno, Nano, and Pro Mini boards and conflicts with Serial output used by examples.\n\nRefs #4018.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe ATmega328P pin header now defines guarded default macros for SPI data pin 11 and SPI clock pin 13. Existing externally defined values remain unchanged. ChangesATmega328P SPI pin configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The change sets ATmega328P-family SPI defaults to D11 and D13 while preserving explicit overrides. No actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 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 |
Refs #4018.
Sets ATmega328P-family default SPI data and clock pins to D11/D13, preserving user overrides and avoiding inherited D1 UART TX. Validated with lint and an Uno APA102 compile.
Summary by CodeRabbit