Added common options for sensor drivers

uavcan_board_identity check for existance
Added kconfig for compiler definitions
This commit is contained in:
Peter van der Perk
2021-10-07 10:09:01 -04:00
committed by Daniel Agar
parent 82888d3320
commit 815617e670
22 changed files with 241 additions and 158 deletions
+14 -9
View File
@@ -1,9 +1,14 @@
menuconfig DRIVERS_BAROMETER
bool "barometer"
default n
---help---
Enable support for barometer
if DRIVERS_BAROMETER
rsource "*/Kconfig"
endif #DRIVERS_BAROMETER
menu "barometer"
menuconfig COMMON_BAROMETERS
bool "Common barometers"
default n
select DRIVERS_BAROMETER_BMP280
select DRIVERS_BAROMETER_BMP388
select DRIVERS_BAROMETER_DPS310
select DRIVERS_BAROMETER_LPC22HB
select DRIVERS_BAROMETER_LPS33HW
select DRIVERS_BAROMETER_MS5611
---help---
Enable default set of barometer drivers
rsource "*/Kconfig"
endmenu #barometer