diff options
author | px4dev <px4@purgatory.org> | 2012-08-04 15:12:36 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-08-04 15:12:36 -0700 |
commit | 8a365179eafdf3aea98e60ab9f5882b200d4c759 (patch) | |
tree | 4f38d6d4cd80bd0b6e22e2bb534c3f117ce44e56 /nuttx/drivers/power/Kconfig | |
download | px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.tar.gz px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.tar.bz2 px4-firmware-8a365179eafdf3aea98e60ab9f5882b200d4c759.zip |
Fresh import of the PX4 firmware sources.
Diffstat (limited to 'nuttx/drivers/power/Kconfig')
-rw-r--r-- | nuttx/drivers/power/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nuttx/drivers/power/Kconfig b/nuttx/drivers/power/Kconfig new file mode 100644 index 000000000..ac76331b6 --- /dev/null +++ b/nuttx/drivers/power/Kconfig @@ -0,0 +1,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 |