stm32f4 target spec code compiling
This commit is contained in:
5
Makefile
5
Makefile
@@ -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
|
||||
|
Reference in New Issue
Block a user