Use ST STM32VLDISCOVERY board name consistently.

This commit is contained in:
Uwe Hermann 2011-02-09 02:34:50 +01:00
parent 62f3897a2e
commit 5bfffcbb29
6 changed files with 12 additions and 7 deletions

View File

@ -2,5 +2,7 @@
README 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. When you press the 'USER' button, the blinking is slower.

View File

@ -61,6 +61,7 @@ int main(void)
while (1) { while (1) {
gpio_toggle(GPIOC, GPIO9); gpio_toggle(GPIOC, GPIO9);
/* Upon button press, blink more slowly. */
exti_line_state = GPIOA_IDR; exti_line_state = GPIOA_IDR;
if ((exti_line_state & (1 << 0)) != 0) { if ((exti_line_state & (1 << 0)) != 0) {
for (i = 0; i < 800000; i++) /* Wait a bit. */ for (i = 0; i < 800000; i++) /* Wait a bit. */

View File

@ -4,5 +4,6 @@ README
This is the smallest-possible example program using libopencm3. 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. the LEDs on the board.

View File

@ -4,6 +4,6 @@ README
This is the smallest-possible example program using libopencm3. 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. the blue LED on the board.

View File

@ -3,6 +3,7 @@ README
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
This is a small RTC example project. 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.

View File

@ -2,8 +2,8 @@
README README
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
This example program sends some characters on USART1 on the ST STM32 Discovery This example program sends some characters on USART1 on the
eval board. ST STM32VLDISCOVERY eval board.
The terminal settings for the receiving device/PC are 38400 8n1. The terminal settings for the receiving device/PC are 38400 8n1.