Merge pull request #29 from OlegHahm/objcopy_flags

added objcopy flags to makefiles for all platforms
This commit is contained in:
Oleg Hahm 2013-10-18 07:16:44 -07:00
commit fbec959f13
5 changed files with 9 additions and 3 deletions

View File

@ -19,3 +19,4 @@ ifeq ($(strip $(PORT)),)
endif
export HEXFILE = bin/$(PROJECT).hex
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
export OFLAGS = -O ihex

View File

@ -24,3 +24,4 @@ export FFLAGS = -j olimex "prog $(HEXFILE)"
export USEMODULE += msp430_common
export INCLUDES += -I $(RIOTCPU)/msp430-common/include/
export OFLAGS = -O ihex

View File

@ -24,3 +24,4 @@ export FFLAGS = $(PORT) $(PROJBINDIR)/$(PROJECT).hex
include $(RIOTBOARD)/msba2-common/Makefile.dep
export INCLUDES += -I$(RIOTCPU)/lpc2387/include
export OFLAGS = -O ihex

View File

@ -19,7 +19,7 @@ export AS = $(PREFIX)as
export LINK = $(PREFIX)gcc
export SIZE = $(PREFIX)size
export OBJCOPY = $(PREFIX)objcopy
FLASHER = lpc2k_pgm
FLASHER = mc1322x-load.pl
TERM = pyterm.py
LINKFLAGS = -mcpu=arm7tdmi-s -static -lgcc -nostartfiles -T$(RIOTBASE)/cpu/$(CPU)/mc1322x.lds
@ -27,4 +27,5 @@ ifeq ($(strip $(PORT)),)
export PORT = /dev/ttyUSB0
endif
export HEXFILE = bin/$(PROJECT).hex
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
export FFLAGS = -t $(PORT) -f $(HEXFILE) -c 'bbmc -l redbee-econotag reset'
export OFLAGS = -O binary --gap-fill=0xff

View File

@ -20,4 +20,6 @@ endif
export HEXFILE = bin/$(PROJECT).hex
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
export INCLUDES += -I $(RIOTCPU)/msp430-common/include/
export INCLUDES += -I $(RIOTCPU)/msp430-common/include/
export OFLAGS = -O ihex