mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/fxos8700 : Expose to Kconfig
Expose Configurations to Kconfig
This commit is contained in:
parent
e5fe525711
commit
0bc7952e30
@ -19,6 +19,7 @@ endmenu # Network Device Drivers
|
||||
|
||||
menu "Sensor Device Drivers"
|
||||
rsource "ads101x/Kconfig"
|
||||
rsource "fxos8700/Kconfig"
|
||||
rsource "hdc1000/Kconfig"
|
||||
rsource "mag3110/Kconfig"
|
||||
rsource "mma8x5x/Kconfig"
|
||||
|
21
drivers/fxos8700/Kconfig
Normal file
21
drivers/fxos8700/Kconfig
Normal file
@ -0,0 +1,21 @@
|
||||
# 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_FXOS8700
|
||||
bool "Configure FXOS8700 driver"
|
||||
depends on MODULE_FXOS8700
|
||||
help
|
||||
Configure the FXOS8700 driver using Kconfig.
|
||||
|
||||
if KCONFIG_MODULE_FXOS8700
|
||||
|
||||
config FXOS8700_USE_ACC_RAW_VALUES
|
||||
bool "Enable raw ADC readings"
|
||||
help
|
||||
Enable this to return raw ADC readings.
|
||||
By default measurements are converted to mg.
|
||||
|
||||
endif # KCONFIG_MODULE_FXOS8700
|
Loading…
Reference in New Issue
Block a user