projects
/
fw
/
openocd
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
flash/nor: Add support for TI CC3220SF internal flash
[fw/openocd]
/
contrib
/
loaders
/
flash
/
cc3220sf
/
Makefile
1
BIN2C = ../../../../src/helper/bin2char.sh
2
3
CROSS_COMPILE ?= arm-none-eabi-
4
AS = $(CROSS_COMPILE)as
5
OBJCOPY = $(CROSS_COMPILE)objcopy
6
7
all: cc3220sf.inc
8
9
%.elf: %.s
10
$(AS) $< -o $@
11
12
%.bin: %.elf
13
$(OBJCOPY) -Obinary $< $@
14
15
%.inc: %.bin
16
$(BIN2C) < $< > $@
17
18
clean:
19
-rm -f *.elf *.bin *.inc