From 5a78c584d27e27ed178906aff166ea4baa8657a2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 26 Nov 2014 10:38:31 +1100 Subject: [PATCH] PX4: disable auth command to keep us below 1MByte --- mk/PX4/config_px4fmu-v2_APM.mk | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/mk/PX4/config_px4fmu-v2_APM.mk b/mk/PX4/config_px4fmu-v2_APM.mk index 9a26e4c721..7656f7de39 100644 --- a/mk/PX4/config_px4fmu-v2_APM.mk +++ b/mk/PX4/config_px4fmu-v2_APM.mk @@ -51,11 +51,6 @@ MODULES += systemcmds/reboot MODULES += systemcmds/top MODULES += systemcmds/tests MODULES += systemcmds/nshterm -# the conditional allows for building with upstream master -# which doesn't have auth -ifneq ($(wildcard $(PX4_ROOT)/src/systemcmds/auth),) -MODULES += systemcmds/auth -endif MODULES += systemcmds/mtd ifneq ($(wildcard $(PX4_ROOT)/src/systemcmds/reflect),) MODULES += systemcmds/reflect @@ -71,12 +66,16 @@ MODULES += modules/systemlib MODULES += modules/systemlib/mixer MODULES += modules/uORB MODULES += lib/mathlib/math/filter -# the conditional allows for building with upstream master -# which doesn't have libtomcrypt and libtomfastmath -ifneq ($(wildcard $(PX4_ROOT)/src/modules/libtomfastmath),) -MODULES += modules/libtomfastmath -MODULES += modules/libtomcrypt -endif + +# Note: auth disabled to keep us under 1MB flash because of STM32 bug +#ifneq ($(wildcard $(PX4_ROOT)/src/systemcmds/auth),) +#MODULES += systemcmds/auth +#endif +#ifneq ($(wildcard $(PX4_ROOT)/src/modules/libtomfastmath),) +#MODULES += modules/libtomfastmath +#MODULES += modules/libtomcrypt +#endif + MODULES += lib/conversion ifneq ($(wildcard $(SKETCHBOOK)/../uavcan),)