Turn miniblink in the smallest-possible example using the library.
This commit is contained in:
parent
8a630baea8
commit
91fa52da48
@ -2,7 +2,7 @@
|
|||||||
README
|
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
|
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
|
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
|
> flash write_image erase miniblink.bin 0x08000000
|
||||||
> resume 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.
|
||||||
|
|
||||||
|
@ -46,12 +46,4 @@ SECTIONS
|
|||||||
.bss : {
|
.bss : {
|
||||||
*(.bss) /* Read-write zero initialized data */
|
*(.bss) /* Read-write zero initialized data */
|
||||||
} >ram AT >rom
|
} >ram AT >rom
|
||||||
|
|
||||||
/* Discard useless sections. */
|
|
||||||
/DISCARD/ : {
|
|
||||||
*(.comment)
|
|
||||||
*(.comment.*)
|
|
||||||
*(.note)
|
|
||||||
*(.note.*)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user