From 8eac06c9dcf9588ed4813819c5fac7457373a761 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Mon, 24 Aug 2015 16:44:58 +0300 Subject: [PATCH] LPC11C24 test: some GCC flags were removed, which fixed hardfault and reduced code size by ~300 bytes --- libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/Makefile b/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/Makefile index 818975feca..9a503bc4ef 100644 --- a/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/Makefile +++ b/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/Makefile @@ -49,10 +49,8 @@ DEPDIR = $(BUILDDIR)/dep DEF += -DNDEBUG -DCHIP_LPC11CXX -DCORE_M0 -DTHUMB_NO_INTERWORKING -U__STRICT_ANSI__ -# Removing -fconserve-stack reduces code size a little FLAGS = -mthumb -mcpu=cortex-m0 -mno-thumb-interwork -flto -Os -g3 -Wall -Wextra -Werror -Wundef -ffunction-sections \ -fdata-sections -fno-common -fno-exceptions -fno-unwind-tables -fno-stack-protector -fomit-frame-pointer \ - -ftracer -ftree-loop-distribute-patterns -frename-registers -freorder-blocks -fconserve-stack \ -Wfloat-equal -Wconversion -Wsign-conversion -Wmissing-declarations C_CPP_FLAGS = $(FLAGS) -MD -MP -MF $(DEPDIR)/$(@F).d