summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-15 00:08:39 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-15 00:08:39 +0300
commit4f811d0e4c1a21bbfd23992b76c29971384928ec (patch)
treee8c4bc2a4d3ee57a7458901288556fc931ec7794 /esp8266/mpconfigport.h
parent9b0714b24cb140ea630ea6176ae68b2ec6945c6b (diff)
downloadmicropython-4f811d0e4c1a21bbfd23992b76c29971384928ec.tar.gz
micropython-4f811d0e4c1a21bbfd23992b76c29971384928ec.zip
esp8266: Enable input() builtin.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r--esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 577b373981..e97856d672 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -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