[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5024] Added .hex generation for the stm32 target.
From: |
Piotr Esden-Tempski |
Subject: |
[paparazzi-commits] [5024] Added .hex generation for the stm32 target. |
Date: |
Wed, 07 Jul 2010 03:33:15 +0000 |
Revision: 5024
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5024
Author: esden
Date: 2010-07-07 03:33:15 +0000 (Wed, 07 Jul 2010)
Log Message:
-----------
Added .hex generation for the stm32 target.
Modified Paths:
--------------
paparazzi3/trunk/conf/Makefile.stm32
Modified: paparazzi3/trunk/conf/Makefile.stm32
===================================================================
--- paparazzi3/trunk/conf/Makefile.stm32 2010-07-07 03:33:13 UTC (rev
5023)
+++ paparazzi3/trunk/conf/Makefile.stm32 2010-07-07 03:33:15 UTC (rev
5024)
@@ -107,7 +107,9 @@
LDFLAGS += -Wl,-Map=$(OBJDIR)/$(TARGET).map,--cref,--gc-sections
LDLIBS += -lc -lm -lgcc -lcmsis -lstm32
-CPFLAGS = -j .isr_vector -j .text -j .data -Obinary
+CPFLAGS = -j .isr_vector -j .text -j .data
+CPFLAGS_BIN = -Obinary
+CPFLAGS_HEX = -Oihex
ODFLAGS = -S
@@ -116,11 +118,12 @@
# Default target.
all: sizebefore build sizeafter
-build: elf bin
+build: elf bin hex
# lss sym
elf: $(OBJDIR)/$(TARGET).elf
bin: $(OBJDIR)/$(TARGET).bin
+hex: $(OBJDIR)/$(TARGET).hex
lss: $(OBJDIR)/$(TARGET).lss
sym: $(OBJDIR)/$(TARGET).sym
@@ -135,9 +138,13 @@
%.bin: %.elf
- @echo OBJC $@
- $(Q)$(CP) $(CPFLAGS) $< $@
+ @echo OBJCB $@
+ $(Q)$(CP) $(CPFLAGS) $(CPFLAGS_BIN) $< $@
+%.hex: %.elf
+ @echo OBJCH $@
+ $(Q)$(CP) $(CPFLAGS) $(CPFLAGS_HEX) $< $@
+
# Create extended listing file from ELF output file.
# testing: option -C
%.lss: %.elf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5024] Added .hex generation for the stm32 target.,
Piotr Esden-Tempski <=