summaryrefslogtreecommitdiff
path: root/cc3200
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-06-01 15:43:20 +1000
committerDamien George <damien.p.george@gmail.com>2017-06-01 16:02:49 +1000
commit6ff0ecfffcea4e7aa6301c54870ae97aa4a0cf72 (patch)
tree4029403c446530fa870310a45042e2d372754ab7 /cc3200
parentbc76302eab56368967af4f1cf8813ac816b9c22f (diff)
ports: Convert from using stmhal's input() to core provided version.
Diffstat (limited to 'cc3200')
-rw-r--r--cc3200/application.mk1
-rw-r--r--cc3200/mpconfigport.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/cc3200/application.mk b/cc3200/application.mk
index 5d25424e1..1f54b764b 100644
--- a/cc3200/application.mk
+++ b/cc3200/application.mk
@@ -151,7 +151,6 @@ APP_LIB_SRC_C = $(addprefix lib/,\
APP_STM_SRC_C = $(addprefix stmhal/,\
bufhelper.c \
- input.c \
irq.c \
pybstdio.c \
)
diff --git a/cc3200/mpconfigport.h b/cc3200/mpconfigport.h
index 4d19900ae..4bd583a4b 100644
--- a/cc3200/mpconfigport.h
+++ b/cc3200/mpconfigport.h
@@ -80,6 +80,7 @@
#define MICROPY_VFS_FAT (1)
#define MICROPY_PY_ASYNC_AWAIT (0)
#define MICROPY_PY_ALL_SPECIAL_METHODS (1)
+#define MICROPY_PY_BUILTINS_INPUT (1)
#define MICROPY_PY_BUILTINS_HELP (1)
#define MICROPY_PY_BUILTINS_HELP_TEXT cc3200_help_text
#ifndef DEBUG
@@ -142,7 +143,6 @@
// 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