[stm32f429i-discovery] Moved Chucks remaining examples to the correct directory.
Additionally added Chucks readme to the stm32f429i-discovery board readme.
This commit is contained in:
@@ -1,40 +0,0 @@
|
|||||||
README
|
|
||||||
------
|
|
||||||
|
|
||||||
These examples are designed to demonstrate the use of libopencm3
|
|
||||||
with the STM32F4Discovery-DISCO board. This board has a 2.2"
|
|
||||||
TFT LCD touchscreen on it, a MEMS gyroscope, and 8MB of SDRAM.
|
|
||||||
|
|
||||||
If you move through the examples in this order, the code from
|
|
||||||
the previous example will be used in the next example:
|
|
||||||
|
|
||||||
0) blink - verify that you can build a program, link it, and
|
|
||||||
download it to the board. Blinks the GREEN LED at about
|
|
||||||
2Hz
|
|
||||||
|
|
||||||
1) systick_blink - Clock setup, Systick setup, LED GPIO setup
|
|
||||||
and blinking.
|
|
||||||
|
|
||||||
2) usart - Program a USART on the board as a console (requires
|
|
||||||
a digital to serial adapter)
|
|
||||||
|
|
||||||
3) usart-irq - Program a USART on the board as a console with
|
|
||||||
an interrupt driven receive routine. This allows you to
|
|
||||||
interrupt execution with ^C as you can on a Linux process.
|
|
||||||
|
|
||||||
4) sdram - SDRAM setup, using the usb port as a console, which
|
|
||||||
sets up the SDRAM
|
|
||||||
|
|
||||||
5) spi - Serial Peripheral Interface example which talks to
|
|
||||||
the MEMS gyroscope on the DISCO board.
|
|
||||||
|
|
||||||
6) lcd-serial - Activates the TFT using the SPI port (serial) and
|
|
||||||
holds a frame buffer in the SDRAM area.
|
|
||||||
|
|
||||||
7) lcd - Now uses the new LCD "driver" peripheral to refresh
|
|
||||||
the contents with what is in memory, very fast, write in
|
|
||||||
memory and it appears on screen.
|
|
||||||
|
|
||||||
8) dma2d - The 2D graphics accelerator device which displays
|
|
||||||
various animations on the LCD using code from all of the
|
|
||||||
previous examples.
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
/*
|
|
||||||
* This file is part of the libopencm3 project.
|
|
||||||
*
|
|
||||||
* Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
|
|
||||||
* Copyright (C) 2011 Stephen Caudle <scaudle@doceme.com>
|
|
||||||
*
|
|
||||||
* This library is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Lesser General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public License
|
|
||||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Linker script for ST STM32F4DISCOVERY "DISCO" (STM32F429, 2024K flash, 192K RAM). */
|
|
||||||
|
|
||||||
/* Define memory regions. */
|
|
||||||
MEMORY
|
|
||||||
{
|
|
||||||
rom (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
|
|
||||||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Include the common ld script. */
|
|
||||||
INCLUDE libopencm3_stm32f4.ld
|
|
||||||
|
|
||||||
@@ -6,3 +6,39 @@ port, 2.4" QVGA TFT LCD display, 64Mbits external SDRAM and ST MEMS gyroscope.
|
|||||||
|
|
||||||
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
|
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
|
||||||
|
|
||||||
|
# Chuck McManis README
|
||||||
|
|
||||||
|
These examples are designed to demonstrate the use of libopencm3
|
||||||
|
with the STM32F4Discovery-DISCO board. This board has a 2.2"
|
||||||
|
TFT LCD touchscreen on it, a MEMS gyroscope, and 8MB of SDRAM.
|
||||||
|
|
||||||
|
If you move through the examples in this order, the code from
|
||||||
|
the previous example will be used in the next example:
|
||||||
|
|
||||||
|
0. miniblink - verify that you can build a program, link it, and download it to
|
||||||
|
the board. Blinks the GREEN LED at about 2Hz
|
||||||
|
|
||||||
|
1. tick\_blink - Clock setup, Systick setup, LED GPIO setup and blinking.
|
||||||
|
|
||||||
|
2. usart\_console - Program a USART on the board as a console (requires
|
||||||
|
clonsing jumpers on your discovery board connecting USART1 to the
|
||||||
|
programmer)
|
||||||
|
|
||||||
|
3. usart\_irq\_console - Program a USART on the board as a console with an
|
||||||
|
interrupt driven receive routine. This allows you to interrupt execution
|
||||||
|
with ^C as you can on a Linux process.
|
||||||
|
|
||||||
|
4. sdram - SDRAM setup, using the usb port as a console, which sets up the
|
||||||
|
SDRAM
|
||||||
|
|
||||||
|
5. spi - Serial Peripheral Interface example which talks to the MEMS gyroscope
|
||||||
|
on the DISCO board.
|
||||||
|
|
||||||
|
6. lcd-serial - Activates the TFT using the SPI port (serial) and holds a frame
|
||||||
|
buffer in the SDRAM area.
|
||||||
|
|
||||||
|
7. lcd - Now uses the new LCD "driver" peripheral to refresh the contents with
|
||||||
|
what is in memory, very fast, write in memory and it appears on screen.
|
||||||
|
|
||||||
|
8. dma2d - The 2D graphics accelerator device which displays various animations
|
||||||
|
on the LCD using code from all of the previous examples.
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ BINARY = lcd-serial
|
|||||||
# we use sin/cos from the library
|
# we use sin/cos from the library
|
||||||
LDLIBS += -lm
|
LDLIBS += -lm
|
||||||
|
|
||||||
LDSCRIPT = ../stm32f4-disco.ld
|
LDSCRIPT = ../stm32f429i-discovery.ld
|
||||||
|
|
||||||
include ../../Makefile.include
|
include ../../Makefile.include
|
||||||
@@ -19,7 +19,7 @@ OBJS = console.o clock.o
|
|||||||
|
|
||||||
BINARY = sdram
|
BINARY = sdram
|
||||||
|
|
||||||
LDSCRIPT = ../stm32f4-disco.ld
|
LDSCRIPT = ../stm32f429i-discovery.ld
|
||||||
|
|
||||||
include ../../Makefile.include
|
include ../../Makefile.include
|
||||||
|
|
||||||
@@ -3,6 +3,6 @@ OBJS = clock.o console.o
|
|||||||
|
|
||||||
BINARY = spi-mems
|
BINARY = spi-mems
|
||||||
|
|
||||||
LDSCRIPT = ../stm32f4-disco.ld
|
LDSCRIPT = ../stm32f429i-discovery.ld
|
||||||
|
|
||||||
include ../../Makefile.include
|
include ../../Makefile.include
|
||||||
Reference in New Issue
Block a user