aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32-h103
diff options
context:
space:
mode:
authorUwe Hermann2010-12-29 19:49:59 +0100
committerUwe Hermann2010-12-29 19:49:59 +0100
commit01bfbfed411f9e96218070e2b36438b783df29ba (patch)
tree0f855fbcba35cb699b7d174b2c1b2e43057e5b37 /examples/stm32-h103
parentd9f6f200c189922ff71ec13e1343303bfdae3593 (diff)
Deduplicate example README file contents.
Diffstat (limited to 'examples/stm32-h103')
-rw-r--r--examples/stm32-h103/fancyblink/README39
-rw-r--r--examples/stm32-h103/miniblink/README37
-rw-r--r--examples/stm32-h103/spi/README38
-rw-r--r--examples/stm32-h103/usart/README38
-rw-r--r--examples/stm32-h103/usb_cdcacm/README36
-rw-r--r--examples/stm32-h103/usb_dfu/README36
-rw-r--r--examples/stm32-h103/usb_hid/README36
-rw-r--r--examples/stm32-h103/usb_iap/README36
8 files changed, 4 insertions, 292 deletions
diff --git a/examples/stm32-h103/fancyblink/README b/examples/stm32-h103/fancyblink/README
index 8e7adce..791af39 100644
--- a/examples/stm32-h103/fancyblink/README
+++ b/examples/stm32-h103/fancyblink/README
@@ -2,46 +2,9 @@
README
------------------------------------------------------------------------------
-This is the smallest-possible example program using libopenstm32.
+This is small LED blinking 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
the LED on the board.
-
-Building
---------
-
- $ make
-
-Running 'make' on the top-level libopenstm32 directory will automatically
-also build this example. Or you can build the library "manually" and
-then run 'make' in this directory.
-
-You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):
-
- $ PREFIX=arm-none-eabi make
-
-For a more verbose build you can use
-
- $ make V=1
-
-
-Flashing
---------
-
-You can flash the generated code on the STM32-H103 board using OpenOCD:
-
- $ make flash
-
-Or you can do the same manually via:
-
- $ openocd -f interface/jtagkey-tiny.cfg -f board/olimex_stm32_h103.cfg
- $ telnet localhost 4444
- > reset halt
- > flash write_image erase fancyblink.hex
- > reset
-
-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/stm32-h103/miniblink/README b/examples/stm32-h103/miniblink/README
index 88278d9..66359f4 100644
--- a/examples/stm32-h103/miniblink/README
+++ b/examples/stm32-h103/miniblink/README
@@ -8,40 +8,3 @@ 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
the LED on the board.
-
-Building
---------
-
- $ make
-
-Running 'make' on the top-level libopenstm32 directory will automatically
-also build this example. Or you can build the library "manually" and
-then run 'make' in this directory.
-
-You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):
-
- $ PREFIX=arm-none-eabi make
-
-For a more verbose build you can use
-
- $ make V=1
-
-
-Flashing
---------
-
-You can flash the generated code on the STM32-H103 board using OpenOCD:
-
- $ make flash
-
-Or you can do the same manually via:
-
- $ openocd -f interface/jtagkey-tiny.cfg -f board/olimex_stm32_h103.cfg
- $ telnet localhost 4444
- > reset halt
- > flash write_image erase miniblink.hex
- > reset
-
-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/stm32-h103/spi/README b/examples/stm32-h103/spi/README
index 8b46e7c..d4714c2 100644
--- a/examples/stm32-h103/spi/README
+++ b/examples/stm32-h103/spi/README
@@ -6,41 +6,3 @@ This example program repeatedly sends characters on SPI1 on the ST STM32-based
Olimex STM32-H103 eval board (see http://olimex.com/dev/stm32-h103.html
for details).
-
-Building
---------
-
- $ make
-
-Running 'make' on the top-level libopenstm32 directory will automatically
-also build this example. Or you can build the library "manually" and
-then run 'make' in this directory.
-
-You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):
-
- $ PREFIX=arm-none-eabi make
-
-For a more verbose build you can use
-
- $ make V=1
-
-
-Flashing
---------
-
-You can flash the generated code on the STM32-H103 board using OpenOCD:
-
- $ make flash
-
-Or you can do the same manually via:
-
- $ openocd -f interface/jtagkey-tiny.cfg -f board/olimex_stm32_h103.cfg
- $ telnet localhost 4444
- > init
- > reset halt
- > flash write_image erase spi.hex
- > reset
-
-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/stm32-h103/usart/README b/examples/stm32-h103/usart/README
index cbb0db2..ecd7269 100644
--- a/examples/stm32-h103/usart/README
+++ b/examples/stm32-h103/usart/README
@@ -8,40 +8,6 @@ for details).
The terminal settings for the receiving device/PC are 38400 8n1.
-
-Building
---------
-
- $ make
-
-Running 'make' on the top-level libopenstm32 directory will automatically
-also build this example. Or you can build the library "manually" and
-then run 'make' in this directory.
-
-You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):
-
- $ PREFIX=arm-none-eabi make
-
-For a more verbose build you can use
-
- $ make V=1
-
-
-Flashing
---------
-
-You can flash the generated code on the STM32-H103 board using OpenOCD:
-
- $ make flash
-
-Or you can do the same manually via:
-
- $ openocd -f interface/jtagkey-tiny.cfg -f board/olimex_stm32_h103.cfg
- $ telnet localhost 4444
- > reset halt
- > flash write_image erase usart.hex
- > reset
-
-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.
+The sending is done in a blocking way in the code, see the usart_irq example
+for a more elaborate USART example.
diff --git a/examples/stm32-h103/usb_cdcacm/README b/examples/stm32-h103/usb_cdcacm/README
index fba104a..2f1ee4b 100644
--- a/examples/stm32-h103/usb_cdcacm/README
+++ b/examples/stm32-h103/usb_cdcacm/README
@@ -5,39 +5,3 @@ README
This example implements a USB CDC-ACM device (aka Virtual Serial Port)
to demonstrate the use of the USB device stack.
-Building
---------
-
- $ make
-
-Running 'make' on the top-level libopenstm32 directory will automatically
-also build this example. Or you can build the library "manually" and
-then run 'make' in this directory.
-
-You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):
-
- $ PREFIX=arm-none-eabi make
-
-For a more verbose build you can use
-
- $ make V=1
-
-
-Flashing
---------
-
-You can flash the generated code using OpenOCD:
-
- $ make flash
-
-Or you can do the same manually via:
-
- $ openocd -f interface/jtagkey-tiny.cfg -f target/stm32.cfg
- $ telnet localhost 4444
- > reset halt
- > flash write_image erase systick.hex
- > reset
-
-Replace the "jtagkey-tiny.cfg" with whatever JTAG device you are using, and/or
-replace "stm.cfg" with your respective config file.
-
diff --git a/examples/stm32-h103/usb_dfu/README b/examples/stm32-h103/usb_dfu/README
index 7146618..9c0169a 100644
--- a/examples/stm32-h103/usb_dfu/README
+++ b/examples/stm32-h103/usb_dfu/README
@@ -5,39 +5,3 @@ README
This example implements a USB Device Firmware Upgrade (DFU) bootloader
to demonstrate the use of the USB device stack.
-Building
---------
-
- $ make
-
-Running 'make' on the top-level libopenstm32 directory will automatically
-also build this example. Or you can build the library "manually" and
-then run 'make' in this directory.
-
-You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):
-
- $ PREFIX=arm-none-eabi make
-
-For a more verbose build you can use
-
- $ make V=1
-
-
-Flashing
---------
-
-You can flash the generated code using OpenOCD:
-
- $ make flash
-
-Or you can do the same manually via:
-
- $ openocd -f interface/jtagkey-tiny.cfg -f target/stm32.cfg
- $ telnet localhost 4444
- > reset halt
- > flash write_image erase systick.hex
- > reset
-
-Replace the "jtagkey-tiny.cfg" with whatever JTAG device you are using, and/or
-replace "stm.cfg" with your respective config file.
-
diff --git a/examples/stm32-h103/usb_hid/README b/examples/stm32-h103/usb_hid/README
index 3ba2aa6..48a9b39 100644
--- a/examples/stm32-h103/usb_hid/README
+++ b/examples/stm32-h103/usb_hid/README
@@ -5,39 +5,3 @@ README
This example implements a USB Human Interface Device (HID)
to demonstrate the use of the USB device stack.
-Building
---------
-
- $ make
-
-Running 'make' on the top-level libopenstm32 directory will automatically
-also build this example. Or you can build the library "manually" and
-then run 'make' in this directory.
-
-You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):
-
- $ PREFIX=arm-none-eabi make
-
-For a more verbose build you can use
-
- $ make V=1
-
-
-Flashing
---------
-
-You can flash the generated code using OpenOCD:
-
- $ make flash
-
-Or you can do the same manually via:
-
- $ openocd -f interface/jtagkey-tiny.cfg -f target/stm32.cfg
- $ telnet localhost 4444
- > reset halt
- > flash write_image erase systick.hex
- > reset
-
-Replace the "jtagkey-tiny.cfg" with whatever JTAG device you are using, and/or
-replace "stm.cfg" with your respective config file.
-
diff --git a/examples/stm32-h103/usb_iap/README b/examples/stm32-h103/usb_iap/README
index c4b41ed..2966684 100644
--- a/examples/stm32-h103/usb_iap/README
+++ b/examples/stm32-h103/usb_iap/README
@@ -4,39 +4,5 @@ README
This example implements a USB bootloader for the Paparazzi project.
-Building
---------
-
- $ make
-
-Running 'make' on the top-level libopenstm32 directory will automatically
-also build this example. Or you can build the library "manually" and
-then run 'make' in this directory.
-
-You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):
-
- $ PREFIX=arm-none-eabi make
-
-For a more verbose build you can use
-
- $ make V=1
-
-
-Flashing
---------
-
-You can flash the generated code using OpenOCD:
-
- $ make flash
-
-Or you can do the same manually via:
-
- $ openocd -f interface/jtagkey-tiny.cfg -f target/stm32.cfg
- $ telnet localhost 4444
- > reset halt
- > flash write_image erase usbiap.hex
- > reset
-
-Replace the "jtagkey-tiny.cfg" with whatever JTAG device you are using, and/or
-replace "stm.cfg" with your respective config file.
+TODO: Move to examples/lisa-m?