Commit graph

11 commits

Author SHA1 Message Date
HookyKB
40f1b47304 Update for Zephyr 3.2 change 2023-12-09 13:49:05 -08:00
HookyKB
94b871bb13 Reduce exe size if only polling or interrupt in use 2023-12-09 13:49:05 -08:00
HookyKB
48dfbaf48f Remove interrupt config/rely on pin set
If the interrupt pin is set, use the interrupt code, else poll.

This change results in a slightly larger executable in both cases,
with unreachable code. More so in the case of polling, bet the
difference is not great.
2023-12-09 13:49:05 -08:00
Hooky
087774c783 Switch naming to charliplex 2023-12-09 13:49:05 -08:00
Hooky
3ea866791a Add and enable Multiplex kscan code
Multiplex handler (all->all) with single pin for interrupt handling.

For wired boards/shields, the interrupt can be ignored to simplify the
electronics greatly.
2023-12-09 13:49:05 -08:00
Joel Spadin
3ae9e74056 refactor(drivers): Make label property optional 2023-12-04 20:06:54 -06:00
zhiayang
9b3d2cb99f
fix(driver): Fix broken compilation for MAX7318 driver 2023-09-28 12:19:14 -04:00
zhiayang
8abc449cc2
feat(drivers): add driver for MAX17048 fuel gauge
Add driver for MAX17048 fuel gauge for battery reporting.
2023-09-25 21:04:03 -04:00
Peter Johanson
0ca7f69b6d refactor: Promote debounce to exposed mod lib.
* Promote previously local debounce code from kscan drivers to exposed
  module lib, for use with other drivers as needed.
* Refactor existing kscan driver to new "public" API.
2023-09-16 11:52:40 -07:00
Peter Johanson
c28ef1b61e refactor(drivers): Use proper init stage/priority.
* Avoid APPLICATION stage and use the proper earlier stage for
  kscan drivers.
2023-09-16 11:52:40 -07:00
Peter Johanson
690bc1bb44 refactor: Move drivers into properly module.
* Align our driver module layout to properly match Zephyr conventions,
  allowing proper CMake setup to amend the library for each type of driver.
2023-09-16 11:52:40 -07:00