File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ INC += -I$(HAL_DIR)/inc
4040INC += -I$(USBDEV_DIR ) /core/inc -I$(USBDEV_DIR ) /class/cdc_msc_hid/inc
4141# INC += -I$(USBHOST_DIR)
4242INC += -I../$(FATFS_DIR )
43+ INC += -I../lib/mp-readline
4344
4445CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion
4546CFLAGS = $(INC ) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib $(CFLAGS_MOD ) $(CFLAGS_CORTEX_M4 ) $(COPT )
@@ -82,6 +83,7 @@ SRC_LIB = $(addprefix lib/,\
8283 libm/sf_tan.c \
8384 fatfs/ff.c \
8485 fatfs/option/ccsbcs.c \
86+ mp-readline/readline.c \
8587 )
8688
8789SRC_C = \
@@ -111,7 +113,6 @@ SRC_C = \
111113 printf.c \
112114 gccollect.c \
113115 pybstdio.c \
114- readline.c \
115116 pyexec.c \
116117 help.c \
117118 input.c \
You can’t perform that action at this time.
0 commit comments