paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [4834] toying around with linker


From: antoine drouin
Subject: [paparazzi-commits] [4834] toying around with linker
Date: Wed, 21 Apr 2010 09:17:07 +0000

Revision: 4834
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4834
Author:   poine
Date:     2010-04-21 09:17:07 +0000 (Wed, 21 Apr 2010)
Log Message:
-----------
toying around with linker

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

Modified: paparazzi3/trunk/conf/Makefile.stm32
===================================================================
--- paparazzi3/trunk/conf/Makefile.stm32        2010-04-21 09:16:42 UTC (rev 
4833)
+++ paparazzi3/trunk/conf/Makefile.stm32        2010-04-21 09:17:07 UTC (rev 
4834)
@@ -91,7 +91,7 @@
 
 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  += -lc -lgcc -lcmsis -lstm32 -lm -lc -lgcc 
+LDLIBS  += -lc -lm -lgcc -lcmsis -lstm32 
 
 CPFLAGS = -j .isr_vector -j .text -j .data -Obinary
 
@@ -172,7 +172,22 @@
 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/openocd-lisa-jtag.cfg -f target/stm32.cfg"&
 
+start_telnet:
+       xterm -e "telnet localhost 4444" &
+#reset halt
+#flash probe 0
+#stm32x mass_erase 0
+#flash write_bank 0 main.bin 0
+#reset halt
+
+#/opt/paparazzi/stm32/bin/arm-none-eabi-gdbtui --eval-command="target remote 
localhost:3333"
+#/opt/paparazzi/stm32/bin/arm-none-eabi-gdbtui --eval-command="target remote 
localhost:3333" var/BOOZ2_A6/ap/ap.elf
+
+
 # Target: clean project.
 clean: clean_list
 





reply via email to

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