diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-13 14:27:44 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-13 14:27:44 +0000 |
commit | 39d5b50acfe2e80d151169bf39defd8836352fbc (patch) | |
tree | 7ce0182627d159e85327377b15872ee5947ab487 /nuttx/drivers/power | |
parent | 9f46571a0abc4f66c5a26859ed93b885587c8c6b (diff) | |
download | px4-nuttx-39d5b50acfe2e80d151169bf39defd8836352fbc.tar.gz px4-nuttx-39d5b50acfe2e80d151169bf39defd8836352fbc.tar.bz2 px4-nuttx-39d5b50acfe2e80d151169bf39defd8836352fbc.zip |
Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4599 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/power')
-rw-r--r-- | nuttx/drivers/power/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nuttx/drivers/power/Kconfig b/nuttx/drivers/power/Kconfig index ae2bf3130..b0774fdf6 100644 --- a/nuttx/drivers/power/Kconfig +++ b/nuttx/drivers/power/Kconfig @@ -2,3 +2,23 @@ # For a description of the syntax of this configuration file, # see misc/tools/kconfig-language.txt. # +config BATTERY + bool "Battery support" + default n + +config MAX1704X + bool "MAX1704X Battery charger support" + default n + select I2C + select I2C_MAX1704X + depends on BATTERY + ---help--- + The MAX17040/MAX17041 are ultra-compact, low-cost, host-side fuel-gauge + systems for lithium-ion (Li+) batteries in handheld and portable equipment. + The MAX17040 is configured to operate with a single lithium cell and the + MAX17041 is configured for a dual-cell 2S pack. + +config I2C_MAX1704X + bool + default y if MAX1704X + |