summaryrefslogtreecommitdiff
path: root/src/stm/Makefile.defs
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-11-20 00:04:27 -0800
committerKeith Packard <keithp@keithp.com>2016-11-20 00:04:27 -0800
commite6518cf1ddfc087ca25fa1494f993ce03e43e138 (patch)
tree8351ae428fcfcc70c210803eba8bc4fb912b8302 /src/stm/Makefile.defs
parent86f1c4b04946956f40755286bd9554828d5c8728 (diff)
altos/stm-vga: Implement VGA out from the STM processor
Generates vsync/hsync using timers and pixel data using the SPI port. 320x240 video using 640x480 mode and a 24MHz "pixel" clock. Includes the beginings of rendering code for the frame buffer, including bitblt, solid fill and text with a 5x7 font. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/Makefile.defs')
-rw-r--r--src/stm/Makefile.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs
index c3d2707f..25504629 100644
--- a/src/stm/Makefile.defs
+++ b/src/stm/Makefile.defs
@@ -1,4 +1,4 @@
-vpath % ../stm:../product:../drivers:../kernel:../util:../kalman:../aes:../math:..
+vpath % ../stm:../product:../drivers:../kernel:../util:../kalman:../aes:../math:../draw:..
vpath make-altitude ../util
vpath make-kalman ../util
vpath kalman.5c ../kalman
@@ -26,7 +26,7 @@ LIBS=$(PDCLIB_LIBS_M3) -lgcc
WARN_FLAGS=-Wall -Wextra -Werror
-AO_CFLAGS=-I. -I../stm -I../kernel -I../drivers -I../math -I.. $(PDCLIB_INCLUDES)
+AO_CFLAGS=-I. -I../stm -I../kernel -I../drivers -I../math -I../draw -I.. $(PDCLIB_INCLUDES)
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb \
-ffreestanding -nostdlib $(AO_CFLAGS) $(WARN_FLAGS)