Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
a7bcb218
Commit
a7bcb218
authored
Jan 12, 2015
by
Paul Sokolovsky
Browse files
stmhal: Move readline code to lib/mp-readline/.
parent
99ab64ff
Changes
3
Hide whitespace changes
Inline
Side-by-side
stmhal
/readline.c
→
lib/mp-readline
/readline.c
View file @
a7bcb218
File moved
stmhal
/readline.h
→
lib/mp-readline
/readline.h
View file @
a7bcb218
File moved
stmhal/Makefile
View file @
a7bcb218
...
...
@@ -40,6 +40,7 @@ INC += -I$(HAL_DIR)/inc
INC
+=
-I
$(USBDEV_DIR)
/core/inc
-I
$(USBDEV_DIR)
/class/cdc_msc_hid/inc
#INC += -I$(USBHOST_DIR)
INC
+=
-I
../
$(FATFS_DIR)
INC
+=
-I
../lib/mp-readline
CFLAGS_CORTEX_M4
=
-mthumb
-mtune
=
cortex-m4
-mabi
=
aapcs-linux
-mcpu
=
cortex-m4
-mfpu
=
fpv4-sp-d16
-mfloat-abi
=
hard
-fsingle-precision-constant
-Wdouble-promotion
CFLAGS
=
$(INC)
-Wall
-Wpointer-arith
-Werror
-ansi
-std
=
gnu99
-nostdlib
$(CFLAGS_MOD)
$(CFLAGS_CORTEX_M4)
$(COPT)
...
...
@@ -82,6 +83,7 @@ SRC_LIB = $(addprefix lib/,\
libm/sf_tan.c
\
fatfs/ff.c
\
fatfs/option/ccsbcs.c
\
mp-readline/readline.c
\
)
SRC_C
=
\
...
...
@@ -111,7 +113,6 @@ SRC_C = \
printf.c
\
gccollect.c
\
pybstdio.c
\
readline.c
\
pyexec.c
\
help.c
\
input.c
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment