diff --git a/boards/intel/aerofc-v1/CMakeLists.txt b/boards/intel/aerofc-v1/CMakeLists.txt new file mode 100644 index 00000000000..d5a0096ec6e --- /dev/null +++ b/boards/intel/aerofc-v1/CMakeLists.txt @@ -0,0 +1,34 @@ +############################################################################ +# +# Copyright (c) 2018 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(aerofc_adc) diff --git a/src/drivers/aerofc_adc/CMakeLists.txt b/boards/intel/aerofc-v1/aerofc_adc/CMakeLists.txt similarity index 99% rename from src/drivers/aerofc_adc/CMakeLists.txt rename to boards/intel/aerofc-v1/aerofc_adc/CMakeLists.txt index c3e745c6f6c..847020a866e 100644 --- a/src/drivers/aerofc_adc/CMakeLists.txt +++ b/boards/intel/aerofc-v1/aerofc_adc/CMakeLists.txt @@ -37,4 +37,5 @@ px4_add_module( SRCS aerofc_adc.cpp DEPENDS + drivers__device ) diff --git a/src/drivers/aerofc_adc/aerofc_adc.cpp b/boards/intel/aerofc-v1/aerofc_adc/aerofc_adc.cpp similarity index 100% rename from src/drivers/aerofc_adc/aerofc_adc.cpp rename to boards/intel/aerofc-v1/aerofc_adc/aerofc_adc.cpp diff --git a/boards/intel/aerofc-v1/default.cmake b/boards/intel/aerofc-v1/default.cmake index 1393401d87f..ba006e3f5eb 100644 --- a/boards/intel/aerofc-v1/default.cmake +++ b/boards/intel/aerofc-v1/default.cmake @@ -13,7 +13,6 @@ px4_add_board( TEL2:/dev/ttyS1 DRIVERS - aerofc_adc barometer/ms5611 #camera_trigger #differential_pressure # all available differential pressure drivers diff --git a/boards/intel/aerofc-v1/rtps.cmake b/boards/intel/aerofc-v1/rtps.cmake index 1c1f968693a..d36941744a4 100644 --- a/boards/intel/aerofc-v1/rtps.cmake +++ b/boards/intel/aerofc-v1/rtps.cmake @@ -14,7 +14,6 @@ px4_add_board( TEL2:/dev/ttyS1 DRIVERS - aerofc_adc barometer/ms5611 #camera_trigger #differential_pressure # all available differential pressure drivers