feat(battery): Support fuel gauge API#51
Draft
joelspadin wants to merge 61 commits intopetejohanson:core/move-to-zephyr-4-1from
Draft
feat(battery): Support fuel gauge API#51joelspadin wants to merge 61 commits intopetejohanson:core/move-to-zephyr-4-1from
joelspadin wants to merge 61 commits intopetejohanson:core/move-to-zephyr-4-1from
Conversation
Add ability to assign a keyboard `input` device to a physical layout, or use a chosen `zmk,matrix-input`.
Pass NULL user_data to input callbacks.
Handle additional read callback invocation once all matching characteristic have been read.
Be sure we don't get back any uninitialized data by initializing the channel data to 0 before calling into the sensor API.
Input callbacks now have a user_data parameter, adjust accordingly.
Small fixes and remove commented dead code left after the split refactor.
Minor changes to snapshots based on newer Zephyr version.
Move to official upstream board definition for the Seeed XIAO BLE.
Upgrade the nice!nano board to HWMv2, under the proper nicekeyboards vendor directory, and with proper revisions. Includes a breaking change to default the `2.0.0` version instead of the much older v1 (`1.0.0`).
Disable the recently added Nordic dt-bindings header checks, which cause issues for our HID related headers.
Use the correct memset call to clear our RPC memory.
Adjustments to our PM code to match Zephyr PM APIs.
Adjust for upstream Zephyr BT API changes for advertising options.
Run the HWMv2 script to convert the MakerDiary M2 board.
Fix up the RPC code that invoke the thread analyzer API to account for API changes.
Leverage nanopb version that's used by Zephyr.
To trigger bootloaders that use a magic value in RAM to trigger bootloader mode, add a mapping retained memory driver that maps write/read of boot mode values to a special magic value stored in the actually backing RAM.
Support new generic Zephyr retention boot mode API in the reset behavior.
Add ability to enter the bootloader if double tapping reset within the specified window.
Refactor nRFMicro to HWMv2, using proper SoC, revisions, and variants (for flipped). Also move to devicetree setup of DCDC/HV DCDC.
Move Proton-C to HWMv2 for use with Zephyr 4.1.
Use correct board IDs, with qualifiers, for our core coverage testing.
7c371cb to
c67bc03
Compare
0620917 to
2b99650
Compare
11bdea9 to
a67859b
Compare
17d5ff9 to
0e20958
Compare
569eda2 to
4e65661
Compare
cdb6558 to
1313b43
Compare
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.
Not well tested yet.
ZMK will now automatically detect whether the zmk,battery chosen node uses the fuel gauge or sensor API and fetch state of charge from it accordingly.