From 99c00fb9fef1c983cb4f35efb2c7019e0dd0fc13 Mon Sep 17 00:00:00 2001 From: peabody124 Date: Mon, 11 Apr 2011 18:47:36 +0000 Subject: [PATCH] Revert changes to AHRS Makefile. Need to keep DEBUG=NO. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3155 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/AHRS/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flight/AHRS/Makefile b/flight/AHRS/Makefile index 8bc430415..b0de38d0a 100644 --- a/flight/AHRS/Makefile +++ b/flight/AHRS/Makefile @@ -28,11 +28,11 @@ include $(TOP)/make/firmware-defs.mk # Set developer code and compile options # Set to YES for debugging -DEBUG ?= YES +DEBUG ?= NO USE_BOOTLOADER ?= NO # Set to YES when using Code Sourcery toolchain -CODE_SOURCERY ?= NO +CODE_SOURCERY ?= YES ifeq ($(CODE_SOURCERY), YES) REMOVE_CMD = cs-rm @@ -264,7 +264,7 @@ CFLAGS += -mcpu=$(MCU) CFLAGS += $(CDEFS) CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) -I. -CFLAGS += -mapcs-frame -ffunction-sections +CFLAGS += -mapcs-frame CFLAGS += -fomit-frame-pointer ifeq ($(CODE_SOURCERY), YES) CFLAGS += -fpromote-loop-indices