summaryrefslogtreecommitdiff
path: root/src/stm-demo/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-22 19:43:29 -0700
committerKeith Packard <keithp@keithp.com>2012-03-28 21:37:03 -0700
commit6da2f5846f2d28ea1f09f60ef2cc3f68113ac62a (patch)
tree4edfd17c4d1d02ae23917a4face8363b79762f7a /src/stm-demo/Makefile
parenta953ac32033ded18adf0cb3ca20134385fcd0a6d (diff)
Add LCD device driver to STM32L port
This enables the 6-digit 14-character display on the STM32L discovery board and provides an ascii output to it. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm-demo/Makefile')
-rw-r--r--src/stm-demo/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stm-demo/Makefile b/src/stm-demo/Makefile
index 9e4f9e38..ecdf6b7f 100644
--- a/src/stm-demo/Makefile
+++ b/src/stm-demo/Makefile
@@ -42,14 +42,16 @@ ALTOS_SRC = \
ao_stdio.c \
ao_panic.c \
ao_timer.c \
- ao_serial_stm.c
+ ao_serial_stm.c \
+ ao_lcd_stm.c \
+ ao_lcd_font.c
PRODUCT=StmDemo-v0.0
PRODUCT_DEF=-DSTM_DEMO
IDPRODUCT=0x000a
CPU=cortex-m3
CFLAGS = $(PRODUCT_DEF) -I. -I../stm -I../core -I..
-CFLAGS += -g -std=gnu99 -Os -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib -I../stm $(CINC)
+CFLAGS += -g -std=gnu99 -O0 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib -I../stm $(CINC)
NICKLE=nickle