@@ -6,3 +6,39 @@ port, 2.4" QVGA TFT LCD display, 64Mbits external SDRAM and ST MEMS gyroscope.
6
6
7
7
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
8
8
9
+ # Chuck McManis README
10
+
11
+ These examples are designed to demonstrate the use of libopencm3
12
+ with the STM32F4Discovery-DISCO board. This board has a 2.2"
13
+ TFT LCD touchscreen on it, a MEMS gyroscope, and 8MB of SDRAM.
14
+
15
+ If you move through the examples in this order, the code from
16
+ the previous example will be used in the next example:
17
+
18
+ 0 . miniblink - verify that you can build a program, link it, and download it to
19
+ the board. Blinks the GREEN LED at about 2Hz
20
+
21
+ 1 . tick\_ blink - Clock setup, Systick setup, LED GPIO setup and blinking.
22
+
23
+ 2 . usart\_ console - Program a USART on the board as a console (requires
24
+ clonsing jumpers on your discovery board connecting USART1 to the
25
+ programmer)
26
+
27
+ 3 . usart\_ irq\_ console - Program a USART on the board as a console with an
28
+ interrupt driven receive routine. This allows you to interrupt execution
29
+ with ^C as you can on a Linux process.
30
+
31
+ 4 . sdram - SDRAM setup, using the usb port as a console, which sets up the
32
+ SDRAM
33
+
34
+ 5 . spi - Serial Peripheral Interface example which talks to the MEMS gyroscope
35
+ on the DISCO board.
36
+
37
+ 6 . lcd-serial - Activates the TFT using the SPI port (serial) and holds a frame
38
+ buffer in the SDRAM area.
39
+
40
+ 7 . lcd - Now uses the new LCD "driver" peripheral to refresh the contents with
41
+ what is in memory, very fast, write in memory and it appears on screen.
42
+
43
+ 8 . dma2d - The 2D graphics accelerator device which displays various animations
44
+ on the LCD using code from all of the previous examples.
0 commit comments