readded OPT in makefile.stm32

This commit is contained in:
Antoine Drouin
2010-08-09 19:36:48 +00:00
parent 2a6599849c
commit 4ff2fd9bec
+2 -2
View File
@@ -80,7 +80,7 @@ LDSCRIPT = $($(TARGET).LDSCRIPT)
endif
endif
CFLAGS = -I. -I./$(ARCHI) $(INCLUDES) -D__thumb2__ -Wall -c -msoft-float
CFLAGS = -I. -I./$(ARCHI) $(INCLUDES) -D__thumb2__ -Wall -c -msoft-float -O$(OPT)
CFLAGS += -Wl,gc-sections
CFLAGS += -mcpu=$(MCU) -mthumb -ansi
CFLAGS += -std=gnu99
@@ -195,7 +195,7 @@ endif
start_gdb:
xterm -e "$(OOCD) -f interface/$(OOCD_INTERFACE).cfg -f target/$(OOCD_TARGET).cfg" &
xterm -e "/opt/paparazzi/stm32/bin/openocd -f interface/lisa-l.cfg -f boards/lisa-l.cfg"&
xterm -e "/opt/paparazzi/stm32/bin/openocd -f interface/lisa-l.cfg -f board/lisa-l.cfg"&
start_telnet:
xterm -e "telnet localhost 4444" &