aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorUwe Hermann2009-07-20 17:32:22 +0200
committerUwe Hermann2009-07-20 17:32:22 +0200
commit91fa52da4806d111ea222eaa2f710b33ff71df74 (patch)
tree07e70b021383dfbef34c7ac95095c46e88f4033f /examples
parent8a630baea8806ab98da0a5c08ef8e28bbc06dfc2 (diff)
Turn miniblink in the smallest-possible example using the library.
Diffstat (limited to 'examples')
-rw-r--r--examples/miniblink/README5
-rw-r--r--examples/miniblink/miniblink.ld8
2 files changed, 3 insertions, 10 deletions
diff --git a/examples/miniblink/README b/examples/miniblink/README
index edcd536..a481157 100644
--- a/examples/miniblink/README
+++ b/examples/miniblink/README
@@ -2,7 +2,7 @@
README
------------------------------------------------------------------------------
-This is a small example program using libopenstm32.
+This is the smallest-possible example program using libopenstm32.
It's intended for the ST STM32-based Olimex STM32-H103 eval board (see
http://olimex.com/dev/stm32-h103.html for details). It should blink
@@ -43,5 +43,6 @@ Or you can do the same manually via:
> flash write_image erase miniblink.bin 0x08000000
> resume 0x08000000
-Replace the "jtagkey-tiny.cfg" with whatever JTAG device you are using.
+Replace the "jtagkey-tiny.cfg" with whatever JTAG device you are using, and/or
+replace "olimex_stm32_h103.cfg" with your respective board config file.
diff --git a/examples/miniblink/miniblink.ld b/examples/miniblink/miniblink.ld
index bfae3bd..2d819a7 100644
--- a/examples/miniblink/miniblink.ld
+++ b/examples/miniblink/miniblink.ld
@@ -46,12 +46,4 @@ SECTIONS
.bss : {
*(.bss) /* Read-write zero initialized data */
} >ram AT >rom
-
- /* Discard useless sections. */
- /DISCARD/ : {
- *(.comment)
- *(.comment.*)
- *(.note)
- *(.note.*)
- }
}