1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/bmx055/Kconfig
Leandro Lanzieri d25fc243c4
treewide: change prefix for generated Kconfig symbols.
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:

   KCONFIG_MODULE_ => KCONFIG_USEMODULE_
   KCONFIG_PKG_ => KCONFIG_USEPKG_
   MODULE_ => USEMODULE_
   PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00

43 lines
1.3 KiB
Plaintext

# 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_USEMODULE_BMX055
bool "Configure BMX055 driver"
depends on USEMODULE_BMX055
help
Configure the BMX055 driver using Kconfig.
if KCONFIG_USEMODULE_BMX055
config BMX055_MAG_ADDR_DEFAULT
hex "I2C Address of magnetometer"
range 0x10 0x13
default 0x10
help
The address depends on the state of SDO1, SDO2 and CSB3 pins.
For more information refer to the section 'Inter-Integrated
Circuit (I²C)' in the datasheet.
config BMX055_ACC_ADDR_DEFAULT
hex "I2C Address of accelerometer"
range 0x18 0x19
default 0x18
help
The address depends on the state of SDO1, SDO2 and CSB3 pins.
For more information refer to the section 'Inter-Integrated
Circuit (I²C)' in the datasheet.
config BMX055_GYRO_ADDR_DEFAULT
hex "I2C Address of gyroscope"
range 0x68 0x69
default 0x68
help
The address depends on the state of SDO1, SDO2 and CSB3 pins.
For more information refer to the section 'Inter-Integrated
Circuit (I²C)' in the datasheet.
endif # KCONFIG_USEMODULE_BMX055