stm32f4 target spec code compiling

This commit is contained in:
tkl
2016-08-16 09:33:49 +02:00
parent 073f5093dd
commit 39f10bd4ba
15 changed files with 23 additions and 36 deletions

View File

@@ -12,7 +12,6 @@ GEN_FLAGS := \
-ffunction-sections \
-fdata-sections \
-ffreestanding \
-flto \
-fno-move-loop-invariants \
-Werror \
-Wunused \
@@ -28,6 +27,7 @@ GEN_FLAGS := \
-Waggregate-return \
-Wfloat-equal \
-g3
# -flto ## behind -ffreestanding
C_FLAGS = \
-DDEBUG \
@@ -62,7 +62,8 @@ L_FLAGS := \
INCLUDES += \
/opt/arm-2011.09/arm-none-eabi/include \
/opt/arm-2011.09/lib/gcc/arm-none-eabi/4.6.1/include
/opt/arm-2011.09/lib/gcc/arm-none-eabi/4.6.1/include \
source/firmware
###############################################################################
# TOOLS Section