From 0b9025b2d228e899625b2975efa79250efe2dcca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Wed, 7 Feb 2018 12:47:36 -0800 Subject: [PATCH] px4fmu-v2: Build individual distance sensors We are running out of flash memory in px4fmu-v2 so removing all the distance sensors from binary and adding then individually. Right now only LeddarOne is not being buid. --- cmake/configs/nuttx_px4fmu-v2_default.cmake | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/cmake/configs/nuttx_px4fmu-v2_default.cmake b/cmake/configs/nuttx_px4fmu-v2_default.cmake index 5f1fcec406..820936c22f 100644 --- a/cmake/configs/nuttx_px4fmu-v2_default.cmake +++ b/cmake/configs/nuttx_px4fmu-v2_default.cmake @@ -8,7 +8,6 @@ set(config_module_list # #drivers/barometer drivers/differential_pressure - drivers/distance_sensor #drivers/magnetometer #drivers/adis16448 @@ -48,6 +47,17 @@ set(config_module_list drivers/stm32/tone_alarm #drivers/tap_esc drivers/vmount + + # distance sensors + drivers/distance_sensor/ll40ls + drivers/distance_sensor/mb12xx + drivers/distance_sensor/sf0x + drivers/distance_sensor/sf1xx + drivers/distance_sensor/srf02 + drivers/distance_sensor/srf02_i2c + drivers/distance_sensor/teraranger + drivers/distance_sensor/tfmini + drivers/distance_sensor/ulanding modules/sensors #