From 9b75237a382f5b80dc3fff2775bd23b278a5e371 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 28 Nov 2014 09:16:56 +1100 Subject: [PATCH] PX4: don't build lsm303d and l3gd20 on PX4v1 --- mk/PX4/config_px4fmu-v2_APM.mk | 2 ++ mk/PX4/px4_common.mk | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/PX4/config_px4fmu-v2_APM.mk b/mk/PX4/config_px4fmu-v2_APM.mk index cac8901a4d..3f76ab3207 100644 --- a/mk/PX4/config_px4fmu-v2_APM.mk +++ b/mk/PX4/config_px4fmu-v2_APM.mk @@ -3,6 +3,8 @@ # include $(SKETCHBOOK)/mk/PX4/px4_common.mk +MODULES += drivers/lsm303d +MODULES += drivers/l3gd20 MODULES += drivers/boards/px4fmu-v2 ifneq ($(wildcard $(SKETCHBOOK)/../uavcan),) diff --git a/mk/PX4/px4_common.mk b/mk/PX4/px4_common.mk index 05a0450110..d68cd06f9f 100644 --- a/mk/PX4/px4_common.mk +++ b/mk/PX4/px4_common.mk @@ -20,8 +20,6 @@ MODULES += drivers/px4fmu MODULES += drivers/px4io MODULES += drivers/px4flow MODULES += drivers/rgbled -MODULES += drivers/lsm303d -MODULES += drivers/l3gd20 MODULES += drivers/mpu6000 MODULES += drivers/hmc5883 MODULES += drivers/ms5611