Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
4f811d0e
Commit
4f811d0e
authored
Apr 15, 2016
by
Paul Sokolovsky
Browse files
esp8266: Enable input() builtin.
parent
9b0714b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
esp8266/Makefile
View file @
4f811d0e
...
...
@@ -83,6 +83,7 @@ SRC_C = \
STM_SRC_C
=
$(
addprefix
stmhal/,
\
pybstdio.c
\
input.c
\
)
EXTMOD_SRC_C
=
$(
addprefix
extmod/,
\
...
...
esp8266/mpconfigport.h
View file @
4f811d0e
...
...
@@ -105,6 +105,7 @@ typedef uint32_t sys_prot_t; // for modlwip
// extra built in names to add to the global namespace
#define MICROPY_PORT_BUILTINS \
{ MP_OBJ_NEW_QSTR(MP_QSTR_input), (mp_obj_t)&mp_builtin_input_obj }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },
// extra built in modules to add to the list of known ones
...
...
esp8266/qstrdefsport.h
View file @
4f811d0e
...
...
@@ -27,6 +27,7 @@
// qstrs specific to this port
Q
(
help
)
Q
(
input
)
// pyb module
Q
(
pyb
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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