Repository navigation
feat(variants): add L1 Pro 1W battery curve and brightness levels - #11972
Conversation
- Add OCV_ARRAY for the L1 Pro 1W battery.
- Let variants override the brightness menu levels via
SCREEN_BRIGHTNESS_LEVEL_{MEDIUM,HIGH,VERY_HIGH}; defaults unchanged.
- Set L1 Pro 1W brightness levels to 100/160/255.
- Drop USE_SSD1306 from the L1 Pro 1W variant; USE_SH1106 is set in
configuration.h.
⚡ Try this PR in the Web FlasherNote Building this pull request… the flash button, badges and supported-board |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: meshtastic/firmware/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe brightness picker now uses variant-overridable brightness levels. The Seeed Wio Tracker L1 Pro 1W variant sets those levels to 100, 160, and 255, removes ChangesScreen brightness
Battery voltage configuration
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The L1 Pro 1W brightness and battery settings follow their consumer contracts, and its display backend remains selected. The existing menu-label mismatch is unchanged by this PR; no actionable merge risk remains. Architecture SummaryArchitecture risk: 🟡 Medium · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
Reliability and maintainability
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 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 |
…shtastic#11972) - Add OCV_ARRAY for the L1 Pro 1W battery. - Let variants override the brightness menu levels via SCREEN_BRIGHTNESS_LEVEL_{MEDIUM,HIGH,VERY_HIGH}; defaults unchanged. - Set L1 Pro 1W brightness levels to 100/160/255. - Drop USE_SSD1306 from the L1 Pro 1W variant; USE_SH1106 is set in configuration.h.
Follow-up to #11542 with the remaining changes from Seeed's 2.7 vendor branch for the Wio Tracker L1 Pro 1W.
OCV_ARRAYfor the L1 Pro 1W battery.SCREEN_BRIGHTNESS_LEVEL_MEDIUM/_HIGH/_VERY_HIGH. Defaults (64/128/255) are unchanged.USE_SSD1306from the L1 Pro 1W variant.USE_SH1106is already set inconfiguration.hand takes precedence.Testing
Flashed to an L1 Pro 1W. Boots and the display works. Brightness menu levels not yet checked on the device. TX power measured with an ImmersionRC RF meter (direct and through a 10 dB pad): output tracks the configured value within 0.9 dB from 10 to 30 dBm on US, and reads about 1 dB low on EU_868.
Attestations
Seeed Wio Tracker L1 Pro 1W
Summary by CodeRabbit