projects
/
fw
/
stlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a34038
)
[update] blinky entrypoint
author
Fabien Le Mentec
<texane@gmail.com>
Sat, 15 Oct 2011 18:31:15 +0000
(13:31 -0500)
committer
Fabien Le Mentec
<texane@gmail.com>
Sat, 15 Oct 2011 18:31:15 +0000
(13:31 -0500)
example/Makefile
patch
|
blob
|
history
diff --git
a/example/Makefile
b/example/Makefile
index 57179a8151e7a9fa36fa4930d5ac0e80a7f40550..1b310b1765e8984d1c92b8ef4a7239789934695d 100644
(file)
--- a/
example/Makefile
+++ b/
example/Makefile
@@
-8,10
+8,10
@@
CFLAGS=-O2 -mlittle-endian -mthumb
CFLAGS+=-mcpu=cortex-m3 -ffreestanding -nostdlib -nostdinc
# to run from SRAM
-
# CFLAGS+=-Wl,-Ttext
,0x20000000
+
CFLAGS+=-Wl,-Ttext,0x20000000 -Wl,-e
,0x20000000
# to write to flash then run
-
CFLAGS+=-Wl,-Ttext
,0x08000000
+
# CFLAGS+=-Wl,-Ttext,0x08000000 -Wl,-e
,0x08000000
all: $(BIN_IMAGE)