From 5bfffcbb29849bbeb4df2e78b43ca408443196dc Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 9 Feb 2011 02:34:50 +0100 Subject: [PATCH] Use ST STM32VLDISCOVERY board name consistently. --- examples/stm32/stm32-discovery/button/README | 4 +++- examples/stm32/stm32-discovery/button/button.c | 1 + examples/stm32/stm32-discovery/fancyblink/README | 3 ++- examples/stm32/stm32-discovery/miniblink/README | 2 +- examples/stm32/stm32-discovery/rtc/README | 5 +++-- examples/stm32/stm32-discovery/usart/README | 4 ++-- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/examples/stm32/stm32-discovery/button/README b/examples/stm32/stm32-discovery/button/README index 3e634d7d..38bc1ea8 100644 --- a/examples/stm32/stm32-discovery/button/README +++ b/examples/stm32/stm32-discovery/button/README @@ -2,5 +2,7 @@ README ------------------------------------------------------------------------------ -This example blinks the green LED on the discovery. +This example blinks the green LED on the ST STM32VLDISCOVERY eval board. + When you press the 'USER' button, the blinking is slower. + diff --git a/examples/stm32/stm32-discovery/button/button.c b/examples/stm32/stm32-discovery/button/button.c index 086d850e..b84f0746 100644 --- a/examples/stm32/stm32-discovery/button/button.c +++ b/examples/stm32/stm32-discovery/button/button.c @@ -61,6 +61,7 @@ int main(void) while (1) { gpio_toggle(GPIOC, GPIO9); + /* Upon button press, blink more slowly. */ exti_line_state = GPIOA_IDR; if ((exti_line_state & (1 << 0)) != 0) { for (i = 0; i < 800000; i++) /* Wait a bit. */ diff --git a/examples/stm32/stm32-discovery/fancyblink/README b/examples/stm32/stm32-discovery/fancyblink/README index 3e09f9b5..b5d794cc 100644 --- a/examples/stm32/stm32-discovery/fancyblink/README +++ b/examples/stm32/stm32-discovery/fancyblink/README @@ -4,5 +4,6 @@ README This is the smallest-possible example program using libopencm3. -It's intended for the STM32 Discovery eval board. It should blink +It's intended for the ST STM32VLDISCOVERY eval board. It should blink the LEDs on the board. + diff --git a/examples/stm32/stm32-discovery/miniblink/README b/examples/stm32/stm32-discovery/miniblink/README index e4fce07e..cffce60a 100644 --- a/examples/stm32/stm32-discovery/miniblink/README +++ b/examples/stm32/stm32-discovery/miniblink/README @@ -4,6 +4,6 @@ README This is the smallest-possible example program using libopencm3. -It's intended for the STM32 Discovery eval board. It should blink +It's intended for the ST STM32VLDISCOVERY eval board. It should blink the blue LED on the board. diff --git a/examples/stm32/stm32-discovery/rtc/README b/examples/stm32/stm32-discovery/rtc/README index ee39feaa..d4509e48 100644 --- a/examples/stm32/stm32-discovery/rtc/README +++ b/examples/stm32/stm32-discovery/rtc/README @@ -3,6 +3,7 @@ README ------------------------------------------------------------------------------ This is a small RTC example project. -It blinks the Discovery's blue LED at 1Hz, and sends the value of the -RTC counter register down the serial line (PA9) at 38400,8N1. + +It blinks the ST STM32VLDISCOVERY's blue LED at 1Hz, and sends the value of +the RTC counter register down the serial line (PA9) at 38400,8N1. diff --git a/examples/stm32/stm32-discovery/usart/README b/examples/stm32/stm32-discovery/usart/README index f819b83e..6d091391 100644 --- a/examples/stm32/stm32-discovery/usart/README +++ b/examples/stm32/stm32-discovery/usart/README @@ -2,8 +2,8 @@ README ------------------------------------------------------------------------------ -This example program sends some characters on USART1 on the ST STM32 Discovery -eval board. +This example program sends some characters on USART1 on the +ST STM32VLDISCOVERY eval board. The terminal settings for the receiving device/PC are 38400 8n1.