mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 00:13:34 +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,53 +1,9 @@
|
||||
menuconfig DRIVERS_BAROMETER_BMP280
|
||||
bool "bmp280"
|
||||
menuconfig DRIVERS_BAROMETER
|
||||
bool "barometer"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bmp280
|
||||
|
||||
menuconfig DRIVERS_BAROMETER_BMP388
|
||||
bool "bmp388"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bmp388
|
||||
|
||||
menuconfig DRIVERS_BAROMETER_DPS310
|
||||
bool "dps310"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dps310
|
||||
|
||||
menuconfig DRIVERS_BAROMETER_LPS22HB
|
||||
bool "lps22hb"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lps22hb
|
||||
|
||||
menuconfig DRIVERS_BAROMETER_LPS25H
|
||||
bool "lps25h"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lps25h
|
||||
|
||||
menuconfig DRIVERS_BAROMETER_LPS33HW
|
||||
bool "lps33hw"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lps33hw
|
||||
|
||||
menuconfig DRIVERS_BAROMETER_MPL3115A2
|
||||
bool "mpl3115a2"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mpl3115a2
|
||||
|
||||
menuconfig DRIVERS_BAROMETER_MS5611
|
||||
bool "ms5611"
|
||||
default n
|
||||
---help---
|
||||
Enable support for ms5611
|
||||
|
||||
menuconfig DRIVERS_BAROMETER_TCBP001TA
|
||||
bool "tcbp001ta"
|
||||
default n
|
||||
---help---
|
||||
Enable support for tcbp001ta
|
||||
Enable support for barometer
|
||||
|
||||
if DRIVERS_BAROMETER
|
||||
rsource "*/Kconfig"
|
||||
endif #DRIVERS_BAROMETER
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_BMP280
|
||||
bool "bmp280"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bmp280
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_BMP388
|
||||
bool "bmp388"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bmp388
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_DPS310
|
||||
bool "dps310"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dps310
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_LPS22HB
|
||||
bool "lps22hb"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lps22hb
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_LPS25H
|
||||
bool "lps25h"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lps25h
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_LPS33HW
|
||||
bool "lps33hw"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lps33hw
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_MPL3115A2
|
||||
bool "mpl3115a2"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mpl3115a2
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_MS5611
|
||||
bool "ms5611"
|
||||
default n
|
||||
---help---
|
||||
Enable support for ms5611
|
||||
@@ -0,0 +1,5 @@
|
||||
menuconfig DRIVERS_BAROMETER_TCBP001TA
|
||||
bool "tcbp001ta"
|
||||
default n
|
||||
---help---
|
||||
Enable support for tcbp001ta
|
||||
Reference in New Issue
Block a user