Skip to content

Commit

Permalink
stm32f429i-disco: slightly interactive display demo with fonts and ve…
Browse files Browse the repository at this point in the history
…ctor graphics
  • Loading branch information
h2obrain committed Aug 12, 2016
1 parent a5641ab commit 4a85fe2
Show file tree
Hide file tree
Showing 32 changed files with 8,665 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "libopencm3"]
path = libopencm3
url = https://github.com/libopencm3/libopencm3.git
url = https://github.com/H2OBrain/libopencm3.git
2 changes: 1 addition & 1 deletion examples/Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ SCRIPT_DIR = $(OPENCM3_DIR)/scripts
###############################################################################
# C flags

CFLAGS += -Os -g
CFLAGS ?= -Os -g
CFLAGS += -Wextra -Wshadow -Wimplicit-function-declaration
CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes
CFLAGS += -fno-common -ffunction-sections -fdata-sections
Expand Down
13 changes: 13 additions & 0 deletions examples/stm32/f4/stm32f429i-discovery/lcd-ltdc-touch/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
OBJS = clock.o gfx_locm3.o lcd_ili9341.o sdram.o fonts/Tamsyn5x9b_9.o fonts/Tamsyn5x9r_9.o
OBJS += i2c.o touchscreen_controller_stmpe811.o

BINARY = application

CFLAGS = -O0 -g

# we use sin/cos from the library
LDLIBS = -lm

LDSCRIPT = ../stm32f429i-discovery.ld

include ../../Makefile.include
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# README

Small test with minimal graphics lib for ltdc graphics controller.

Two additional python scripts are provided to create your own font and bitmap header files.

06/01/16 H2OBrain
Loading

0 comments on commit 4a85fe2

Please sign in to comment.