Fix L1 E-Ink InkHUD issues#10804
Merged
Merged
Conversation
Contributor
⚡ Try this PR in the Web FlasherWarning This is an automated, unreviewed CI test build. Back up your device configuration Supported boards built by this PR (25)
Build artifacts expire on 2026-07-28. Updated for |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses three device-specific issues on the seeed_wio_tracker_L1_eink-inkhud target: battery voltage reporting, non-touch InkHUD keyboard layout behavior, and wake-from-shutdown on nRF52 by adding variant-specific wake configuration.
Changes:
- Hook the L1 battery divider control into the shared battery ADC enable/disable path via
ADC_CTRL/ADC_CTRL_ENABLED, and update the InkHUD env to inherit the proper base environment. - Split InkHUD keyboard behavior based on touch capability, restoring the legacy joystick-friendly keyboard for non-touch devices.
- Add L1/L1_eink
variant_shutdown()to configure the program button as a wake source prior to nRF52SYSTEMOFF.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| variants/nrf52840/seeed_wio_tracker_L1/variant.h | Defines ADC_CTRL/ADC_CTRL_ENABLED for battery divider control. |
| variants/nrf52840/seeed_wio_tracker_L1/variant.cpp | Adds L1 variant_shutdown() wake-on-button configuration for SYSTEMOFF. |
| variants/nrf52840/seeed_wio_tracker_L1_eink/variant.h | Defines ADC_CTRL/ADC_CTRL_ENABLED for battery divider control (E-Ink variant). |
| variants/nrf52840/seeed_wio_tracker_L1_eink/variant.cpp | Adds L1 E-Ink variant_shutdown() wake-on-button configuration. |
| variants/nrf52840/seeed_wio_tracker_L1_eink/platformio.ini | Makes InkHUD env inherit from env:seeed_wio_tracker_L1_eink to pick up correct variant config. |
| src/graphics/niche/InkHUD/Applets/System/Keyboard/KeyboardApplet.h | Adds legacy keyboard definitions and helpers for non-touch builds. |
| src/graphics/niche/InkHUD/Applets/System/Keyboard/KeyboardApplet.cpp | Implements legacy keyboard rendering/input/navigation paths and touch/non-touch switching. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
Firmware Size Report22 targets | vs
Show 17 more target(s)
Updated for edff68b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes three L1 E-Ink InkHUD issues:
0.00V.Problem
On the
seeed_wio_tracker_L1_eink-inkhudtarget:What changed
Battery voltage fix
ADC_CTRLADC_CTRL_ENABLEDseeed_wio_tracker_L1_einkenvironment so it picks up the correct board-specific configuration.Non-touch keyboard restore
Wake from shutdown
SYSTEMOFF.Why this is safe