mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 11:33:33 +08:00
[Kconfig] Decompose Kconfig, now each module has its own Kconfig
Which is better for versioning and decomposability
This commit is contained in:
committed by
Daniel Agar
parent
094d3557d7
commit
d5e3e9a7bc
@@ -1,59 +1,9 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_AKM
|
||||
bool "akm"
|
||||
menuconfig DRIVERS_MAGNETOMETER
|
||||
bool "Magnetometer"
|
||||
default n
|
||||
---help---
|
||||
Enable support for akm
|
||||
Enable support for all available magnetometer drivers
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_BOSCH
|
||||
bool "bosch"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bosch
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_HMC5883
|
||||
bool "hmc5883"
|
||||
default n
|
||||
---help---
|
||||
Enable support for hmc5883
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_ISENTEK
|
||||
bool "isentek"
|
||||
default n
|
||||
---help---
|
||||
Enable support for isentek
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_LIS2MDL
|
||||
bool "lis2mdl"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lis2mdl
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_LIS3MDL
|
||||
bool "lis3mdl"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lis3mdl
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_LSM303AGR
|
||||
bool "lsm303agr"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lsm303agr
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_LSM9DS1_MAG
|
||||
bool "lsm9ds1 mag"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lsm9ds1 mag
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_QMC5883L
|
||||
bool "qmc5883l"
|
||||
default n
|
||||
---help---
|
||||
Enable support for qmc5883l
|
||||
|
||||
menuconfig DRIVERS_MAGNETOMETER_RM3100
|
||||
bool "rm3100"
|
||||
default n
|
||||
---help---
|
||||
Enable support for rm3100
|
||||
if DRIVERS_MAGNETOMETER
|
||||
rsource "*/Kconfig"
|
||||
endif #DRIVERS_MAGNETOMETER
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_AKM
|
||||
bool "akm"
|
||||
default n
|
||||
---help---
|
||||
Enable support for akm
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_BOSCH
|
||||
bool "bosch"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bosch
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_HMC5883
|
||||
bool "hmc5883"
|
||||
default n
|
||||
---help---
|
||||
Enable support for hmc5883
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_ISENTEK
|
||||
bool "isentek"
|
||||
default n
|
||||
---help---
|
||||
Enable support for isentek
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_LIS2MDL
|
||||
bool "lis2mdl"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lis2mdl
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_LIS3MDL
|
||||
bool "lis3mdl"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lis3mdl
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_LSM303AGR
|
||||
bool "lsm303agr"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lsm303agr
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_LSM9DS1_MAG
|
||||
bool "lsm9ds1_mag"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lsm9ds1_mag
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_QMC5883L
|
||||
bool "qmc5883l"
|
||||
default n
|
||||
---help---
|
||||
Enable support for qmc5883l
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_MAGNETOMETER_RM3100
|
||||
bool "rm3100"
|
||||
default n
|
||||
---help---
|
||||
Enable support for rm3100
|
||||
Reference in New Issue
Block a user