diff --git a/src/drivers/distance_sensor/CMakeLists.txt b/src/drivers/distance_sensor/CMakeLists.txt deleted file mode 100644 index dedcc944865c..000000000000 --- a/src/drivers/distance_sensor/CMakeLists.txt +++ /dev/null @@ -1,51 +0,0 @@ -############################################################################ -# -# Copyright (c) 2017 PX4 Development Team. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# 3. Neither the name PX4 nor the names of its contributors may be -# used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -############################################################################ - -add_subdirectory(broadcom) -add_subdirectory(cm8jl65) -add_subdirectory(leddar_one) -add_subdirectory(ll40ls) -add_subdirectory(ll40ls_pwm) -add_subdirectory(mappydot) -add_subdirectory(mb12xx) -add_subdirectory(pga460) -add_subdirectory(lightware_laser_i2c) -add_subdirectory(lightware_laser_serial) -add_subdirectory(srf02) -add_subdirectory(teraranger) -add_subdirectory(tfmini) -add_subdirectory(ulanding_radar) -add_subdirectory(vl53l0x) -add_subdirectory(vl53l1x) -add_subdirectory(gy_us42) -add_subdirectory(tf02pro) diff --git a/src/drivers/distance_sensor/Kconfig b/src/drivers/distance_sensor/Kconfig index ee98afed7e49..3c93bcb07b5b 100644 --- a/src/drivers/distance_sensor/Kconfig +++ b/src/drivers/distance_sensor/Kconfig @@ -3,22 +3,20 @@ menu "Distance sensors" bool "Common distance sensor's" default n select DRIVERS_DISTANCE_SENSOR_CM8JL65 + select DRIVERS_DISTANCE_SENSOR_GY_US42 select DRIVERS_DISTANCE_SENSOR_LEDDAR_ONE + select DRIVERS_DISTANCE_SENSOR_LIGHTWARE_LASER_I2C + select DRIVERS_DISTANCE_SENSOR_LIGHTWARE_LASER_SERIAL select DRIVERS_DISTANCE_SENSOR_LL40LS - select DRIVERS_DISTANCE_SENSOR_LL40LS_PWM - select DRIVERS_DISTANCE_SENSOR_MAPPYDOT select DRIVERS_DISTANCE_SENSOR_MB12XX select DRIVERS_DISTANCE_SENSOR_PGA460 - select DRIVERS_DISTANCE_SENSOR_LIGHTWARE_LASER_I2C - select DRIVERS_DISTANCE_SENSOR_LIGHTWARE_LASER_SERIAL select DRIVERS_DISTANCE_SENSOR_SRF02 select DRIVERS_DISTANCE_SENSOR_TERARANGER + select DRIVERS_DISTANCE_SENSOR_TF02PRO select DRIVERS_DISTANCE_SENSOR_TFMINI select DRIVERS_DISTANCE_SENSOR_ULANDING_RADAR select DRIVERS_DISTANCE_SENSOR_VL53L0X select DRIVERS_DISTANCE_SENSOR_VL53L1X - select DRIVERS_DISTANCE_SENSOR_GY_US42 - select DRIVERS_DISTANCE_SENSOR_TF02PRO ---help--- Enable default set of distance sensor drivers