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
+20 -9
View File
@@ -1,9 +1,20 @@
menuconfig DRIVERS_MAGNETOMETER
bool "Magnetometer"
default n
---help---
Enable support for all available magnetometer drivers
if DRIVERS_MAGNETOMETER
rsource "*/Kconfig"
endif #DRIVERS_MAGNETOMETER
menu "Magnetometer"
menuconfig COMMON_MAGNETOMETER
bool "Common Magnetometer's"
default n
select DRIVERS_MAGNETOMETER_AKM_AK8963
select DRIVERS_MAGNETOMETER_AKM_AK09916
select DRIVERS_MAGNETOMETER_BOSCH_BMM150
select DRIVERS_MAGNETOMETER_HMC5883
select DRIVERS_MAGNETOMETER_QMC5883L
select DRIVERS_MAGNETOMETER_ISENTEK_IST8308
select DRIVERS_MAGNETOMETER_ISENTEK_IST8310
select DRIVERS_MAGNETOMETER_LIS2MDL
select DRIVERS_MAGNETOMETER_LIS3MDL
select DRIVERS_MAGNETOMETER_LSM303AGR
select DRIVERS_MAGNETOMETER_RM3100
select DRIVERS_MAGNETOMETER_VTRANTECH_VCM1193L
---help---
Enable default set of magnetometer drivers
rsource "*/Kconfig"
endmenu
+3 -5
View File
@@ -1,5 +1,3 @@
menuconfig DRIVERS_MAGNETOMETER_AKM
bool "akm"
default n
---help---
Enable support for akm
menu "AKM"
rsource "*/Kconfig"
endmenu
@@ -0,0 +1,5 @@
menuconfig DRIVERS_MAGNETOMETER_AKM_AK09916
bool "ak09916"
default n
---help---
Enable support for ak09916
@@ -0,0 +1,5 @@
menuconfig DRIVERS_MAGNETOMETER_AKM_AK8963
bool "ak8963"
default n
---help---
Enable support for ak8963
+3 -5
View File
@@ -1,5 +1,3 @@
menuconfig DRIVERS_MAGNETOMETER_BOSCH
bool "bosch"
default n
---help---
Enable support for bosch
menu "Bosch"
rsource "*/Kconfig"
endmenu
@@ -0,0 +1,5 @@
menuconfig DRIVERS_MAGNETOMETER_BOSCH_BMM150
bool "bmm150"
default n
---help---
Enable support for bosch bmm150
+3 -5
View File
@@ -1,5 +1,3 @@
menuconfig DRIVERS_MAGNETOMETER_ISENTEK
bool "isentek"
default n
---help---
Enable support for isentek
menu "Isentek"
rsource "*/Kconfig"
endmenu #Isentek
@@ -0,0 +1,5 @@
menuconfig DRIVERS_MAGNETOMETER_ISENTEK_IST8308
bool "IST8308"
default n
---help---
Enable support for isentek IST8308
@@ -0,0 +1,5 @@
menuconfig DRIVERS_MAGNETOMETER_ISENTEK_IST8310
bool "IST8310"
default n
---help---
Enable support for isentek IST8310
@@ -0,0 +1,3 @@
menu "Vtrantech"
rsource "*/Kconfig"
endmenu #Vtrantech
@@ -0,0 +1,5 @@
menuconfig DRIVERS_MAGNETOMETER_VTRANTECH_VCM1193L
bool "VCM1193L"
default n
---help---
Enable support for Vtrantech VCM1193L