feat(drivers): add driver for MAX17048 fuel gauge
Add driver for MAX17048 fuel gauge for battery reporting.
This commit is contained in:
parent
28ce23d489
commit
8abc449cc2
7 changed files with 311 additions and 2 deletions
9
app/module/drivers/sensor/max17048/CMakeLists.txt
Normal file
9
app/module/drivers/sensor/max17048/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2022 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
zephyr_include_directories(.)
|
||||
|
||||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_MAX17048 max17048.c)
|
||||
zephyr_library_sources_ifndef(CONFIG_MAX17048 ${ZEPHYR_BASE}/misc/empty_file.c)
|
||||
Loading…
Add table
Add a link
Reference in a new issue