Skip to content

Commit 4a85fe2

Browse files
committed
stm32f429i-disco: slightly interactive display demo with fonts and vector graphics
1 parent a5641ab commit 4a85fe2

32 files changed

+8665
-3
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "libopencm3"]
22
path = libopencm3
3-
url = https://github.com/libopencm3/libopencm3.git
3+
url = https://github.com/H2OBrain/libopencm3.git

examples/Makefile.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ SCRIPT_DIR = $(OPENCM3_DIR)/scripts
7878
###############################################################################
7979
# C flags
8080

81-
CFLAGS += -Os -g
81+
CFLAGS ?= -Os -g
8282
CFLAGS += -Wextra -Wshadow -Wimplicit-function-declaration
8383
CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes
8484
CFLAGS += -fno-common -ffunction-sections -fdata-sections
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
OBJS = clock.o gfx_locm3.o lcd_ili9341.o sdram.o fonts/Tamsyn5x9b_9.o fonts/Tamsyn5x9r_9.o
2+
OBJS += i2c.o touchscreen_controller_stmpe811.o
3+
4+
BINARY = application
5+
6+
CFLAGS = -O0 -g
7+
8+
# we use sin/cos from the library
9+
LDLIBS = -lm
10+
11+
LDSCRIPT = ../stm32f429i-discovery.ld
12+
13+
include ../../Makefile.include
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# README
2+
3+
Small test with minimal graphics lib for ltdc graphics controller.
4+
5+
Two additional python scripts are provided to create your own font and bitmap header files.
6+
7+
06/01/16 H2OBrain

0 commit comments

Comments
 (0)