diff --git a/cmake/configs/nuttx_px4fmu-v4_default.cmake b/cmake/configs/nuttx_px4fmu-v4_default.cmake index 858fb276f9..769016e6cd 100644 --- a/cmake/configs/nuttx_px4fmu-v4_default.cmake +++ b/cmake/configs/nuttx_px4fmu-v4_default.cmake @@ -12,13 +12,11 @@ set(config_module_list drivers/distance_sensor drivers/magnetometer drivers/telemetry + drivers/imu drivers/airspeed drivers/batt_smbus drivers/blinkm - drivers/imu/bma180 - drivers/imu/bmi055 - drivers/imu/bmi160 drivers/boards drivers/camera_trigger drivers/device @@ -26,8 +24,6 @@ set(config_module_list drivers/irlock drivers/led drivers/mkblctrl - drivers/imu/mpu6000 - drivers/imu/mpu9250 drivers/oreoled drivers/pca9685 drivers/pwm_input diff --git a/src/drivers/imu/CMakeLists.txt b/src/drivers/imu/CMakeLists.txt new file mode 100644 index 0000000000..6a93376901 --- /dev/null +++ b/src/drivers/imu/CMakeLists.txt @@ -0,0 +1,43 @@ +############################################################################ +# +# 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(adis16448) +add_subdirectory(bma180) +add_subdirectory(bmi055) +add_subdirectory(bmi160) +add_subdirectory(fxas21002c) +add_subdirectory(fxos8701cq) +add_subdirectory(l3gd20) +add_subdirectory(lsm303d) +add_subdirectory(mpu6000) +add_subdirectory(mpu9250)