-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14000 from akshaim/Kconfig_lpsxxx
drivers/lpsxxx : Expose Configurations to Kconfig
- Loading branch information
Showing
4 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright (c) 2020 Freie Universitaet Berlin | ||
# | ||
# This file is subject to the terms and conditions of the GNU Lesser | ||
# General Public License v2.1. See the file LICENSE in the top level | ||
# directory for more details. | ||
# | ||
menuconfig KCONFIG_MODULE_LPSXXX | ||
bool "Configure LPSXXX driver" | ||
depends on MODULE_LPSXXX | ||
help | ||
Configure the LPSXXX driver using Kconfig. | ||
|
||
if KCONFIG_MODULE_LPSXXX | ||
|
||
config LPSXXX_DEFAULT_ADDRESS | ||
hex "Default I2C address" | ||
range 0x5c 0x5d | ||
default 0x5d | ||
help | ||
The address depends on the status of SDO/SA0 Pin. Default | ||
address corresponds to SDO/SA0 connected to VDD. For more | ||
information refer to the section 'I2C operation' in the | ||
datasheet. | ||
|
||
endif # KCONFIG_MODULE_LPSXXX |
This file contains 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