paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [4829]


From: antoine drouin
Subject: [paparazzi-commits] [4829]
Date: Wed, 21 Apr 2010 08:42:46 +0000

Revision: 4829
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4829
Author:   poine
Date:     2010-04-21 08:42:46 +0000 (Wed, 21 Apr 2010)
Log Message:
-----------


Modified Paths:
--------------
    paparazzi3/trunk/conf/Makefile.stm32

Modified: paparazzi3/trunk/conf/Makefile.stm32
===================================================================
--- paparazzi3/trunk/conf/Makefile.stm32        2010-04-21 08:31:05 UTC (rev 
4828)
+++ paparazzi3/trunk/conf/Makefile.stm32        2010-04-21 08:42:46 UTC (rev 
4829)
@@ -42,7 +42,7 @@
 # Define programs and commands.
 GCC_BIN_PREFIX=$(GCC_BIN_DIR)/arm-none-eabi
 CC   = $(GCC_BIN_PREFIX)-gcc
-LD   = $(GCC_BIN_PREFIX)-ld
+LD   = $(GCC_BIN_PREFIX)-gcc
 CP   = $(GCC_BIN_PREFIX)-objcopy
 DMP  = $(GCC_BIN_PREFIX)-objdump
 NM   = $(GCC_BIN_PREFIX)-nm
@@ -67,7 +67,7 @@
 # linker script
 LD_SCRIPT = $(SRC_ARCH)/stm32f10x_flash_hd.ld
 
-CFLAGS = -I. -I./$(ARCHI) $(INCLUDES) -Wall -ansi -std=c99 -c -fno-common -Os 
-g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections -c
+CFLAGS = -I. -I./$(ARCHI) $(INCLUDES) -D__thumb2__ -Wall -ansi -std=gnu99 -c 
-fno-common -Os -g -mcpu=cortex-m3 -mthumb -msoft-float -ffunction-sections 
-fdata-sections
 CFLAGS += -Wl,gc-sections
 #CFLAGS  = -mcpu=$(MCU) -mthumb -ansi
 #CFLAGS += -std=c99
@@ -89,9 +89,9 @@
 AFLAGS  = -ahls -mapcs-32
 AFLAGS += -x assembler-with-cpp -Wa,-adhlns=$(OBJDIR)/$(<:.S=.lst),--g$(DEBUG)
 
-LDFLAGS = -T$(LD_SCRIPT) -nostartfiles  -L$(GCC_LIB_DIR) -O$(OPT) --gc-sections
+LDFLAGS = -D__thumb2__ -T$(LD_SCRIPT) -nostartfiles  -L$(GCC_LIB_DIR) -O$(OPT) 
--gc-sections
 #LDFLAGS += -Wl,-Map=$(OBJDIR)/$(TARGET).map,--cref,--gc-sections
-LDLIBS  += -lcmsis -lstm32
+LDLIBS  += -lc -lgcc -lcmsis -lstm32 -lm -lc -lgcc 
 
 CPFLAGS = -j .isr_vector -j .text -j .data -Obinary
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]