aboutsummaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-01-22 07:48:30 +1100
committerAndrew Tridgell <tridge@samba.org>2013-02-18 08:41:28 +1100
commit9b7ee0c91b978ffd897e45366050ce8faf02606f (patch)
tree27ee0051f7bb3b6cad55454ea983a5561a22f206 /nuttx
parentb53d34a3f0d6db396da398c42d4884998d4eb488 (diff)
downloadpx4-firmware-9b7ee0c91b978ffd897e45366050ce8faf02606f.tar.gz
px4-firmware-9b7ee0c91b978ffd897e45366050ce8faf02606f.tar.bz2
px4-firmware-9b7ee0c91b978ffd897e45366050ce8faf02606f.zip
appconfig: disable mathlib and associated examples on APM
these are far too large (777 kbyte) and we can't fit them with the ArduCopter flight code
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/configs/px4fmu/nsh/appconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/configs/px4fmu/nsh/appconfig b/nuttx/configs/px4fmu/nsh/appconfig
index a904d90ac..cb9ddee5f 100644
--- a/nuttx/configs/px4fmu/nsh/appconfig
+++ b/nuttx/configs/px4fmu/nsh/appconfig
@@ -46,14 +46,18 @@ CONFIGURED_APPS += systemlib
CONFIGURED_APPS += systemlib/mixer
# Math library
+ifneq ($(CONFIG_APM),y)
CONFIGURED_APPS += mathlib
CONFIGURED_APPS += mathlib/CMSIS
CONFIGURED_APPS += examples/math_demo
+endif
# Control library
+ifneq ($(CONFIG_APM),y)
CONFIGURED_APPS += controllib
CONFIGURED_APPS += examples/control_demo
CONFIGURED_APPS += examples/kalman_demo
+endif
# System utility commands
CONFIGURED_APPS += systemcmds/reboot