Commit 708574b0 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

teensy: Update for readline module moved to lib/.

parent 06e9cb68
......@@ -32,6 +32,7 @@ CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mcpu=cortex-m4 -msoft-float -mfloat
INC = -I.
INC += -I..
INC += -I../stmhal
INC += -I../lib/mp-readline
INC += -I$(BUILD)
INC += -Icore
......@@ -100,7 +101,6 @@ STM_SRC_C = $(addprefix stmhal/,\
printf.c \
pyexec.c \
pybstdio.c \
readline.c \
string0.c \
)
......@@ -108,6 +108,10 @@ STM_SRC_S = $(addprefix stmhal/,\
gchelper.s \
)
LIB_SRC_C = $(addprefix lib/,\
mp-readline/readline.c \
)
SRC_TEENSY = $(addprefix core/,\
mk20dx128.c \
pins_teensy.c \
......@@ -120,6 +124,7 @@ SRC_TEENSY = $(addprefix core/,\
)
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(STM_SRC_C:.c=.o) $(STM_SRC_S:.s=.o) $(SRC_TEENSY:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o))
OBJ += $(BUILD)/pins_gen.o
all: hex
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment