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