aboutsummaryrefslogtreecommitdiff
path: root/teensy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/Makefile')
-rw-r--r--teensy/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/teensy/Makefile b/teensy/Makefile
index 0cd7272e7..5630103e3 100644
--- a/teensy/Makefile
+++ b/teensy/Makefile
@@ -1,5 +1,8 @@
include ../py/mkenv.mk
+# qstr definitions (must come before including py.mk)
+QSTR_DEFS = qstrdefsport.h
+
# include py core make definitions
include ../py/py.mk
@@ -32,6 +35,8 @@ SRC_C = \
lexerfatfs.c \
lexermemzip.c \
memzip.c \
+ servo.c \
+ usart.c \
usb.c \
STM_SRC_C = $(addprefix stm/,\
@@ -54,7 +59,7 @@ SRC_TEENSY = \
usb_serial.c \
yield.c \
-OBJ = $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(STM_SRC_C:.c=.o) $(STM_SRC_S:.s=.o) $(SRC_TEENSY:.c=.o)) $(PY_O)
+OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(STM_SRC_C:.c=.o) $(STM_SRC_S:.s=.o) $(SRC_TEENSY:.c=.o))
#LIB = -lreadline
# the following is needed for BSD
#LIB += -ltermcap