aboutsummaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-02-18 14:17:06 +1100
committerAndrew Tridgell <tridge@samba.org>2013-02-18 14:17:06 +1100
commit3c6d6f0ef1cf67ebcb1c28f142da73f8c6fcf91d (patch)
treedcf2db28e51feef288ebc3519712556041bd797a /nuttx
parenta68300941f4492553d865d63b20683adb292c2fb (diff)
downloadpx4-firmware-3c6d6f0ef1cf67ebcb1c28f142da73f8c6fcf91d.tar.gz
px4-firmware-3c6d6f0ef1cf67ebcb1c28f142da73f8c6fcf91d.tar.bz2
px4-firmware-3c6d6f0ef1cf67ebcb1c28f142da73f8c6fcf91d.zip
px4fmu: disable a bunch of code when built for APM
this leaves us enough flash to fit APM
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/configs/px4fmu/nsh/appconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/configs/px4fmu/nsh/appconfig b/nuttx/configs/px4fmu/nsh/appconfig
index cb9ddee5f..517399a05 100644
--- a/nuttx/configs/px4fmu/nsh/appconfig
+++ b/nuttx/configs/px4fmu/nsh/appconfig
@@ -87,6 +87,8 @@ CONFIGURED_APPS += mavlink_onboard
CONFIGURED_APPS += commander
CONFIGURED_APPS += sdlog
CONFIGURED_APPS += sensors
+
+ifneq ($(CONFIG_APM),y)
CONFIGURED_APPS += ardrone_interface
CONFIGURED_APPS += multirotor_att_control
CONFIGURED_APPS += multirotor_pos_control
@@ -96,6 +98,7 @@ CONFIGURED_APPS += fixedwing_pos_control
CONFIGURED_APPS += position_estimator
CONFIGURED_APPS += attitude_estimator_ekf
CONFIGURED_APPS += hott_telemetry
+endif
# Hacking tools
#CONFIGURED_APPS += system/i2c