LPC11C24 test: some GCC flags were removed, which fixed hardfault and reduced code size by ~300 bytes

This commit is contained in:
Pavel Kirienko
2015-08-24 16:44:58 +03:00
parent 42b48d9626
commit 8eac06c9dc
@@ -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